Skip Menu |

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

Report information
The Basics
Id: 51508
Status: resolved
Worked: 20 min
Priority: 0/
Queue: ExtUtils-MakeMaker

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

Bug Information
Severity: Normal
Broken in: 6.54
Fixed in: (no value)



Subject: t/basic.t does not run with the new EU::MM
I have EUMM 6.50 installed on HPUX with perl 5.8.0. I'm upgrading to 6.54 using the CPAN shell 1.9304. It looks like test t/basic.t (maybe others too) is running using the installed EU::MM instead of the new one. This makes t/basic.t fail as the META.yml 'generated_by' is not the expected one. t/basic.t ............... 61/79 # Failed test at t/basic.t line 255. # got: '--- #YAML:1.0 # name: Big-Dummy # version: 0.01 # abstract: Try "our" hot dog's # author: # - Michael G Schwern <schwern@pobox.com> # license: unknown # distribution_type: module # configure_requires: # ExtUtils::MakeMaker: 0 # build_requires: # ExtUtils::MakeMaker: 0 # requires: # strict: 0 # no_index: # directory: # - t # - inc # generated_by: ExtUtils::MakeMaker version 6.50 # meta-spec: # url: http://module-build.sourceforge.net/META-spec-v1.4.html # version: 1.4 # ' # expected: '--- #YAML:1.0 # name: Big-Dummy # version: 0.01 # abstract: Try "our" hot dog's # author: # - Michael G Schwern <schwern@pobox.com> # license: unknown # distribution_type: module # configure_requires: # ExtUtils::MakeMaker: 0 # build_requires: # ExtUtils::MakeMaker: 0 # requires: # strict: 0 # no_index: # directory: # - t # - inc # generated_by: ExtUtils::MakeMaker version 6.54 # meta-spec: # url: http://module-build.sourceforge.net/META-spec-v1.4.html # version: 1.4 # '
Note that my EUMM 6.50 is installed in a user directory added to @INC using $ENV{PERL5LIB}. So maybe the problem is a @INC order issue (but maybe not).
On Fri Nov 13 12:26:21 2009, DOLMEN wrote: Show quoted text
> Note that my EUMM 6.50 is installed in a user directory added to @INC > using $ENV{PERL5LIB}. > So maybe the problem is a @INC order issue (but maybe not).
-I should come before PERL5LIB, so that *should* work ok. I'm willing to entertain the possibility of 5.8.0 bugs. Could you please... * Attach the Makefile. * Paste the command bit of "make test". Should be something like PERL_DL_NONLAZY=1 /usr/local/bin/perl "-Iblib/arch" "-Iblib/lib" "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t * Paste what @INC, $perl and $ENV{PERL5LIB} are at line 28 in basic.t. * Paste what @INC normally is for your Perl.
Here is my environment: PERL5LIB=/home/nagios/CPAN/lib/perl5:/home/nagios/build-env/bundles Here is @INC as reported by perl -V: @INC: /home/nagios/CPAN/lib/perl5/PA-RISC2.0-LP64 /home/nagios/CPAN/lib/perl5 /home/nagios/build-env/bundles /opt/perl5/lib/5.8.0/PA-RISC2.0-LP64 /opt/perl5/lib/5.8.0 /opt/perl5/lib/site_perl/5.8.0/PA-RISC2.0-LP64 /opt/perl5/lib/site_perl/5.8.0 /opt/perl5/lib/site_perl . Here is my Makefile.PL command line: perl Makefile.PL INSTALL_BASE=/home/nagios/CPAN INSTALLARCHLIB=/home/nagios/CPAN/lib/perl5/PA-RISC2.0-LP64 INSTALLSITEARCH=/home/nagios/CPAN/lib/perl5/PA-RISC2.0-LP64 VENDORARCHEXP=/home/nagios/CPAN/lib/perl5/PA-RISC2.0-LP64 VENDORLIBEXP=/home/nagios/CPAN/lib/perl5 SITEARCHEXP=/home/nagios/CPAN/lib/perl5/PA-RISC2.0-LP64 SITELIBEXP=/home/nagios/CPAN/lib/perl5 INSTALLPRIVLIB=/home/nagios/CPAN/lib/perl5 INSTALLBIN=/home/nagios/CPAN/bin INSTALLSCRIPT=/home/nagios/CPAN/bin INSTALLMAN1DIR=/home/nagios/CPAN/man/man1 INSTALLMAN3DIR=/home/nagios/CPAN/man/man3 INSTALLHTMLDIR=none INSTALLHTML1DIR=none INSTALLHTML3DIR=none The Makefile generated is attached. Here is the 'make test' command: PERL_DL_NONLAZY=1 /opt/perl5/bin/perl "-Iblib/arch" "-Iblib/lib" "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t -- Olivier Mengué - http://o.mengue.free.fr/
Download Makefile
application/octet-stream 35.2k

Message body not shown because it is not plain text.

Le Ven. Nov. 20 00:26:20 2009, MSCHWERN a écrit : Show quoted text
> * Paste what @INC, $perl and $ENV{PERL5LIB} are at line 28 in basic.t.
I didn't understood what you want. There is no reference to @INC/$perl/PERL5LIB in basic.t line 28. Do you want I patch it to show those variable at this moment? -- Olivier Mengué - http://o.mengue.free.fr/
Subject: Re: [rt.cpan.org #51508] t/basic.t does not run with the new EU::MM
Date: Fri, 20 Nov 2009 13:04:17 -0800
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
Olivier 'dolmen' Mengué via RT wrote: Show quoted text
> Le Ven. Nov. 20 00:26:20 2009, MSCHWERN a écrit :
>> * Paste what @INC, $perl and $ENV{PERL5LIB} are at line 28 in basic.t.
> > I didn't understood what you want. There is no reference to > @INC/$perl/PERL5LIB in basic.t line 28. > > Do you want I patch it to show those variable at this moment?
Yes please. -- "Clutter and overload are not an attribute of information, they are failures of design" -- Edward Tufte
Le Ven 20 Nov 2009 16:04:47, schwern@pobox.com a écrit : Show quoted text
> > Do you want I patch it to show those variable at this moment?
> > Yes please. >
Sorry, I don't have access to this environment anymore, so I won't be able to do more investigations. -- Olivier Mengué - http://o.mengue.free.fr/
I can't reproduce this with v5.8.0 and the latest EUMM All tests successful, 8 tests and 39 subtests skipped. Files=61, Tests=988, 23 wallclock secs (16.86 cusr + 2.42 csys = 19.28 CPU) This is perl, v5.8.0 built for x86_64-linux Closing ticket.