Source: gadap Version: 2.0-12 Severity: serious Tags: patch ftbfs Justification: fails to build from source (but built successfully in the past)
Dear maintainer, The glibc SunRPC implementation has been marked obsolete for some time. It has been removed upstream from glibc 2.32, and it got disabled in the recent glibc uploads. The TI RPC implementation should be used instead. For this reason gadap now fails to build from source. You will find attached a patch to switch to the TI RPC implementation, fixing the FTBFS. Regards, Aurelien
--- gadap-2.0/debian/control +++ gadap-2.0/debian/control @@ -4,7 +4,8 @@ Maintainer: Alastair McKinstry <mckins...@debian.org> Build-Depends: debhelper-compat (= 13), libdap-dev (>= 3.14.0-4), - libcurl4-gnutls-dev | libcurl-dev, libxml2-dev + libcurl4-gnutls-dev | libcurl-dev, libxml2-dev, + pkg-config, libtirpc-dev Standards-Version: 4.5.1 Homepage: http://cola.gmu.edu/grads/grads.php Vcs-Browser: https://salsa.debian.org:/science-team/gadap.git --- gadap-2.0/debian/patches/libtirpc.patch +++ gadap-2.0/debian/patches/libtirpc.patch @@ -0,0 +1,29 @@ +Description: Switch to the TI RPC implementation +Author: Aurelien Jarno <aure...@debian.org> +Last-Updated: 2021-08-25 +Forwarded: no + +--- gadap-2.0.orig/configure.ac ++++ gadap-2.0/configure.ac +@@ -27,6 +27,13 @@ AC_FUNC_STRTOD + AC_CHECK_FUNCS([memset]) + + dnl Checks for specific libraries ++PKG_CHECK_MODULES([TIRPC], [libtirpc], ++ [ ++ LIBS="$LIBS $TIRPC_LIBS" ++ CPPFLAGS="$CPPFLAGS $TIRPC_CFLAGS" ++ ], ++ [ AC_MSG_ERROR([Cannot find libtirpc]) ++]) + AC_CHECK_LIBDAP([3.7.3], + [ + LIBS="$LIBS $DAP_LIBS $DAP_LIBS" +--- gadap-2.0.orig/gadap.pc.in ++++ gadap-2.0/gadap.pc.in +@@ -10,4 +10,4 @@ Description: + Version: @PACKAGE_VERSION@ + Libs: -L${libdir} -lgadap + Libs.private: -lpthread +-Requires: libdapclient libdapserver ++Requires: libdapclient libdapserver libtirpc --- gadap-2.0/debian/patches/series +++ gadap-2.0/debian/patches/series @@ -2,3 +2,4 @@ libdap-namespace.patch test-errors.patch pkg-config.patch +libtirpc.patch