GNU bug report logs - #30249
'GUILE_PROGS' should get program names from 'guile-2.2.pc'

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: Ricardo Wurmus <ricardo.wurmus@HIDDEN>; dated Thu, 25 Jan 2018 14:29:02 UTC; Maintainer for guile is bug-guile@HIDDEN.
Changed bug title to ''GUILE_PROGS' should get program names from 'guile-2.2.pc'' from 'configure: “guile2” is checked before “guile”' Request was from ludo@HIDDEN (Ludovic Courtès) to control <at> debbugs.gnu.org. Full text available.
bug reassigned from package 'guix' to 'guile'. Request was from ludo@HIDDEN (Ludovic Courtès) to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 30249) by debbugs.gnu.org; 25 Jan 2018 16:57:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 25 11:57:08 2018
Received: from localhost ([127.0.0.1]:42760 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eekpn-0004K3-QF
	for submit <at> 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 <ludo@HIDDEN>) id 1eekpm-0004Jv-7y
 for 30249 <at> 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@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Ricardo Wurmus <ricardo.wurmus@HIDDEN>
Subject: Re: bug#30249: configure: =?utf-8?B?4oCcZ3VpbGUy4oCd?= is checked
 before =?utf-8?B?4oCcZ3VpbGXigJ0=?=
References: <idjfu6u57yz.fsf@HIDDEN>
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?=
 =?utf-8?Q?=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: <idjfu6u57yz.fsf@HIDDEN> (Ricardo Wurmus's
 message of "Thu, 25 Jan 2018 15:27:48 +0100")
Message-ID: <878tcluba8.fsf@HIDDEN>
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-Debbugs-Envelope-To: 30249
Cc: 30249 <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: 1.0 (+)

Ricardo Wurmus <ricardo.wurmus@HIDDEN> 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.




Information forwarded to bug-guix@HIDDEN:
bug#30249; Package guix. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 25 Jan 2018 14:28:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 25 09:28:21 2018
Received: from localhost ([127.0.0.1]:41938 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eeiVo-0000aG-Tg
	for submit <at> 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 <Ricardo.Wurmus@HIDDEN>) id 1eeiVm-0000a2-7I
 for submit <at> 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 <Ricardo.Wurmus@HIDDEN>) id 1eeiVg-0003Uo-4v
 for submit <at> 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 <Ricardo.Wurmus@HIDDEN>)
 id 1eeiVg-0003Ua-0t
 for submit <at> 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 <Ricardo.Wurmus@HIDDEN>) id 1eeiVe-0003fp-R7
 for bug-guix@HIDDEN; Thu, 25 Jan 2018 09:28:11 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Ricardo.Wurmus@HIDDEN>) id 1eeiVb-0003QC-Jp
 for bug-guix@HIDDEN; 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 <Ricardo.Wurmus@HIDDEN>)
 id 1eeiVb-0003OK-8v
 for bug-guix@HIDDEN; 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 <bug-guix@HIDDEN>; 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 <bug-guix@HIDDEN>;
 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 <bug-guix@HIDDEN>; 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 <ricardo.wurmus@HIDDEN>
To: <bug-guix@HIDDEN>
Subject: configure: =?utf-8?B?4oCcZ3VpbGUy4oCd?= is checked before
 =?utf-8?B?4oCcZ3VpbGXigJ0=?=
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: <idjfu6u57yz.fsf@HIDDEN>
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-Debbugs-Envelope-To: submit
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: -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




Acknowledgement sent to Ricardo Wurmus <ricardo.wurmus@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#30249; Package guix. 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: Fri, 9 Mar 2018 12:45:02 UTC

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