Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the ack CPAN distribution.

Maintainer(s)' notes

ack's issues are tracked at https://github.com/petdance/ack2

Report information
The Basics
Id: 24468
Status: resolved
Priority: 0/
Queue: ack

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

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



Subject: Test failures due to old File::Next version
When building ack from CPAN.pm, then the system would detect that an old File::Next version is installed: Warning: prerequisite File::Next 0.38 not found. We have 0.32. However, CPAN.pm does not resolve the prerequisite automatically, as it usually does for other modules. I see that ack's Makefile.PL has some rules overriding the standard rules and it seems that this prevents the automatic prereq installation. BTW, here's the log of the make test failure: CPAN: CPAN::Reporter loaded ok (v0.36) PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.........# Testing App::Ack 1.58, Perl 5.008008, /usr/local/bin/perl ok t/ack-a...........File::Next version 0.34 required--this is only version 0.32 at t/ack-a.t line 7. BEGIN failed--compilation aborted at t/ack-a.t line 7. # Looks like your test died before it could output anything. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/ack-binary......ack-standalone: Invalid parameter passed to files(): follow_symlinks Undefined subroutine &File::Next::reslash called at Util.pm line 23. # Looks like you planned 3 tests but only ran 2. # Looks like your test died just after 2. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 3 Failed 1/3 tests, 66.67% okay [snipped] Regards, Slaven
Subject: Test failures due to old File::Next version
DIED. FAILED test 3 Failed 1/3 tests, 66.67% okay [snipped] Regards, Slaven
(duplicate of #24468)
Show quoted text
> However, CPAN.pm does not resolve the prerequisite automatically, as > it usually does for other modules. I see that ack's Makefile.PL has > some rules overriding the standard rules and it seems that this > prevents the automatic prereq installation.
I think it's your CPAN.pm. I have no problems on this end, and what I've modified has nothing to do with dependencies.
Subject: Re: [rt.cpan.org #24468] Test failures due to old File::Next version
Date: 21 Jan 2007 23:24:00 +0100
To: bug-ack [...] rt.cpan.org
From: Slaven Rezic <slaven [...] rezic.de>
"Andy Lester via RT" <bug-ack@rt.cpan.org> writes: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=24468 > > >
> > However, CPAN.pm does not resolve the prerequisite automatically, as > > it usually does for other modules. I see that ack's Makefile.PL has > > some rules overriding the standard rules and it seems that this > > prevents the automatic prereq installation.
> > > I think it's your CPAN.pm. I have no problems on this end, and what > I've modified has nothing to do with dependencies. >
Ah, it seems to be CPAN::SQLite's fault. I turned SQLite support off and now it installs without problems with CPAN.pm. (Sorry for auto-reopening this RT ticket, I just wanted to report the final resolution.) Regards, Slaven -- Slaven Rezic - slaven <at> rezic <dot> de Tk-AppMaster: a perl/Tk module launcher designed for handhelds http://tk-appmaster.sf.net