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

Bug 891947

Summary: dev-python/tpm2-pytss-2.1.0 calls cpp directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Christopher Byrne <salah.coronya>
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

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 ***