ack requires the perl File-Next package to correctly install but it is not listed as a dependency in the package. Reproducible: Always Steps to Reproduce: 1. emerge ack-1.92 without File-Next installed Actual Results: The emerge fails Expected Results: A successful emerge.
The ebuild states: DEPEND=">=dev-perl/File-Next-1.02 what went wrong in your case that it emerged without it?
(In reply to comment #1) > The ebuild states: > > DEPEND=">=dev-perl/File-Next-1.02 > > what went wrong in your case that it emerged without it? > My initial "emerge ack" produced >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-apps/ack-1.92 * ack-1.92.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: sys-apps/ack-1.92 * Repository: gentoo_prefix * Maintainer: rajiv@gentoo.org * USE: bash-completion elibc_Darwin kernel_Darwin prefix userland_GNU x86-macos * FEATURES: nostrip preserve-libs >>> Unpacking source... >>> Unpacking ack-1.92.tar.gz to /Users/nosmo/Portage/var/tmp/portage/sys-apps/ack-1.92/work >>> Source unpacked in /Users/nosmo/Portage/var/tmp/portage/sys-apps/ack-1.92/work >>> Compiling source in /Users/nosmo/Portage/var/tmp/portage/sys-apps/ack-1.92/work/ack-1.92 ... * Using ExtUtils::MakeMaker * perl Makefile.PL PREFIX=/Users/nosmo/Portage/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/Users/nosmo/Portage/var/tmp/portage/sys-apps/ack-1.92/image/ Checking if your kit is complete... Looks good Warning: prerequisite File::Next 0.4 not found. No documentation found for "File::Next". Writing Makefile for ack make OTHERLDFLAGS=-Wl,-dead_strip_dylibs cp Ack.pm blib/lib/App/Ack.pm cp Repository.pm blib/lib/App/Ack/Repository.pm cp Plugin.pm blib/lib/App/Ack/Plugin.pm cp Resource.pm blib/lib/App/Ack/Resource.pm cp Basic.pm blib/lib/App/Ack/Plugin/Basic.pm /Users/nosmo/Portage/usr/bin/perl squash ack-base File::Next Ack.pm Repository.pm Resource.pm Basic.pm > ack Can't locate File/Next.pm in @INC (@INC contains: /Users/nosmo/Portage/usr/lib/perl5/site_perl/5.12.1/i686-darwin /Users/nosmo/Portage/usr/lib/perl5/site_perl/5.12.1 /Users/nosmo/Portage/usr/lib/perl5/vendor_perl/5.12.1/i686-darwin /Users/nosmo/Portage/usr/lib/perl5/vendor_perl/5.12.1 /Users/nosmo/Portage/usr/lib/perl5/5.12.1/i686-darwin /Users/nosmo/Portage/usr/lib/perl5/5.12.1 /Users/nosmo/Portage/usr/lib/perl5/site_perl /Users/nosmo/Portage/usr/lib/perl5/vendor_perl .) at squash line 7. BEGIN failed--compilation aborted at squash line 7. make: *** [ack] Error 2 emake failed * ERROR: sys-apps/ack-1.92 failed: * compilation failed * * Call stack: * ebuild.sh, line 62: Called src_compile * environment, line 2739: Called perl-module_src_compile * environment, line 2346: Called die * The specific snippet of code: * emake OTHERLDFLAGS="${LDFLAGS}" ${mymake} || die "compilation failed"; * * If you need support, post the output of 'emerge --info =sys-apps/ack-1.92', * the complete build log and the output of 'emerge -pqv =sys-apps/ack-1.92'. * The complete build log is located at '/Users/nosmo/Portage/var/tmp/portage/sys-apps/ack-1.92/temp/build.log'. * The ebuild environment file is located at '/Users/nosmo/Portage/var/tmp/portage/sys-apps/ack-1.92/temp/environment'. * S: '/Users/nosmo/Portage/var/tmp/portage/sys-apps/ack-1.92/work/ack-1.92' However, unmerging ack and File-Next and then emerging ack again leads to a successful install. I can't come up with an explanation for this unfortunately.
I think you had an old perl installed, and didn't run perl-cleaner (or it didn't finish). Check if you have anything inside /Users/nosmo/Portage/usr/lib/perl5 besides 5.12.2?
Hmm, yeah, there was another version kicking around that disappeared after a run of the cleaner. Sorry for the bogus report!
happy to hear the problem can be logically explained :)