Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276055 - sys-fs/e2fsprogs-1.41.6-r1 fails to link blkid when static
Summary: sys-fs/e2fsprogs-1.41.6-r1 fails to link blkid when static
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All FreeMiNT
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-01 10:18 UTC by Alan Hourihane
Modified: 2009-07-25 19:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
pull in libuuid when linking against libblkid (e2fsprogs-1.41-blkid.patch,1.35 KB, patch)
2009-07-01 10:18 UTC, Alan Hourihane
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.