Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830277 - sys-kernel/genkernel-4.2.6-r2: btrfs-progs does not build on musl systems
Summary: sys-kernel/genkernel-4.2.6-r2: btrfs-progs does not build on musl systems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-30 08:48 UTC by Stijn Tintel
Modified: 2022-01-20 12:08 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stijn Tintel 2021-12-30 08:48:56 UTC
In https://bugs.gentoo.org/828726 it is confirmed that btrfs-progs-5.15.1 does not build on musl systems. As sys-kernel/genkernel-4.2.6 uses btrfs-progs-5.15.1, it fails to build an initramfs when btrfs is enabled. Please keep 4.2.5 in tree until 828726 is resolved and its fix included in the genkernel btrfs-progs patches.

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-30 09:07:01 UTC
On IRC, stintel confirms this is a dupe -- linux-headers upgrade caused it.

*** This bug has been marked as a duplicate of bug 828726 ***
Comment 3 Larry the Git Cow gentoo-dev 2021-12-30 09:41:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3b533bb1984665fe0864dfba62eb1d933caf3c4

commit f3b533bb1984665fe0864dfba62eb1d933caf3c4
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-30 09:40:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-30 09:40:51 +0000

    sys-fs/btrfs-progs: fix build on musl
    
    Closes: https://bugs.gentoo.org/830277
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/btrfs-progs/btrfs-progs-5.15.1.ebuild       |  8 +++--
 .../files/5.15-musl-const.h-include.patch          | 34 ++++++++++++++++++++++
 2 files changed, 40 insertions(+), 2 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2021-12-31 02:50:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1e70e74d97b9cccca55f9f8321f81916d0d1870

commit c1e70e74d97b9cccca55f9f8321f81916d0d1870
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-31 02:49:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-31 02:50:01 +0000

    sys-fs/btrfs-progs: drop unnecessary musl patch
    
    Adjusted linux-headers patch instead.
    
    Bug: https://bugs.gentoo.org/830277
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/btrfs-progs/btrfs-progs-5.15.1.ebuild       |  4 ---
 .../files/5.15-musl-const.h-include.patch          | 34 ----------------------
 2 files changed, 38 deletions(-)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-31 02:50:22 UTC
OK, I think it should be all good now, adjusted linux-headers so gk should be fine.
Comment 6 Larry the Git Cow gentoo-dev 2022-01-20 12:08:29 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=621a8f5570fe4e3c771db4088f199132106c35ed

commit 621a8f5570fe4e3c771db4088f199132106c35ed
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-01-20 11:57:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-20 12:07:30 +0000

    sys-fs/btrfs-progs: add 5.16
    
    Bug: https://bugs.gentoo.org/830277
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/btrfs-progs/Manifest                |   1 +
 sys-fs/btrfs-progs/btrfs-progs-5.16.ebuild | 132 +++++++++++++++++++++++++++++
 sys-fs/btrfs-progs/btrfs-progs-9999.ebuild |  14 +--
 3 files changed, 142 insertions(+), 5 deletions(-)