Skip Menu |

This queue is for tickets about the Shell-Base CPAN distribution.

Report information
The Basics
Id: 19649
Status: open
Priority: 0/
Queue: Shell-Base

People
Owner: Nobody in particular
Requestors: aaron [...] FreeBSD.org
Cc:
AdminCc:

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



Subject: make test fails under Perl 5.8.8, Freebsd 5.4
Here's the build log: ┌─(aaron@moondance:p0)─────────────(~/BSD/p5-Shell-Base/work/Shell-Base-0.05)─┐ └─(14:29:%)── perl Makefile.PL ──(Thu,Jun01)─┘ Checking if your kit is complete... Looks good Writing Makefile for Shell::Base ┌─(aaron@moondance:p0)─────────────(~/BSD/p5-Shell-Base/work/Shell-Base-0.05)─┐ └─(14:29:%)── make ──(Thu,Jun01)─┘ cp Base.pm blib/lib/Shell/Base.pm Manifying blib/man3/Shell::Base.3 ┌─(aaron@moondance:p0)─────────────(~/BSD/p5-Shell-Base/work/Shell-Base-0.05)─┐ └─(14:29:%)── make test ──(Thu,Jun01)─┘ PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/args................ok t/default.............ok t/histfile............ok 1/2Can't locate object method "ReadHistory" via package "Term::ReadLine::Stub" at /home/aaron/BSD/p5-Shell-Base/work/Shell-Base-0.05/blib/lib/Shell/Base.pm line 153. # Looks like you planned 2 tests but only ran 1. # Looks like your test died just after 1. t/histfile............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 2 Failed 1/2 tests, 50.00% okay t/import..............ok t/init_completions....ok t/init_help...........ok t/init_rcfiles........ok t/init_rl.............ok 1/3Can't locate object method "ReadHistory" via package "Term::ReadLine::Stub" at /home/aaron/BSD/p5-Shell-Base/work/Shell-Base-0.05/blib/lib/Shell/Base.pm line 153. # Looks like you planned 3 tests but only ran 1. # Looks like your test died just after 1. t/init_rl.............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-3 Failed 2/3 tests, 33.33% okay t/intro...............ok t/misc................ok t/new.................ok t/outro...............ok t/pager...............ok t/parse_rcfile........ok t/parseline...........ok t/pre,postcmd.........ok t/progname............ok t/prompt..............ok t/prompt_no...........ok 1/2Can't locate object method "ReadHistory" via package "Term::ReadLine::Stub" at /home/aaron/BSD/p5-Shell-Base/work/Shell-Base-0.05/blib/lib/Shell/Base.pm line 153. # Looks like you planned 2 tests but only ran 1. # Looks like your test died just after 1. t/prompt_no...........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 2 Failed 1/2 tests, 50.00% okay t/term................ok 1/3 t/term................NOK 3# Failed test '$self->term() returns something readline-ish' # in t/term.t at line 16. # Looks like you failed 1 test of 3. t/term................dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 3 Failed 1/3 tests, 66.67% okay t/version.............ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/histfile.t 255 65280 2 2 2 t/init_rl.t 255 65280 3 4 2-3 t/prompt_no.t 255 65280 2 2 2 t/term.t 1 256 3 1 3 Failed 4/21 test scripts. 5/124 subtests failed. Files=21, Tests=124, 9 wallclock secs ( 7.38 cusr + 1.28 csys = 8.66 CPU)
On Thu Jun 01 16:33:14 2006, guest wrote: Show quoted text
> Here's the build log:
[-- snip --] This means that Term::ReadLine isn't installed. There are a bunch of failures like this one listed on CPAN testers, actually. Makefile.PL does specify Term::ReadLine as a prereq: my %PREREQ_PM = ( ... 'Term::ReadLine' => 0, ... ); WriteMakefile( NAME => "Shell::Base", ... PREREQ_PM => \%PREREQ_PM, ); But it doesn't seem to be picking it up, probably because the required version number is set to 0. I think this is a change from older versions of MakeMaker, since I've used a version number of 0 to indicate that *any* version is sufficient. I'll package up a new release that fixes this as soon as I can.
On Fri Jun 02 10:12:44 2006, DARREN wrote: Show quoted text
> On Thu Jun 01 16:33:14 2006, guest wrote:
> > Here's the build log:
> [-- snip --] > > This means that Term::ReadLine isn't installed. There are a bunch of > failures like this one listed on CPAN testers, actually. Makefile.PL > does specify Term::ReadLine as a prereq: >
Term::ReadLine is a standard part of the Perl distribution. There's no $VERSION variable, but it's whatever version ships with Perl 5.8.8.
Subject: Re: [rt.cpan.org #19649] make test fails under Perl 5.8.8, Freebsd 5.4
Date: Fri, 2 Jun 2006 15:01:09 -0400
To: Guest via RT <bug-Shell-Base [...] rt.cpan.org>
From: Darren Chamberlain <dlc [...] sevenroot.org>
* Guest via RT <bug-Shell-Base at rt.cpan.org> [2006/06/02 14:28]: Show quoted text
> On Fri Jun 02 10:12:44 2006, DARREN wrote:
> > On Thu Jun 01 16:33:14 2006, guest wrote:
> > > Here's the build log:
> > [-- snip --] > > > > This means that Term::ReadLine isn't installed. There are a bunch of > > failures like this one listed on CPAN testers, actually. Makefile.PL > > does specify Term::ReadLine as a prereq: > >
> > Term::ReadLine is a standard part of the Perl distribution. There's no > $VERSION variable, but it's whatever version ships with Perl 5.8.8.
Now I know what the problem is. Shell::Base requires Term::ReadLine::Gnu, not a vanilla Term::ReadLine. I'll have an updated makefile.PL in a few days. (darren) -- Sometimes I wonder whether the world is being run by smart people who are putting us on or by imbeciles who really mean it. -- Mark Twain
Download (untitled)
application/pgp-signature 189b

Message body not shown because it is not plain text.

From: aaron [...] freebsd.org
On Fri Jun 02 15:02:23 2006, dlc@sevenroot.org wrote: Show quoted text
> > Now I know what the problem is. Shell::Base requires > Term::ReadLine::Gnu, not a vanilla Term::ReadLine. I'll have an > updated makefile.PL in a few days. >
That fixed it! Thanks!