unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#46826: [debian] compilation from git fails
@ 2021-02-28  8:03 cage
  2021-02-28  9:04 ` cage
  2021-03-01 11:42 ` Maxime Devos
  0 siblings, 2 replies; 6+ messages in thread
From: cage @ 2021-02-28  8:03 UTC (permalink / raw)
  To: 46826

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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-02 19:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-28  8:03 bug#46826: [debian] compilation from git fails cage
2021-02-28  9:04 ` cage
2021-03-01 11:42 ` Maxime Devos
2021-03-01 13:12   ` cage
2021-03-01 20:40     ` Ludovic Courtès
2021-03-02 19:39       ` cage

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).