Bug#992914: libassa: FTBFS due to RPC removal from glibc

2021-09-25 Thread Shane McDonald
Thanks for the bug report and patch.  I've come up with an alternate patch
that only affects the utils/ directory.  This patch will show up in my
next upload in the next few days (currently on mentors.debian.net).

On Wed, 25 Aug 2021 00:03:42 +0200 Aurelien Jarno  wrote:
> 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.



Bug#992914: libassa: FTBFS due to RPC removal from glibc

2021-08-24 Thread Aurelien Jarno
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 
+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