perlquestion
nysus
<p>Running macOS Monterey using perlbrew. I've installed several versions of perl with perlbrew on my account without issue in the past. I recently tried to install 5.34.0 and I keep getting failed tests:
<c>
<snip>
op/for.t ............................................................. ok
PROG:
$| = 1;
$\ = "\n";
my $echo = 'echo';
if ($^O =~ /android/) {
$echo = q{sh -c 'echo $@' -- };
}
if ($pid = fork) {
waitpid($pid,0);
print "parent got $?"
}
else {
exec("$echo foo");
}
EXPECTED:
foo
parent got 0
GOT:
hi
parent got 0
# Failed test 13 - at op/fork.t line 18
#
# Note: 'run_multiple_progs' run has one or more failures
# you can consider setting the environment variable
# PERL_TEST_ABORT_FIRST_FAILURE=1 before running the test
# to stop on the first error.
#
op/fork.t ............................................................
<snip>
# Failed test 'arrayref cmd: https://rt.cpan.org/Ticket/Display.html?id=70530'
# at t/03_run-forked.t line 41.
# Looks like you failed 1 test of 114.
../cpan/IPC-Cmd/t/03_run-forked.t ....................................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/114 subtests
(less 100 skipped subtests: 13 okay)
<snip>
# Failed test 20 - array should contain one result or more: libc => () at t/DynaLoader.t line 127
# got "0"
# expected >= "1"
<snip>
Test Summary Report
-------------------
op/fork.t (Wstat: 0 Tests: 28 Failed: 1)
Failed test: 13
op/incfilter.t (Wstat: 0 Tests: 151 Failed: 0)
Parse errors: Bad plan. You planned 153 tests but ran 151.
../cpan/IPC-Cmd/t/03_run-forked.t (Wstat: 256 Tests: 114 Failed: 1)
Failed test: 5
Non-zero exit status: 1
../dist/IO/t/io_pipe.t (Wstat: 0 Tests: 9 Failed: 0)
Parse errors: Tests out of sequence. Found (9) but expected (8)
Tests out of sequence. Found (10) but expected (9)
Bad plan. You planned 10 tests but ran 9.
../ext/DynaLoader/t/DynaLoader.t (Wstat: 0 Tests: 44 Failed: 1)
Failed test: 20
Files=2668, Tests=1185113, 733 wallclock secs (54.46 usr 13.72 sys + 406.34 cusr 70.24 csys = 544.76 CPU)
</c>
<p>I've updated perlbrew and perlpatch. Still nothing works. perlbrew info:
<c>
Current perl:
Using system perl.
Shebang: #!/usr/bin/perl
perlbrew:
version: 0.94
ENV:
PERLBREW_ROOT: /Users/me/perl5/perlbrew
PERLBREW_HOME: /Users/me/.perlbrew
PERLBREW_PATH: /Users/me/perlbrew/bin
PERLBREW_MANPATH:
</c>
<p>Googling around doesn't turn up anything useful. I had perl installed with homebrew and removed it to try to fix the issue. I've also tried remove a few other homebrew packages to try to resolve the issue but nothing. I created a new account on the machine, installed perlbrew, and 5.34.0 installed without issue.
<p>I'm not sure how to go about tracking down the problem. Any ideas?
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-66801">
<font size=2><p>
$PM = "Perl Monk's";<br>
$MCF = "Most Clueless <strike>Friar</strike> <strike>Abbot</strike> <strike>Bishop</strike> <strike>Pontiff</strike> <strike>Deacon</strike> <strike>Curate</strike> <strike>Priest</strike> Vicar";<br>
$nysus = $PM . ' ' . $MCF;<br>
<a href="http://perlmonks.org/index.pl?node=Offering%20Plate">Click here if you love Perl Monks</a><br></font>
</div></div>