Source: libhdf4 Version: 4.2.16-3 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 libhdf4 to FTBFS in sid with: | dh_auto_configure --sourcedirectory=HDF4 \ | --builddirectory=debian/build-hdf4 \ | -- --prefix=/usr \ | --includedir=/usr/include/hdf \ | --libdir=/usr/lib \ | --enable-shared \ | --enable-fortran \ | --with-szlib=yes \ | F77="gfortran" CC="gcc" CXX="g++" \ | CFLAGS="-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc/" LDFLAGS="-Wl,-z,relro -Wl,-z,now -ltirpc" | cd debian/build-hdf4 && ../../HDF4.2.16/configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --includedir=/usr/include/hdf --libdir=/usr/lib --enable-shared --enable-fortran --with-szlib=yes F77=gfortran CC=gcc CXX=g\+\+ "CFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc/" "LDFLAGS=-Wl,-z,relro -Wl,-z,now -ltirpc" | checking for a BSD-compatible install... /usr/bin/install -c | checking whether build environment is sane... yes | checking for a race-free mkdir -p... /usr/bin/mkdir -p | checking for gawk... no | checking for mawk... mawk | checking whether make sets $(MAKE)... yes | checking whether make supports nested variables... yes | checking whether make supports nested variables... (cached) yes | checking whether to enable maintainer-specific portions of Makefiles... no | checking shell variables initial values... done | checking build system type... x86_64-pc-linux-gnu | checking host system type... x86_64-pc-linux-gnu | checking if basename works... yes | checking if xargs works... yes | checking for config x86_64-pc-linux-gnu... no | checking for config x86_64-pc-linux-gnu... no | checking for config pc-linux-gnu... no | checking for config pc-linux-gnu... no | checking for config x86_64-linux-gnu... no | checking for config x86_64-linux-gnu... no | checking for config x86_64-pc... no | checking for config linux-gnu... found | compiler 'gcc' is GNU gcc-13.2.0 | gfortran: error: unrecognized command-line option '-V' | gfortran: fatal error: no input files | compilation terminated. | ../../HDF4.2.16/config/gnu-fflags: line 66: test: -ge: unary operator expected | checking whether make sets $(MAKE)... (cached) yes | checking for gcc... gcc | checking whether the C compiler works... no | configure: error: in `/<<PKGBUILDDIR>>/debian/build-hdf4': | configure: error: C compiler cannot create executables | See `config.log' for more details | cd debian/build-hdf4 && tail -v -n \+0 config.log | ==> config.log <== | This file contains any messages produced by compilers while | running configure, to aid debugging if configure makes a mistake. ... | configure:4337: checking whether the C compiler works | configure:4359: gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc/ -std=c99 -Wall -Wcast-qual -Wconversion -Wextra -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-include-dirs -Wshadow -Wundef -Wwrite-strings -pedantic -Wno-c++-compat -Wno-error=implicit-function-declaration -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc/ -Wl,-z,relro -Wl,-z,now -ltirpc conftest.c >&5 | cc1: warning: /usr/include/tirpc/: No such file or directory [-Wmissing-include-dirs] | cc1: warning: /usr/include/tirpc/: No such file or directory [-Wmissing-include-dirs] | /usr/bin/ld: cannot find -ltirpc: No such file or directory | collect2: error: ld returned 1 exit status | configure:4363: $? = 1 | configure:4403: result: no | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "HDF" | | #define PACKAGE_TARNAME "hdf" | | #define PACKAGE_VERSION "4.2.16" | | #define PACKAGE_STRING "HDF 4.2.16" | | #define PACKAGE_BUGREPORT "h...@hdfgroup.org" | | #define PACKAGE_URL "" | | #define PACKAGE "hdf" | | #define VERSION "4.2.16" | | #define HAVE_NETCDF 1 | | /* end confdefs.h. */ | | | | int | | main (void) | | { | | | | ; | | return 0; | | } | configure:4408: error: in `/<<PKGBUILDDIR>>/debian/build-hdf4': | configure:4410: error: C compiler cannot create executables | See `config.log' for more details This can 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