[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#993075: libnsl-dev: rpcsvc/nis.h includes no longer available rpc/rpc.h



control: reassign -1 sendmail
control: retitle -1 sendmail: FTBFS due to RPC removal from glibc

Hi,

On 2021-08-27 10:16, Andreas Beckmann wrote:
> Package: libnsl-dev
> Version: 1.3.0-2
> Severity: serious
> Tags: sid bookworm
> Control: affects -1 + src:sendmail
> 
> rpcsvc/nis.h wants to include rpc/rpc.h, but that header is no longer
> provided by libc6-dev in sid:
> 
> $ echo '#include <rpcsvc/nis.h>' | gcc -x c -c -
> In file included from <stdin>:1:
> /usr/include/rpcsvc/nis.h:35:10: fatal error: rpc/rpc.h: No such file or directory
>    35 | #include <rpc/rpc.h>
>       |          ^~~~~~~~~~~
> compilation terminated.

This header is now provided by libtirpc-dev, and libnsl-dev already
declares that:
$ pkg-config --cflags libnsl
-I/usr/include/tirpc

sendmail should be updated to get the correct cflags. I'll try to work
on a patch.

Regards,
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: