From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dajyN-0007UM-QR for guix-patches@gnu.org; Thu, 27 Jul 2017 10:41:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dajyI-0005Pv-Uf for guix-patches@gnu.org; Thu, 27 Jul 2017 10:41:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56089) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dajyI-0005Pb-Rf for guix-patches@gnu.org; Thu, 27 Jul 2017 10:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dajyI-0004gC-Gz for guix-patches@gnu.org; Thu, 27 Jul 2017 10:41:02 -0400 Subject: [bug#27848] guix: build-system: gnu: Avoid warnings from "libtool finish" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dajxz-0007Td-6n for guix-patches@gnu.org; Thu, 27 Jul 2017 10:40:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dajxu-0005BV-8K for guix-patches@gnu.org; Thu, 27 Jul 2017 10:40:43 -0400 Received: from tranquility.mcc.ac.uk ([130.88.200.145]:11465) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dajxt-0005AZ-PW for guix-patches@gnu.org; Thu, 27 Jul 2017 10:40:38 -0400 Received: from asmtp1.its.manchester.ac.uk ([130.88.13.149]) by tranquility.mcc.ac.uk with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.85 (FreeBSD)) (envelope-from ) id 1dajxq-000LzT-PD for guix-patches@gnu.org; Thu, 27 Jul 2017 15:40:34 +0100 Received: from i-ulialbion.it.manchester.ac.uk ([130.88.138.79]:54586) by asmtp1.its.manchester.ac.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1dajxq-0000Tu-GC for guix-patches@gnu.org; Thu, 27 Jul 2017 15:40:34 +0100 From: Dave Love Date: Thu, 27 Jul 2017 15:40:33 +0100 Message-ID: <874ltyhrj2.fsf@i-ulialbion.it.manchester.ac.uk> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="Ansar-al-Islam-Trafficking-STARLAN-radar-Tsunami-Warning-Center" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27848@debbugs.gnu.org --Ansar-al-Islam-Trafficking-STARLAN-radar-Tsunami-Warning-Center Content-Type: text/plain The "ldconfig not found" warnings confused me, and caused a bug report previously. --Ansar-al-Islam-Trafficking-STARLAN-radar-Tsunami-Warning-Center Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-guix-build-system-gnu-Avoid-warnings-from-libtool-fi.patch >From d6f42badc39679dd36ea8f582140a7d63316d101 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Thu, 27 Jul 2017 15:35:53 +0100 Subject: [PATCH] guix: build-system: gnu: Avoid warnings from "libtool finish". * guix/build/gnu-build-system.scm (configure): Avoid warnings from libtool invoking ldconfig. --- guix/build/gnu-build-system.scm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm index 1786e2e3c..508699497 100644 --- a/guix/build/gnu-build-system.scm +++ b/guix/build/gnu-build-system.scm @@ -271,9 +271,15 @@ makefiles." ;; Call `configure' with a relative path. Otherwise, GCC's build system ;; (for instance) records absolute source file names, which typically ;; contain the hash part of the `.drv' file, leading to a reference leak. - (zero? (apply system* bash - (string-append srcdir "/configure") - flags)))) + (and (zero? (apply system* bash + (string-append srcdir "/configure") + flags)) + ;; Avoid warnings about from "libtool finish" about not finding + ;; ldconfig. + (if (file-exists? "libtool") + (begin (substitute* "libtool" (("ldconfig") ":")) + #t) + #t)))) (define* (build #:key (make-flags '()) (parallel-build? #t) #:allow-other-keys) -- 2.11.0 --Ansar-al-Islam-Trafficking-STARLAN-radar-Tsunami-Warning-Center--