GNU bug report logs - #33180
guix pull fails in a directory with scm files

Previous Next

Package: guix;

Reported by: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>

Date: Sat, 27 Oct 2018 21:57:01 UTC

Severity: normal

Done: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>

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 33180 in the body.
You can then email your comments to 33180 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#33180; Package guix. (Sat, 27 Oct 2018 21:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 27 Oct 2018 21:57:02 GMT) Full text and rfc822 format available.

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

From: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
To: <bug-guix <at> gnu.org>
Subject: guix pull fails in a directory with scm files
Date: Sat, 27 Oct 2018 23:56:27 +0200
[Message part 1 (text/plain, inline)]
When my current working directory is within a guix checkout, it goes
wrong (I suppose this can happen with any scheme code?)

 which guix
/home/bjoern/.config/guix/current/bin/guix
# In guix/guix is my Guix checkout:
me:~/guix/guix/gnu/packages$ guix pull


;;; note: source file texinfo.scm
;;;       newer than compiled /gnu/store/p9wm67w3rfw3hlb9iljgvsfn84mz4w9d-guile-2.2.4/lib/guile/2.2/ccache/texinfo.go
Backtrace:
In ice-9/boot-9.scm:
   222:29 19 (map1 _)
   222:29 18 (map1 _)
   222:29 17 (map1 _)
   222:29 16 (map1 _)
   222:29 15 (map1 _)
   222:29 14 (map1 _)
   222:29 13 (map1 _)
   222:29 12 (map1 _)
   222:29 11 (map1 _)
   222:29 10 (map1 _)
   222:29  9 (map1 _)
   222:29  8 (map1 _)
   222:29  7 (map1 _)
   222:29  6 (map1 _)
   222:29  5 (map1 _)
   222:29  4 (map1 _)
   222:29  3 (map1 _)
   222:17  2 (map1 (((texinfo)) ((texinfo plain-text)) ((texinfo …))))
   2803:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)

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


cd
me:~$ guix pull
Updating channel 'guix-chromium' from Git repository at 'https://gitlab.com/mbakke/guix-chromium.git'...
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...

[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#33180; Package guix. (Sun, 28 Oct 2018 06:37:02 GMT) Full text and rfc822 format available.

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

From: Julien Lepiller <julien <at> lepiller.eu>
To: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>,
 33180 <at> debbugs.gnu.org
Subject: Re: bug#33180: guix pull fails in a directory with scm files
Date: Sun, 28 Oct 2018 07:36:38 +0100
I had a similar issue, with every guix comand failing. It was due to GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH ending with “:”. Can you check the value of these variables?

Le 27 octobre 2018 23:56:27 GMT+02:00, "Björn Höfling" <bjoern.hoefling <at> bjoernhoefling.de> a écrit :
>When my current working directory is within a guix checkout, it goes
>wrong (I suppose this can happen with any scheme code?)
>
> which guix
>/home/bjoern/.config/guix/current/bin/guix
># In guix/guix is my Guix checkout:
>me:~/guix/guix/gnu/packages$ guix pull
>
>
>;;; note: source file texinfo.scm
>;;;       newer than compiled
>/gnu/store/p9wm67w3rfw3hlb9iljgvsfn84mz4w9d-guile-2.2.4/lib/guile/2.2/ccache/texinfo.go
>Backtrace:
>In ice-9/boot-9.scm:
>   222:29 19 (map1 _)
>   222:29 18 (map1 _)
>   222:29 17 (map1 _)
>   222:29 16 (map1 _)
>   222:29 15 (map1 _)
>   222:29 14 (map1 _)
>   222:29 13 (map1 _)
>   222:29 12 (map1 _)
>   222:29 11 (map1 _)
>   222:29 10 (map1 _)
>   222:29  9 (map1 _)
>   222:29  8 (map1 _)
>   222:29  7 (map1 _)
>   222:29  6 (map1 _)
>   222:29  5 (map1 _)
>   222:29  4 (map1 _)
>   222:29  3 (map1 _)
>   222:17  2 (map1 (((texinfo)) ((texinfo plain-text)) ((texinfo …))))
>   2803:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …)
>In unknown file:
>          0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)
>
>ERROR: In procedure scm-error:
>no code for module (texinfo)
>
>
>cd
>me:~$ guix pull
>Updating channel 'guix-chromium' from Git repository at
>'https://gitlab.com/mbakke/guix-chromium.git'...
>Updating channel 'guix' from Git repository at
>'https://git.savannah.gnu.org/git/guix.git'...




Reply sent to Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>:
You have taken responsibility. (Tue, 30 Oct 2018 10:06:02 GMT) Full text and rfc822 format available.

Notification sent to Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>:
bug acknowledged by developer. (Tue, 30 Oct 2018 10:06:02 GMT) Full text and rfc822 format available.

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

From: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
To: Julien Lepiller <julien <at> lepiller.eu>
Cc: 33180-done <at> debbugs.gnu.org
Subject: Re: bug#33180: guix pull fails in a directory with scm files
Date: Tue, 30 Oct 2018 11:05:13 +0100
[Message part 1 (text/plain, inline)]
On Sun, 28 Oct 2018 07:36:38 +0100
Julien Lepiller <julien <at> lepiller.eu> wrote:

> I had a similar issue, with every guix comand failing. It was due to
> GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH ending with “:”. Can you
> check the value of these variables?

Yes, that was the problem here:

export GUILE_LOAD_PATH=$HOME/.guix-profile/share/guile/site/2.2:$GUILE_LOAD_PATH

Now I learned what that :+:-notation is for and used it:

export GUILE_LOAD_PATH=$HOME/.guix-profile/share/guile/site/2.2${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH

Thanks,

Björn
[Message part 2 (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 27 Nov 2018 12:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 207 days ago.

Previous Next


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