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

Bug 751274

Summary: dev-ml/ocamlnet-4.1.8 calls cpp directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Team for the ML programming language family <ml>
Status: CONFIRMED ---    
Severity: normal CC: sam
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 2020-10-26 07:01:55 UTC

Issue: dev-ml/ocamlnet-4.1.8 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] and set the CPP variable to x86_64-pc-linux-gnu-gcc -E.
Comment 1 Agostino Sarubbo gentoo-dev 2020-10-26 07:01:58 UTC
Created attachment 668576 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-10-26 07:02:00 UTC
Possible context of error(s):

/bin/sh: cpp: command not found
Fatal error: exception Failure("Preprocessor failed")