Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427686 - >=genkernel-3.4.30: needs dependency on app-misc/pax-utils version
Summary: >=genkernel-3.4.30: needs dependency on app-misc/pax-utils version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-23 02:32 UTC by Christopher Smith
Modified: 2012-07-26 21:07 UTC (History)
0 users

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 Christopher Smith 2012-07-23 02:32:32 UTC
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.
Comment 1 Sebastian Pipping gentoo-dev 2012-07-23 19:00:19 UTC
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.
Comment 2 Christopher Smith 2012-07-25 14:28:55 UTC
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".
Comment 3 Sebastian Pipping gentoo-dev 2012-07-26 20:40:02 UTC
(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
Comment 4 Christopher Smith 2012-07-26 21:07:24 UTC
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.