Skip to content
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

Problems installing perl-5.34.0 on macOS Catalina, Version 10.15.6 (19G73) #735

Open
nattzy94 opened this issue Dec 10, 2021 · 3 comments
Open

Comments

@nattzy94
Copy link

Hi,

I tried to install perl using perlbrew install perl-5.34.0. However, this fails:

This could take a while. You can run the following command on another shell to track the status:

  tail -f ~/perl5/perlbrew/build.perl-5.34.0.log

Installation process failed. To spot any issues, check

  /Users/nathaniel/perl5/perlbrew/build.perl-5.34.0.log

If some perl tests failed and you still want to install this distribution anyway,
do:

  (cd /Users/nathaniel/perl5/perlbrew/build/perl-5.34.0/perl-5.34.0; make install)

You might also want to try upgrading patchperl before trying again:

  perlbrew install-patchperl

Generally, if you need to install a perl distribution known to have minor test
failures, do one of these commands to avoid seeing this message:

  perlbrew --notest install perl-5.34.0
  perlbrew --force install perl-5.34.0

The last part of ~/perl5/perlbrew/build.perl-5.34.0.log shows:

../lib/User/pwent.t .................................................. ok
../lib/utf8.t ........................................................ ok
../lib/vars.t ........................................................ ok
../lib/vars_carp.t ................................................... ok
../lib/vmsish.t ...................................................... ok
../lib/warnings.t .................................................... ok

Test Summary Report
-------------------
../ext/GDBM_File/t/gdbm.t                                          (Wstat: 65280 Tests: 5 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=2676, Tests=1185648, 914 wallclock secs (62.70 usr 11.07 sys + 486.70 cusr 73.81 csys = 634.28 CPU)
Result: FAIL
make: *** [test_harness] Error 1
##### Brew Failed #####

I have also tried running perlbrew install-patchperl before re-runinng the perl installation but the installation still fails:

perlbrew install-patchperl

/Users/nathaniel/perl5/perlbrew/bin/patchperl already exists, are you sure to override ? [y/N] [N] y

patchperl is installed to

    /Users/nathaniel/perl5/perlbrew/bin/patchperl

I am running this on macOS Catalina, Version 10.15.6 (19G73).

@gugod
Copy link
Owner

gugod commented Dec 20, 2021

probably related: #715

@michaelherger
Copy link

It's not #715. I see the same as @nattzy94 on two different Intel based systems using macOS 12.2 and 12.3, with both 5.34.0 and 5.32.1. I can perlbrew install --force... the installation, but I don't like that. Plus I'm facing some issues right now running one of my script, and I'd rather be sure it's not caused by this issue.

Compiling the same version on a M1 Mini with macOS 12.2 succeeds just fine.

@Alecton4
Copy link

Alecton4 commented May 2, 2024

I encountered a similar error when trying to install perl-5.34.0 on openSUSE. It still failed to install even after upgrading patchperl:

Test Summary Report
-------------------
../ext/GDBM_File/t/gdbm.t                                          (Wstat: 65280 Tests: 5 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=2677, Tests=1186796, 715 wallclock secs (57.01 usr  6.66 sys + 435.07 cusr 40.56 csys = 539.30 CPU)
Result: FAIL
make: *** [makefile:839: test_harness] Error 1
##### Brew Failed #####

But installing perl-5.34.3 succeeded after upgrading patchperl. Not sure whether it would succeed without patchperl.

My environment:

Operating System: openSUSE Tumbleweed 20240419
Kernel Version: 6.8.7-1-default (64-bit)
glibc: 2.39
system Perl: v5.38.2
GNU Make: 4.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants