GNU bug report logs - #46826
(guix scripts environment) fails to build with Guile 2.2

Previous Next

Package: guix;

Reported by: cage <cage-dev <at> twistfold.it>

Date: Sun, 28 Feb 2021 08:24:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#46826: closed ([debian] compilation from git fails)
Date: Mon, 01 Mar 2021 20:41:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 01 Mar 2021 21:40:33 +0100
with message-id <87y2f6ppz2.fsf <at> gnu.org>
and subject line Re: bug#46826: [debian] compilation from git fails
has caused the debbugs.gnu.org bug report #46826,
regarding [debian] compilation from git fails
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
46826: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46826
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: cage <cage-dev <at> twistfold.it>
To: bug-guix <at> gnu.org
Subject: [debian] compilation from git fails
Date: Sun, 28 Feb 2021 09:03:02 +0100
Hi!

i tried to compile guix from git but the compilation fails with a syntax error, details below:

- OS Debian testing (bullseye)
- guix commit hash 8ef1f24f16354e08f23dfabf11396527b0417638 (master)
- $ guile --version
    guile (GNU Guile) 2.2.7

The error is:

$ make

[...]

guix/scripts/environment.scm:752:12: error: (define manifest (if profile (profile-manifest profile) manifest-from-opts)): definition in expression context, where definitions are not allowed,
make[2]: *** [Makefile:6246: make-go] Error 1


A    kind     user    suggested    to    comment     the    form    in
guix/scripts/environment.scm starting at line 178:

------------
(when (and profile
  (> (length (manifest-entries manifest-from-opts)) 0))
   (leave (G_ "'--profile' cannot be used with package options~%")))
-----------

After commenting the form above, the compilation works flawless.

Hope this help!
Bye!
C.


[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: cage <cage-dev <at> twistfold.it>
Cc: 46826-done <at> debbugs.gnu.org, Maxime Devos <maximedevos <at> telenet.be>
Subject: Re: bug#46826: [debian] compilation from git fails
Date: Mon, 01 Mar 2021 21:40:33 +0100
Hi!

I pushed a slightly different fix as
9ce78f27a02b3a5fcaea2f0633404b940795989a.

Thanks,
Ludo’.


This bug report was last modified 4 years and 84 days ago.

Previous Next


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