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.
USE=static in e2fsprogs has always been just for e2fsck post a patch if you want all binaries
*** Bug 227087 has been marked as a duplicate of this bug. ***
*** Bug 232115 has been marked as a duplicate of this bug. ***
*** Bug 448702 has been marked as a duplicate of this bug. ***
Created attachment 333448 [details, diff] allow for conditional building of static binaries
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.