From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Newsgroups: gmane.lisp.guile.bugs Subject: bug#36339: generated .pc files leaks build-time LDFLAGS Date: Mon, 24 Jun 2019 15:17:44 +0200 Message-ID: <8736jzazrb.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="38507"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: 36339@debbugs.gnu.org To: Cyprien Nicolas Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Jun 24 15:20:30 2019 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hfOtZ-0009qU-Lp for guile-bugs@m.gmane.org; Mon, 24 Jun 2019 15:20:29 +0200 Original-Received: from localhost ([::1]:51118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfOtY-0005Aq-K9 for guile-bugs@m.gmane.org; Mon, 24 Jun 2019 09:20:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35054) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfOsB-0004Et-QQ for bug-guile@gnu.org; Mon, 24 Jun 2019 09:19:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfOsA-0000vd-O6 for bug-guile@gnu.org; Mon, 24 Jun 2019 09:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42247) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hfOs9-0000ug-S8 for bug-guile@gnu.org; Mon, 24 Jun 2019 09:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hfOs9-0007Ku-Ke for bug-guile@gnu.org; Mon, 24 Jun 2019 09:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 24 Jun 2019 13:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36339 X-GNU-PR-Package: guile Original-Received: via spool by 36339-submit@debbugs.gnu.org id=B36339.156138229428125 (code B ref 36339); Mon, 24 Jun 2019 13:19:01 +0000 Original-Received: (at 36339) by debbugs.gnu.org; 24 Jun 2019 13:18:14 +0000 Original-Received: from localhost ([127.0.0.1]:55788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfOrN-0007JY-Uu for submit@debbugs.gnu.org; Mon, 24 Jun 2019 09:18:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57285) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfOrI-0007JA-Dh for 36339@debbugs.gnu.org; Mon, 24 Jun 2019 09:18:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hfOqz-0007xq-QJ; Mon, 24 Jun 2019 09:17:52 -0400 Original-Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=43656 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hfOqx-0002gR-0p; Mon, 24 Jun 2019 09:17:48 -0400 In-Reply-To: (Cyprien Nicolas's message of "Sun, 23 Jun 2019 11:19:52 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:9362 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Cyprien Nicolas skribis: > These flags are private to the way I built guile, and should not > affect packages using guile later. > > I have observed this behavior in guile-2.0, 2.2.5 and 2.9.2. > > -----8<-----8<-----8<-----8<-----8<----- > Name: GNU Guile > Description: GNU's Ubiquitous Intelligent Language for Extension > Version: 2.0.14 > Libs: -L${libdir} -lguile-2.0 -lgc > Libs.private: -lgmp -lltdl -L/usr/lib64/../lib64 -lffi \ > -lunistring -Wl,-O1 -Wl,--as-needed -lcrypt -lm \ > \ > > Cflags: -I${pkgincludedir}/2.0 -pthread > ----->8----->8----->8----->8----->8----- I believe the attached patch should fix it. Could you confirm? Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/configure.ac b/configure.ac index 9073deba0..92966ce34 100644 --- a/configure.ac +++ b/configure.ac @@ -1688,7 +1688,7 @@ do done GUILE_CFLAGS="$GUILE_CFLAGS $PTHREAD_CFLAGS" -GUILE_LIBS="$LDFLAGS $LIBS" +GUILE_LIBS="$LIBS" AC_SUBST(GUILE_LIBS) AC_SUBST(GUILE_CFLAGS) --=-=-=--