Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178718 - sys-fs/e2fsprogs w/ USE=static only produces static e2fsck
Summary: sys-fs/e2fsprogs w/ USE=static only produces static e2fsck
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 227087 448702 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-16 07:51 UTC by giessie
Modified: 2012-12-27 09:52 UTC (History)
5 users (show)

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


Attachments
allow for conditional building of static binaries (e2fsprogs-1.42.6-static-progs.patch,5.14 KB, patch)
2012-12-27 09:50 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
e2fsprogs-1.42.6.diff (e2fsprogs-1.42.6.diff,1.51 KB, patch)
2012-12-27 09:52 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description giessie 2007-05-16 07:51:12 UTC
USE="static" emerge e2fsprogs DOESN'T produce static binary. 


Reproducible: Always

Steps to Reproduce:
1.USE="static" emerge e2fsprogs
2.ldd blkid


Actual Results:  
ldd reports dynamic libraries, blkid doesn't work in initramfs.

Expected Results:  
Get a statically linked executable

removing --enable-elf-shlibs in src_compile in the ebuild would solve the problem, BUT then compiling fails, because there are no static versons of libss on the system.
Comment 1 SpanKY gentoo-dev 2007-06-30 15:28:07 UTC
USE=static in e2fsprogs has always been just for e2fsck

post a patch if you want all binaries
Comment 2 SpanKY gentoo-dev 2008-06-16 21:15:10 UTC
*** Bug 227087 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2008-08-16 04:43:52 UTC
*** Bug 232115 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2012-12-26 22:04:37 UTC
*** Bug 448702 has been marked as a duplicate of this bug. ***
Comment 5 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-12-27 09:50:10 UTC
Created attachment 333448 [details, diff]
allow for conditional building of static binaries
Comment 6 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-12-27 09:52:09 UTC
Created attachment 333450 [details, diff]
e2fsprogs-1.42.6.diff

I've added a bit for autogenerated files to avoid depending on autotools.eclass for prefix sake.