from /usr/include/linux/perf_event.h:20, from libbpf.c:35: /usr/include/linux/swab.h:136:23: error: expected ; before unsigned 136 | static __always_inline unsigned long __swab(const unsigned long y) | ^~~~~~~~~ | ; ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200328-141627 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-gentoo-linux-musl-9.3.0 * clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.42.0 * timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Wed Apr 1 23:37:48 UTC 2020 /var/db/repos/musl Fri Mar 27 00:25:27 UTC 2020 emerge -qpvO dev-libs/libbpf [ebuild N ] dev-libs/libbpf-0.0.7 USE="static-libs"
Created attachment 628776 [details] emerge-info.txt
Created attachment 628778 [details] dev-libs:libbpf-0.0.7:20200402-005502.log
Created attachment 628780 [details] emerge-history.txt
Created attachment 628782 [details] environment
Created attachment 628784 [details] etc.portage.tbz2
The issue is in the linux-headers and has been fixed in the musl overlay (https://github.com/gentoo/musl/commit/e9a03616c762b689a02860e17347eb484d14addf)