46 | close(elf_fd->fd); | ^~~~~~~~~~~~~~~~~ elf.c: In function elf_find_func_offset_from_file: elf.c:260:23: note: elf_fd.fd was declared here 260 | struct elf_fd elf_fd; | ^~~~~~ cc1: all warnings being treated as errors make[2]: *** [/var/tmp/portage/dev-util/bpftool-6.6.8/work/linux-6.6/tools/build/Makefile.build:97: /var/tmp/portage/dev-util/bpftool-6.6.8/work/linux-6.6/tools/bpf/bpftool/libbpf/staticobjs/elf.o] Error 1 make[2]: *** Waiting for unfinished jobs.... ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-20231226-081504 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 17.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.6 Python 3.11.7 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.74.1 * The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.21.5 linux/amd64 HEAD of ::gentoo commit b3aacc2b2fc1d0a381b92323a6a75f538b31156b Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Dec 27 14:16:57 2023 +0000 2023-12-27 14:16:56 UTC emerge -qpvO dev-util/bpftool [ebuild N ] dev-util/bpftool-6.6.8 USE="-caps"
Created attachment 880736 [details] emerge-info.txt
Created attachment 880737 [details] dev-util:bpftool-6.6.8:20231227-145437.log
Created attachment 880738 [details] emerge-history.txt
Created attachment 880739 [details] environment
Created attachment 880740 [details] etc.clang.tar.xz
Created attachment 880741 [details] etc.portage.tar.xz
Created attachment 880742 [details] qlist-info.txt
*** This bug has been marked as a duplicate of bug 887981 ***