Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 43292
Status: stalled
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: westmj [...] spamcop.net
Cc:
AdminCc:

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



Subject: ~/CPANPLUS-0.85_04 fails t/20_CPANPLUS-Dist-MM.t
Date: Sat, 14 Feb 2009 16:16:40 -0500
To: bug-cpanplus [...] rt.cpan.org, westmj [...] spamcop.net
From: Michael West <westmj [...] spamcop.net>
bug-cpanplus@rt.cpan.org Administrator@16c2 ~/CPANPLUS-0.85_04 $ make test /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/l ib', 'blib/arch')" t/*.t t/00_CPANPLUS-Inc.............................ok t/00_CPANPLUS-Internals-Utils.................ok t/01_CPANPLUS-Configure.......................ok t/02_CPANPLUS-Internals.......................ok t/031_CPANPLUS-Internals-Source-SQLite........skipped: SQLite engine not availab le t/032_CPANPLUS-Internals-Source-via-sqlite....skipped: SQLite engine not availab le t/03_CPANPLUS-Internals-Source................no_plan takes no arguments at t/03 _CPANPLUS-Internals-Source.t line 13. t/03_CPANPLUS-Internals-Source................ok t/04_CPANPLUS-Module..........................ok t/05_CPANPLUS-Internals-Fetch.................ok t/06_CPANPLUS-Internals-Constants.............ok t/07_CPANPLUS-Internals-Extract...............ok- t/08_CPANPLUS-Backend.........................ok t/09_CPANPLUS-Internals-Search................ok t/10_CPANPLUS-Error...........................ok t/15_CPANPLUS-Shell...........................ok t/19_CPANPLUS-Dist............................1/? Use of uninitialized value $_[ 0] in join or string at /usr/lib/perl5/5.10/File/Spec/Unix.pm line 82. t/19_CPANPLUS-Dist............................ok t/20_CPANPLUS-Dist-MM.........................21/? # Failed test 'All files accounted for' # at t/20_CPANPLUS-Dist-MM.t line 176. # Failed test ' Found the module' # at t/20_CPANPLUS-Dist-MM.t line 177. t/20_CPANPLUS-Dist-MM.........................24/? # Failed test 'The object isa ExtUtils::Packlist' # at t/20_CPANPLUS-Dist-MM.t line 187. # The object isn't defined # Failed test 'Directory tree obtained' # at t/20_CPANPLUS-Dist-MM.t line 192. # Failed test ' Module found' # at t/20_CPANPLUS-Dist-MM.t line 202. # Failed test 'Uninstalling module' # at t/20_CPANPLUS-Dist-MM.t line 209. t/20_CPANPLUS-Dist-MM.........................75/? # Looks like you failed 6 tes ts of 80. t/20_CPANPLUS-Dist-MM......................... Dubious, test returned 6 (wstat 1 536, 0x600) Failed 6/80 subtests t/21_CPANPLUS-Dist-No-Build...................ok t/30_CPANPLUS-Internals-Selfupdate............ok t/40_CPANPLUS-Internals-Report................ok Test Summary Report ------------------- t/20_CPANPLUS-Dist-MM (Wstat: 1536 Tests: 80 Failed: 6) Failed tests: 22-27 Non-zero exit status: 6 Files=20, Tests=1487, 61 wallclock secs ( 0.12 usr 0.17 sys + 26.38 cusr 36.21 csys = 62.89 CPU) Result: FAIL Failed 1/20 test programs. 6/1487 subtests failed. make: *** [test_dynamic] Error 255 Administrator@16c2 ~/CPANPLUS-0.85_04 $ $ prove -vl lib t/20_CPANPLUS-Dist-MM.t t/20_CPANPLUS-Dist-MM.... # To run tests in verbose mode, set $ENV{PERL5_CPANPLUS_TEST_VERBOSE} = 1 # Deleting file '/home/Administrator/CPANPLUS-0.85_04/t/dummy-cpanplus/01mailrc. txt.gz' # Deleting file '/home/Administrator/CPANPLUS-0.85_04/t/dummy-cpanplus/02package s.details.txt.gz' # Deleting file '/home/Administrator/CPANPLUS-0.85_04/t/dummy-cpanplus/03modlist .data.gz' # Deleting directory '/home/Administrator/CPANPLUS-0.85_04/t/dummy-cpanplus/5.10 .0' # Deleting directory '/home/Administrator/CPANPLUS-0.85_04/t/dummy-cpanplus/auth ors' # Deleting file '/home/Administrator/CPANPLUS-0.85_04/t/dummy-cpanplus/sourcefil es.2.18.stored' ok 1 - Rebuilding trees ok 2 - Loaded object for: Foo::Bar::EU::NOXS ok 3 - Loaded object for: Foo::Bar ok 4 - Format is available ok 5 - Making format unavailable ok 6 - Format failure logged ok 7 - Fetching module to /home/Administrator/CPANPLUS-0.85_04/t/dummy-cpanplus/ authors/id/EUNOXS/Foo-Bar-0.01.tar.gz ok 8 - Extracting module to /home/Administrator/CPANPLUS-0.85_04/t/dummy-cpanplu s/5.10.0/build/Foo-Bar-0.01 ok 9 - Testing module ok 10 - Test success registered as status ok 11 - Prepared status registered ok 12 - Created status registered ok 13 - Distdir status registered properly ok 14 - Preparing module ok 15 - Creating module ok 16 - Building distribution ok 17 - Dist registered as status ok 18 - The object isa CPANPLUS::Dist::MM ok 19 - Installing module ok 20 - Module installed according to status ok 21 - No missing files not ok 22 - All files accounted for not ok 23 - Found the module # Failed test 'All files accounted for' # at t/20_CPANPLUS-Dist-MM.t line 176. # Failed test ' Found the module' # at t/20_CPANPLUS-Dist-MM.t line 177. not ok 24 - The object isa ExtUtils::Packlist not ok 25 - Directory tree obtained not ok 26 - Module found not ok 27 - Uninstalling module ok 28 - Old status info flushed ok 29 - New dist object made ok 30 - Dist->prepare failed ok 31 - Failure logged ok 32 - Dist->create failed ok 33 - Failure logged ok 34 - Dist->create failed ok 35 - Failure logged ok 36 - Old status info flushed ok 37 - Module fetched again ok 38 - Module extracted again ok 39 - Dist object built ok 40 - Makefile.PL present ok 41 - Makefile.PL written ok 42 - Prior existance noted ok 43 - Deleting Makefile.PL ok 44 - Makefile.PL deleted ok 45 - Makefile deleted ok 46 - Makefile.PL written ok 47 - Makefile.PL open for read ok 48 - Autogeneration noted ok 49 - Contains module name ok 50 - Contains version ok 51 - Contains author ok 52 - Contains prereqs ok 53 - Contains prereqs ok 54 - Deleting Makefile.PL ok 55 - Makefile.PL deleted ok 56 - Dist status flushed ok 57 - Dist->prepare run again # Failed test 'The object isa ExtUtils::Packlist' # at t/20_CPANPLUS-Dist-MM.t line 187. # The object isn't defined # Failed test 'Directory tree obtained' # at t/20_CPANPLUS-Dist-MM.t line 192. # Failed test ' Module found' # at t/20_CPANPLUS-Dist-MM.t line 202. # Failed test 'Uninstalling module' # at t/20_CPANPLUS-Dist-MM.t line 209. ok 58 - Dist->create run again ok 59 - Makefile.PL present ok 60 - Makefile.PL generation attempt logged ok 61 - Makefile.PL deleted ok 62 - Makefile deleted ok 63 - Dist status flushed ok 64 - Dist->prepare failed ok 65 - Missing Makefile.PL noted ok 66 - Did not manage to create Makefile ok 67 - Makefile.PL deleted ok 68 - Dist status flushed ok 69 - Dist->prepare failed ok 70 - Logged failed 'perl Makefile.PL' ok 71 - Did not manage to create Makefile ok 72 - Deleting Makefile.PL ok 73 - Testing ENV settings $dist->prepare ok 74 - Files extracted ok 75 - $mod->prepare worked first time ok 76 - Custom Makefile.PL written ok 77 - File exists ok 78 - $dist->prepare failed ok 79 - $ENV PERL5_CPANPLUS_IS_EXECUTING set correctly during execution ok 80 - ENV var now unset 1..80 # Looks like you failed 6 tests of 80. Dubious, test returned 6 (wstat 1536, 0x600) Failed 6/80 subtests Test Summary Report ------------------- t/20_CPANPLUS-Dist-MM (Wstat: 1536 Tests: 80 Failed: 6) Failed tests: 22-27 Non-zero exit status: 6 Files=1, Tests=80, 36 wallclock secs ( 0.03 usr 0.08 sys + 20.99 cusr 20.89 csy s = 41.99 CPU) Result: FAIL Administrator@16c2 ~/CPANPLUS-0.85_04 $ perl -V Summary of my perl5 (revision 5 version 10 subversion 0 patch 34065) configurati on: Platform: osname=cygwin, osvers=1.5.25(0.15642), archname=cygwin-thread-multi-64int uname='cygwin_nt-5.1 reini 1.5.25(0.15642) 2008-06-12 19:34 i686 cygwin ' config_args='-de -Dmksymlinks -Dusethreads -Dmad=y -Dusedevel' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=undef, uselongdouble=undef usemymalloc=y, bincompat5005=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-ali asing -pipe -I/usr/local/include', optimize='-O3', cppflags='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pip e -I/usr/local/include' ccversion='', gccversion='3.4.4 (cygming special, gdc 0.12, using dmd 0.125) ', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lsee ksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags =' -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,- -stack,8388608 -Wl,--enable-auto-image-base -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -ldb -ldl -lcrypt -lgdbm_compat perllibs=-ldl -lcrypt libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' --shared -Wl,--enable-auto-import -Wl,--export- all-symbols -Wl,--stack,8388608 -Wl,--enable-auto-image-base -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY MYMALLOC PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MAD PERL_MALLOC_WRAP PERL_USE_SAFE_PUTENV USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Locally applied patches: MAINT34065 CYG11 no-bs CYG12 no archlib in otherlibdirs CYG14 Dynaloader CYG15 static-Win32CORE Bug#55162 File::Spec::case_tolerant performance Built under cygwin Compiled at Jun 30 2008 16:05:15 %ENV: CYGWIN="" @INC: /usr/lib/perl5/5.10/i686-cygwin /usr/lib/perl5/5.10 /usr/lib/perl5/site_perl/5.10/i686-cygwin /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/vendor_perl/5.10/i686-cygwin /usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .
Subject: Re: [rt.cpan.org #43292] ~/CPANPLUS-0.85_04 fails t/20_CPANPLUS-Dist-MM.t
Date: Sat, 14 Feb 2009 22:29:11 +0000
To: bug-CPANPLUS [...] rt.cpan.org
From: "Jos I. Boumans" <jos [...] dwim.org>
Hi, Thanks for the report. On 14 Feb 2009, at 21:17, westmj@spamcop.net via RT wrote: Show quoted text
> $ prove -vl lib t/20_CPANPLUS-Dist-MM.t > t/20_CPANPLUS-Dist-MM.... > # To run tests in verbose mode, set > $ENV{PERL5_CPANPLUS_TEST_VERBOSE} = 1
Could you run the test again with the above environment variable set? Thanks, -- Jos Boumans "Two rules to success in life: 1. Don't tell people everything you know" --Sassan Tat
From: todd.e.rinaldo [...] jpmorgan.com

Message body is not shown because it is too large.

On Tue Jun 02 16:45:08 2009, todd_rinaldo wrote: Show quoted text
> I'm getting the same error running on linux AMD64
Thanks. This is an issue with ExtUtils::Installed not finding modules on some platforms/perl configurations that are installed with PREFIX=... I'm not sure how to track this down further unfortuantely. For now, I'll skip these tests as they're test-only failures and create a ticket in the EU::I queue. Thanks for reporting
Subject: Use INTALL_BASE instead of PREFIX
Michael, Are you aware that usage of PREFIX= is not recommended? Use INSTALL_BASE= instead. For more information, see this: http://schwern.org/talks/PREFIX/ http://makemaker.org/ Olivier.
Subject: Re: [rt.cpan.org #43292] Use INTALL_BASE instead of PREFIX
Date: Tue, 16 Jun 2009 10:16:28 -0400
To: bug-CPANPLUS [...] rt.cpan.org
From: "Michael W. J. West" <westmj [...] spamcop.net>
Thanks for sending me an email. I try to help out with perl, but sometimes my self-taught skills have, to others, glaring deficiencies. Then I try to learn and improve. I think I follow you that PREFIX is not recommended, and INSTALL_BASE is preferred. Does it seem to you that I made that less preferred choice when I compiled and installed my own version of perl? Because then I think someone else made the selection, because I used a precompiled perl in cygwin. Can you elaborate a bit on why you think the failure in the test occurred, and what change in my perl would have prevented the failure in the test? Perhaps then I would understand how to improve my local copy of perl, and the person authoring the tests might be able to account for the precompiled perl usually used with cygwin. Regards, Mike ----- Message from bug-CPANPLUS@rt.cpan.org --------- Date: Mon, 15 Jun 2009 13:34:49 -0400 From: Olivier 'dolmen' Mengué via RT <bug-CPANPLUS@rt.cpan.org> Reply-To: bug-CPANPLUS@rt.cpan.org Subject: [rt.cpan.org #43292] Use INTALL_BASE instead of PREFIX To: westmj@spamcop.net Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=43292 > > > Michael, > > Are you aware that usage of PREFIX= is not recommended? Use > INSTALL_BASE= instead. > > For more information, see this: > http://schwern.org/talks/PREFIX/ > http://makemaker.org/ > > Olivier. > >
----- End message from bug-CPANPLUS@rt.cpan.org -----
Subject: Re: [rt.cpan.org #43292] ~/CPANPLUS-0.85_04 fails t/20_CPANPLUS-Dist-MM.t
Date: Sat, 27 Jun 2009 09:23:13 -0400
To: bug-CPANPLUS [...] rt.cpan.org, Alan Burlison <Alan.Burlison [...] uk.sun.com>, Jos Boumans <kane [...] cpan.org>
From: Michael West <westmj [...] spamcop.net>
Jos Boumans via RT wrote: Show quoted text
Thanks. Should your work-around be forwarded to the author of ExtUtils::Installed ? Maybe they could fix any upstream bug? I also sent this to Alan Burlison at sun. Changes for 0.85_09 Thu Apr 23 15:32:49 2009 ================================================ * ExtUtils::Installed functions wouldn't work properly if the install prefix was set to something containing ~, like for example '~/perl'. If we encounter this, substitute the ~ for the real home dir so EU::Installed's path lookups work properly.
Subject: Re: [rt.cpan.org #43292] ~/CPANPLUS-0.85_04 fails t/20_CPANPLUS-Dist-MM.t
Date: Sat, 27 Jun 2009 15:27:40 +0200
To: bug-CPANPLUS [...] rt.cpan.org
From: "Jos I. Boumans" <kane [...] cpan.org>
On Jun 27, 2009, at 3:23 PM, westmj@spamcop.net via RT wrote: Show quoted text
> Queue: CPANPLUS > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=43292 > > > Jos Boumans via RT wrote: > Thanks. > > > Should your work-around be forwarded to the author of > ExtUtils::Installed ? Maybe they could fix any upstream bug? I > also > sent this to Alan Burlison at sun.
Already reported to EU::Installed: https://rt.cpan.org/Ticket/Display.html?id=46890 Cheers, -- Jos Boumans "Whenever you find you are on the side of the majority, it is time to pause and reflect." - Mark Twain