Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate symbol discovered by Whateverable #77

Open
coke opened this issue Aug 31, 2024 · 1 comment
Open

Duplicate symbol discovered by Whateverable #77

coke opened this issue Aug 31, 2024 · 1 comment

Comments

@coke
Copy link

coke commented Aug 31, 2024

See Raku/whateverable#386

The following code errors, and was discovered only because it was combined with IRC::Client in , and I kept narrowing the second use statement below.

$ raku -e 'use IRC::Client; use IO::Socket::Async::SSL'
===SORRY!=== Error while compiling -e
Merging GLOBAL symbols failed: duplicate definition of symbol SSL
at -e:1

The only dependency this module has is OpenSSL, and using that as the second use does not generate the same duplicate definition error.

This is with the following versions installed:

IRC::Client:ver<4.0.9>:auth<zef:lizmat>
IO::Socket::Async::SSL:ver<0.7.14>:auth<zef:jnthn>
IO::Socket::Async::SSL:ver<0.8.0>:auth<zef:jnthn>
@coke coke changed the title Duplicate class discovered by Whateverable Duplicate symbol discovered by Whateverable Aug 31, 2024
@coke
Copy link
Author

coke commented Aug 31, 2024

Reduced it to just this module - IRC:Client has a hardcoded version, so it's equivalent to:

$ raku -e 'use IO::Socket::Async::SSL:ver<0.8.0>; use IO::Socket::Async::SSL:ver<0.7.14>'
===SORRY!=== Error while compiling -e
Merging GLOBAL symbols failed: duplicate definition of symbol SSL
at -e:1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant