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

Bug 454446

Summary: app-emulation/open-vm-tools-2012.1* - cannot find any C preprocessor (cpp) - /usr/bin/rpcgen: C preprocessor failed with exit code 1
Product: Gentoo Linux Reporter: Rick Farina (Zero_Chaos) <zerochaos>
Component: Current packagesAssignee: Gentoo VMWare Bug Squashers [disabled] <vmware+disabled>
Status: RESOLVED OBSOLETE    
Severity: normal CC: vmware+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Rick Farina (Zero_Chaos) gentoo-dev 2013-01-28 17:30:27 UTC
make[2]: Entering directory `/var/tmp/portage/app-emulation/open-vm-tools-2012.12.26.958366/work/open-vm-tools-2012.12.26-958366/lib/guestRpc'
/bin/sh ../../scripts/build/rpcgen_wrapper.sh lib/guestRpc/nicinfo.x nicinfo.h
cannot find any C preprocessor (cpp)
/usr/bin/rpcgen: C preprocessor failed with exit code 1
make[2]: *** [nicinfo.h] Error 1
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2013-01-28 17:31:19 UTC
Created attachment 337126 [details]
build.log
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-01-29 14:35:11 UTC
The line before that mentions

> cannot find any C preprocessor (cpp)

although the configure mentions both

> checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
> checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E

It appears the rpcgen command needs the parameter -Y /usr/bin

https://www.cs.cf.ac.uk/Dave/C/node34.html#SECTION003441000000000000000