Source: open-vm-tools
Version: 2:12.3.5-4
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

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 open-vm-tools
to FTBFS in sid with:

| checking for gtkmm-3.0 >= 3.0.0 (via pkg-config)... yes
| checking for sigc++-2.0 >= 2.5.1 (via pkg-config)... yes
| checking for crypt in -lcrypt... yes
| checking for dlopen... yes
| checking for ecvt... yes
| checking for fcvt... yes
| checking for mkdtemp... yes
| checking for pthread_mutex_init in -lpthread... yes
| checking for g++... yes
| checking for libtirpc (via pkg-config)... no
| configure: tirpc is needed: yes
| configure: error: cannot find libtirpc but it is required.
|         cd open-vm-tools && 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 open-vm-tools, uses rpcgen, provided by the
rpcsvc-proto during the build process. It is currently a depends 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

Reply via email to