In file included from /usr/include/linux/kernel.h:5, from ./kerncompat.h:31, from common/utils.c:42: /usr/include/linux/sysinfo.h:8:8: error: redefinition of 'struct sysinfo' 8 | struct sysinfo { | ^~~~~~~ In file included from common/utils.c:27: /usr/include/sys/sysinfo.h:10:8: note: originally defined here ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-j4-20211209-163207 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-11.2.1 * clang version 13.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.57.0 * php cli: HEAD of ::gentoo commit fcac4407d226ee54f0c57af2d89756b4e26deef0 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Dec 10 00:36:44 2021 +0000 2021-12-10 00:36:41 UTC emerge -qpvO sys-fs/btrfs-progs [ebuild N ] sys-fs/btrfs-progs-5.15.1 USE="convert zstd -doc -python -reiserfs -static -static-libs" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
Created attachment 758036 [details] emerge-info.txt
Created attachment 758037 [details] emerge-history.txt
Created attachment 758038 [details] environment
Created attachment 758039 [details] etc.portage.tar.bz2
Created attachment 758040 [details] logs.tar.bz2
Created attachment 758041 [details] sys-fs:btrfs-progs-5.15.1:20211210-012459.log
Created attachment 758042 [details] temp.tar.bz2
hm, it seems to build fine for Alpine.
I think we might want https://git.alpinelinux.org/aports/tree/main/linux-headers/0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch for linux-headers.
*** Bug 830277 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1bd866997acfb6ed2f4e3051ce233658f1b69bc commit e1bd866997acfb6ed2f4e3051ce233658f1b69bc Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-30 09:39:10 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-30 09:39:10 +0000 sys-kernel/linux-headers: fix 5.10 for musl (sysinfo.h) Notably fixes btrfs-progs build. Closes: https://bugs.gentoo.org/828726 Signed-off-by: Sam James <sam@gentoo.org> ...x-headers-5.15-remove-inclusion-sysinfo.h.patch | 24 ++++++++++ .../linux-headers/linux-headers-5.15-r2.ebuild | 52 ++++++++++++++++++++++ 2 files changed, 76 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ef3659212ff98d2e6bb5df51e405c0953a45fec commit 1ef3659212ff98d2e6bb5df51e405c0953a45fec Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-30 09:37:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-30 09:37:37 +0000 sys-kernel/linux-headers: fix 5.10 for musl (sysinfo.h) Notably fixes btrfs-progs build. Closes: https://bugs.gentoo.org/828726 Signed-off-by: Sam James <sam@gentoo.org> ...x-headers-5.10-remove-inclusion-sysinfo.h.patch | 24 +++++++++++ .../linux-headers/linux-headers-5.10-r2.ebuild | 49 ++++++++++++++++++++++ 2 files changed, 73 insertions(+)
*** Bug 829618 has been marked as a duplicate of this bug. ***