ugexe / zef

Raku Module Management
Artistic License 2.0
207 stars 44 forks source link

zef install --/test https://github.com/melezhik/sparrowdo-cordova-osx-build.git fails #266

Closed melezhik closed 5 years ago

melezhik commented 6 years ago

zef install --/test https://github.com/melezhik/sparrowdo-cordova-osx-build.git fails

Steps to Reproduce

$ zef install --/test https://github.com/melezhik/sparrowdo-cordova-osx-build.git --force-install
Extracting with plugin Zef::Service::Shell::git+{<anon|1>} aborted.
Extracting with plugin Zef::Service::FetchPath+{<anon|1>} aborted.
No such method 'IO' for invocant of type 'Any'
  in method extract at /Applications/Rakudo/share/perl6/site/sources/3CD130382622E474303EEF475B5E625FC481D071 (Zef::Extract) line 31
  in code  at /Applications/Rakudo/share/perl6/site/sources/7926F4F3ED4C81AA5DA2A54C8AE1E03D03424CCE (Zef::Client) line 269
  in method extract at /Applications/Rakudo/share/perl6/site/sources/7926F4F3ED4C81AA5DA2A54C8AE1E03D03424CCE (Zef::Client) line 244
  in method fetch at /Applications/Rakudo/share/perl6/site/sources/7926F4F3ED4C81AA5DA2A54C8AE1E03D03424CCE (Zef::Client) line 186
  in sub MAIN at /Applications/Rakudo/share/perl6/site/sources/E4784A2A0FA00D16808817186E95FE74BEF3FE2D (Zef::CLI) line 114
  in block <unit> at /Applications/Rakudo/share/perl6/site/resources/3065D08F5332CA244672D7F8A05B603F92BB8A7D line 3
  in sub MAIN at /Applications/Rakudo/share/perl6/site/bin/zef line 2
  in block <unit> at /Applications/Rakudo/share/perl6/site/bin/zef line 2

Your Environment

$ perl6 --version
This is Rakudo Star version 2018.04.1 built on MoarVM version 2018.04.1
implementing Perl 6.c.
mac-mini-01:projects alekseimelezhik$ un
unalias           unexpand          uniq              unlink            unsetpassword     unzip
uname             unifdef           units             unpack200         until             unzipsfx
uncompress        unifdefall        universalaccessd  unset             unvis

$ uname -a
Darwin mac-mini-01 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64

k$  zef list --installed
===> Found via /Applications/Rakudo/share/perl6
CORE:ver<6.c>:auth<perl>
===> Found via /Applications/Rakudo/share/perl6/site
Config::INI
Config::Simple:auth<Sylvain Colinet>
DBIish:ver<0.5.14>
Data::Dump:ver<.0.0.8>:auth<github:tony-o>
DateTime::Format
DateTime::Parse:ver<0.9.1>
Debugger::UI::CommandLine
Digest::MD5:ver<0.05>:auth<Cosimo Streppone>
Encode:ver<0.0.2>:auth<github:sergot>
File::Directory::Tree:auth<labster>
File::Find:ver<0.1>
File::Temp:ver<0.0.6>
File::Which:ver<1.0.1>
Grammar::Debugger:ver<1.0.1>:auth<github:jnthn>
Grammar::Profiler::Simple:ver<0.02>
HTTP::Easy:ver<1.1.0>
HTTP::Status
HTTP::UserAgent:ver<1.1.39>:auth<github:sergot>
IO::Capture::Simple
IO::String:ver<0.1.1>:auth<Rob Hoelz>
JSON::Class:ver<0.0.10>:auth<github:jonathanstowe>
JSON::Fast:ver<0.9.10>
JSON::Marshal:ver<0.0.14>:auth<github:jonathanstowe>
JSON::Name:ver<0.0.2>:auth<github:jonathanstowe>
JSON::Pretty:ver<0.1.0>:auth<github:FROGGS>
JSON::RPC:ver<1.0.0>:auth<bbkr>
JSON::Tiny:ver<1.0>
JSON::Unmarshal:ver<0.08>
LWP::Simple:ver<0.101>:auth<Cosimo Streppone>
LibraryMake:ver<1.0.0>:auth<github:retupmoca>
Linenoise:ver<0.1.1>:auth<Rob Hoelz>
META6:ver<0.0.19>:auth<github:jonathanstowe>
MIME::Base64:ver<1.2.1>:auth<github:retupmoca>
NativeHelpers::Blob:ver<0.1.10>:auth<github:salortiz>
OO::Monitors:ver<1.1>
PSGI:ver<1.2.0>
Pod::To::BigPage:ver<0.3.0>:auth<Wenzel P. P. Peppmeyer>
Pod::To::HTML:ver<0.3.15>
SVG
SVG::Plot
Shell::Command
Sparrowdo::Cordova::OSx::Build:ver<0.0.1>
Sparrowdo::Cordova::OSx::Build:ver<0.0.3>
Sparrowdo::VSTS::YAML::Cordova:ver<0.0.1>
Sparrowdo::VSTS::YAML::Cordova:ver<0.0.8>
Sparrowdo:ver<0.0.39>
Sparrowdo:ver<0.0.40>
TAP::Harness:ver<0.0.3>:auth<Leon Timmermans>
Template::Mojo:ver<.0.1>
Template::Mustache:ver<1.0.1>:auth<github:softmoth>
Terminal::ANSIColor:ver<0.4>
Test::META:ver<0.0.13>:auth<github:jonathanstowe>
Test::Mock:ver<1.4>
Test::Util::ServerPort:ver<0.0.1>:auth<github:jonathanstowe>
Test::When:ver<1.001008>
URI:ver<.0.1.4>
XML::Writer
p6doc:ver<1.001002>
panda-stub
zef:ver<0.3.1>:auth<github:ugexe>
ugexe commented 6 years ago

Works for me. Seems like the old version of zef or filesystem issues are to blame?

$ perl6 -I. bin/zef install https://github.com/melezhik/sparrowdo-cordova-osx-build.git --debug
===> Fetching: https://github.com/melezhik/sparrowdo-cordova-osx-build.git
Fetching with plugin: Zef::Service::Shell::git+{<anon|1>}
===> Fetching [OK]: https://github.com/melezhik/sparrowdo-cordova-osx-build.git to /home/nickl/.zef/tmp/1534973191.525.2023/sparrowdo-cordova-osx-build.git
===> Extracting: https://github.com/melezhik/sparrowdo-cordova-osx-build.git
Extracting with plugin: Zef::Service::Shell::git+{<anon|1>}
===> Extraction [OK]: https://github.com/melezhik/sparrowdo-cordova-osx-build.git to /home/nickl/.zef/store/sparrowdo-cordova-osx-build.git
===> Dependencies: Sparrowdo
===> Filtering: Sparrowdo::Cordova::OSx::Build:ver<0.0.3>
===> Filtering [OK] for Sparrowdo::Cordova::OSx::Build:ver<0.0.3>
===> # SKIP: No need to build Sparrowdo::Cordova::OSx::Build:ver<0.0.3>
===> Testing: Sparrowdo::Cordova::OSx::Build:ver<0.0.3>
Testing with plugin: Zef::Service::Shell::prove+{<anon|1>}
t/00-load.t .. ok
All tests successful.
Files=1, Tests=1,  1 wallclock secs ( 0.05 usr  0.00 sys +  1.60 cusr  0.16 csys =  1.81 CPU)
Result: PASS
===> Testing [OK] for Sparrowdo::Cordova::OSx::Build:ver<0.0.3>
===> Installing: Sparrowdo::Cordova::OSx::Build:ver<0.0.3>
===> Install [OK] for Sparrowdo::Cordova::OSx::Build:ver<0.0.3>
melezhik commented 6 years ago

if it is file system issue, how do I know this? it's not seen through log ... Which zef version is the latest? I guess I have pretty fresh one ...

ugexe commented 6 years ago

Your post shows zef:ver<0.3.1>:auth<github:ugexe>. The latest version can be found under the releases. I don't know how to tell if it is a file system issue other than to edit the modules mentioned in the output as failing to add debug output ( Zef::Service::Shell::git, Zef::Service::FetchPath )