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

Error installing Perl(all versions) on Intel Monteray #741

Open
fantinuoli opened this issue Apr 8, 2022 · 2 comments
Open

Error installing Perl(all versions) on Intel Monteray #741

fantinuoli opened this issue Apr 8, 2022 · 2 comments

Comments

@fantinuoli
Copy link

fantinuoli commented Apr 8, 2022

I am not able to install any version of Perl (tried 5.26 upwards) on a new macOS Monterey (Intel).

Test Summary Report
-------------------
porting/libperl.t                                                (Wstat: 65280 Tests: 35 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
../ext/POSIX/t/time.t                                            (Wstat: 512 Tests: 14 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 19 tests but ran 14.
Files=2676, Tests=1208485, 840 wallclock secs (63.76 usr 13.58 sys + 463.82 cusr 80.92 csys = 622.08 CPU)
Result: FAIL
make: *** [test_harness] Error 2
##### Brew Failed #####

Any suggestions welcomed.

@gugod
Copy link
Owner

gugod commented Apr 11, 2022

@fantinuoli Hi, thanks for the report. Are you able provide the output of each test failures ?

I don't have a mac with Monterey to troubleshoot this right away , but if there are more clue, people who experienced same problems might be able to provide solutions.

@d5ve
Copy link

d5ve commented May 17, 2022

I've also had an install failure on macOS Monterey (Intel)

$ perlbrew version
~/perl5/perlbrew/bin/perlbrew  - App::perlbrew/0.95

$ perlbrew install perl-5.32.1

$ cat ~/perl5/perlbrew/build.perl-5.32.1.log

--snip--

porting/globvar.t .................................................. ok
porting/libperl.t: Unexpected /usr/bin/nm error: ../libperl.a:perlapi.o: no symbols
porting/libperl.t: Unexpected /usr/bin/nm errors
porting/libperl.t ..................................................
Dubious, test returned 255 (wstat 65280, 0xff00)
All 35 subtests passed
        (less 1 skipped subtest: 34 okay)
porting/maintainers.t .............................................. ok

--snip-

Test Summary Report
-------------------
porting/libperl.t                                                (Wstat: 65280 Tests: 35 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=2676, Tests=1208597, 907 wallclock secs (64.68 usr 13.86 sys + 474.75 cusr 93.53 csys = 646.82 CPU)
Result: FAIL
make: *** [test_harness] Error 1

perlapi.o is a 208-byte Mach-O 64-bit object x86_64 file.

Running nm perlapi.o gives the no symbols message on STDERR.

I ran the following to install things anyway, and the new perl seems to work so far.

$ cd ~/perl5/perlbrew/build/perl-5.32.1/perl-5.32.1
$ make install
$ perlbrew switch perl-5.32.1

$ perl -v
This is perl 5, version 32, subversion 1 (v5.32.1) built for darwin-2level

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

3 participants