Bug#980015: alberta: FTBFS due to missing link and include for tirpc library

Tiago Stürmer Daitx tiago.daitx at canonical.com
Tue Jan 12 23:43:12 GMT 2021


Source: alberta
Version: 3.0.1-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).

I was able to build it after adding a check lib in configure.ac right
before check headers for rpc/types.h
+AC_CHECK_LIB([tirpc],[rpc_call],,
+             [AC_MSG_ERROR([no tirpc library, exiting...!])])

and including the library in debian/rules
+export DEB_CFLAGS_MAINT_APPEND = -I/usr/include/tirpc

There might a better way to include that library directly in
configure.ac, but this is what worked for me.

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



More information about the debian-science-maintainers mailing list