develooper Front page | perl.perl5.porters | Postings from June 2019

[perl #134184] Test failure on Mac OS Catalina

Thread Previous | Thread Next
From:
James E Keenan via RT
Date:
June 7, 2019 19:32
Subject:
[perl #134184] Test failure on Mac OS Catalina
Message ID:
rt-4.0.24-11676-1559935968-1813.134184-15-0@perl.org
On Fri, 07 Jun 2019 19:15:35 GMT, randir wrote:
> This is a bug report for perl from sergey.aleynikov@gmail.com,
> generated with the help of perlbug 1.41 running under perl 5.31.1.
> 
> 
> -----------------------------------------------------------------
> [Please describe your issue here]
> 
> m-catalina:t/ (blead) λ ./perl harness porting/libperl.t
> porting/libperl.t .. 1/? porting/libperl.t: Unexpected /usr/bin/nm
> error: no symbols
> porting/libperl.t: Unexpected /usr/bin/nm errors
> porting/libperl.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
> All 35 subtests passed
> 
> 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=1, Tests=35,  0 wallclock secs ( 0.36 usr  0.00 sys +  0.13 cusr
>  0.03 csys =  0.52 CPU)
> Result: FAIL
> 

Am I correct in thinking that Catalina is the latest version of Mac OS X?  If so, congratulations, you have (probably) been the first person to test Perl 5 blead thereon.

Your prize for being first is that you get to investigate this bug on your own machine.

t/porting/libperl.t contains instructions for debugging its own failures.  Have you tried any of them?

In particular, once having built perl, you might try stepping through the file with the new perl's debugger, paying particular attention to this 'if' block wherein the exception is thrown.

#####
578 if (defined $nm_err_tmp) {
579     if (open(my $nm_err_fh, $nm_err_tmp)) {
580         my $error;
581         while (<$nm_err_fh>) {
582             # OS X has weird error where nm warns about
583             # "no name list" but then outputs fine.
584             if (/nm: no name list/ && $^O eq 'darwin') {
585                 print "# $^O ignoring $nm output: $_";
586                 next;
587             }
588             warn "$0: Unexpected $nm error: $_";
589             $error++;
590         }
591         die "$0: Unexpected $nm errors\n" if $error;
592     } else {
593         warn "Failed to open '$nm_err_tmp': $!\n";
594     }
595 }
#####

Thank you very much.

-- 
James E Keenan (jkeenan@cpan.org)

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=134184

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About