From unknown Fri Jun 13 10:52:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30249: configure: =?UTF-8?Q?=E2=80=9Cguile2=E2=80=9D?= is checked before =?UTF-8?Q?=E2=80=9Cguile=E2=80=9D?= Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 25 Jan 2018 14:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30249 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 30249@debbugs.gnu.org X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.15168905012253 (code B ref -1); Thu, 25 Jan 2018 14:29:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Jan 2018 14:28:21 +0000 Received: from localhost ([127.0.0.1]:41938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eeiVo-0000aG-Tg for submit@debbugs.gnu.org; Thu, 25 Jan 2018 09:28:21 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eeiVm-0000a2-7I for submit@debbugs.gnu.org; Thu, 25 Jan 2018 09:28:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eeiVg-0003Uo-4v for submit@debbugs.gnu.org; Thu, 25 Jan 2018 09:28:13 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35652) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eeiVg-0003Ua-0t for submit@debbugs.gnu.org; Thu, 25 Jan 2018 09:28:12 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeiVe-0003fp-R7 for bug-guix@gnu.org; Thu, 25 Jan 2018 09:28:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eeiVb-0003QC-Jp for bug-guix@gnu.org; Thu, 25 Jan 2018 09:28:10 -0500 Received: from sinope02.bbbm.mdc-berlin.de ([141.80.25.24]:34994) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eeiVb-0003OK-8v for bug-guix@gnu.org; Thu, 25 Jan 2018 09:28:07 -0500 Received: from localhost (localhost [127.0.0.1]) by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTP id 34402F5C138 for ; Thu, 25 Jan 2018 15:28:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:subject:subject:from:from:user-agent :received:received:received:received; s=mdc; t=1516890480; x= 1518704881; bh=6mwKQ+KsZr+BWYtcwOS3n3NLxA3XyZTCoHAvOPp0rA0=; b=h ByNxoIdMKLWO+7kGhwfEDNnoqBXO9ui2uJta4ArZjuTAoQjdfAM+gChDStiOgow8 H6TSxQsfWT9igBze2vV4NIWnx9k0MOO8rG1vXF0qH5ziq0c4P71suyQ/FUnmWfgM ZHt9lBQSTE/vLGw5DRiHkra4g+k/+9acgDky11DXUA= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from sinope02.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (sinope02.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WIkdo41mJa-G for ; Thu, 25 Jan 2018 15:28:00 +0100 (CET) Received: from HTCAONE.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTPS for ; Thu, 25 Jan 2018 15:28:00 +0100 (CET) Received: from SW-IT-P-CAS1.mdc-berlin.net (141.80.113.53) by HTCAONE.mdc-berlin.net (141.80.180.120) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 25 Jan 2018 15:27:59 +0100 Received: from localhost (141.80.113.51) by SW-IT-P-CAS1.mdc-berlin.net (141.80.113.53) with Microsoft SMTP Server id 14.3.361.1; Thu, 25 Jan 2018 15:27:58 +0100 User-agent: mu4e 0.9.18; emacs 25.3.1 From: Ricardo Wurmus X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Thu, 25 Jan 2018 15:27:48 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Originating-IP: [141.80.113.51] X-TM-AS-Product-Ver: SMEX-11.0.0.4283-8.200.1013-23618.007 X-TM-AS-Result: No--3.066600-0.000000-31 X-TM-AS-MatchedID: 709584-703788-701021-704496-706249-136070-105700-707027-1 88019-862883-705388-712032-710718-148004-148133-42000-42003-63 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On Fedora there is /usr/bin/guile2. When I want to configure Guix from source I run =E2=80=9Cguix environment guix=E2=80=9D and run =E2=80=9C./c= onfigure=E2=80=9D. This aborts because the configure script finds the system=E2=80=99s /usr/bin/guile2 b= efore =E2=80=9Cguile=E2=80=9D from the environment. Here=E2=80=99s the error: --8<---------------cut here---------------start------------->8--- configure: checking for guile 2.2 configure: found guile 2.2 checking for guile-2.2... no checking for guile2.2... no checking for guile-2... no checking for guile2... /usr/bin/guile2 configure: error: found development files for Guile 2.2, but /usr/bin/gui= le2 has effective version 2.0 make: *** [Makefile:3071: config.status] Error 1 --8<---------------cut here---------------end--------------->8--- To make this work I need to move /usr/bin/guile2 away or make it otherwise unaccessible (e.g. with =E2=80=9Cguix environment --container g= uix=E2=80=9D). Is there something we can do about this to ensure that =E2=80=9Cguix envi= ronment guix=E2=80=9D is sufficient to build Guix from source on Fedora? -- Ricardo From unknown Fri Jun 13 10:52:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30249: configure: =?UTF-8?Q?=E2=80=9Cguile2=E2=80=9D?= is checked before =?UTF-8?Q?=E2=80=9Cguile=E2=80=9D?= Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 25 Jan 2018 16:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30249 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Cc: 30249@debbugs.gnu.org Received: via spool by 30249-submit@debbugs.gnu.org id=B30249.151689942816623 (code B ref 30249); Thu, 25 Jan 2018 16:58:02 +0000 Received: (at 30249) by debbugs.gnu.org; 25 Jan 2018 16:57:08 +0000 Received: from localhost ([127.0.0.1]:42760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eekpn-0004K3-QF for submit@debbugs.gnu.org; Thu, 25 Jan 2018 11:57:07 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:58048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eekpm-0004Jv-7y for 30249@debbugs.gnu.org; Thu, 25 Jan 2018 11:57:06 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id EF5D710C6C; Thu, 25 Jan 2018 17:57:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JOdloILyOInG; Thu, 25 Jan 2018 17:57:04 +0100 (CET) Received: from ribbon (unknown [193.50.110.182]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 0A28D10C32; Thu, 25 Jan 2018 17:57:03 +0100 (CET) From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 =?UTF-8?Q?Pluvi=C3=B4se?= an 226 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 25 Jan 2018 17:57:03 +0100 In-Reply-To: (Ricardo Wurmus's message of "Thu, 25 Jan 2018 15:27:48 +0100") Message-ID: <878tcluba8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Ricardo Wurmus skribis: > On Fedora there is /usr/bin/guile2. When I want to configure Guix from > source I run =E2=80=9Cguix environment guix=E2=80=9D and run =E2=80=9C./c= onfigure=E2=80=9D. This aborts > because the configure script finds the system=E2=80=99s /usr/bin/guile2 b= efore > =E2=80=9Cguile=E2=80=9D from the environment. > > Here=E2=80=99s the error: > > configure: checking for guile 2.2 > configure: found guile 2.2 > checking for guile-2.2... no > checking for guile2.2... no > checking for guile-2... no > checking for guile2... /usr/bin/guile2 > configure: error: found development files for Guile 2.2, but /usr/bin/gui= le2 has effective version 2.0 > make: *** [Makefile:3071: config.status] Error 1 The code for this check is in the =E2=80=98GUILE_PROGS=E2=80=99 macro, defi= ned in meta/guile.m4 in Guile. I think it makes sense for this macro to try version-specific program names first, and only then to fall back to =E2=80=9Cguile=E2=80=9D. So I w= ould suggest leaving this macro unchanged. That said, guile-2.2.pc and guile-2.0.pc both define =E2=80=98guile=E2=80= =99 and =E2=80=98guild=E2=80=99. So =E2=80=98GUILE_PROGS=E2=80=99 should probably = use these when pkg-config is being used, instead of trying to guess from $PATH. Thoughts? > To make this work I need to move /usr/bin/guile2 away or make it > otherwise unaccessible (e.g. with =E2=80=9Cguix environment --container g= uix=E2=80=9D). > > Is there something we can do about this to ensure that =E2=80=9Cguix envi= ronment > guix=E2=80=9D is sufficient to build Guix from source on Fedora? We could encourage people to use --pure or -C. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 09 07:36:58 2018 Received: (at control) by debbugs.gnu.org; 9 Mar 2018 12:36:58 +0000 Received: from localhost ([127.0.0.1]:51808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euHGb-0002yV-VS for submit@debbugs.gnu.org; Fri, 09 Mar 2018 07:36:58 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:59228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euHGa-0002yM-7W for control@debbugs.gnu.org; Fri, 09 Mar 2018 07:36:56 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id BB97F12092 for ; Fri, 9 Mar 2018 13:36:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MPmM3T679IgI for ; Fri, 9 Mar 2018 13:36:55 +0100 (CET) Received: from ribbon (unknown [193.50.110.144]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 2D3AE100FB for ; Fri, 9 Mar 2018 13:36:55 +0100 (CET) Date: Fri, 09 Mar 2018 13:36:54 +0100 Message-Id: <87po4dzaqh.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #30249 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) reassign 30249 guile From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 09 07:38:12 2018 Received: (at control) by debbugs.gnu.org; 9 Mar 2018 12:38:12 +0000 Received: from localhost ([127.0.0.1]:51813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euHHo-00031B-A6 for submit@debbugs.gnu.org; Fri, 09 Mar 2018 07:38:12 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:59238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euHHm-000312-BG for control@debbugs.gnu.org; Fri, 09 Mar 2018 07:38:10 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id D74A6100FB for ; Fri, 9 Mar 2018 13:38:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iSj_fEt2gDgd for ; Fri, 9 Mar 2018 13:38:09 +0100 (CET) Received: from ribbon (unknown [193.50.110.144]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 38C1365B for ; Fri, 9 Mar 2018 13:38:09 +0100 (CET) Date: Fri, 09 Mar 2018 13:38:08 +0100 Message-Id: <87o9jxzaof.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #30249 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) retitle 30249 'GUILE_PROGS' should get program names from 'guile-2.2.pc'