Hi, On 21 Jan 07:29, Rafael Kitover wrote:
libtirpc-devel places headers into /usr/include but the standard practice is to put them into /usr/include/tirpc and add -I/usr/include/tirpc to pkg-config.
This breaks things like zfsonlinux.
I opened a bug:
https://bugzilla.opensuse.org/show_bug.cgi?id=1122665
I tried to work around this in zfsonlinux, but one of the developers said this is better fixed in tumbleweed:
https://github.com/zfsonlinux/zfs/pull/8313
For background about the issue, see:
https://fedoraproject.org/wiki/Changes/SunRPCRemoval
The libtirpc maintainer seems to be unavailable right now, could someone take a look at this please?
This is basically a zfsonlinux bug, because: 1. They should let pkg-config figure out cflags and libs and use that, instead of hardcoding a directory. 2. One should use #include <rpc/*.h> style includes, which is even noted by the wiki page you posted. Having said that, moving headers into /usr/include/tirpc for compatibility with other distros wouldn't hurt. But, I'm not the libtirpc maintainer. Regards, ismail -- SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)