genkernel (at least versions 3.4.38 and newer) have an unversioned dependency on app-misc/pax-utils. The genkernel script depends on the /usr/bin/lddtree script provided by pax-utils, but sometime between version 0.1 and 0.4, the script was renamed from lddtree.sh to just lddtree. Upgrading genkernel without upgrading pax-utils breaks the cpio step because genkernel interprets the missing command as a problem with linking startup programs. The genkernel ebuild should depend on the version of pax-utils where lddtree.sh was renamed to lddtree.
Christopher, thanks for sharing your concerns with us. Of those versions in Gentoo, lddtree's source seems to be called lddtree.sh and the final file called lddtree. I just compiled them all: # find /var/tmp/portage/app-misc/ -name '*lddtree*' /var/tmp/portage/app-misc/pax-utils-0.4/image/usr/bin/lddtree /var/tmp/portage/app-misc/pax-utils-0.4/work/pax-utils-0.4/lddtree.sh /var/tmp/portage/app-misc/pax-utils-0.3.0/image/usr/bin/lddtree /var/tmp/portage/app-misc/pax-utils-0.3.0/work/pax-utils-0.3.0/lddtree.sh /var/tmp/portage/app-misc/pax-utils-0.2.3/image/usr/bin/lddtree /var/tmp/portage/app-misc/pax-utils-0.2.3/work/pax-utils-0.2.3/lddtree.sh /var/tmp/portage/app-misc/pax-utils-0.2.2/image/usr/bin/lddtree /var/tmp/portage/app-misc/pax-utils-0.2.2/work/pax-utils-0.2.2/lddtree.sh /var/tmp/portage/app-misc/pax-utils-0.2.1/image/usr/bin/lddtree /var/tmp/portage/app-misc/pax-utils-0.2.1/work/pax-utils-0.2.1/lddtree.sh I think we can close this bug as fixed. Please re-open if necessary.
pax-utils versions in 0.1 are still hanging around and mostly working, and the lddtree.sh rename hadn't happened yet. genkernel needs the dependency "app-misc/pax-utils" changed to ">=app-misc/pax-utils-0.2".
(In reply to comment #2) > pax-utils versions in 0.1 are still hanging around and mostly working, and > the lddtree.sh rename hadn't happened yet. genkernel needs the dependency > "app-misc/pax-utils" changed to ">=app-misc/pax-utils-0.2". 0.1.19 has been deleted 19 months ago [1]. Anyway, if you care I can update it for you. + 26 Jul 2012; Sebastian Pipping <sping@gentoo.org> genkernel-3.4.32.ebuild, + genkernel-3.4.33.1.ebuild, genkernel-3.4.34.ebuild, genkernel-3.4.35.ebuild, + genkernel-3.4.36.ebuild, genkernel-3.4.37.ebuild, genkernel-3.4.38.ebuild, + genkernel-3.4.39.ebuild, genkernel-9999.ebuild: + Fix pax-utils dependency for >=3.4.30 (bug #427686) + [1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-misc/pax-utils/pax-utils-0.1.19.ebuild?hideattic=0&view=log
Thanks; I poked at this only because I had genkernel blow up on me in a quite confusing manner: I upgraded from an older genkernel on a system that's running (with an otherwise happy pax-utils-0.1) for a few years, and when I tried to build an initramfs, I received a red-herring error that /sbin/blkid was missing library dependencies. In fact, genkernel was using lddtree inside a pipeline and interpreted the shell's "command not found" return as a response from grep that it had found lines with missing libraries. I appreciate the patch.