Source: zfs-linux
Version: 2.2.3-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 zfs-linux
to FTBFS in sid with:

...
checking for blkid... no
checking for blkid/blkid.h... yes
checking for main in -lblkid... yes
checking for library containing xdrmem_create... no
checking for libtirpc... no
checking for rpc/xdr.h... no
checking for rpc/xdr.h... no
checking for rpc/xdr.h... no
checking for rpc/xdr.h... no
configure: WARNING: cannot find tirpc via pkg-config or in the standard 
locations
configure: error: in `/build/zfs-linux-2.2.3':
configure: error: neither libc sunrpc support nor libtirpc is available, try 
installing libtirpc-devel

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.


Cheers,

Andreas

Reply via email to