App::Assixt fails to install with Zef
A bug was reported through my emailbox. A user is trying to install App::Assixt
with zef
:
lichtkind@vav ~/code/perl/six/rakudo $ zef install App::Assixt
===> Searching for: App::Assixt
===> Updated cpan mirror:
https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan.json
===> Updated p6c mirror: http://ecosystem-api.p6c.org/projects.json
===> Searching for missing dependencies: CPAN::Uploader::Tiny:ver<0.0.6+>,
Config::Parser::toml:ver<1.0.1+>, Config:ver<2.0.1+>:api<2>,
Dist::Helper:ver<1.0.0+>:api<1>, IO::Path::Dirstack:ver<0.1.1+>,
Pod::To::Pager:ver<0.2.0+>, String::Fold:ver<0.1.2+>,
Version::Semantic:ver<0.1.0+>, Test::Output:ver<1.001001+>
===> Searching for missing dependencies: Config::TOML,
Template::Mustache:ver<1.0.1+>, Terminal::ANSIColor, HTTP::Tinyish
Use of uninitialized value of type Any in string context.
Methods .^name, .perl, .gist, or .say can be used to stringify it to something
meaningful.
in block at
/home/lichtkind/.perl6/sources/8244C3B17ACA61B0EC04857BB3283A8FAF7A186D
(Zef::Client) line 127
Use of uninitialized value of type Any in string context.
Methods .^name, .perl, .gist, or .say can be used to stringify it to something
meaningful.
in block at
/home/lichtkind/.perl6/sources/8244C3B17ACA61B0EC04857BB3283A8FAF7A186D
(Zef::Client) line 140
===> Searching for missing dependencies:
No such method 'starts-with' for invocant of type 'Any'
in method candidates at
/home/lichtkind/.perl6/sources/9323DE80BA98E91D8C4C7DEB220C13E720187340
(Zef::Repository) line 9
in method find-candidates at
/home/lichtkind/.perl6/sources/8244C3B17ACA61B0EC04857BB3283A8FAF7A186D
(Zef::Client) line 111
in block at
/home/lichtkind/.perl6/sources/8244C3B17ACA61B0EC04857BB3283A8FAF7A186D
(Zef::Client) line 143
in sub MAIN at
/home/lichtkind/.perl6/sources/81436475BD18D66BFD96BBCEE07CCCDC0F368879
(Zef::CLI) line 137
in block <unit> at
/home/lichtkind/.perl6/resources/D822DF07A6D5CB602F97ED307F62A1B3B5D2C90D line 3
in sub MAIN at /home/lichtkind/.perl6/bin/zef line 2
in block <unit> at /home/lichtkind/.perl6/bin/zef line 2
The user noted the following:
its an older linux mint and current (compiled today) rakudo, but that should work anyway. Can you see what I do wrong, or is there a bug?
I've added a test for zef install .
to ensure that the dist itself installs from the source in d7486c14, which passes, so I suspect it might actually be a bug in zef
. I will look at expanding this test to be a more correct test of what the user is actually trying to achieve to be more sure it's not a problem in App::Assixt
. If the problem persists, but the expanded tests pass, I will report the bug to the zef
maintainers.