Package: trickle Version: 1.07-10.1 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, which also brings new features (IPv6, Kerberos support, ...). For this reason trickle now fails to build from source. You will find attached a patch to switch to the TI RPC implementation, fixing the FTBFS. Regards, Aurelien
diff -u trickle-1.07/Makefile.am trickle-1.07/Makefile.am --- trickle-1.07/Makefile.am +++ trickle-1.07/Makefile.am @@ -24,12 +24,12 @@ trickled_SOURCES = trickled.c atomicio.c print.c bwstat.c client.c conf.c \ util.c cleanup.c getopt.c xdr.c -trickled_LDADD = @EVENTLIB@ -lbsd +trickled_LDADD = @EVENTLIB@ @TIRPC_LIBS@ -lbsd tricklectl_SOURCES = tricklectl.c trickledu.c atomicio.c xdr.c -tricklectl_LDADD = @ERRO@ -lbsd +tricklectl_LDADD = @ERRO@ @TIRPC_LIBS@ -lbsd -AM_CFLAGS = -Wall -Icompat @EVENTINC@ +AM_CFLAGS = -Wall -Icompat @EVENTINC@ @TIRPC_CFLAGS@ overloaddir = $(libdir) #overload_DATA = libtrickle.so diff -u trickle-1.07/configure.in trickle-1.07/configure.in --- trickle-1.07/configure.in +++ trickle-1.07/configure.in @@ -119,6 +119,9 @@ AC_SUBST(EVENTINC) AC_SUBST(EVENTLIB) +dnl Checks for libtirpc +PKG_CHECK_MODULES(TIRPC, libtirpc) + dnl check if underscores are needed AC_MSG_CHECKING(if underscores are needed for symbols) AC_TRY_RUN( diff -u trickle-1.07/debian/control trickle-1.07/debian/control --- trickle-1.07/debian/control +++ trickle-1.07/debian/control @@ -3,7 +3,7 @@ Priority: optional Maintainer: Robert Lemmen <rober...@semistable.com> Build-Depends: debhelper (>= 7.0.0), libevent-dev (>= 0.7b), autoconf, - libbsd-dev, dh-autoreconf + libbsd-dev, dh-autoreconf, pkg-config, libtirpc-dev Standards-Version: 3.9.4 Package: trickle