-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zef install fails on a fresh (?) M1 macos brew install of rakudo star #552
Comments
This implies you don't have the FWIW I've installed fresh rakudos on various M1/M2/M3 macbooks and used zef successfully as-is, so it is strange that |
Thx. Tar is accessible thru PATH env var. But something may be indeed wrong with my system. I have seen strange error messages when running docker failing to fork stuff thru bin/sh or whatever. That does not affect docker otherwise. This may be related. |
Problem solved, thx to your help. Zef found a tar executable in PDP11 (!!! see below) format and did not try to find further in the PATH env the path for a correct tar. This is really comical. I deserve tar and feathers. And it is indeed doubly a tar problem. A few days ago, I pulled the tar of v7 unix because I wanted to see the sources of the prehistoric shell. I untared it in my home directory, which was a mistake because the tar has no prefix so the
And speaking of shells. Modern shells are robust. zsh does not even whine and execs the good tar. |
I’m not sure what a reasonable action for zef to take is in that scenario. There would have to be a way to determine the type of tar (bsd, gnu, busybox, etc) as well as the version from invoking the command itself, and as far as I know there is no way to do this. I’m also not really a fan of trying every version of a program in PATH to find one that works - that’s not how any shell works when invoking commands so is just as likely to lead to some other confusing behavior for some other edge case. Maybe I’m missing something though… do any other popular tools behave like that? |
Like I said, neither modern shells fall in that trap, nor the I thank you for your helpful support and for writing zef in the first place. My real concern would be it is real slow compared to |
I mentioned |
Once I have suppressed the spurious PDP11 executables in my `~/bin' folder all problems and warning messages have disappeared on my mac. As for calling the right executables when spurious ones appear earlier in the PATH |
Context
This is a followup on rakudo/star#199
Expected Behavior
Installation of App::Mi6
Actual Behavior
Installation fails
Steps to Reproduce
Your Environment
➜ raku zef list --installed
===> Found via inst#/opt/homebrew/Cellar/rakudo-star/2024.02/share/perl6/core
rakudo:ver<2024.02>:auth
===> Found via inst#/opt/homebrew/Cellar/rakudo-star/2024.02/share/perl6/site
App::Prove6:ver<0.0.17>:authcpan:LEONT
App::Zef-Deps:ver<0.9.8>:authzef:coke
Config::Parser::json:ver<1.0.0>:authgithub:arjancwidlak
Config::Parser::yaml:ver<1.0.0>:authgithub:scriptkitties
Config::TOML:ver<0.1.2>:auth
Config:ver<3.0.4>:authcpan:TYIL:api<3>
Crane:ver<0.1.1>:auth
DBIish:ver<0.6.6>:authzef:raku-community-modules:api<1>
DateTime::Format:ver<0.1.5>:authzef:raku-community-modules:api<1.0>
DateTime::Parse:ver<0.9.3>:authgithub:sergot
Digest:ver<1.1.0>:authzef:grondilu
Distribution::Builder::MakeFromJSON:ver<0.6>:authgithub:niner
Encode:ver<0.0.4>:authgithub:sergot
File::Directory::Tree:ver<0.1>:authzef:labster
File::Find:ver<0.2.1>:authzef:raku-community-modules
File::Temp:ver<0.0.10>:authzef:rbt
File::Which:ver<1.0.4>
Getopt::Long:ver<0.4.2>
Grammar::Debugger:ver<1.0.1>:authgithub:jnthn
Grammar::Profiler::Simple:ver<0.05>:authzef:raku-community-modules
HTTP::Easy:ver<1.2>:authzef:raku-community-modules
HTTP::Status:ver<0.0.4>:authzef:lizmat
HTTP::UserAgent:ver<1.1.52>:authgithub:sergot
Hash::Merge:ver<2.0.0>:authgithub:scriptkitties:api<2>
IO::Capture::Simple:ver<v.0.0.2>:authzef:jjmerelo
IO::Glob:ver<0.9.0>:authgithub:zostay
IO::Path::XDG:ver<0.2.0>:api<0>
IO::Socket::SSL:ver<0.0.3>:authgithub:sergot
IO::String:ver<0.1.1>:auth
JSON::Class:ver<0.0.21>:authzef:jonathanstowe:api<1.0>
JSON::Fast:ver<0.19>:authcpan:TIMOTIMO
JSON::Marshal:ver<0.0.25>:authzef:jonathanstowe:api<1.0>
JSON::Name:ver<0.0.7>:authzef:jonathanstowe:api<1.0>
JSON::OptIn:ver<0.0.2>:authzef:jonathanstowe
JSON::RPC:ver<1.0.6>:authzef:bbkr
JSON::Tiny:ver<1.0>
JSON::Unmarshal:ver<0.15>:authzef:raku-community-modules
L10N::DE:ver<0.0.1>:authzef:l10n
L10N::EN:ver<0.0.1>:authzef:l10n
L10N::FR:ver<0.0.1>:authzef:l10n
L10N::HU:ver<0.0.1>:authzef:l10n
L10N::IT:ver<0.0.1>:authzef:l10n
L10N::NL:ver<0.0.1>:authzef:l10n
L10N::PT:ver<0.0.1>:authzef:l10n
L10N:ver<0.0.2>:authzef:l10n
LWP::Simple:ver<0.109>:authzef:raku-community-modules
LibraryCheck:ver<0.0.12>:authzef:jonathanstowe:api<1.0>
LibraryMake:ver<1.0.5>:authzef:jjmerelo
License::SPDX:ver<3.22.0>:authzef:jonathanstowe:api<1.0>
License::SPDX:ver<3.23.0>:authzef:jonathanstowe:api<1.0>
Log::Colored:ver<0.1.2>:api<0>
Log:ver<0.3.0>:authcpan:TYIL:api<0>
Log:ver<0.3.1>:authcpan:TYIL:api<0>
META6:ver<0.0.30>:authzef:jonathanstowe:api<1.0>
MIME::Base64:ver<1.2.3>:authzef:raku-community-modules
NativeCall::TypeDiag:auth
NativeHelpers::Blob:ver<0.1.12>:authgithub:salortiz
NativeLibs:ver<0.0.9>:authgithub:salortiz
OO::Monitors:ver<1.1.1>
OpenSSL:ver<0.2.2>:authgithub:sergot
PSGI:ver<1.2.1>:authzef:raku-community-modules
Path::Finder:ver<0.4.7>:authzef:leont
PathTools:ver<0.2.0>:authgithub:ugexe
Pod::Load:ver<0.7.2>:authzef:jjmerelo
Pod::To::BigPage:ver<0.5.2>:auth<Perl 6>
Pod::To::HTML:ver<0.7.1>:authgithub:Raku
Pod::Usage:ver<0.0.1>:authzef:leont
SVG::Plot
SVG:ver<1.0>
Shell::Command:ver<1.1>:authzef:raku-community-modules
System::Query:ver<0.1.6>:authzef:tony-o
TAP:ver<0.3.14>
Temp::Path:ver<1.001008>
Template6:ver<0.14.0>:authzef:raku-community-modules
Template::Mojo:ver<0.2.2>:authzef:raku-community-modules
Template::Mustache:ver<1.2.3>:authgithub:softmoth
Term::termios:ver<0.2.7>:authzef:krunen
Term::termios:ver<0.2>:authgithub:krunen
Terminal::ANSIColor:ver<0.10>:authzef:lizmat
Terminal::ANSIColor:ver<0.9.1>:authzef:lizmat
Terminal::ANSIParser:ver<0.0.3>:authzef:japhb
Terminal::Capabilities:ver<0.0.3>:authzef:japhb
Terminal::LineEditor:ver<0.0.16>:authzef:japhb
Test::META:ver<0.0.20>:authzef:jonathanstowe:api<1.0>
Test::Mock:ver<1.6>:authzef:jnthn
Test::Output:ver<1.001006>:authzef:raku-community-modules
Test::Util::ServerPort:ver<0.0.5>:authzef:jonathanstowe:api<1.0>
Test::When:ver<1.001009>:authzef:raku-community-modules
Testo:ver<1.003009>:authzef:raku-community-modules
Text::MiscUtils:ver<0.0.9>:authzef:japhb
URI:ver<0.3.7>:authzef:raku-community-modules
XML::Writer
XML:ver<0.3.3>:authzef:raku-community-modules
YAMLish:ver<0.1.0>:authzef:leont
sigpipe:ver<0.0.3>:authzef:leont
zef:ver<0.21.4>:authgithub:ugexe:api<0>
The text was updated successfully, but these errors were encountered: