GNU bug report logs - #41142
[PATCH] GUILE_PKG bails out when 'pkg-config' is missing

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Mathieu Lirzin <mthl@HIDDEN>; Keywords: patch; Done: Ludovic Courtès <ludo@HIDDEN>; Maintainer for guile is bug-guile@HIDDEN.

Message received at 41142 <at> debbugs.gnu.org:


Received: (at 41142) by debbugs.gnu.org; 27 May 2020 21:42:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 27 17:42:44 2020
Received: from localhost ([127.0.0.1]:50201 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1je3ox-0008Su-Pz
	for submit <at> debbugs.gnu.org; Wed, 27 May 2020 17:42:43 -0400
Received: from relay9-d.mail.gandi.net ([217.70.183.199]:54255)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mthl@HIDDEN>) id 1je3ow-0008Sd-HQ
 for 41142 <at> debbugs.gnu.org; Wed, 27 May 2020 17:42:43 -0400
X-Originating-IP: 109.10.63.85
Received: from herbrand (85.63.10.109.rev.sfr.net [109.10.63.85])
 (Authenticated sender: mathieu.lirzin@HIDDEN)
 by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id EC0C2FF803;
 Wed, 27 May 2020 21:42:35 +0000 (UTC)
From: Mathieu Lirzin <mthl@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#41142: [PATCH] GUILE_PKG bails out when 'pkg-config' is
 missing
References: <20200508230201.31553-1-mthl@HIDDEN> <87d06pjfg9.fsf@HIDDEN>
Date: Wed, 27 May 2020 23:42:35 +0200
In-Reply-To: <87d06pjfg9.fsf@HIDDEN> ("Ludovic
 \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\=
 \=\?utf-8\?Q\?s\?\= message of "Wed, 27 May 2020 22:22:30 +0200")
Message-ID: <87wo4xm4vo.fsf@herbrand>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 41142
Cc: 41142 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Mathieu Lirzin <mthl@HIDDEN> skribis:
>
>> * meta/guile.m4 (GUILE_PKG): Ensure that 'pkg-config' is available. Use
>> AC_REQUIRE for PKG_PROG_PKG_CONFIG to avoid unnecessary invocations.
>

Thanks Ludovic.

--=20
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37




Information forwarded to bug-guile@HIDDEN:
bug#41142; Package guile. Full text available.

Message received at 41142-done <at> debbugs.gnu.org:


Received: (at 41142-done) by debbugs.gnu.org; 27 May 2020 20:22:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 27 16:22:40 2020
Received: from localhost ([127.0.0.1]:50050 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1je2ZT-0008Rq-VE
	for submit <at> debbugs.gnu.org; Wed, 27 May 2020 16:22:40 -0400
Received: from eggs.gnu.org ([209.51.188.92]:54288)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1je2ZS-0008Rb-6a
 for 41142-done <at> debbugs.gnu.org; Wed, 27 May 2020 16:22:38 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:44468)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1je2ZM-00023t-GA; Wed, 27 May 2020 16:22:32 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37060 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1je2ZM-0007mL-1U; Wed, 27 May 2020 16:22:32 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Mathieu Lirzin <mthl@HIDDEN>
Subject: Re: bug#41142: [PATCH] GUILE_PKG bails out when 'pkg-config' is
 missing
References: <20200508230201.31553-1-mthl@HIDDEN>
Date: Wed, 27 May 2020 22:22:30 +0200
In-Reply-To: <20200508230201.31553-1-mthl@HIDDEN> (Mathieu Lirzin's message
 of "Sat, 9 May 2020 01:02:01 +0200")
Message-ID: <87d06pjfg9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 41142-done
Cc: 41142-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Mathieu,

Mathieu Lirzin <mthl@HIDDEN> skribis:

> * meta/guile.m4 (GUILE_PKG): Ensure that 'pkg-config' is available. Use
> AC_REQUIRE for PKG_PROG_PKG_CONFIG to avoid unnecessary invocations.

Applied, thanks!

Ludo=E2=80=99.




Notification sent to Mathieu Lirzin <mthl@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Ludovic Courtès <ludo@HIDDEN>:
You have taken responsibility. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 May 2020 23:03:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 08 19:03:03 2020
Received: from localhost ([127.0.0.1]:46459 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jXC15-0001rd-En
	for submit <at> debbugs.gnu.org; Fri, 08 May 2020 19:03:03 -0400
Received: from lists.gnu.org ([209.51.188.17]:32998)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mthl@HIDDEN>) id 1jXC13-0001rU-Kg
 for submit <at> debbugs.gnu.org; Fri, 08 May 2020 19:02:49 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44784)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mthl@HIDDEN>) id 1jXC13-00010f-Cs
 for bug-guile@HIDDEN; Fri, 08 May 2020 19:02:49 -0400
Received: from relay7-d.mail.gandi.net ([217.70.183.200]:44939)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mthl@HIDDEN>)
 id 1jXC12-0000Aa-Es; Fri, 08 May 2020 19:02:49 -0400
X-Originating-IP: 109.10.63.85
Received: from localhost.localdomain (85.63.10.109.rev.sfr.net [109.10.63.85])
 (Authenticated sender: mthl@HIDDEN)
 by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 45F5720003;
 Fri,  8 May 2020 23:02:44 +0000 (UTC)
From: Mathieu Lirzin <mthl@HIDDEN>
To: bug-guile@HIDDEN
Subject: [PATCH] GUILE_PKG bails out when 'pkg-config' is missing
Date: Sat,  9 May 2020 01:02:01 +0200
Message-Id: <20200508230201.31553-1-mthl@HIDDEN>
X-Mailer: git-send-email 2.20.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: softfail client-ip=217.70.183.200; envelope-from=mthl@HIDDEN;
 helo=relay7-d.mail.gandi.net
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/08 19:02:46
X-ACL-Warn: Detected OS   = Linux 3.11 and newer
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7,
 RCVD_IN_MSPIKE_BL=0.001, RCVD_IN_MSPIKE_L3=0.001,
 SPF_SOFTFAIL=0.665 autolearn=_AUTOLEARN
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
Cc: Mathieu Lirzin <mthl@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

* meta/guile.m4 (GUILE_PKG): Ensure that 'pkg-config' is available. Use
AC_REQUIRE for PKG_PROG_PKG_CONFIG to avoid unnecessary invocations.
---
 meta/guile.m4 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/guile.m4 b/meta/guile.m4
index bc0daaf46..508f8b9d4 100644
--- a/meta/guile.m4
+++ b/meta/guile.m4
@@ -60,7 +60,10 @@
 # @code{AC_SUBST}.
 #
 AC_DEFUN([GUILE_PKG],
- [PKG_PROG_PKG_CONFIG
+ [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+  if test "x$PKG_CONFIG" = x; then
+    AC_MSG_ERROR(["Missing pkg-config"])
+  fi
   _guile_versions_to_search="m4_default([$1], [3.0 2.2 2.0])"
   if test -n "$GUILE_EFFECTIVE_VERSION"; then
     _guile_tmp=""
-- 
2.20.1





Acknowledgement sent to Mathieu Lirzin <mthl@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#41142; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 27 May 2020 21:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.