GNU bug report logs -
#30249
'GUILE_PROGS' should get program names from 'guile-2.2.pc'
Previous Next
To reply to this bug, email your comments to 30249 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#30249
; Package
guix
.
(Thu, 25 Jan 2018 14:29:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 25 Jan 2018 14:29:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
On Fedora there is /usr/bin/guile2. When I want to configure Guix from
source I run “guix environment guix” and run “./configure”. This aborts
because the configure script finds the system’s /usr/bin/guile2 before
“guile” from the environment.
Here’s 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/guile2 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 “guix environment --container guix”).
Is there something we can do about this to ensure that “guix environment
guix” is sufficient to build Guix from source on Fedora?
--
Ricardo
Information forwarded
to
bug-guix <at> gnu.org
:
bug#30249
; Package
guix
.
(Thu, 25 Jan 2018 16:58:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 30249 <at> debbugs.gnu.org (full text, mbox):
Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de> skribis:
> On Fedora there is /usr/bin/guile2. When I want to configure Guix from
> source I run “guix environment guix” and run “./configure”. This aborts
> because the configure script finds the system’s /usr/bin/guile2 before
> “guile” from the environment.
>
> Here’s 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/guile2 has effective version 2.0
> make: *** [Makefile:3071: config.status] Error 1
The code for this check is in the ‘GUILE_PROGS’ macro, defined 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 “guile”. So I would suggest
leaving this macro unchanged.
That said, guile-2.2.pc and guile-2.0.pc both define ‘guile’ and
‘guild’. So ‘GUILE_PROGS’ 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 “guix environment --container guix”).
>
> Is there something we can do about this to ensure that “guix environment
> guix” is sufficient to build Guix from source on Fedora?
We could encourage people to use --pure or -C.
Ludo’.
bug reassigned from package 'guix' to 'guile'.
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Fri, 09 Mar 2018 12:37:02 GMT)
Full text and
rfc822 format available.
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 <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Fri, 09 Mar 2018 12:39:01 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 97 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.