Source: libguestfs Version: 1:1.52.0-2.1 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past) User: debian-gl...@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 libguestfs to FTBFS in sid with: | checking for CFLocaleCopyPreferredLanguages... no | checking for GNU gettext in libc... yes | checking whether to use NLS... yes | checking where the gettext function comes from... libc | checking if the user specified a default backend... direct | checking for dlopen in -ldl... yes | checking for dlfcn.h... (cached) yes | checking for libtirpc... no | checking for rpc/xdr.h... no | configure: error: XDR header files are required | cd debian/build-1 && tail -v -n \+0 config.log 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. I also noticed that libguestfs, uses rpcgen, provided by the rpcsvc-proto during the build process. It is currently a dependency of the libc6-dev package for the same reason as libnsl-dev, and will be removed at some point. Therefore please also add an explicit Build-Depends on rpcsvc-proto. Regards Aurelien