The audit build is failing because it can't find GnuTLS: libtool: link: gcc -W -Wall -Wundef -D_GNU_SOURCE -fPIE -DPIE -g -O2 -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/audispd-zos-remote audispd_zos_remote-zos-remote-plugin.o audispd_zos_remote-zos-remote-log.o audispd_zos_remote-zos-remote-ldap.o audispd_zos_remote-zos-remote-config.o audispd_zos_remote-zos-remote-queue.o -lpthread /gnu/store/y9j75zc10h0za5wnbvrb349c8hxm2s6k-openldap-2.4.44/lib/libldap.so /gnu/store/xvsww5q2j9g4csi2i2mkpjm09mywnb6g-cyrus-sasl-2.1.26/lib/libsasl2.so -ldl -lgnutls /gnu/store/y9j75zc10h0za5wnbvrb349c8hxm2s6k-openldap-2.4.44/lib/liblber.so -lresolv -L../../../auparse /tmp/guix-build-audit-2.4.5.drv-0/audit-2.4.5/auparse/.libs/libauparse.so /tmp/guix-build-audit-2.4.5.drv-0/audit-2.4.5/lib/.libs/libaudit.so -Wl,-rpath -Wl,/gnu/store/y9j75zc10h0za5wnbvrb349c8hxm2s6k-openldap-2.4.44/lib -Wl,-rpath -Wl,/gnu/store/xvsww5q2j9g4csi2i2mkpjm09mywnb6g-cyrus-sasl-2.1.26/lib -Wl,-rpath -Wl,/gnu/store/ri7alh15j0bbaansb79y4f29ivqgvgws-audit-2.4.5/lib ld: cannot find -lgnutls collect2: error: ld returned 1 exit status
https://hydra.gnu.org/build/1550341/nixlog/2/tail-reload It succeeds when building against GnuTLS instead of OpenSSL. * gnu/packages/admin.scm (audit)[inputs]: Replace openssl with gnutls. --- gnu/packages/admin.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 9724c9b..7a83a8c 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -1556,7 +1556,7 @@ platform-specific methods.") #t))))) (inputs `(("openldap" ,openldap) - ("openssl" ,openssl) + ("gnutls" ,gnutls) ("sasl" ,cyrus-sasl))) (synopsis "User-space component to the Linux auditing system") (description -- 2.10.1