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
On IRC, stintel confirms this is a dupe -- linux-headers upgrade caused it. *** This bug has been marked as a duplicate of bug 828726 ***
Actually, genkernel will need https://cgit.openembedded.org/openembedded-core/plain/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-btrfs-tools-include-linux-const.h-to-fix-build-with-.patch?id=fd8989db25c674ca65389a2d41bf5b447e8794be.
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(-)
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(-)
OK, I think it should be all good now, adjusted linux-headers so gk should be fine.
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(-)