https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/tpm2-pytss-2.1.0 calls cpp directly. Discovered on: amd64 (internal ref: ci) NOTE: As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different CPP implementation (like clang-cpp). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks].
Created attachment 858157 [details] build.log build log and emerge --info
Error(s) that match a know pattern: FileNotFoundError: [Errno 2] No such file or directory: 'cpp' Original error: [Errno 2] No such file or directory: 'cpp' RuntimeError: Unable to invoke 'cpp'. Make sure its path was passed correctly Original error: [Errno 2] No such file or directory: 'cpp'
ci has reproduced this issue with version 2.1.0-r2 - Updating summary.
ci has reproduced this issue with version 2.2.1 - Updating summary.
ci has reproduced this issue with version 2.3.0 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9f8de59d14d8cca367950d0ecfee3e223e39b39 commit a9f8de59d14d8cca367950d0ecfee3e223e39b39 Author: Christopher Byrne <salah.coronya@gmail.com> AuthorDate: 2025-03-06 19:15:14 +0000 Commit: Nowa Ammerlaan <nowa@gentoo.org> CommitDate: 2025-04-18 14:16:04 +0000 dev-python/tpm2-pytss: Respect CC when preprocessing Closes: https://bugs.gentoo.org/902001 Signed-off-by: Christopher Byrne <salah.coronya@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/40902 Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org> ...-pytss-2.3.0-use-CC-enviromental-variable.patch | 54 ++++++++++++++++++++++ dev-python/tpm2-pytss/tpm2-pytss-2.3.0-r1.ebuild | 48 +++++++++++++++++++ 2 files changed, 102 insertions(+)