Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 121918
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 7.25_02
  • 7.25_03
  • 7.25_04
  • 7.25_05
  • 7.25_06
  • 7.26
  • 7.27_01
  • 7.27_02
  • 7.28
  • 7.29_01
  • 7.29_02
  • 7.30
Fixed in: 7.31_01

Attachments
fail.ExtUtils-MakeMaker-7.2701.x86_64-linux.3.16.0-4-amd64.1495974995.4696.rpt
fail.ExtUtils-MakeMaker-7.2702.x86_64-linux.3.16.0-4-amd64.1496136710.13068.rpt
fail.ExtUtils-MakeMaker-7.2702.x86_64-linux.4.4.0-59-generic.1496135655.24888.rpt



Subject: t/03-xsstatic.t fails on some systems
The test failure started with 7.25_02, it seems (see http://fast-matrix.cpantesters.org/?dist=ExtUtils-MakeMaker%207.25_02 ). Test log is quite long; I can attach it if needed.
Subject: Re: [rt.cpan.org #121918] t/03-xsstatic.t fails on some systems
Date: Mon, 29 May 2017 11:25:02 +0200
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Leon Timmermans <fawaka [...] gmail.com>
On Sun, May 28, 2017 at 2:53 PM, Slaven_Rezic via RT < bug-ExtUtils-MakeMaker@rt.cpan.org> wrote: Show quoted text
> Sun May 28 08:53:49 2017: Request 121918 was acted upon. > Transaction: Ticket created by SREZIC > Queue: ExtUtils-MakeMaker > Subject: t/03-xsstatic.t fails on some systems > Broken in: 7.25_02, 7.25_03, 7.25_04, 7.25_05, 7.25_06, 7.26 > Severity: (no value) > Owner: Nobody > Requestors: SREZIC@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=121918 > > > > The test failure started with 7.25_02, it seems (see http://fast-matrix. > cpantesters.org/?dist=ExtUtils-MakeMaker%207.25_02 ). Test log is quite > long; I can attach it if needed. >
Yes a test log would be very helpful. This must be triggered by some other distribution installing in some weird way, I have to figure out which distribution to be able to reproduce and fix this. Leon
On 2017-05-29 05:45:00, fawaka@gmail.com wrote: Show quoted text
> On Sun, May 28, 2017 at 2:53 PM, Slaven_Rezic via RT < > bug-ExtUtils-MakeMaker@rt.cpan.org> wrote: >
> > Sun May 28 08:53:49 2017: Request 121918 was acted upon. > > Transaction: Ticket created by SREZIC > > Queue: ExtUtils-MakeMaker > > Subject: t/03-xsstatic.t fails on some systems > > Broken in: 7.25_02, 7.25_03, 7.25_04, 7.25_05, 7.25_06, 7.26 > > Severity: (no value) > > Owner: Nobody > > Requestors: SREZIC@cpan.org > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=121918 > > > > > > > The test failure started with 7.25_02, it seems (see http://fast-matrix. > > cpantesters.org/?dist=ExtUtils-MakeMaker%207.25_02 ). Test log is quite > > long; I can attach it if needed. > >
> > Yes a test log would be very helpful. This must be triggered by some other > distribution installing in some weird way, I have to figure out which > distribution to be able to reproduce and fix this.
Fail report is attached.
Subject: fail.ExtUtils-MakeMaker-7.2701.x86_64-linux.3.16.0-4-amd64.1495974995.4696.rpt

Message body not shown because it is not plain text.

This is the key line from the error log: # perlmain.c:178:81: error: ‘pkgconf__lib’ undeclared (first use in this function) # newXS("share::dist::Alien-pkgconf::lib::bootstrap", boot_share__dist__Alien-pkgconf__lib, file); makeaperl found auto/share/dist/Alien-pkgconf/lib/bootstrap/*.a which is clearly a false positive. This PR prunes auto/share/* in that search: https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/303
RT-Send-CC: fawaka [...] gmail.com, fawaka [...] gmail.com
On 2017-05-29 15:03:44, ETJ wrote: Show quoted text
> This is the key line from the error log: > > # perlmain.c:178:81: error: ‘pkgconf__lib’ undeclared (first use > in this function) > # newXS("share::dist::Alien-pkgconf::lib::bootstrap", > boot_share__dist__Alien-pkgconf__lib, file); > > makeaperl found auto/share/dist/Alien-pkgconf/lib/bootstrap/*.a which > is clearly a false positive. This PR prunes auto/share/* in that > search: > > https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/303
I still see failures with 7.27_02. Attached two fail reports which seems to be "typical" --- in one I see Sort::Naturally and Net::Nfdump appearing, in the other Alien::ROOT.
Subject: fail.ExtUtils-MakeMaker-7.2702.x86_64-linux.3.16.0-4-amd64.1496136710.13068.rpt

Message body not shown because it is not plain text.

Subject: fail.ExtUtils-MakeMaker-7.2702.x86_64-linux.4.4.0-59-generic.1496135655.24888.rpt

Message body not shown because it is not plain text.

The Sort::Naturally is actually Sort::Naturally::XS, not too surprisingly. On my Linux box it's installing this: $ nm $PERL5LIB/x86_64-linux/auto/Sort/Naturally/XS/nsort/nsort.a nsort.o: U _GLOBAL_OFFSET_TABLE_ 0000000000000110 T _ncmp U free 0000000000000010 T get_next_chunk 00000000000000f0 T isAlpha 0000000000000000 T isDigit U malloc U strcmp U strcoll U strlen U strncpy U strtol This is another instance of a bad distro making arguably a broken installation.
This fixes the Alien::ROOT failure, with a test to permanently constrain: https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/304
From: justincase [...] yopmail.com
On Tue May 30 12:50:51 2017, SREZIC wrote: Show quoted text
> On 2017-05-29 15:03:44, ETJ wrote:
> > This is the key line from the error log: > > > > # perlmain.c:178:81: error: ‘pkgconf__lib’ undeclared (first use > > in this function) > > # newXS("share::dist::Alien-pkgconf::lib::bootstrap", > > boot_share__dist__Alien-pkgconf__lib, file); > > > > makeaperl found auto/share/dist/Alien-pkgconf/lib/bootstrap/*.a which > > is clearly a false positive. This PR prunes auto/share/* in that > > search: > > > > https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/303
> > I still see failures with 7.27_02. Attached two fail reports which > seems to be "typical" --- in one I see Sort::Naturally and Net::Nfdump > appearing, in the other Alien::ROOT.
having Digest::Skein installed also triggers a similar failure
RT-Send-CC: justincase [...] yopmail.com, fawaka [...] gmail.com
On 2017-05-28 08:53:49, SREZIC wrote: Show quoted text
> The test failure started with 7.25_02, it seems (see http://fast- > matrix.cpantesters.org/?dist=ExtUtils-MakeMaker%207.25_02 ). Test log > is quite long; I can attach it if needed.
The latest devel release fixed the problem.