too long lines were shrinked: libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libapparmor1\" -DVERSION=\"3.0.4\" -DYYTEXT_POINTER=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHA make[1]: *** [Makefile:767: grammar.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... clang-15: error: unknown argument: '-flto-partition=none' clang-15: error: unknown argument: '-flto-partition=none'clang-15: error: unknown argument: '-flto-partition=none' make[1]: *** [Makefile:767: libaalogparse.lo] Error 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j4-20220915-203738 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.0 Python 3.10.7 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.63.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] php8.1 * GNU Make 4.3.90 HEAD of ::gentoo commit 5f2fa9b1a32565dcaa7598b8076fc7af1e205e0b Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Sep 18 08:16:58 2022 +0000 2022-09-18 08:16:58 UTC emerge -qpvO sys-libs/libapparmor [ebuild N ] sys-libs/libapparmor-3.0.4 USE="perl python -doc -static-libs" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 -python3_11"
Created attachment 810331 [details] emerge-info.txt
Created attachment 810334 [details] clang.tar.bz2
Created attachment 810337 [details] emerge-history.txt
Created attachment 810340 [details] environment
Created attachment 810343 [details] etc.portage.tar.bz2
Created attachment 810346 [details] logs.tar.bz2
Created attachment 810349 [details] sys-libs:libapparmor-3.0.4:20220918-090248.log
tinderbox_musl has reproduced this issue with version 3.0.8 - Updating summary.
This is an upstream bug that prevents AppArmor from compiling in Clang. https://gitlab.com/apparmor/apparmor/-/issues/310