Raku / whateverable

🤖 Different IRC bots that operate on a bunch of prebuilt Rakudo versions
https://gist.github.com/Whateverable
GNU Affero General Public License v3.0
18 stars 14 forks source link

GLOBAL symbol failure on install #386

Open coke opened 1 year ago

coke commented 1 year ago
$ zef install --force-install --verbose Whateverable
The following candidates are already installed: Whateverable
===> Searching for: Whateverable
===> Found: Whateverable:ver<1.0.11> [via Zef::Repository::Ecosystems<rea>]
===> Fetching [OK]: Whateverable:ver<1.0.11> to /tmp/.zef/1664227963.10229.4815.0995966892315/Whateverable%3Aver%3C1.0.11%3E%3Aauth%3Cgithub%3ARaku%3E.tar.gz
===> Extraction [OK]: Whateverable to /tmp/.zef/Whateverable%3Aver%3C1.0.11%3E%3Aauth%3Cgithub%3ARaku%3E.tar.gz
===> Testing: Whateverable:ver<1.0.11>
===> Testing [OK] for Whateverable:ver<1.0.11>
===> Installing: Whateverable:ver<1.0.11>
===> Install [FAIL] for Whateverable:ver<1.0.11>: ===SORRY!=== Error while compiling /home/coke/home#sources/FFCE30B7629EBB9BF4F889999F97C35CAC8EA91C (Whateverable)
Merging GLOBAL symbols failed: duplicate definition of symbol SSL
at /home/coke/home#sources/FFCE30B7629EBB9BF4F889999F97C35CAC8EA91C (Whateverable):28

===SORRY!=== Error while compiling /home/coke/home#sources/FFCE30B7629EBB9BF4F889999F97C35CAC8EA91C (Whateverable)
Merging GLOBAL symbols failed: duplicate definition of symbol SSL
at /home/coke/home#sources/FFCE30B7629EBB9BF4F889999F97C35CAC8EA91C (Whateverable):28

... but after failing the install, Whateverable reports as installed (and then I had to force it to run it again to capture this virtually identical output.)

coke commented 1 year ago

As I understand it, this is blocking Blin, which in turn is blocking a Rakudo release.

coke commented 1 year ago

This happens even without installing.

$ raku -I. xbin/Benchable.p6
===SORRY!=== Error while compiling /home/coke/sandbox/whateverable/xbin/Benchable.p6
===SORRY!=== Error while compiling /home/coke/sandbox/whateverable/lib/Whateverable.pm6 (Whateverable)
Merging GLOBAL symbols failed: duplicate definition of symbol SSL
at /home/coke/sandbox/whateverable/lib/Whateverable.pm6 (Whateverable):28

at /home/coke/sandbox/whateverable/xbin/Benchable.p6:19
coke commented 1 year ago

As I understand it, this is blocking Blin, which in turn is blocking a Rakudo release.

This particular issue isn't blocking the release, but it's definitely blocking me setting up Blin so I can run the tests.

hythm7 commented 1 year ago

Pinning IRC::Client dependency to IRC::Client:ver<3.007010> (and removing higher versions from repos so it doesn't get loaded) worked for me. The SSL Error no longer shows and installed fine.

May be higher versions of IRC::Client will work, but I was having other dependencies errors, so I did not try other versions, since 3.007010 already worked .

lizmat commented 1 year ago

Interesting. Could you make an issue for that for IRC::Client?

hythm7 commented 1 year ago

Interesting. Could you make an issue for that for IRC::Client?

done https://github.com/lizmat/IRC-Client/issues/66 I'm not sure if its related to IRC::Client or its dependency IO::Socket::Async::SSL.

AlexDaniel commented 9 months ago

I did not see this issue when working with the bots in 2023. This ticket is still open though: https://github.com/lizmat/IRC-Client/issues/66. I'll keep it open for now, but I think this can be closed.