Closed demanuel closed 1 month ago
Despite it occurring while using zef, it is not caused by zef. The errors comes during the precompilation stage when zef uses the core class CompUnit::Repository::Staging
.
===SORRY!=== Error while compiling /home/demanuel/Downloads/home#sources/CBECDC739A33A7EB977CECF466BE000C86E12741 (App::Rak)
Type check failed in binding to parameter '$repo-id'; expected Str but got CompUnit::Repository::Spec
(CompUnit::Repository...)
at /home/demanuel/Downloads/home#sources/CBECDC739A33A7EB977CECF466BE000C86E12741 (App::Rak):2
(the above comes from rakudo itself and originated in e.g. App::Rak
- it is not a zef error)
Realistically this should be reported to either rakudo (which is the core cause of this bug) or potentially with the modules referenced (which maybe could work around the issue by doing less compile-time stuff). You're welcome to leave the issue open here, but it won't help the core issue get fixed as zef is just a tool that you can reproduce the issue with and not an actual cause. That being said it probably isn't very useful to report to those other repos without being golfed down to not use zef 🤔 🤷
Thanks i just opened an issue in rakudo. I will close this one. Thanks for the advise.
Zef fails when upgrading all packages but succeeds when doing one by one
Please check the zef's output:
and so on...
raku -v Welcome to Rakudo™ v2024.07-60-g87065a329. Implementing the Raku® Programming Language v6.d. Built on MoarVM version 2024.07-5-gc2ca1c008.
zef list --installed