sys-fs/btrfs-progs with USE="convert static" needs that the libraries for accessing other file systems are available as static libraries. (#632092 is a previous case of this) For some reason, having USE="static-libs" on sys-fs/e2fsprogs isn't enough anymore, and it is now also required on sys-libs/e2fsprogs-libs. Reproducible: Always Steps to Reproduce: 1. Install sys-libs/e2fsprogs-libs with USE="-static-libs" 2. Notice that `USE="convert static" emerge sys-fs/btrfs-progs` fails. 3. Install sys-libs/e2fsprogs-libs with USE="static-libs" 4. Notice that `USE="convert static" emerge sys-fs/btrfs-progs` works. Actual Results: In step 2, emerge tries to build sys-fs/btrfs-progs, but fails with: /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcom_err Expected Results: In step 2, emerge should fail.
Created attachment 765895 [details] Output of emerge --info sys-fs/btrfs
Created attachment 765896 [details] Output of emerge -pvq sys-fs/btrfs
Created attachment 765897 [details] Build log of a failing build
I suspect this will stop being a problem shortly given we're getting rid of -libs.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b3bff233fdc124d709576f67772371abe36a986 commit 1b3bff233fdc124d709576f67772371abe36a986 Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2022-05-17 18:58:46 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2022-05-17 19:07:36 +0000 sys-libs/e2fsprogs-libs: treeclean Closes: https://bugs.gentoo.org/806875 Closes: https://bugs.gentoo.org/834106 Closes: https://bugs.gentoo.org/423453 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> sys-libs/e2fsprogs-libs/Manifest | 1 - .../e2fsprogs-libs/e2fsprogs-libs-1.46.4-r1.ebuild | 91 ---------------------- .../e2fsprogs-libs-1.42.13-fix-build-cflags.patch | 13 ---- sys-libs/e2fsprogs-libs/metadata.xml | 13 ---- 4 files changed, 118 deletions(-)