Created attachment 894657 [details] build.log See /usr/src/linux/tools/include/uapi/asm/bpf_perf_event.h This file include file from arch/*/include/uapi/asm/ but src_unpack in ebuild don't keep it. I found this bug on loongarch system but it should also apply for aarch64/riscv64/s390 system > emerge --info Portage 3.0.64 (python 3.11.9-final-0, default/linux/loong/23.0/la64v100/lp64d/desktop, gcc-14, glibc-2.39-r6, 6.8.11-zen+ loongarch64) ================================================================= System uname: Linux-6.8.11-zen+-loongarch64-with-glibc2.39 KiB Mem: 33160992 total, 24122032 free KiB Swap: 33554416 total, 33554416 free Timestamp of repository gentoo: Thu, 30 May 2024 08:04:13 +0000 Head commit of repository gentoo: 7bd0fde4b38bed5b8dbbc585599abb492a854d0e Timestamp of repository gentoo-zh: Thu, 30 May 2024 08:33:53 +0000 Head commit of repository gentoo-zh: eca2c0c40bd2c9743e414923b4c809e763dfcda7 Timestamp of repository guru: Wed, 29 May 2024 13:03:58 +0000 Head commit of repository guru: e2ab45f2a042789f72fa484563db54d130c908c2 Timestamp of repository loongson: Tue, 21 May 2024 07:18:36 +0000 Head commit of repository loongson: edb8da6fae9c62587e20a5e879de200dbcb62d73 Timestamp of repository mv: Sat, 25 May 2024 18:33:33 +0000 Head commit of repository mv: 2bc9ea74e54c1f99d72287c7dbb93a11ebf98e9b sh bash 5.2_p26-r3 ld GNU ld (Gentoo 2.42 p3) 2.42.0 ccache version 4.10 [disabled] app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p26-r3::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.29.3::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.4.0-r1::gentoo dev-lang/perl: 5.38.2-r6::gentoo dev-lang/python: 3.11.9-r1::gentoo, 3.12.3-r1::gentoo dev-lang/rust: 1.78.0::12101111-overlay dev-util/ccache: 4.10::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/sandbox: 2.38::gentoo sys-apps/systemd: 255.7::12101111-overlay sys-devel/binutils: 2.42-r1::12101111-overlay sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 18.1.6::gentoo sys-devel/gcc: 14.1.1_p20240525::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 18.1.6::gentoo sys-devel/llvm: 18.1.6::gentoo sys-kernel/linux-headers: 6.9::gentoo (virtual/os-headers) sys-libs/glibc: 2.39-r6::gentoo Repositories: gentoo location: /usr/portage/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo priority: -1000 volatile: True gentoo-zh location: /usr/portage/gentoo-zh sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git masters: gentoo volatile: True guru location: /usr/portage/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: True loongson location: /usr/portage/loongson sync-type: git sync-uri: https://github.com/gentoo-mirror/loongson.git masters: gentoo volatile: True mv location: /usr/portage/mv sync-type: git sync-uri: https://github.com/gentoo-mirror/mv.git masters: gentoo volatile: True 12101111-overlay location: /usr/portage/local masters: gentoo priority: 1000 volatile: True Binary Repositories: gentoobinhost priority: 1 sync-uri: https://distfiles.gentoo.org/releases/loong/binpackages/23.0/loong ACCEPT_KEYWORDS="loong ~loong" ACCEPT_LICENSE="@FREE" CBUILD="loongarch64-unknown-linux-gnu" CFLAGS=" -pipe -O3 -flto -march=la664 -mtune=la664 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" CHOST="loongarch64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d" CXXFLAGS=" -pipe -O3 -flto -march=la664 -mtune=la664 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS=" -pipe -O3 -flto -march=la664 -mtune=la664 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync merge-wait multilib-strict news parallel-fetch pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS=" -pipe -O3 -flto -march=la664 -mtune=la664 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" GENTOO_MIRRORS="https://mirrors.tuna.tsinghua.edu.cn/gentoo/ https://mirrors.ustc.edu.cn/gentoo/" INSTALL_MASK="" LANG="zh_CN.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" MAKEOPTS="-j8" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/tmp" RUSTFLAGS="-Ctarget-cpu=la464 -Copt-level=3 -Ccodegen-units=1" SHELL="/bin/zsh" USE="X a52 aac acl acpi alsa bluetooth branding bzip2 cairo cdda cdr crypt cups dbus dri dts dvd dvdr encode eselect-ldso exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kf6compat lcms libnotify loong lto mad mng mp3 mp4 mpeg ncurses nls ogg opengl openmp pam pango pcre pdf pgo pipewire png policykit ppds pulseaudio qt5 readline screencast sdl seccomp sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vaapi vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib zsh-completion" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="zh-CN" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AArch64 AMDGPU ARM AVR BPF Hexagon Lanai LoongArch MSP430 Mips NVPTX PowerPC RISCV SPIRV Sparc SystemZ VE WebAssembly X86 XCore ARC" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="arm aarch64 i386 x86_64 riscv32 riscv64 loongarch64" QEMU_USER_TARGETS="arm aarch64 i386 x86_64 riscv32 riscv64" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu radeonsi virgl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbe2a19e239f70c93128c669697d8acaa45c7ee7 commit dbe2a19e239f70c93128c669697d8acaa45c7ee7 Author: Guilherme Amadio <amadio@gentoo.org> AuthorDate: 2024-05-31 08:21:00 +0000 Commit: Guilherme Amadio <amadio@gentoo.org> CommitDate: 2024-05-31 11:47:10 +0000 dev-util/perf: add keep arch/*/include when unpacking, bug #933193 Closes: https://bugs.gentoo.org/933193 Signed-off-by: Guilherme Amadio <amadio@gentoo.org> dev-util/perf/perf-6.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d032453480c537c876b756bbc1d70267a0baf7b2 commit d032453480c537c876b756bbc1d70267a0baf7b2 Author: Guilherme Amadio <amadio@gentoo.org> AuthorDate: 2024-05-31 08:24:21 +0000 Commit: Guilherme Amadio <amadio@gentoo.org> CommitDate: 2024-05-31 11:47:11 +0000 dev-util/bpftool: sync unpack paths with perf, bug #933193 Bug: https://bugs.gentoo.org/933193 Signed-off-by: Guilherme Amadio <amadio@gentoo.org> dev-util/bpftool/bpftool-6.9.2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)