On lundi 21 janvier 2019 16:58:25 CET Andreas Schwab wrote:
On Jan 21 2019, İsmail Dönmez <idoenmez@suse.de> wrote:
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.
Why does it break? If the headers are placed in /usr/include they are found without any special include path.
It breaks because there's an incorrect #include in zfs: ./lib/libspl/include/rpc/xdr.h:41:#include <tirpc/rpc/xdr.h> ↑ this should be #include <rpc/xdr.h> but the compiler would likely complain because the file name is the same as the one it tries to include. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org