Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834106 - sys-fs/btrfs-progs with USE="convert static" needs USE=static-libs on sys-libs/e2fsprogs-libs
Summary: sys-fs/btrfs-progs with USE="convert static" needs USE=static-libs on sys-lib...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-26 18:12 UTC by cbus
Modified: 2022-05-17 19:09 UTC (History)
1 user (show)

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


Attachments
Output of emerge --info sys-fs/btrfs (emerge_info,6.41 KB, text/plain)
2022-02-26 18:13 UTC, cbus
Details
Output of emerge -pvq sys-fs/btrfs (emerge_pvq,175 bytes, text/plain)
2022-02-26 18:14 UTC, cbus
Details
Build log of a failing build (build.log,231.05 KB, text/x-log)
2022-02-26 18:14 UTC, cbus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cbus 2022-02-26 18:12:12 UTC
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.
Comment 1 cbus 2022-02-26 18:13:42 UTC
Created attachment 765895 [details]
Output of emerge --info sys-fs/btrfs
Comment 2 cbus 2022-02-26 18:14:06 UTC
Created attachment 765896 [details]
Output of emerge -pvq sys-fs/btrfs
Comment 3 cbus 2022-02-26 18:14:48 UTC
Created attachment 765897 [details]
Build log of a failing build
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-27 02:14:44 UTC
I suspect this will stop being a problem shortly given we're getting rid of -libs.
Comment 5 Larry the Git Cow gentoo-dev 2022-05-17 19:09:25 UTC
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(-)