Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 276055

Summary: sys-fs/e2fsprogs-1.41.6-r1 fails to link blkid when static
Product: Gentoo/Alt Reporter: Alan Hourihane <alanh>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: FreeMiNT   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: pull in libuuid when linking against libblkid

Description Alan Hourihane 2009-07-01 10:18:30 UTC
The configure test program links against libblkid to test. This works fine on shared library systems as libblkid automatically depends on libuuid. But on static systems it needs explicit linking.

Attached is the files patch for this and the ebuild should be updated accordingly.
Comment 1 Alan Hourihane 2009-07-01 10:18:58 UTC
Created attachment 196237 [details, diff]
pull in libuuid when linking against libblkid
Comment 2 Fabian Groffen gentoo-dev 2009-07-12 11:30:21 UTC
added, had to fix the patch to apply, but thanks
Comment 3 Fabian Groffen gentoo-dev 2009-07-25 19:49:47 UTC
this patch actually breaks others with messages like this:

make[2]: Entering directory `/Library/Gentoo/var/tmp/portage/sys-fs/e2fsprogs-1.41.7-r1/work/e2fsprogs-1.41.7/e2fsck'
make[2]: *** No rule to make target `-L/Library/Gentoo/usr/lib', needed by `e2fsck'.  Stop.

reason:

LIBUUID = -L/Library/Gentoo/usr/lib -luuid
DEPLIBBLKID =   $(LIBUUID)
DEPLIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(DEPLIBBLKID) $(DEPLIBUUID) $(DEPLIBE2P)
e2fsck: $(OBJS)  $(DEPLIBS)

I conditionalised the patch for now.
Comment 4 Fabian Groffen gentoo-dev 2009-07-25 19:59:43 UTC
Please ignore.  It just doesn't work, the patch seems not to cause that.