From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [PATCH 1/1] gnu: audit: Use GnuTLS instead of OpenSSL. Date: Sat, 22 Oct 2016 03:09:05 -0400 Message-ID: <5f5f0db4ac5c628affd701a4095be77778493067.1477120072.git.leo@famulari.name> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxqQx-0004ah-6X for guix-devel@gnu.org; Sat, 22 Oct 2016 03:09:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxqQu-0006aq-09 for guix-devel@gnu.org; Sat, 22 Oct 2016 03:09:35 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:35578) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bxqQt-0006ah-Q0 for guix-devel@gnu.org; Sat, 22 Oct 2016 03:09:31 -0400 Received: from localhost.localdomain (c-73-188-17-148.hsd1.pa.comcast.net [73.188.17.148]) by mail.messagingengine.com (Postfix) with ESMTPA id 1B06FF29C9 for ; Sat, 22 Oct 2016 03:09:28 -0400 (EDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org 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/y9j75zc10h0za5wnbvrb349c8hxm 2s6k-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