Source: perdition
Version: 2.2-3.2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past) User:
debian-glibc@lists.debian.org
Usertags: libnsl-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 has been added to the libc6-dev package.
This dependency has been temporarily dropped in the 2.37-15.1 NMU, as
part of the 64-bit time_t transition. This causes perdition to FTBFS in
sid with:
| make[5]: Entering directory '/<<PKGBUILDDIR>>/perdition/db/nis'
| /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../ -I../../../perdition -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -
Wformat -Werror=format-security -fcf-protection -c -o perditiondb_nis.lo perditiondb_nis.c
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../ -I../../../perdition -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-
protection -c perditiondb_nis.c -fPIC -DPIC -o .libs/perditiondb_nis.o
| In file included from perditiondb_nis.c:32:
| perditiondb_nis.h:32:10: fatal error: rpcsvc/ypclnt.h: No such file or directory
| 32 | #include <rpcsvc/ypclnt.h>
| | ^~~~~~~~~~~~~~~~~
| compilation terminated.
| make[5]: *** [Makefile:499: perditiondb_nis.lo] Error 1
| make[5]: Leaving directory '/<<PKGBUILDDIR>>/perdition/db/nis'
| make[4]: *** [Makefile:431: all-recursive] Error 1
| make[4]: Leaving directory '/<<PKGBUILDDIR>>/perdition/db'
| make[3]: *** [Makefile:797: all-recursive] Error 1
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/perdition'
| make[2]: *** [Makefile:471: all-recursive] Error 1
| make[2]: Leaving directory '/<<PKGBUILDDIR>>'
| make[1]: *** [Makefile:399: all] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:25: build-stamp] Error 2
This could be fixed by adding an explicit Build-Depends on libnsl-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
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)