Source: libassa
Version: 3.5.1-7
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)

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.

libassa was already supposed to use libtirpc, but in practice was still
linked to glibc due a missing entry in Makefile.am. Please find attach a
patch fixing the FTBFS.
--- libassa-3.5.1/debian/patches/06-link-with-tirpc.diff
+++ libassa-3.5.1/debian/patches/06-link-with-tirpc.diff
@@ -0,0 +1,18 @@
+Description: Correctly link with libtirpc 
+Author: Aurelien Jarno <aure...@debian.org>
+Forwarded: no
+Last-Update: 2021-08-24
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- libassa-3.5.1.orig/assa/Makefile.am
++++ libassa-3.5.1/assa/Makefile.am
+@@ -111,6 +111,8 @@ libassa_3_5_la_LDFLAGS = \
+       @WIN32_EXTRA_LDFLAGS@ \
+       -version-info @LIBASSA_SO_VERSION@ 
+ 
++libassa_3_5_la_LIBADD = @TIRPC_LIBS@
++
+ # Disable autoheader.
+ AUTOHEADER=echo
+ 
--- libassa-3.5.1/debian/patches/series
+++ libassa-3.5.1/debian/patches/series
@@ -3,3 +3,4 @@
 03-support-hurd.patch
 04-fix-more-spelling.patch
 05-remove-build-path-from-doxygen.patch
+06-link-with-tirpc.diff

Reply via email to