Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840296 - dev-python/tpm2-pytss-1.2.0 calls cpp directly
Summary: dev-python/tpm2-pytss-1.2.0 calls cpp directly
Status: RESOLVED DUPLICATE of bug 719934
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christopher Byrne
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2022-04-23 10:49 UTC by Agostino Sarubbo
Modified: 2022-09-29 01:37 UTC (History)
1 user (show)

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

build.log (build.log,65.93 KB, text/plain)
2022-04-23 10:49 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-04-23 10:49:28 UTC

Issue: dev-python/tpm2-pytss-1.1.0 calls cpp directly.
Discovered on: amd64 (internal ref: ci)

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].
Comment 1 Agostino Sarubbo gentoo-dev 2022-04-23 10:49:30 UTC
Created attachment 773480 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-04-23 10:49:32 UTC
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'
Comment 3 Christopher Byrne 2022-06-18 21:03:19 UTC
The problem here is in dev-python/cffi.It always calls "cpp". Looking at the source, I don't see an obvious way to influence it to do otherwise.
Comment 4 Agostino Sarubbo gentoo-dev 2022-09-06 06:42:54 UTC
ci has reproduced this issue with version 1.2.0 - Updating summary.
Comment 5 Christopher Byrne 2022-09-29 01:37:12 UTC

*** This bug has been marked as a duplicate of bug 719934 ***