You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Per my and @patrickbkr 's IRC discussion, recommend closing this, as the issue with v0.4.1 is that I messed up the depends section. This has been fixed in v0.4.2 which installs correctly.
@alabamenhu But this issue is not about the error in the module. It's about the module installation erroring, but then - against my expectation - still having the module installed. Is the error ignorable and the resulting installation is just fine? Is the resulting installation faulty? A user can't know. The same issue could pop up with any other module that happens to fail to install for any reason.
That's why I created a zef issue (instead of a DateTime::Timezones issue).
Context
When installing
DateTime::Timezones:ver<0.4.1>:auth<zef:guifa>
without testing in a clean Rakudo installation (in particularTimezones::ZoneInfo
is not installed) causes the installation to fail withThat 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
Your Environment
Welcome to Rakudo™ v2023.04.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2023.04.
As stated above start with no modules installed.
The text was updated successfully, but these errors were encountered: