x86_64-pc-linux-gnu-g++ -Wall -Wextra -O3 -I../include -D_FILE_OFFSET_BITS=64 -std=c++11 -Wold-style-cast -pipe -march=native -fno-diagnostics-color -O2 -o fd.o -c fd.cc In file included from ../include/crucible/btrfs.h:17, from ../include/crucible/fs.h:11, from extentwalker.cc:5: /usr/include/linux/btrfs.h:633:45: error: flexible array member btrfs_ioctl_same_args::info not at end of struct crucible::BtrfsExtentSame 633 | struct btrfs_ioctl_same_extent_info info[]; | ^~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd-j4-20221008-190004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.2 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.2 Python 3.10.7 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.64.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): [1] php7.4 * [2] php8.0 [3] php8.1 GNU Make 4.3 HEAD of ::gentoo commit 7d7ffd46e51149cb4379314ec9b29658223edcaa Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Oct 9 19:34:00 2022 +0000 2022-10-09 19:33:59 UTC emerge -qpvO sys-fs/bees [ebuild N ] sys-fs/bees-0.7 USE="-tools"
Created attachment 823324 [details] emerge-info.txt
Created attachment 823327 [details] emerge-history.txt
Created attachment 823330 [details] environment
Created attachment 823333 [details] etc.portage.tar.bz2
Created attachment 823336 [details] sys-fs:bees-0.7:20221009-200733.log
Created attachment 823339 [details] temp.tar.bz2
Reported upstream because I cannot reproduce it on my production systems running stable kernels.
(In reply to Kai Krakow from comment #7) > Reported upstream because I cannot reproduce it on my production systems > running stable kernels. It's linux-headers-6.0 (you should be able to install it safely, fwiw).
(In reply to Sam James from comment #8) > It's linux-headers-6.0 (you should be able to install it safely, fwiw). Oh yes, you're right. But let's wait a little for the upstream developer, he's usually pretty fast in fixing things and very interested to work on future kernel compatibility. Nevertheless, I'll check the newer kernel headers, maybe I can come up with a patch. May take a few days.
Fixed in https://github.com/Zygo/bees/commit/14ce81c081e2aa3104e78bb74a54ecccd4624d0d I'll prepare a new ebuild version.
Another instance of this build error has been fixed: https://github.com/Zygo/bees/commit/5040303f5067ac266b274a44888e0b49c06da816 It looks like this is more likely a problem with latest gcc than the kernel headers itself.
And another one: https://github.com/Zygo/bees/commit/972721016b6db2814c911c112f769669ceeb3a05
*** Bug 879043 has been marked as a duplicate of this bug. ***
*** Bug 880449 has been marked as a duplicate of this bug. ***
It looks like this is solved upstream now in master, with multiple reports that it works now. I'll check if we can get a version bump from upstream or if I need to rather extract the patches.
(In reply to Kai Krakow from comment #15) > It looks like this is solved upstream now in master, with multiple reports > that it works now. > > I'll check if we can get a version bump from upstream or if I need to rather > extract the patches. Thanks!
ping, looks like 0.8 got tagged
Thanks for the ping, Sam. I'll be following up soon, had some health issues.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b82cb595d75b20e591a4baf9aaed01b6dd263b1 commit 7b82cb595d75b20e591a4baf9aaed01b6dd263b1 Author: Kai Krakow <kai@kaishome.de> AuthorDate: 2022-12-17 11:38:38 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-17 19:33:03 +0000 sys-fs/bees: add 0.8 Closes: https://bugs.gentoo.org/876391 Signed-off-by: Kai Krakow <kai@kaishome.de> Signed-off-by: Sam James <sam@gentoo.org> sys-fs/bees/Manifest | 1 + sys-fs/bees/bees-0.8.ebuild | 109 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+)