Bug#1130229: metview: FTBFS with libc6-dev dropping dependency on rpcsvc-proto
Aurelien Jarno
aurel32 at debian.org
Mon Mar 9 20:52:16 GMT 2026
Source: metview
Version: 5.26.2-2
Severity: important
Tags: ftbfs
User: debian-glibc at lists.debian.org
Usertags: rpcsvc-proto
Dear maintainer(s),
Historically, the rpcgen has been provided by glibc. It was split out
into the rpcsvc-proto package starting with glibc 2.31 (released in
bookworm), and libc6-dev gained a dependency on it as part of the
transition.
It now makes sense to finish this transition by using an explicit
Build-Depends on rpcsvc-proto instead of relying on the dependency
pulled in via libc6-dev.
metview is one of the packages requiring this Build-Depends on
rpcsvc-proto. Indeed it FTBFS with a modified glibc that no longer
depends on it. From my build log:
| -- Looking for xdr_pointer
| -- Looking for xdr_pointer - not found
| -- Found RPC: /usr/lib/x86_64-linux-gnu/libtirpc.so
| -- mars_client FOUND RPC
| -- RPC_INCLUDE_DIRS : [/usr/include/tirpc]
| -- RPC_LIBRARIES : [/usr/lib/x86_64-linux-gnu/libtirpc.so]
| -- Found package RPC required for feature RPC
| -- Feature RPC enabled
| -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
| -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
| -- Found Threads: TRUE
| -- Feature ECMWF_DEVELOPMENT disabled
| -- System is little endian
| -- Found BISON: /usr/bin/bison (found version "3.8.2")
| -- Found FLEX: /usr/bin/flex (found version "2.6.4")
| CMake Error at cmake/ecbuild_log.cmake:190 (message):
| [1;35mCRITICAL - Could not find rpcgen. Please provide RPCGEN_PATH.[m
| Call Stack (most recent call first):
| mars-client/src/CMakeLists.txt:204 (ecbuild_critical)
|
|
| -- Configuring incomplete, errors occurred!
| cd debian/build && tail -v -n \+0 CMakeCache.txt
...
| dh_auto_configure: error: cd debian/build && cmake -DCMAKE_MODULE_PATH=/usr/share/ecbuild/cmake -DECBUILD_MACROS_DIR=/usr/share/ecbuild/cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_SITE=debian -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DENABLE_EXPOSE_SUBPACKAGES=On -DENABLE_BUILD_TOOLS=On -DENABLE_PPROC_MIR=On -DENABLE_PPROC_EMOS=Off -DENABLE_URL_DOWNLOAD=On -DENABLE_MPI=On -DENABLE_ODB=On -DENABLE_FDB5=On -DENABLE_PNG=On -DENABLE_RPC=On -DRPC_PATH=/usr/lib/x86_64-linux-gnu -DENABLE_MIR_DOWNLOAD_MASKS=On -DENABLE_EXPERIMENTAL=Off -DENABLE_CODE_WEBHELP=Off -DENABLE_CONTRIB=On -DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_STANDARD_REQUIRED=On -DMETVIEW_SITE=debian -DMETVIEW_EXTRA_LIBRARIES="terralib -leccodes -leckit -leckit_option" -DMETVIEW_EXTRA_INCLUDE_DIRS=/usr/include/terralib/kernel -DMAGICS_PATH=/usr -DBUILD_SHARED_LIBS=On -DENABLE_RPATHS=Off -DENABLE_RELATIVE_RPATHS=Off -DFLEXTRA_PATH=/usr/bin/flextra -DDISABLE_OS_CHECK=On -DCMAKE_Fortran_FLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/metview-5.26.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -I /usr/lib/x86_64-linux-gnu/fortran/x86_64-linux-gnu-gfortran-15" ../.. returned exit code 1
| make[1]: *** [debian/rules:66: override_dh_auto_configure] Error 2
| make[1]: Leaving directory '/build/reproducible-path/metview-5.26.2'
| make: *** [debian/rules:53: binary] Error 2
| dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
Therefore could you please add a Build-Depends on rpcsvc-proto for the
next metview upload?
Regards Aurelien
More information about the debian-science-maintainers
mailing list