Skip Menu |

This queue is for tickets about the CPAN-ReleaseHistory CPAN distribution.

Report information
The Basics
Id: 93182
Status: rejected
Priority: 0/
Queue: CPAN-ReleaseHistory

People
Owner: NEILB [...] cpan.org
Requestors: bohica [...] ntlworld.com
Cc:
AdminCc:

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



Subject: missing dependency?
Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01-release-iterator.t .. Can't locate PerlIO/gzip.pm in @INC (@INC contains: /home/martin/.cpan/build/CPAN-ReleaseHistory-0.04-D4qsTu/blib/lib /home/martin/.cpan/build/CPAN-ReleaseHistory-0.04-D4qsTu/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/martin/.cpan/build/CPAN-ReleaseHistory-0.04-D4qsTu/blib/lib/CPAN/ReleaseHistory.pm line 12. BEGIN failed--compilation aborted at /home/martin/.cpan/build/CPAN-ReleaseHistory-0.04-D4qsTu/blib/lib/CPAN/ReleaseHistory.pm line 12. Compilation failed in require at t/01-release-iterator.t line 8. BEGIN failed--compilation aborted at t/01-release-iterator.t line 8. # Looks like your test exited with 2 before it could output anything. t/01-release-iterator.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 3/3 subtests t/02-well-formed.t ....... Can't locate PerlIO/gzip.pm in @INC (@INC contains: /home/martin/.cpan/build/CPAN-ReleaseHistory-0.04-D4qsTu/blib/lib /home/martin/.cpan/build/CPAN-ReleaseHistory-0.04-D4qsTu/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/martin/.cpan/build/CPAN-ReleaseHistory-0.04-D4qsTu/blib/lib/CPAN/ReleaseHistory.pm line 12. BEGIN failed--compilation aborted at /home/martin/.cpan/build/CPAN-ReleaseHistory-0.04-D4qsTu/blib/lib/CPAN/ReleaseHistory.pm line 12. Compilation failed in require at t/02-well-formed.t line 8. BEGIN failed--compilation aborted at t/02-well-formed.t line 8. # Looks like your test exited with 2 before it could output anything. t/02-well-formed.t ....... Dubious, test returned 2 (wstat 512, 0x200) Failed 3/3 subtests Test Summary Report ------------------- t/01-release-iterator.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 3 tests but ran 0. t/02-well-formed.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 3 tests but ran 0. Files=2, Tests=0, 0 wallclock secs ( 0.01 usr 0.01 sys + 0.08 cusr 0.02 csys = 0.12 CPU) Result: FAIL Failed 2/2 test programs. 0/0 subtests failed. make: *** [test_dynamic] Error 2 NEILB/CPAN-ReleaseHistory-0.04.tar.gz Then I tried to install PerlIO::gzip and got: gzip.xs:16:18: fatal error: zlib.h: No such file or directory sudo apt-get install zlib1g-dev PerlIO::gzip now installs. CPAN::ReleaseHistory now installs This was perl that comes with Ubuntu 12.04.4 LTS and perl 5.14.2 Martin -- Martin J. Evans Wetherby, UK
Hi, Did you do a force install, or not say yes when asked if it should install prereqs? The Makefile.PL specifies this module in the prereq list: https://metacpan.org/source/NEILB/CPAN-ReleaseHistory-0.04/Makefile.PL How did you install it? Cheers, Neil
On Thu Feb 20 07:04:22 2014, NEILB wrote: Show quoted text
> Hi, > > Did you do a force install, or not say yes when asked if it should > install prereqs? > > The Makefile.PL specifies this module in the prereq list: > > https://metacpan.org/source/NEILB/CPAN-ReleaseHistory-0.04/Makefile.PL > > How did you install it? > > Cheers, > Neil
I just did: perl -MCPAN -e shell Show quoted text
> install CPAN::ReleaseHistory
I was never asked to install deps, I might have that set to a default of yes. o conf shows: prerequisites_policy [follow] Martin -- Martin J. Evans Wetherby, UK
I wonder if the problem is that I've hardcoded the #! path as /usr/local/bin/perl Have you got two different perls installed, and one was used to run cpan, but when you run the script it's running the other? I'll fix the path in the scripts for the next release anyway.
On Thu Feb 20 08:43:06 2014, NEILB wrote: Show quoted text
> I wonder if the problem is that I've hardcoded the #! path as > > /usr/local/bin/perl > > Have you got two different perls installed, and one was used to run > cpan, but when you run the script it's running the other? > > I'll fix the path in the scripts for the next release anyway.
I do have multiple perls - the system one and a perlbrew. Let me do it from scratch and see if I can spot why. Martin -- Martin J. Evans Wetherby, UK
On Thu Feb 20 08:47:57 2014, MJEVANS wrote: Show quoted text
> On Thu Feb 20 08:43:06 2014, NEILB wrote:
> > I wonder if the problem is that I've hardcoded the #! path as > > > > /usr/local/bin/perl > > > > Have you got two different perls installed, and one was used to run > > cpan, but when you run the script it's running the other? > > > > I'll fix the path in the scripts for the next release anyway.
> > I do have multiple perls - the system one and a perlbrew. > > Let me do it from scratch and see if I can spot why. > > Martin
perlbrew install perl-5.19.9 $ perlbrew list * perl-5.18.2 perl-5.19.9 $ perlbrew switch perl-5.19.9 $ perl --version This is perl 5, version 19, subversion 9 (v5.19.9) built for x86_64-linux $ perl -MCPAN -eshell <loads of stuff installed here> NEILB/CPAN-ReleaseHistory-0.04.tar.gz Has already been prepared Running make for N/NE/NEILB/CPAN-ReleaseHistory-0.04.tar.gz Warning: Prerequisite 'PerlIO::gzip => 0' for 'NEILB/CPAN-ReleaseHistory-0.04.tar.gz' failed when processing 'NWCLARK/PerlIO-gzip-0.18.tar.gz' with 'writemakefile => NO '/home/martin/perl5/perlbrew/perls/perl-5.19.9/bin/perl5.19.9 Makefile.PL INSTALLDIRS=site' returned status 65280'. Continuing, but chances to succeed are limited. cp lib/CPAN/ReleaseHistory/Release.pm blib/lib/CPAN/ReleaseHistory/Release.pm cp lib/CPAN/ReleaseHistory.pm blib/lib/CPAN/ReleaseHistory.pm cp lib/CPAN/ReleaseHistory/ReleaseIterator.pm blib/lib/CPAN/ReleaseHistory/ReleaseIterator.pm cp bin/cpan-release-counts blib/script/cpan-release-counts /home/martin/perl5/perlbrew/perls/perl-5.19.9/bin/perl5.19.9 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/cpan-release-counts Manifying blib/man1/cpan-release-counts.1 Manifying blib/man3/CPAN::ReleaseHistory.3 NEILB/CPAN-ReleaseHistory-0.04.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /home/martin/perl5/perlbrew/perls/perl-5.19.9/bin/perl5.19.9 "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01-release-iterator.t .. Can't locate PerlIO/gzip.pm in @INC (you may need to install the PerlIO::gzip module) (@INC contains: /home/martin/.cpan/build/CPAN-ReleaseHistory-0.04-whtSXb/blib/lib /home/martin/.cpan/build/CPAN-ReleaseHistory-0.04-whtSXb/blib/arch /home/martin/perl5/perlbrew/perls/perl-5.19.9/lib/site_perl/5.19.9/x86_64-linux /home/martin/perl5/perlbrew/perls/perl-5.19.9/lib/site_perl/5.19.9 /home/martin/perl5/perlbrew/perls/perl-5.19.9/lib/5.19.9/x86_64-linux /home/martin/perl5/perlbrew/perls/perl-5.19.9/lib/5.19.9 .) at /home/martin/.cpan/build/CPAN-ReleaseHistory-0.04-whtSXb/blib/lib/CPAN/ReleaseHistory.pm line 12. BEGIN failed--compilation aborted at /home/martin/.cpan/build/CPAN-ReleaseHistory-0.04-whtSXb/blib/lib/CPAN/ReleaseHistory.pm line 12. Compilation failed in require at t/01-release-iterator.t line 8. BEGIN failed--compilation aborted at t/01-release-iterator.t line 8. # Looks like your test exited with 2 before it could output anything. t/01-release-iterator.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 3/3 subtests t/02-well-formed.t ....... Can't locate PerlIO/gzip.pm in @INC (you may need to install the PerlIO::gzip module) (@INC contains: /home/martin/.cpan/build/CPAN-ReleaseHistory-0.04-whtSXb/blib/lib /home/martin/.cpan/build/CPAN-ReleaseHistory-0.04-whtSXb/blib/arch /home/martin/perl5/perlbrew/perls/perl-5.19.9/lib/site_perl/5.19.9/x86_64-linux /home/martin/perl5/perlbrew/perls/perl-5.19.9/lib/site_perl/5.19.9 /home/martin/perl5/perlbrew/perls/perl-5.19.9/lib/5.19.9/x86_64-linux /home/martin/perl5/perlbrew/perls/perl-5.19.9/lib/5.19.9 .) at /home/martin/.cpan/build/CPAN-ReleaseHistory-0.04-whtSXb/blib/lib/CPAN/ReleaseHistory.pm line 12. BEGIN failed--compilation aborted at /home/martin/.cpan/build/CPAN-ReleaseHistory-0.04-whtSXb/blib/lib/CPAN/ReleaseHistory.pm line 12. Compilation failed in require at t/02-well-formed.t line 8. BEGIN failed--compilation aborted at t/02-well-formed.t line 8. # Looks like your test exited with 2 before it could output anything. t/02-well-formed.t ....... Dubious, test returned 2 (wstat 512, 0x200) Failed 3/3 subtests Test Summary Report ------------------- t/01-release-iterator.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 3 tests but ran 0. t/02-well-formed.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 3 tests but ran 0. Files=2, Tests=0, 0 wallclock secs ( 0.01 usr 0.01 sys + 0.12 cusr 0.00 csys = 0.14 CPU) Result: FAIL Failed 2/2 test programs. 0/0 subtests failed. make: *** [test_dynamic] Error 2 NEILB/CPAN-ReleaseHistory-0.04.tar.gz one dependency not OK (PerlIO::gzip); additionally test harness failed /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports NEILB/CPAN-ReleaseHistory-0.04.tar.gz Failed during this command: NWCLARK/PerlIO-gzip-0.18.tar.gz : writemakefile NO '/home/martin/perl5/perlbrew/perls/perl-5.19.9/bin/perl5.19.9 Makefile.PL INSTALLDIRS=site' returned status 65280 NEILB/CPAN-ReleaseHistory-0.04.tar.gz : make_test NO one dependency not OK (PerlIO::gzip); additionally test harness failed This is probably the problem: Appending installation info to /home/martin/perl5/perlbrew/perls/perl-5.19.9/lib/5.19.9/x86_64-linux/perllocal.pod ADAMK/File-HomeDir-1.00.tar.gz sudo /usr/bin/make install -- OK Running install for module 'PerlIO::gzip' Checksum for /home/martin/.cpan/sources/authors/id/N/NW/NWCLARK/PerlIO-gzip-0.18.tar.gz ok Configuring N/NW/NWCLARK/PerlIO-gzip-0.18.tar.gz with Makefile.PL Use of uninitialized value $Config{"usesfio"} in string eq at Makefile.PL line 7. You need perl 5.8.0 or later, configured to use perlio (and not to use sfio) Warning: No success on command[/home/martin/perl5/perlbrew/perls/perl-5.19.9/bin/perl5.19.9 Makefile.PL INSTALLDIRS=site] NWCLARK/PerlIO-gzip-0.18.tar.gz /home/martin/perl5/perlbrew/perls/perl-5.19.9/bin/perl5.19.9 Makefile.PL INSTALLDIRS=site -- NOT OK Running install for module 'HTTP::Date' Checksum for /home/martin/.cpan/sources/authors/id/G/GA/GAAS/HTTP-Date-6.02.tar.gz ok Configuring G/GA/GAAS/HTTP-Date-6.02.tar.gz with Makefile.PL Checking if your kit is complete... So it looks like nothing to do with your module. Sorry, for noise. By all means close this rt down. Martin -- Martin J. Evans Wetherby, UK
Ok, closing it.