Bug#1065182: libquota-perl: missing build-dep on libtirpc-dev

Aurelien Jarno aurel32 at debian.org
Fri Mar 1 15:41:58 GMT 2024


Source: libquota-perl
Version: 1.8.2+dfsg-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
User: debian-glibc at lists.debian.org
Usertags: libtirpc-dev

Dear maintainer,

Starting with glibc 2.31, support for NIS (libnsl library) has been
moved to a separate libnsl2 package. In order to allow a smooth
transition, a libnsl-dev, which depends on libtirpc-dev, has been added
to the libc6-dev package.

The libnsl-dev dependency has been temporarily dropped in the 2.37-15.1
NMU, as part of the 64-bit time_t transition. This causes libquota-perl
to FTBFS in sid with:

| x86_64-linux-gnu-gcc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2   -DVERSION=\"1.8.2\" -DXS_VERSION=\"1.8.2\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.38/CORE"   linuxapi.c
| In file included from linuxapi.c:13:
| myconfig.h:18:10: fatal error: rpc/rpc.h: No such file or directory
|    18 | #include <rpc/rpc.h>
|       |          ^~~~~~~~~~~
| compilation terminated.
| make[1]: *** [Makefile:345: linuxapi.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| mv Quota.xsc Quota.c
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_build: error: make -j3 returned exit code 2
| make: *** [debian/rules:9: binary] Error 25
| dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

This could be fixed by adding an explicit Build-Depends on libtirpc-dev.
The glibc change will likely be reverted in the short term, but given
its a change we want to do for Trixie, this will only lower the severity
of the bug.

Regards
Aurelien



More information about the pkg-perl-maintainers mailing list