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

Bug 660590

Summary: net-libs/libtirpc-1.0.3 headers while installed into /usr/include/tirpc doesn't properly include other headers of its own
Product: Gentoo Linux Reporter: Attila Tóth <atoth>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Adjust tirpc headers to reflect proper location: include/tirpc

Description Attila Tóth 2018-07-07 09:45:21 UTC
Created attachment 538676 [details, diff]
Adjust tirpc headers to reflect proper location: include/tirpc

Libtiprc headers gets installed into /usr/include/tiprc. Those install headers assume they are located in /usr/include. Either the headers must be moved to the place assumed by them or modified to reflect the actual location.
For the latter choice please take a look at on the patch attached.
Comment 1 Mike Gilbert gentoo-dev 2018-07-08 13:50:20 UTC
You are supposed to build with -I/usr/include/tirpc on the compiler command line.

% pkg-config --cflags libtirpc
-I/usr/include/tirpc