all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#33180: guix pull fails in a directory with scm files
@ 2018-10-27 21:56 Björn Höfling
  2018-10-28  6:36 ` Julien Lepiller
  0 siblings, 1 reply; 3+ messages in thread
From: Björn Höfling @ 2018-10-27 21:56 UTC (permalink / raw)
  To: 33180

[-- Attachment #1: Type: text/plain, Size: 1385 bytes --]

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'...


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

* bug#33180: guix pull fails in a directory with scm files
  2018-10-27 21:56 bug#33180: guix pull fails in a directory with scm files Björn Höfling
@ 2018-10-28  6:36 ` Julien Lepiller
  2018-10-30 10:05   ` Björn Höfling
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Lepiller @ 2018-10-28  6:36 UTC (permalink / raw)
  To: Björn Höfling, 33180

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@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'...

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

* bug#33180: guix pull fails in a directory with scm files
  2018-10-28  6:36 ` Julien Lepiller
@ 2018-10-30 10:05   ` Björn Höfling
  0 siblings, 0 replies; 3+ messages in thread
From: Björn Höfling @ 2018-10-30 10:05 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: 33180-done

[-- Attachment #1: Type: text/plain, Size: 575 bytes --]

On Sun, 28 Oct 2018 07:36:38 +0100
Julien Lepiller <julien@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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

end of thread, other threads:[~2018-10-30 10:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-27 21:56 bug#33180: guix pull fails in a directory with scm files Björn Höfling
2018-10-28  6:36 ` Julien Lepiller
2018-10-30 10:05   ` Björn Höfling

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.