GNU bug report logs - #57436
Running ./configure from `guix shell -D guix --pure` errors

Previous Next

Package: guix;

Reported by: Katherine Cox-Buday <cox.katherine.e <at> gmail.com>

Date: Fri, 26 Aug 2022 17:34:01 UTC

Severity: normal

Tags: notabug

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57436 in the body.
You can then email your comments to 57436 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#57436; Package guix. (Fri, 26 Aug 2022 17:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Katherine Cox-Buday <cox.katherine.e <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 26 Aug 2022 17:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Katherine Cox-Buday <cox.katherine.e <at> gmail.com>
To: Guix Bugs <bug-guix <at> gnu.org>
Subject: Running ./configure from `guix shell -D guix --pure` errors
Date: Fri, 26 Aug 2022 11:32:31 -0600
It gives me this error: configure: error: C++ compiler 'g++' does not
support the C++11 standard

I have to run `guix shell -D guix gcc-toolchain <at> 12.1.0 --pure` to get
./configure to work.

Since `guix shell -D` includes the development packages for Guix,
maybe the package needs updating?




Information forwarded to bug-guix <at> gnu.org:
bug#57436; Package guix. (Fri, 26 Aug 2022 18:26:01 GMT) Full text and rfc822 format available.

Message #8 received at 57436 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Katherine Cox-Buday <cox.katherine.e <at> gmail.com>, 57436 <at> debbugs.gnu.org
Subject: Re: Running ./configure from `guix shell -D guix --pure` errors
Date: Fri, 26 Aug 2022 20:25:06 +0200
Am Freitag, dem 26.08.2022 um 11:32 -0600 schrieb Katherine Cox-Buday:
> It gives me this error: configure: error: C++ compiler 'g++' does not
> support the C++11 standard
> 
> I have to run `guix shell -D guix gcc-toolchain <at> 12.1.0 --pure` to get
> ./configure to work.
> 
> Since `guix shell -D` includes the development packages for Guix,
> maybe the package needs updating?
I'm pretty sure GCC 10 ought to support C++11.  There's probably some
other issue with your GCC, you might want to try `guix build --repair'.

Cheers




Information forwarded to bug-guix <at> gnu.org:
bug#57436; Package guix. (Fri, 26 Aug 2022 19:03:01 GMT) Full text and rfc822 format available.

Message #11 received at 57436 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Katherine Cox-Buday <cox.katherine.e <at> gmail.com>, 57436 <at> debbugs.gnu.org
Subject: Re: bug#57436: Running ./configure from `guix shell -D guix --pure`
 errors
Date: Fri, 26 Aug 2022 21:02:17 +0200
[Message part 1 (text/plain, inline)]
On 26-08-2022 19:32, Katherine Cox-Buday wrote:

> It gives me this error: configure: error: C++ compiler 'g++' does not
> support the C++11 standard
>
> I have to run `guix shell -D guixgcc-toolchain <at> 12.1.0  --pure` to get
> ./configure to work.
>
> Since `guix shell -D` includes the development packages for Guix,
> maybe the package needs updating?

Maybe ./configure somehow picks up an old g++ from outside the "guix 
shell" environment.

To avoid this, you can do `guix shell --pure -D guix'.

Don't forget to add --localstatedir=/var to ./configure, especially if 
you hack on the daemon -- otherwise if you start the modified daemon 
from your git checkout, the state will go out of sync.

Greetings,
Maxime

[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#57436; Package guix. (Fri, 26 Aug 2022 19:35:02 GMT) Full text and rfc822 format available.

Message #14 received at 57436 <at> debbugs.gnu.org (full text, mbox):

From: Katherine Cox-Buday <cox.katherine.e <at> gmail.com>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 57436 <at> debbugs.gnu.org
Subject: Re: bug#57436: Running ./configure from `guix shell -D guix --pure`
 errors
Date: Fri, 26 Aug 2022 13:34:42 -0600
Thanks, Maxime!

Does the location of the `--pure` flag matter? I.e. I was running

`guix shell -D guix --pure` (suggested by the manual)

and you're suggesting

`guix shell --pure -D guix'

On Fri, Aug 26, 2022 at 1:02 PM Maxime Devos <maximedevos <at> telenet.be> wrote:
>
> On 26-08-2022 19:32, Katherine Cox-Buday wrote:
>
> > It gives me this error: configure: error: C++ compiler 'g++' does not
> > support the C++11 standard
> >
> > I have to run `guix shell -D guixgcc-toolchain <at> 12.1.0  --pure` to get
> > ./configure to work.
> >
> > Since `guix shell -D` includes the development packages for Guix,
> > maybe the package needs updating?
>
> Maybe ./configure somehow picks up an old g++ from outside the "guix
> shell" environment.
>
> To avoid this, you can do `guix shell --pure -D guix'.
>
> Don't forget to add --localstatedir=/var to ./configure, especially if
> you hack on the daemon -- otherwise if you start the modified daemon
> from your git checkout, the state will go out of sync.
>
> Greetings,
> Maxime
>




Information forwarded to bug-guix <at> gnu.org:
bug#57436; Package guix. (Fri, 26 Aug 2022 20:28:01 GMT) Full text and rfc822 format available.

Message #17 received at 57436 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Katherine Cox-Buday <cox.katherine.e <at> gmail.com>
Cc: 57436 <at> debbugs.gnu.org
Subject: Re: bug#57436: Running ./configure from `guix shell -D guix --pure`
 errors
Date: Fri, 26 Aug 2022 22:27:53 +0200
[Message part 1 (text/plain, inline)]
On 26-08-2022 21:34, Katherine Cox-Buday wrote:
> Thanks, Maxime!
>
> Does the location of the `--pure` flag matter? I.e. I was running
>
> `guix shell -D guix --pure` (suggested by the manual)
>
> and you're suggesting
>
> `guix shell --pure -D guix'

I would expect it not to matter.

Greetings,
Maxime.

[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#57436; Package guix. (Sat, 27 Aug 2022 15:57:01 GMT) Full text and rfc822 format available.

Message #20 received at 57436 <at> debbugs.gnu.org (full text, mbox):

From: Katherine Cox-Buday <cox.katherine.e <at> gmail.com>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 57436 <at> debbugs.gnu.org
Subject: Re: bug#57436: Running ./configure from `guix shell -D guix --pure`
 errors
Date: Sat, 27 Aug 2022 09:56:42 -0600
Maxime Devos <maximedevos <at> telenet.be> writes:

> Maybe ./configure somehow picks up an old g++ from outside the "guix shell"
> environment.

This turned out to be the issue. I discovered my shell startup files were
mis-configured by running `guix shell --pure --check -D guix`. This is
definitely a user error, and my fault, but maybe we should update the manual
to include the `--check` flag?

-- 
Katherine




Information forwarded to bug-guix <at> gnu.org:
bug#57436; Package guix. (Mon, 29 Aug 2022 19:30:03 GMT) Full text and rfc822 format available.

Message #23 received at 57436 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Katherine Cox-Buday <cox.katherine.e <at> gmail.com>, Maxime Devos
 <maximedevos <at> telenet.be>
Cc: 57436 <at> debbugs.gnu.org
Subject: Re: bug#57436: Running ./configure from `guix shell -D guix --pure`
 errors
Date: Mon, 29 Aug 2022 16:01:00 +0200
Hi,

On sam., 27 août 2022 at 09:56, Katherine Cox-Buday <cox.katherine.e <at> gmail.com> wrote:

> This turned out to be the issue. I discovered my shell startup files were
> mis-configured by running `guix shell --pure --check -D guix`. This is
> definitely a user error, and my fault, but maybe we should update the manual
> to include the `--check` flag?

Well, “guix shell” should hint a ’--check’ the first time you run it.
And is the explanation about ’--check’ (section Invoking guix shell) not
clear?

Do you mean update the «Building from Git» section?


Cheers,
simon





Added tag(s) notabug. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 01 Sep 2022 12:53:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 57436 <at> debbugs.gnu.org and Katherine Cox-Buday <cox.katherine.e <at> gmail.com> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 01 Sep 2022 12:53:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#57436; Package guix. (Wed, 07 Sep 2022 18:28:02 GMT) Full text and rfc822 format available.

Message #30 received at 57436 <at> debbugs.gnu.org (full text, mbox):

From: Katherine Cox-Buday <cox.katherine.e <at> gmail.com>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 57436 <at> debbugs.gnu.org, Maxime Devos <maximedevos <at> telenet.be>
Subject: Re: bug#57436: Running ./configure from `guix shell -D guix --pure`
 errors
Date: Wed, 7 Sep 2022 12:26:57 -0600
On Mon, Aug 29, 2022 at 1:29 PM zimoun <zimon.toutoune <at> gmail.com> wrote:

> Do you mean update the «Building from Git» section?

Yes this is what I mean.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 06 Oct 2022 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 308 days ago.

Previous Next


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