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

Bug 798717

Summary: dev-libs/uriparser-0.9.5 calls cpp directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Sebastian Pipping <sping>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/uriparser/uriparser/pull/115
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-06-25 15:21:14 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/uriparser-0.9.5 calls cpp directly.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
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 2021-06-25 15:21:16 UTC
Created attachment 719259 [details]
build.log

build log and emerge --info
Comment 2 Sebastian Pipping gentoo-dev 2021-06-25 15:29:16 UTC
Comment on attachment 719259 [details]
build.log

Related part of the log:

[11/20] cd /var/tmp/portage/dev-libs/uriparser-0.9.5/work/uriparser-0.9.5_build/doc && /usr/bin/doxygen Doxyfile
/var/tmp/portage/dev-libs/uriparser-0.9.5/work/uriparser-0.9.5/doc/preprocess.sh: line 3: cpp: command not found

So it's Doxygen related, not the actual compilation process.
Comment 3 Sebastian Pipping gentoo-dev 2021-06-25 16:15:17 UTC
Ago, the issue is fixed upstream now.  Personally, I consider the issue and the fix unimportant enough to not cherry-pick the fix to 0.9.5-r1 but rather keep this open until 0.9.6 is released, whenever that is.  If you do think that cherry-pick would be the better way to go forward, please let me know.  Thanks!
Comment 4 Sebastian Pipping gentoo-dev 2022-12-20 21:24:41 UTC
Fixed since 0.9.6, closing…