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

Bug 840296

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

Description Agostino Sarubbo gentoo-dev 2022-04-23 10:49:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

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