too long lines were shrinked: make -f /var/tmp/portage/dev-util/perf-5.15-r1/work/linux-5.15/tools/build/Makefile.build dir=./util/c++ obj=perf make[4]: Entering directory '/var/tmp/portage/dev-util/perf-5.15-r1/work/linux-5.15/tools/perf' x86_64-pc-linux-gnu-g++ -Wp,-MD,util/c++/.clang.o.d -Wp,-MT,util/c++/clang.o -pipe -march=native -fno-diagnostics-color -O2 -std=gnu++14 -fno-exceptions -fno-rtti -Wall -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wno-strict-aliasing -I/var/tmp/portage/dev-util/perf-5.15-r1/work/linux-5.15/tool x86_64-pc-linux-gnu-g++ -Wp,-MD,util/c++/.clang-test.o.d -Wp,-MT,util/c++/clang-test.o -pipe -march=native -fno-diagnostics-color -O2 -std=gnu++14 -fno-exceptions -fno-rtti -Wall -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wno-strict-aliasing -I/var/tmp/portage/dev-util/perf-5.15-r1/work/linux util/c++/clang.cpp:23:10: fatal error: llvm/Support/TargetRegistry.h: No such file or directory 23 | #include "llvm/Support/TargetRegistry.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j4-20220321-160039 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-11.2.1 * clang/llvm (if any): clang version 14.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.0 Python 3.9.12 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.59.0 [2] rust-1.59.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JRE 11.0.14_p9 [openjdk-jre-bin-11] *) Eclipse Temurin JRE 8.322_p06 [openjdk-jre-bin-8] Available Java Virtual Machines: [1] openjdk-jre-bin-8 system-vm [2] openjdk-jre-bin-11 The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit f09e0d9407c28b7c4a436c96de54001319f61b47 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Mar 29 20:20:01 2022 +0000 2022-03-29 20:19:59 UTC emerge -qpvO dev-util/perf [ebuild N ] dev-util/perf-5.15-r1 USE="babeltrace clang crypt doc numa perl systemtap zlib -audit -debug -gtk -java -libpfm -lzma -python -slang -unwind -zstd" PYTHON_TARGETS="python3_9 -python3_8 -python3_10"
Created attachment 768175 [details] emerge-info.txt
Created attachment 768176 [details] dev-util:perf-5.15-r1:20220329-210320.log.bz2
Created attachment 768177 [details] emerge-history.txt.bz2
Created attachment 768178 [details] environment
Created attachment 768179 [details] etc.portage.tar.bz2
This is patched in perf-5.17.1 and the patch was upstreamed as well: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d22588d73b18fd12fd971e2dab7fa5ddf978e496
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7516c4570bde60614d7be4a229e016c71c90ceab commit 7516c4570bde60614d7be4a229e016c71c90ceab Author: Guilherme Amadio <amadio@gentoo.org> AuthorDate: 2022-05-31 15:28:20 +0000 Commit: Guilherme Amadio <amadio@gentoo.org> CommitDate: 2022-05-31 15:28:20 +0000 dev-util/perf: restrict llvm version for perf 5.15, bug 836402 Closes: https://bugs.gentoo.org/836402 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Guilherme Amadio <amadio@gentoo.org> dev-util/perf/perf-5.15-r1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)