GNU bug report logs - #39835
Can't use ./pre-inst-env on Fedora

Previous Next

Package: guix;

Reported by: Damien Cassou <damien <at> cassou.me>

Date: Sat, 29 Feb 2020 15:28:01 UTC

Severity: normal

Done: zimoun <zimon.toutoune <at> gmail.com>

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 39835 in the body.
You can then email your comments to 39835 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#39835; Package guix. (Sat, 29 Feb 2020 15:28:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Damien Cassou <damien <at> cassou.me>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 29 Feb 2020 15:28:01 GMT) Full text and rfc822 format available.

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

From: Damien Cassou <damien <at> cassou.me>
To: bug-guix <at> gnu.org
Subject: Can't use ./pre-inst-env on Fedora
Date: Sat, 29 Feb 2020 16:27:39 +0100
OS: Fedora 31

$ guix describe
Generation 14   Feb 29 2020 16:14:16    (current)
  guix 91c19e7
    repository URL: file:///home/cassou/Documents/projects/guix/guix
    branch: master
    commit: 91c19e76a5c456c2861ca48754563e7cc86ff5f2

$ guix environment --pure guix -- ./bootstrap

$ guix environment --pure guix -- ./configure --localstatedir=/var

$ guix environment --pure guix -- make -j4

$ ./pre-inst-env guix build emacs
Backtrace:
In ice-9/threads.scm:
    390:8 19 (_ _)
In ice-9/boot-9.scm:
  2994:20 18 (_)
   2312:4 17 (save-module-excursion _)
  3014:26 16 (_)
In unknown file:
          15 (primitive-load-path "guix/store" #<procedure 7f0cb49d7120 at ice-9/boot-9.s…>)
In guix/store.scm:
     21:0 14 (_)
In ice-9/boot-9.scm:
   2874:4 13 (define-module* _ #:filename _ #:pure _ #:version _ #:imports _ #:exports _ # …)
  2887:24 12 (_)
   222:29 11 (map1 (((guix utils)) ((guix config)) ((guix deprecation)) ((guix #)) ((…)) …))
   222:29 10 (map1 (((guix config)) ((guix deprecation)) ((guix memoization)) ((guix …)) …))
   222:29  9 (map1 (((guix deprecation)) ((guix memoization)) ((guix serialization)) (#) …))
   222:29  8 (map1 (((guix memoization)) ((guix serialization)) ((guix monads)) ((# #)) …))
   222:29  7 (map1 (((guix serialization)) ((guix monads)) ((guix records)) ((guix #)) # …))
   222:29  6 (map1 (((guix monads)) ((guix records)) ((guix base16)) ((guix base32)) (#) …))
   222:29  5 (map1 (((guix records)) ((guix base16)) ((guix base32)) ((gcrypt hash)) (#) …))
   222:29  4 (map1 (((guix base16)) ((guix base32)) ((gcrypt hash)) ((guix profiling)) # …))
   222:29  3 (map1 (((guix base32)) ((gcrypt hash)) ((guix profiling)) ((rnrs #)) ((…)) …))
   222:17  2 (map1 (((gcrypt hash)) ((guix profiling)) ((rnrs bytevectors)) ((ice-9 #)) …))
   2803:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ #:renamer _ #:version _)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("no code for module" (gcrypt hash)) #f)

ERROR: In procedure scm-error:
no code for module (gcrypt hash)


-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill




Information forwarded to bug-guix <at> gnu.org:
bug#39835; Package guix. (Sat, 29 Feb 2020 15:47:02 GMT) Full text and rfc822 format available.

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

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Damien Cassou <damien <at> cassou.me>
Cc: 39835 <at> debbugs.gnu.org
Subject: Re: bug#39835: Can't use ./pre-inst-env on Fedora
Date: Sat, 29 Feb 2020 16:46:42 +0100
Damien Cassou <damien <at> cassou.me> writes:

> $ ./pre-inst-env guix build emacs
[…]
> no code for module (gcrypt hash)

pre-inst-env modifies the GUILE_LOAD_PATH to put the Guix modules from
the current directory first.  It does not, however, arrange for all
dependencies to be placed on GUILE_LOAD_PATH.

You are still expected to run pre-inst-env in an environment containing
all of the dependencies.

So this is not a bug, but seems to be a misunderstanding of what the
goals of the pre-inst-env script are.

--
Ricardo




Information forwarded to bug-guix <at> gnu.org:
bug#39835; Package guix. (Mon, 02 Mar 2020 09:45:01 GMT) Full text and rfc822 format available.

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

From: Damien Cassou <damien <at> cassou.me>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 39835 <at> debbugs.gnu.org
Subject: Re: bug#39835: Can't use ./pre-inst-env on Fedora
Date: Mon, 02 Mar 2020 10:44:27 +0100
Ricardo Wurmus <rekado <at> elephly.net> writes:
> pre-inst-env modifies the GUILE_LOAD_PATH to put the Guix modules from
> the current directory first.  It does not, however, arrange for all
> dependencies to be placed on GUILE_LOAD_PATH.
>
> You are still expected to run pre-inst-env in an environment containing
> all of the dependencies.


Thank you for your explanation.

-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill




Reply sent to zimoun <zimon.toutoune <at> gmail.com>:
You have taken responsibility. (Mon, 02 Mar 2020 17:31:01 GMT) Full text and rfc822 format available.

Notification sent to Damien Cassou <damien <at> cassou.me>:
bug acknowledged by developer. (Mon, 02 Mar 2020 17:31:02 GMT) Full text and rfc822 format available.

Message #16 received at 39835-done <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: 39835-done <at> debbugs.gnu.org
Date: Mon, 2 Mar 2020 18:30:17 +0100
Dear,

It is not a bug so closing.
Feel free to ask more details on help-guix <at> gnu.org.

All the best,
simon




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 31 Mar 2020 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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