Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 871027

Summary: app-crypt/tpm2-abrmd-2.4.1-r1 - clang-15: error: no such file or directory: 2.4.1
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Christopher Byrne <salah.coronya>
Status: RESOLVED INVALID    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
app-crypt:tpm2-abrmd-2.4.1-r1:20220917-184312.log
clang.tar.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-17 19:43:31 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2022-09-17 19:43:32 UTC
Created attachment 809311 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 19:43:33 UTC
Created attachment 809314 [details]
app-crypt:tpm2-abrmd-2.4.1-r1:20220917-184312.log
Comment 3 Toralf Förster gentoo-dev 2022-09-17 19:43:34 UTC
Created attachment 809317 [details]
clang.tar.bz2
Comment 4 Toralf Förster gentoo-dev 2022-09-17 19:43:35 UTC
Created attachment 809320 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-17 19:43:37 UTC
Created attachment 809323 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-17 19:43:38 UTC
Created attachment 809326 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-17 19:43:39 UTC
Created attachment 809329 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-17 19:43:41 UTC
Created attachment 809332 [details]
temp.tar.bz2
Comment 9 Christopher Byrne 2022-09-30 15:03:17 UTC
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.