#1065290 libhdf4: missing build-dep on libtirpc-dev

Package:
src:libhdf4
Source:
src:libhdf4
Submitter:
Aurelien Jarno
Date:
2024-03-02 12:21:07 UTC
Severity:
normal
Tags:
#1065290#5
Date:
2024-03-02 11:23:19 UTC
From:
To:
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 "help@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

#1065290#10
Date:
2024-03-02 12:19:48 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libhdf4, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1065290@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bas Couwenberg <sebastic@debian.org> (supplier of updated libhdf4 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 02 Mar 2024 12:50:52 +0100
Source: libhdf4
Architecture: source
Version: 4.2.16-4
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Changed-By: Bas Couwenberg <sebastic@debian.org>
Closes: 1063999 1065290
Changes:
 libhdf4 (4.2.16-4) unstable; urgency=medium
 .
   * Team upload.
   * Use execute_{before,after} instead of override in rules file.
   * Enable Salsa CI.
   * Apply Multi-Arch patch by Yuriy M. Kaminskiy.
     (closes: #1063999)
   * Add libtirpc-dev to build dependencies.
     (closes: #1065290)
Checksums-Sha1:
 15d19572fc8b3ec50dfc740ac7132ba77c3e5fe2 2337 libhdf4_4.2.16-4.dsc
 cb77fdead7363c185498b73db6b50121c8709896 44112 libhdf4_4.2.16-4.debian.tar.xz
 8c542b42b8ee541af6dfd991874c7975308c4847 10328 libhdf4_4.2.16-4_amd64.buildinfo
Checksums-Sha256:
 ec120756bad1b4155a94a605dcbd322a2d3c87906d56d2e4250ab9b969b25ddb 2337 libhdf4_4.2.16-4.dsc
 7d291cc3487c814009974209ce82bd831408d3839b2b2114fbe0eda3d325fc9a 44112 libhdf4_4.2.16-4.debian.tar.xz
 f61a1d3c2448a168e757f3f959c93c315c05325645d6ad6ea1e4795b579afc23 10328 libhdf4_4.2.16-4_amd64.buildinfo
Files:
 31dc534e1d8af0f8c78c5f18d582b2c6 2337 graphics optional libhdf4_4.2.16-4.dsc
 2685f0e33369f8f1b359b362a8148004 44112 graphics optional libhdf4_4.2.16-4.debian.tar.xz
 ab5f48dc027e5cbfa42fbc3c0d558b5a 10328 graphics optional libhdf4_4.2.16-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAmXjFAEACgkQZ1DxCuiN
SvGhgRAAnZRqhpHZsmt0g+RcvresUFAxSSF91KIm4rB3mEo07ihY49aODXJ8XNID
w7EvW7SXCJ1AxzTP/6VvkI610AnUZQqxeS3CiOdta9u7azACMbXDufMSy0FlBIV7
tW6g+88RNFxMsyWhskSFVpqvLXklCzec1FBgoH4LlHU+Gu+AIs9KUDtlFK3RmF5g
pi8gekvKplvpdFzbdbdJch2qizq7cbynAfBsex/lvrE2P/sXTYMAKIeh6J1KaS4p
2Gi1oV7JJ+jfL/caT1P6mGjmjypuUZpgN+EXib8T2JtQV4lVnngs03fTgFus0KYn
PhjEu3WnH4vRdq3wfywD84KOCaKLwkLgEdvHms29W68KSLW0MK0fOE68gjMcOn/b
stiHYi+CmGmIogDn+mL0D6v+Mk7FOZhVd0MoZK9o8gKqNNfkHhzYSW8IaYna5juJ
ppFuzj2uydYymh8z8F4K0N6ZuBLpDTc+EG/bMVCNKjf4sJX8bsKAzON2zadId/TZ
TPfqJKX5FSN20g5e3oBp4PpDewVddfuZVbwCwDvPl/m34IcflHttnrZpp4nsJuM/
tMPpiLiUQUUUKMa7aNwGF36DbG76DTR+Z3qyaPoZ3YaeUdUFDT+xSz6ex5G5GKqE
ECuhvfszeSjqyjyPLf3/fSTzPVUxXSUWNheXDtwk88Cj+g3YzOc=
=+Sxq
-----END PGP SIGNATURE-----