Closed usev6 closed 3 years ago
I've run the following commands a couple of times and everything worked as expected (no error at all). So I think, we are good again.
$ rm -rf ~/.zef/ ~/.raku/
$ /opt/rakudo-pkg/bin/install-zef
$ zef install OpenSSL
$ raku -e 'use OpenSSL; say "alive"'
I'm closing this issue.
As reported in https://github.com/sergot/openssl/issues/82#issuecomment-869027298 installing this module in version 0.1.25 fails most of the time. I'm opening a new issue for this problem, since it looks like a different failure from the original problem reported in https://github.com/sergot/openssl/issues/82.
If one retries the install command several times it eventually succeeds.
I only tested on Debian 10 (buster), but I wouldn't be surprised if the error happens on other systems, too.
The problem happens since https://github.com/sergot/openssl/commit/dcf88a825c. (I tried multiple times with that commit reverted and didn't see a single failure.)
Interestingly, the problem also happens (maybe less often) on the mentioned commit with the following change:
So, the problem is not caused by the deletion of the
.precomp
directories (which were introduced as a workaround for https://github.com/sergot/openssl/issues/82 with https://github.com/sergot/openssl/commit/72ce2495b6). (In my example there was no.precomp
directory in the first place.)Instead it feels like there is some kind of problem with (the interaction of) the precompilation of the dependencies. If I -- additionally to the above diff -- remove
PathTools
from thebuild-depends
inMETA6.json
the error does not happen.Alternatively I could leave the code that uses
PathTools
alive and revert the commit that introduced the dependency onJSON::Fast
(https://github.com/sergot/openssl/commit/dcf88a825c) -- and again the error does not happen. From my perspective that could be a valid workaround in the current situation, since it leaves the first workaround for https://github.com/sergot/openssl/issues/82 in place.