Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871027 - app-crypt/tpm2-abrmd-2.4.1-r1 - clang-15: error: no such file or directory: 2.4.1
Summary: app-crypt/tpm2-abrmd-2.4.1-r1 - clang-15: error: no such file or directory: 2...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Christopher Byrne
URL:
Whiteboard: invalid
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 19:43 UTC by Toralf Förster
Modified: 2024-10-26 22:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.61 KB, text/plain)
2022-09-17 19:43 UTC, Toralf Förster
Details
app-crypt:tpm2-abrmd-2.4.1-r1:20220917-184312.log (app-crypt:tpm2-abrmd-2.4.1-r1:20220917-184312.log,21.37 KB, text/plain)
2022-09-17 19:43 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,2.46 KB, application/x-bzip)
2022-09-17 19:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,77.48 KB, text/plain)
2022-09-17 19:43 UTC, Toralf Förster
Details
environment (environment,81.47 KB, text/plain)
2022-09-17 19:43 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.00 KB, application/x-bzip)
2022-09-17 19:43 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.72 KB, application/x-bzip)
2022-09-17 19:43 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.47 KB, application/x-bzip)
2022-09-17 19:43 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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.