Here's an odd one... Trying to merge the latest debianutils gives: " $ emerge -v debianutils These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] sys-apps/debianutils-3.1.1 [2.31] USE="-static" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-apps/debianutils-3.1.1 * debianutils_3.1.1.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking debianutils_3.1.1.tar.gz to /usr/opt/portage/var/tmp/portage/sys-apps/debianutils-3.1.1/work * Applying debianutils-2.31-no-bs-namespace.patch ... [ ok ] * Applying debianutils-2.17.5-nongnu.patch ... [ ok ] >>> Source unpacked in /usr/opt/portage/var/tmp/portage/sys-apps/debianutils-3.1.1/work >>> Compiling source in /usr/opt/portage/var/tmp/portage/sys-apps/debianutils-3.1.1/work/debianutils ... * Running eautoreconf in '/usr/opt/portage/var/tmp/portage/sys-apps/debianutils-3.1.1/work/debianutils' ... * QA Warning: running aclocal in compile phase * Running aclocal -I /opt/portage/usr/share/aclocal ... [ !! ] * Failed Running aclocal ! * * Include in your bugreport the contents of: * * /usr/opt/portage/var/tmp/portage/sys-apps/debianutils-3.1.1/temp/aclocal.out * ERROR: sys-apps/debianutils-3.1.1 failed: * Failed Running aclocal ! * * Call stack: * ebuild.sh: 49: <call src_compile> * environment:3045: <call eautoreconf> * environment: 988: <call eaclocal> * environment: 927: <call autotools_run_tool 'aclocal' '-I' '/opt/portage/usr/share/aclocal'> * environment: 476: die "Failed Running $1 !"; * * If you need support, post the topmost build error, and the call stack if relevant. >>> Failed to emerge sys-apps/debianutils-3.1.1, Log file: >>> '/usr/opt/portage/var/tmp/portage/sys-apps/debianutils-3.1.1/temp/build.log' " ... and the aclocal.out file contains: " ***** aclocal ***** ***** PWD: /usr/opt/portage/var/tmp/portage/sys-apps/debianutils-3.1.1/work/debianutils ***** aclocal -I /opt/portage/usr/share/aclocal The dirfd function is unimplemented at /opt/portage/usr/lib/perl5/5.8.8/File/Path.pm line 224. END failed--call queue aborted. aclocal-1.10: autom4te failed with exit status: 9 " However, the referenced Path.pm contains no reference to 'dirfd'.
Actually, I tried rebuilding all of the auto* tools and hit the same problem. I then reverted to dev-lang/perl-5.8.8-r5, and the problem went away entirely: the problem lies with perl rather than debianutils.
Resolving as INVALID for now because perl-5.8.8-r5 was added back. thx for reporting and helping to figure this out.