Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870061 - net-libs/rpcsvc-proto-1.4.3-r1 fails to compile: cannot find C preprocessor: x86_64-pc-linux-gnu-gcc -E
Summary: net-libs/rpcsvc-proto-1.4.3-r1 fails to compile: cannot find C preprocessor: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-14 06:38 UTC by Agostino Sarubbo
Modified: 2022-09-14 23:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,50.91 KB, text/plain)
2022-09-14 06:38 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-09-14 06:38:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-libs/rpcsvc-proto-1.4.3-r1 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-09-14 06:38:30 UTC
Created attachment 805051 [details]
build.log

build log and emerge --info
Comment 2 Mike Gilbert gentoo-dev 2022-09-14 15:25:39 UTC
This is triggered by setting CPP="${CHOST}-gcc -E" in make.conf. rpcgen assumes CPP will contain a single word.
Comment 3 Larry the Git Cow gentoo-dev 2022-09-14 23:53:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71c382f745b42db23de0e3a1e3adb3ba9d4cda3c

commit 71c382f745b42db23de0e3a1e3adb3ba9d4cda3c
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-09-14 23:50:07 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-09-14 23:53:11 +0000

    net-libs/rpcsvc-proto: search for a valid 'cpp' command
    
    Closes: https://bugs.gentoo.org/870061
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 net-libs/rpcsvc-proto/rpcsvc-proto-1.4.3-r1.ebuild | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)