Source: argus
Version: 2:3.0.8.2-2
Severity: important

Dear Maintainer,

This package failed to rebuild in Ubuntu with "fatal error: rpc/type.h".
Sun RPC used to be included in glibc and now it must be added from
TI-RPC library (libtirpc-dev).

To fix it 3 changes were required:

configure.ac:
+AC_CHECK_LIB([tirpc],[rpc_call],,
+             [AC_MSG_ERROR([no tirpc library, exiting...!])])
 AC_CHECK_FUNCS(xdrmem_create)

reordering library inclusion in argus/Makefile.in:
-LIB = @LIBS@ @V_THREADS@ $(WRAPLIBS) $(SASLLIBS) $(COMPATLIB) 
../lib/argus_common.a -lm
+LIB = ../lib/argus_common.a -lm @LIBS@ @V_THREADS@ $(WRAPLIBS) $(SASLLIBS) 
$(COMPATLIB)

and finally the header include in debian/rules
+export DEB_CFLAGS_MAINT_APPEND  = -I/usr/include/tirpc

I tried the header inclusion through V_INCLS but it was being overriden
by the wrap macro, and this quick workaround was fine.

The full debdiff is available at:
https://launchpad.net/ubuntu/+archive/primary/+files/argus_2%3A3.0.8.2-2_2%3A3.0.8.2-2ubuntu1.diff.gz

Best regards,
Tiago

-- System Information:
Debian Release: bullseye/sid
  APT prefers focal-updates
  APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 'focal'), 
(400, 'focal-proposed'), (100, 'focal-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 5.8.0-36-generic (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to