too long lines were shrinked: clang -DPACKAGE_NAME=\"tpm2-abrmd\" -DPACKAGE_TARNAME=\"tpm2-abrmd\" -DPACKAGE_VERSION=\"2.4.1\" -DPACKAGE_STRING=\"tpm2-abrmd\ 2.4.1\" -DPACKAGE_BUGREPORT=\"https://github.com/tpm2-software/tpm2-abrmd/issues\" -DPACKAGE_URL=\"https://github.com/tpm2-software/tpm2-abrmd\" -DNDEBUG=1 -DHAVE_STDIO_H=1 /bin/sh ./libtool --tag=CC --mode=compile clang -DPACKAGE_NAME=\"tpm2-abrmd\" -DPACKAGE_TARNAME=\"tpm2-abrmd\" -DPACKAGE_VERSION=\"2.4.1\" -DPACKAGE_STRING=\"tpm2-abrmd\ 2.4.1\" -DPACKAGE_BUGREPORT=\"https://github.com/tpm2-software/tpm2-abrmd/issues\" -DPACKAGE_URL=\"https://github.com/tpm2-soft /bin/sh ./libtool --tag=CC --mode=compile clang -DPACKAGE_NAME=\"tpm2-abrmd\" -DPACKAGE_TARNAME=\"tpm2-abrmd\" -DPACKAGE_VERSION=\"2.4.1\" -DPACKAGE_STRING=\"tpm2-abrmd\ 2.4.1\" -DPACKAGE_BUGREPORT=\"https://github.com/tpm2-software/tpm2-abrmd/issues\" -DPACKAGE_URL=\"https://github.com/tpm2-soft /bin/sh ./libtool --tag=CC --mode=compile clang -DPACKAGE_NAME=\"tpm2-abrmd\" -DPACKAGE_TARNAME=\"tpm2-abrmd\" -DPACKAGE_VERSION=\"2.4.1\" -DPACKAGE_STRING=\"tpm2-abrmd\ 2.4.1\" -DPACKAGE_BUGREPORT=\"https://github.com/tpm2-software/tpm2-abrmd/issues\" -DPACKAGE_URL=\"https://github.com/tpm2-soft clang-15: error: no such file or directory: '2.4.1"' make[1]: *** [Makefile:2453: src/tabrmd.o] Error 1 make[1]: *** Waiting for unfinished jobs.... ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_hardened-j4-20220916-220004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-12.2.1 * 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: *) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] 2) Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): GNU Make 4.3.90 HEAD of ::gentoo commit b52426ab59140c6df4176918b769845ddbc714c4 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Sep 17 17:46:47 2022 +0000 2022-09-17 17:46:47 UTC emerge -qpvO app-crypt/tpm2-abrmd [ebuild N ] app-crypt/tpm2-abrmd-2.4.1-r1 USE="-static-libs -test"
Created attachment 809311 [details] emerge-info.txt
Created attachment 809314 [details] app-crypt:tpm2-abrmd-2.4.1-r1:20220917-184312.log
Created attachment 809317 [details] clang.tar.bz2
Created attachment 809320 [details] emerge-history.txt
Created attachment 809323 [details] environment
Created attachment 809326 [details] etc.portage.tar.bz2
Created attachment 809329 [details] logs.tar.bz2
Created attachment 809332 [details] temp.tar.bz2
The problem is the DPACKAGE_STRING=\"tpm2-abrmd\ 2.4.1\" is being split into [ DPACKAGE_STRING=\"tpm2-abrmd\ ,2.4.1\" ] . This is being done by the /etc/portage/bashrc hook. If I compile with clang15 with -Werror=implicit-function-declaration -Werror=implicit-int, it works fine.