Open
Description
Context
When installing DateTime::Timezones:ver<0.4.1>:auth<zef:guifa>
without testing in a clean Rakudo installation (in particular Timezones::ZoneInfo
is not installed) causes the installation to fail with
===> Installing: DateTime::Timezones:ver<0.4.1>:auth<zef:guifa>
===> Install [FAIL] for DateTime::Timezones:ver<0.4.1>:auth<zef:guifa>: ===SORRY!=== Error while compiling /home/patrickb/repos/oom-tester/site#sources/2A9434081F71A52370A042FD17EC5DA3DDA7F641 (DateTime::Timezones)
Could not find Timezones::ZoneInfo in:
/home/patrickb/.rakubrew/versions/moar-2023.04/share/perl6/site
/home/patrickb/.rakubrew/versions/moar-2023.04/share/perl6/vendor
/home/patrickb/.rakubrew/versions/moar-2023.04/share/perl6/core
CompUnit::Repository::AbsolutePath<95404224>
CompUnit::Repository::NQP<85623944>
CompUnit::Repository::Perl5<85623984>
at /home/patrickb/repos/oom-tester/site#sources/2A9434081F71A52370A042FD17EC5DA3DDA7F641 (DateTime::Timezones):3
===SORRY!=== Error while compiling /home/patrickb/repos/oom-tester/site#sources/2A9434081F71A52370A042FD17EC5DA3DDA7F641 (DateTime::Timezones)
Could not find Timezones::ZoneInfo in:
/home/patrickb/.rakubrew/versions/moar-2023.04/share/perl6/site
/home/patrickb/.rakubrew/versions/moar-2023.04/share/perl6/vendor
/home/patrickb/.rakubrew/versions/moar-2023.04/share/perl6/core
CompUnit::Repository::AbsolutePath<95404224>
CompUnit::Repository::NQP<85623944>
CompUnit::Repository::Perl5<85623984>
at /home/patrickb/repos/oom-tester/site#sources/2A9434081F71A52370A042FD17EC5DA3DDA7F641 (DateTime::Timezones):3
That makes sense as the dependency specification in META6.json
is faulty.
Observed Behavior
The package is installed.
Expected Behavior
The package is not installed.
Wild guess: The installation (as in copy files into the CURI) actually succeeds. But the precompilation of the sources fails. That's not part of the installation process itself and in principle optional. So technically the installation actually succeeded. If that is the case, then the error message is misleading.
Steps to Reproduce
$ zef install --/test 'DateTime::Timezones:ver<0.4.1>:auth<zef:guifa>'
# Results in an installation failure
$ zef install --/test 'DateTime::Timezones:ver<0.4.1>:auth<zef:guifa>'
All candidates are currently installed
No reason to proceed. Use --force-install to continue anyway
Your Environment
- raku -v
Welcome to Rakudo™ v2023.04.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2023.04. - zef list --installed
As stated above start with no modules installed.
Metadata
Metadata
Assignees
Labels
No labels