Closed liondandelion closed 1 month ago
Judging by https://metacpan.org/release/XSAWYERX/perl-5.34.0/view/lib/File/Copy.pm that's supposed to be part of the default Perl system.
This doesn't look like right search path for brew perl
(which should include paths under /home/linuxbrew/.linuxbrew/opt/perl
). It seems to be using system perl
paths (e.g. /usr/...
) instead:
(@INC entries checked:
/home/linuxbrew/.linuxbrew/Cellar/stow/2.4.0/share/perl/5.34.0
/usr/local/lib64/perl5/5.38
/usr/local/share/perl5/5.38
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5)
EDIT: Also looks like the stow
bottle contains path for Perl 5.34.0 (which may be System perl
on Ubuntu CI runner)
Can you check what the shebang is? e.g. head -1 /home/linuxbrew/.linuxbrew/bin/stow
.
May be due to not uploading bottle from #176700 so existing bottles are still using system /usr/bin/perl
and only work if that Perl matches version on Ubuntu 22.04
Can you check what the shebang is?
It is indeed #!/usr/bin/perl
Bottle was rebuilt in #177803, should be fixed after a brew reinstall stow
Yes, it is fixed now. Thanks!
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
I was trying to install and run stow to manage my dotfiles.
What happened (include all command output)?
While running stow with any arguments i get the following output:
What did you expect to happen?
I expected stow to work normally without failures.
Step-by-step reproduction instructions (by running
brew
commands)