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

Bug 178718

Summary: sys-fs/e2fsprogs w/ USE=static only produces static e2fsck
Product: Gentoo Linux Reporter: giessie <mail>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: enhancement CC: eric.brown, flockmock, gengor, wschlich, xarthisius
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: allow for conditional building of static binaries
e2fsprogs-1.42.6.diff

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.