Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 891947 - dev-python/tpm2-pytss-2.1.0 calls cpp directly
Summary: dev-python/tpm2-pytss-2.1.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: 2023-01-24 14:53 UTC by Agostino Sarubbo
Modified: 2023-02-22 00:09 UTC (History)
1 user (show)

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

build.log (build.log,61.02 KB, text/plain)
2023-01-24 14:53 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 2023-01-24 14:53:22 UTC

Issue: dev-python/tpm2-pytss-2.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 2023-01-24 14:53:25 UTC
Created attachment 849147 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-01-24 14:53:26 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 2023-02-22 00:09:35 UTC
The problem is dev-python/pycparser . I can't fix this.

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