Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614882 - sys-apps/ack-2.18 requires >=dev-perl/File-Next-1.160.0
Summary: sys-apps/ack-2.18 requires >=dev-perl/File-Next-1.160.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-06 20:58 UTC by Tanktalus
Modified: 2017-04-07 23:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tanktalus 2017-04-06 20:58:02 UTC
I get this with ack 2.18 and File-Next 1.120.0-r1 installed:

$ ack -?
File::Next version 1.16 required--this is only version 1.12 at /usr/lib64/perl5/vendor_perl/5.24.1/App/Ack/Resources.pm line 16.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.24.1/App/Ack/Resources.pm line 16.
Compilation failed in require at /usr/bin/ack line 16.
BEGIN failed--compilation aborted at /usr/bin/ack line 16.

When I upgrade File-Next to 1.160.0, the problem goes away. This indicates to me that ack-2.18 should set >=dev-perl/File-Next-1.160.0 as a dependency.

Thanks,
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-07 13:05:10 UTC
Tim, if you want Perl team to handle stuff like this in future, please stuff us in metadata.xml :)
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-07 23:56:39 UTC
commit:  039fc7a429b0899cf7957d152b9685a23f8eb4a7
author:  2017-04-07 23:51:23 +0000 Kent Fredric <kentnl@gentoo.org>
commit:  2017-04-07 23:55:36 +0000 Kent Fredric <kentnl@gentoo.org>
gpg-key: E854324B1366A820

    sys-apps/ack: Fix dependency on File-Next re bug #614882

    Bug reported by Tanktalus
    
    Also:
    - provision cpan-module remote-ids
    - remove use of SRC_TEST which has no effect on EAPI6
    
    Bug: https://bugs.gentoo.org/614882
    Package-Manager: Portage-2.3.4, Repoman-2.3.2


 sys-apps/ack/ack-2.18.ebuild |  3 +-
 sys-apps/ack/metadata.xml    | 19 +++++
 2 files changed, 20 insertions(+), 2 deletions(-)