all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#28144: info-dir ERROR: no code for module (guix build utils)
@ 2017-08-19  0:20 Christopher Baines
  2017-08-22  8:41 ` Ludovic Courtès
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Christopher Baines @ 2017-08-19  0:20 UTC (permalink / raw)
  To: 28144

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

I've had the following issue a few times now, it seems that somehow,
the info-dir builder can be incorrectly generated, without the usual
module import stuff.

The most recent time this occurred, I worked around this by finding the
guix package in the store which I thought was being used at the time,
and explicitly garbage collected it (guix gc -d ...). I then rebuilt
it, and this seemed to work around the problem. I was using the same
guix package, pinned to an revision in a git repository.


The builder starts with:

  (begin (use-modules (guix build utils)


This is the error which you get:

The following derivations will be built:
   /gnu/store/8qi10kwz4ghabdj5p7s252z11snvhhgf-profile.drv
   /gnu/store/0jxiph2hvmvakcj6gkz9d00a8ncma903-info-dir.drv
Backtrace:
In ice-9/boot-9.scm:
 160: 18 [catch #t #<catch-closure 8c5e00> ...]
In unknown file:
   ?: 17 [apply-smob/1 #<catch-closure 8c5e00>]
In ice-9/boot-9.scm:
  66: 16 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 15 [eval # #]
In ice-9/boot-9.scm:
2412: 14 [save-module-excursion #<procedure 8e6940 at ice-9/boot-9.scm:4084:3 ()>]
4089: 13 [#<procedure 8e6940 at ice-9/boot-9.scm:4084:3 ()>]
1734: 12 [%start-stack load-stack #<procedure 8f0340 at ice-9/boot-9.scm:4080:10 ()>]
1739: 11 [#<procedure 8f8c30 ()>]
In unknown file:
   ?: 10 [primitive-load "/gnu/store/9ywpf5jc12svv04gvbx96j5z1kpllwn4-info-dir-builder"]
In ice-9/eval.scm:
 505: 9 [#<procedure 79c6a0 at ice-9/eval.scm:499:4 (exp)> (begin # # # ...)]
In ice-9/psyntax.scm:
1107: 8 [expand-top-sequence ((begin # # # ...)) () ((top)) ...]
 990: 7 [scan ((begin (use-modules # # ...) (define # #) ...)) () ...]
 990: 6 [scan ((use-modules # # ...) (define # #) (define # #) ...) () ...]
 279: 5 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...]
In ice-9/boot-9.scm:
3622: 4 [process-use-modules ((#) (#) (#) (#))]
 712: 3 [map #<procedure 8576a0 at ice-9/boot-9.scm:3622:25 (mif-args)> (# # # #)]
3623: 2 [#<procedure 8576a0 at ice-9/boot-9.scm:3622:25 (mif-args)> (#)]
2903: 1 [resolve-interface (guix build utils) #:select ...]
In unknown file:
   ?: 0 [scm-error misc-error #f ...]

ERROR: In procedure scm-error:
ERROR: no code for module (guix build utils)
builder for `/gnu/store/0jxiph2hvmvakcj6gkz9d00a8ncma903-info-dir.drv' failed with exit code 1

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

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

* bug#28144: info-dir ERROR: no code for module (guix build utils)
  2017-08-19  0:20 bug#28144: info-dir ERROR: no code for module (guix build utils) Christopher Baines
@ 2017-08-22  8:41 ` Ludovic Courtès
  2017-08-22  9:59   ` Christopher Baines
  2017-11-13 10:03 ` Ludovic Courtès
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2017-08-22  8:41 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 28144

Heya,

Christopher Baines <mail@cbaines.net> skribis:

> I've had the following issue a few times now, it seems that somehow,
> the info-dir builder can be incorrectly generated, without the usual
> module import stuff.
>
> The most recent time this occurred, I worked around this by finding the
> guix package in the store which I thought was being used at the time,
> and explicitly garbage collected it (guix gc -d ...). I then rebuilt
> it, and this seemed to work around the problem. I was using the same
> guix package, pinned to an revision in a git repository.
>
>
> The builder starts with:
>
>   (begin (use-modules (guix build utils)
>
>
> This is the error which you get:
>
> The following derivations will be built:
>    /gnu/store/8qi10kwz4ghabdj5p7s252z11snvhhgf-profile.drv
>    /gnu/store/0jxiph2hvmvakcj6gkz9d00a8ncma903-info-dir.drv

Could you check if the .drv has the right -L and -C flags for guile?

What commit was this on?

Looking at (guix profiles), what you describe Cannot Happen™ because
there’s a correct ‘with-imported-modules’ form there.

Thanks,
Ludo’.

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

* bug#28144: info-dir ERROR: no code for module (guix build utils)
  2017-08-22  8:41 ` Ludovic Courtès
@ 2017-08-22  9:59   ` Christopher Baines
  2017-08-22 10:41     ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Christopher Baines @ 2017-08-22  9:59 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 28144

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

On Tue, 22 Aug 2017 10:41:55 +0200
ludo@gnu.org (Ludovic Courtès) wrote:

> Heya,
> 
> Christopher Baines <mail@cbaines.net> skribis:
> 
> > I've had the following issue a few times now, it seems that somehow,
> > the info-dir builder can be incorrectly generated, without the usual
> > module import stuff.
> >
> > The most recent time this occurred, I worked around this by finding
> > the guix package in the store which I thought was being used at the
> > time, and explicitly garbage collected it (guix gc -d ...). I then
> > rebuilt it, and this seemed to work around the problem. I was using
> > the same guix package, pinned to an revision in a git repository.
> >
> >
> > The builder starts with:
> >
> >   (begin (use-modules (guix build utils)
> >
> >
> > This is the error which you get:
> >
> > The following derivations will be built:
> >    /gnu/store/8qi10kwz4ghabdj5p7s252z11snvhhgf-profile.drv
> >    /gnu/store/0jxiph2hvmvakcj6gkz9d00a8ncma903-info-dir.drv  
> 
> Could you check if the .drv has the right -L and -C flags for guile?
> 
> What commit was this on?
> 
> Looking at (guix profiles), what you describe Cannot Happen™ because
> there’s a correct ‘with-imported-modules’ form there.

I've included the derivation contents below, I can't see the -L and -C
flags, so I'm guessing that they are missing.

As for what commit this is on, this particular occurance took place
when I was using my odd guix-pre-inst-env [1] script that
attempts to create an environment containing a particular version of
Guix, without letting anything from the surrounding environment creep
in, so I'm not really sure what code was in use at the time.

1: https://github.com/alphagov/govuk-guix/blob/master/guix-pre-inst-env

Derive([("out","/gnu/store/fnfm2vv9khyxpsnr7ybn8h7ir2l3685y-info-dir","","")],[("/gnu/store/0l3zxcx0n31xal7jf1d981j377wh3nir-zlib-1.2.11.drv",["out"]),("/gnu/store/0ppzqkwl7ma4s3bz1wvc0s9crd0wbir7-guile-2.2.2.drv",["out"]),("/gnu/store/1wq563kgbhv26f99hq1d2ay7gw8qy3cq-libgc-7.6.0.drv",["out"]),("/gnu/store/2ryhk3mp55dshlgyj53a16x08ifqqlvw-bash-4.4.12.drv",["out"]),("/gnu/store/4rjl58s30zwiahl6ji7bbjxq30yyl9vl-texinfo-6.3.drv",["out"]),("/gnu/store/69b611ifkq1942zvf79d5sszpp8n9w38-libunistring-0.9.7.drv",["out"]),("/gnu/store/94hkgqjvsk689zzhdv9382kh2pkn7mrz-libltdl-2.4.6.drv",["out"]),("/gnu/store/c8zl2wq0jmahcjb2zdf5w5z1i2iangma-guix-gds-release_8.drv",["out"]),("/gnu/store/g2a46givk3s9jlchmq4m1fmnc25qh1c0-git-2.13.1.drv",["out"]),("/gnu/store/hdd0rz201djb0wis4jwrlnjp3kq1f9xq-nss-certs-3.31.drv",["out"]),("/gnu/store/lvkjr70rf8j355igip04z8iglxnl3mkk-guile-ssh-0.11.0.drv",["out"]),("/gnu/store/lw5qrzgh2yxpd58b722ph6f466sn51xm-gmp-6.1.2.drv",["out"]),("/gnu/store/m71zs1cgl0qiyrl5mzrjh60dsg757nvx-guile-2.0.14.drv",["out"]),("/gnu/store/rwgybvpsmrkh6rbz502ac6p6vkfr1jgm-gzip-1.8.drv",["out"]),("/gnu/store/vd7py9zp3s81mg3h0ppm5bkbdcgpn17w-libidn2-0.16.drv",["out"]),("/gnu/store/vk8fhc7x7kc4y6h6gy42idnawxabj8dv-guile2.2-gnutls-3.5.9.drv",["out"]),("/gnu/store/vl1vcbzgplncw4i3sfiglyy1n2ycnwwn-guile-json-0.6.0.drv",["out"]),("/gnu/store/whz1jbvs9ipgkslim63lqw7wdljxlmzg-nettle-3.3.drv",["out"]),("/gnu/store/xdbnmw3kizlx157l76cdb1w6y2kz7yhi-coreutils-8.27.drv",["out"]),("/gnu/store/xs8z1ycvdpmip7rx4xqs8qj56fdblgbk-less-487.drv",["out"]),("/gnu/store/xz2zfvzy2g55wgna0vpwd6zjwfmxn1ms-libtasn1-4.10.drv",["out"])],["/gnu/store/9ywpf5jc12svv04gvbx96j5z1kpllwn4-info-dir-builder"],"x86_64-linux","/gnu/store/3lsfrwlp1qa345x71yw5w49i2mpp0vxm-guile-2.0.14/bin/guile",["--no-auto-compile","/gnu/store/9ywpf5jc12svv04gvbx96j5z1kpllwn4-info-dir-builder"],[("allowSubstitutes","0"),("out","/gnu/store/fnfm2vv9khyxpsnr7ybn8h7ir2l3685y-info-dir"),("preferLocalBuild","1")])

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

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

* bug#28144: info-dir ERROR: no code for module (guix build utils)
  2017-08-22  9:59   ` Christopher Baines
@ 2017-08-22 10:41     ` Ludovic Courtès
  2017-08-22 11:02       ` Christopher Baines
  0 siblings, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2017-08-22 10:41 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 28144

Christopher Baines <mail@cbaines.net> skribis:

> bin/guile",["--no-auto-compile","/gnu/store/9ywpf5jc12svv04gvbx96j5z1kpllwn4-info-dir-builder"]

Something is indeed wrong here.  I have:

--8<---------------cut here---------------start------------->8---
$ cat    /gnu/store/0gn0dxgg68w3yc4ywxp586z98h9l00j3-info-dir.drv
[...] bin/guile",["--no-auto-compile","-L","/gnu/store/l4jxniixlkqpy5aaxhgfp4xywsimd6p2-module-import","-C","/gnu/store/gj3ks9vi1ys3hgr1jzywjx2rq3dsmsbd-module-import-compiled","/gnu/store/m4kyr2isfskss2vkc7hvnbw786kd52v9-info-dir-builder"] [...]
--8<---------------cut here---------------end--------------->8---

Is it reproducible?  Does “make clean-go && make” help?  Is it Guile 2.2
or 2.0?

Thanks,
Ludo’.

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

* bug#28144: info-dir ERROR: no code for module (guix build utils)
  2017-08-22 10:41     ` Ludovic Courtès
@ 2017-08-22 11:02       ` Christopher Baines
  0 siblings, 0 replies; 12+ messages in thread
From: Christopher Baines @ 2017-08-22 11:02 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 28144

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

On Tue, 22 Aug 2017 12:41:26 +0200
ludo@gnu.org (Ludovic Courtès) wrote:

> Christopher Baines <mail@cbaines.net> skribis:
> 
> > bin/guile",["--no-auto-compile","/gnu/store/9ywpf5jc12svv04gvbx96j5z1kpllwn4-info-dir-builder"]  
> 
> Something is indeed wrong here.  I have:
> 
> --8<---------------cut here---------------start------------->8---
> $ cat    /gnu/store/0gn0dxgg68w3yc4ywxp586z98h9l00j3-info-dir.drv
> [...]
> bin/guile",["--no-auto-compile","-L","/gnu/store/l4jxniixlkqpy5aaxhgfp4xywsimd6p2-module-import","-C","/gnu/store/gj3ks9vi1ys3hgr1jzywjx2rq3dsmsbd-module-import-compiled","/gnu/store/m4kyr2isfskss2vkc7hvnbw786kd52v9-info-dir-builder"]
> [...] --8<---------------cut
> here---------------end--------------->8---
> 
> Is it reproducible?  Does “make clean-go && make” help?  Is it Guile
> 2.2 or 2.0?

Unfortunately, I've only run in to this when trying to get other stuff
done, and my approach for working around the problem has been to delete
the guix packages from the store to force them to be rebuilt.

I'd previously guessed that the ...-info-dir-builder was wrong, but
knowing that the command in the derivation is wrong is useful. If I
come across this again, I'll try to investigate further, but I don't
have a way of reproducing this at the moment.

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

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

* bug#28144: info-dir ERROR: no code for module (guix build utils)
  2017-08-19  0:20 bug#28144: info-dir ERROR: no code for module (guix build utils) Christopher Baines
  2017-08-22  8:41 ` Ludovic Courtès
@ 2017-11-13 10:03 ` Ludovic Courtès
  2019-01-28 13:00 ` Brant Gardner
  2019-02-01 19:59 ` Brant Gardner
  3 siblings, 0 replies; 12+ messages in thread
From: Ludovic Courtès @ 2017-11-13 10:03 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 28144

Hello,

Christopher Baines <mail@cbaines.net> skribis:

> The following derivations will be built:
>    /gnu/store/8qi10kwz4ghabdj5p7s252z11snvhhgf-profile.drv
>    /gnu/store/0jxiph2hvmvakcj6gkz9d00a8ncma903-info-dir.drv
> Backtrace:
> In ice-9/boot-9.scm:
>  160: 18 [catch #t #<catch-closure 8c5e00> ...]
> In unknown file:
>    ?: 17 [apply-smob/1 #<catch-closure 8c5e00>]
> In ice-9/boot-9.scm:
>   66: 16 [call-with-prompt prompt0 ...]
> In ice-9/eval.scm:
>  432: 15 [eval # #]
> In ice-9/boot-9.scm:
> 2412: 14 [save-module-excursion #<procedure 8e6940 at ice-9/boot-9.scm:4084:3 ()>]
> 4089: 13 [#<procedure 8e6940 at ice-9/boot-9.scm:4084:3 ()>]
> 1734: 12 [%start-stack load-stack #<procedure 8f0340 at ice-9/boot-9.scm:4080:10 ()>]
> 1739: 11 [#<procedure 8f8c30 ()>]
> In unknown file:
>    ?: 10 [primitive-load "/gnu/store/9ywpf5jc12svv04gvbx96j5z1kpllwn4-info-dir-builder"]
> In ice-9/eval.scm:
>  505: 9 [#<procedure 79c6a0 at ice-9/eval.scm:499:4 (exp)> (begin # # # ...)]
> In ice-9/psyntax.scm:
> 1107: 8 [expand-top-sequence ((begin # # # ...)) () ((top)) ...]
>  990: 7 [scan ((begin (use-modules # # ...) (define # #) ...)) () ...]
>  990: 6 [scan ((use-modules # # ...) (define # #) (define # #) ...) () ...]
>  279: 5 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...]
> In ice-9/boot-9.scm:
> 3622: 4 [process-use-modules ((#) (#) (#) (#))]
>  712: 3 [map #<procedure 8576a0 at ice-9/boot-9.scm:3622:25 (mif-args)> (# # # #)]
> 3623: 2 [#<procedure 8576a0 at ice-9/boot-9.scm:3622:25 (mif-args)> (#)]
> 2903: 1 [resolve-interface (guix build utils) #:select ...]
> In unknown file:
>    ?: 0 [scm-error misc-error #f ...]
>
> ERROR: In procedure scm-error:
> ERROR: no code for module (guix build utils)
> builder for `/gnu/store/0jxiph2hvmvakcj6gkz9d00a8ncma903-info-dir.drv' failed with exit code 1

I’ve just experienced it!

As in your case, info-dir.drv contained no references to
module-import.drv or anything like that, and the ‘guile’ command line
lacked ‘-L …-module-import’.

Then I recompiled guix/profiles.go, and the problem went away.

My guess is that Guile 2.2.2 sometimes mishandles syntax parameters.  In
this case, the syntax param used by ‘with-imported-modules’ was seen as
'() during macro expansion whereas it should have been '((guix build
utils)).

This is very similar to what we see in <https://bugs.gnu.org/27476>.

Ludo’.

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

* bug#28144: info-dir ERROR: no code for module (guix build utils)
  2017-08-19  0:20 bug#28144: info-dir ERROR: no code for module (guix build utils) Christopher Baines
  2017-08-22  8:41 ` Ludovic Courtès
  2017-11-13 10:03 ` Ludovic Courtès
@ 2019-01-28 13:00 ` Brant Gardner
  2019-01-28 18:57   ` Ricardo Wurmus
  2019-02-01 19:59 ` Brant Gardner
  3 siblings, 1 reply; 12+ messages in thread
From: Brant Gardner @ 2019-01-28 13:00 UTC (permalink / raw)
  To: 28144

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

I get this very reproducibly with 'guix pull', starting last week. This is on a pretty simple installation of GuixSD, no extra parameters or unusual environment. Is there anything I gather that would help?

Note: This only seems to happen for the non-root user executing 'guix pull' - so far it has not show for root.

--
Brant Gardner
Key: E9F7 AC51 99A7 C8DF 355D A751 7064 3C93 00C0 FBCE


[-- Attachment #2: Type: text/html, Size: 773 bytes --]

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

* bug#28144: info-dir ERROR: no code for module (guix build utils)
  2019-01-28 13:00 ` Brant Gardner
@ 2019-01-28 18:57   ` Ricardo Wurmus
  2019-01-28 22:04     ` Brant Gardner
  0 siblings, 1 reply; 12+ messages in thread
From: Ricardo Wurmus @ 2019-01-28 18:57 UTC (permalink / raw)
  To: Brant Gardner; +Cc: 28144


Brant Gardner <brantcgardner@brantware.com> writes:

> I get this very reproducibly with 'guix pull', starting last
> week. This is on a pretty simple installation of GuixSD, no extra
> parameters or unusual environment. Is there anything I gather that
> would help?
>
> Note: This only seems to happen for the non-root user executing 'guix
> pull' - so far it has not show for root.

That’s because every user has their own version of Guix.  The root
user’s copy of Guix differs from that of your other user account.

Could you please tell us what “guix describe” and/or “guix --version”
say?  This would help us figure out if we can do something to prevent
this.

You can get out of this problem by using a different variant of Guix to
run “guix pull”, e.g. ~/.config/guix/current-1-link/bin/guix pull.

--
Ricardo

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

* bug#28144: info-dir ERROR: no code for module (guix build utils)
  2019-01-28 18:57   ` Ricardo Wurmus
@ 2019-01-28 22:04     ` Brant Gardner
  2019-01-29 21:14       ` swedebugia
  0 siblings, 1 reply; 12+ messages in thread
From: Brant Gardner @ 2019-01-28 22:04 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 28144

As normal user:

~ % guix describe
guix describe: error: failed to determine origin

~ % guix --version
guix (GNU Guix) 0.16.0-8.7ba2b27
Copyright (C) 2018 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

-----

Root gets very different answers, as you already pointed out I should expect:

root@mercury ~# guix describe
Generation 3    Jan 27 2019 07:33:28    (current)
  guix 4f8be6d
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 4f8be6d905de0ca53275907cce37742287b51111

root@mercury ~# guix --version
guix (GNU Guix) 4f8be6d905de0ca53275907cce37742287b51111
Copyright (C) 2019 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


The path you indicated doesn't exist for me, can I use root's path to the guix executable to perform the pull and fix the normal user?

Thank you,

--
Brant Gardner
Key: E9F7 AC51 99A7 C8DF 355D  A751 7064 3C93 00C0 FBCE

On Mon, Jan 28, 2019, at 12:57, Ricardo Wurmus wrote:
> 
> Brant Gardner <brantcgardner@brantware.com> writes:
> 
> > I get this very reproducibly with 'guix pull', starting last
> > week. This is on a pretty simple installation of GuixSD, no extra
> > parameters or unusual environment. Is there anything I gather that
> > would help?
> >
> > Note: This only seems to happen for the non-root user executing 'guix
> > pull' - so far it has not show for root.
> 
> That’s because every user has their own version of Guix.  The root
> user’s copy of Guix differs from that of your other user account.
> 
> Could you please tell us what “guix describe” and/or “guix --version”
> say?  This would help us figure out if we can do something to prevent
> this.
> 
> You can get out of this problem by using a different variant of Guix to
> run “guix pull”, e.g. ~/.config/guix/current-1-link/bin/guix pull.
> 
> --
> Ricardo
> 
>

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

* bug#28144: info-dir ERROR: no code for module (guix build utils)
  2019-01-28 22:04     ` Brant Gardner
@ 2019-01-29 21:14       ` swedebugia
  2019-01-29 21:17         ` swedebugia
  0 siblings, 1 reply; 12+ messages in thread
From: swedebugia @ 2019-01-29 21:14 UTC (permalink / raw)
  To: 28144

Hi Brant

I moved your reply below. Please avoid top posting.

On 2019-01-28 23:04, Brant Gardner wrote:
> On Mon, Jan 28, 2019, at 12:57, Ricardo Wurmus wrote:
>>

snip

>> Could you please tell us what “guix describe” and/or “guix --version”
>> say?  This would help us figure out if we can do something to prevent
>> this.
>>
>> You can get out of this problem by using a different variant of Guix to
>> run “guix pull”, e.g. ~/.config/guix/current-1-link/bin/guix pull.
> As normal user:
> 
> ~ % guix describe
> guix describe: error: failed to determine origin
> 
> ~ % guix --version
> guix (GNU Guix) 0.16.0-8.7ba2b27
> Copyright (C) 2018 the Guix authors
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> 
> -----
> 
> Root gets very different answers, as you already pointed out I should expect:
> 
> root@mercury ~# guix describe
> Generation 3    Jan 27 2019 07:33:28    (current)
>    guix 4f8be6d
>      repository URL: https://git.savannah.gnu.org/git/guix.git
>      branch: master
>      commit: 4f8be6d905de0ca53275907cce37742287b51111
> 
> root@mercury ~# guix --version
> guix (GNU Guix) 4f8be6d905de0ca53275907cce37742287b51111
> Copyright (C) 2019 the Guix authors
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> 
> 
> The path you indicated doesn't exist for me, can I use root's path to the guix executable to perform the pull and fix the normal user?

Yes if you make sure it and all directories above it is readable by the 
normal user.

-- 
Cheers
Swedebugia

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

* bug#28144: info-dir ERROR: no code for module (guix build utils)
  2019-01-29 21:14       ` swedebugia
@ 2019-01-29 21:17         ` swedebugia
  0 siblings, 0 replies; 12+ messages in thread
From: swedebugia @ 2019-01-29 21:17 UTC (permalink / raw)
  To: 28144

On 2019-01-29 22:14, swedebugia wrote:
> Hi Brant
> 
> I moved your reply below. Please avoid top posting.
> 
> On 2019-01-28 23:04, Brant Gardner wrote:
>> On Mon, Jan 28, 2019, at 12:57, Ricardo Wurmus wrote:
>>>
> 
> snip
> 
>>> Could you please tell us what “guix describe” and/or “guix --version”
>>> say?  This would help us figure out if we can do something to prevent
>>> this.
>>>
>>> You can get out of this problem by using a different variant of Guix to
>>> run “guix pull”, e.g. ~/.config/guix/current-1-link/bin/guix pull.
>> As normal user:
>>
>> ~ % guix describe
>> guix describe: error: failed to determine origin
>>
>> ~ % guix --version
>> guix (GNU Guix) 0.16.0-8.7ba2b27
>> Copyright (C) 2018 the Guix authors
>> License GPLv3+: GNU GPL version 3 or later 
>> <http://gnu.org/licenses/gpl.html>
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.
>>
>> -----
>>
>> Root gets very different answers, as you already pointed out I should 
>> expect:
>>
>> root@mercury ~# guix describe
>> Generation 3    Jan 27 2019 07:33:28    (current)
>>    guix 4f8be6d
>>      repository URL: https://git.savannah.gnu.org/git/guix.git
>>      branch: master
>>      commit: 4f8be6d905de0ca53275907cce37742287b51111
>>
>> root@mercury ~# guix --version
>> guix (GNU Guix) 4f8be6d905de0ca53275907cce37742287b51111
>> Copyright (C) 2019 the Guix authors
>> License GPLv3+: GNU GPL version 3 or later 
>> <http://gnu.org/licenses/gpl.html>
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.
>>
>>
>> The path you indicated doesn't exist for me, can I use root's path to 
>> the guix executable to perform the pull and fix the normal user?
> 
> Yes if you make sure it and all directories above it is readable by the 
> normal user.
> 

Also see this by fredrick in guix-help:
"I didn't have ~/.config/guix/current-1-link/bin/guix, so I ran
/var/guix/profiles/system-1-link/profile/bin/guix pull. That solved the
issue and I can now run "guix pull" and "guix environment guix"
again. Haven't tried "guix package -u" but I would assume that works as
well."

HTH

-- 
Cheers
Swedebugia

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

* bug#28144: info-dir ERROR: no code for module (guix build utils)
  2017-08-19  0:20 bug#28144: info-dir ERROR: no code for module (guix build utils) Christopher Baines
                   ` (2 preceding siblings ...)
  2019-01-28 13:00 ` Brant Gardner
@ 2019-02-01 19:59 ` Brant Gardner
  3 siblings, 0 replies; 12+ messages in thread
From: Brant Gardner @ 2019-02-01 19:59 UTC (permalink / raw)
  To: 28144

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

(Sorry for the top post from before, I've sorted that out now.)

Just wanted to report that using root's path for 'guix-command' worked immediately and my user
profile works fine now.

Thank you!

-- 
Brant Gardner


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2019-02-01 20:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-19  0:20 bug#28144: info-dir ERROR: no code for module (guix build utils) Christopher Baines
2017-08-22  8:41 ` Ludovic Courtès
2017-08-22  9:59   ` Christopher Baines
2017-08-22 10:41     ` Ludovic Courtès
2017-08-22 11:02       ` Christopher Baines
2017-11-13 10:03 ` Ludovic Courtès
2019-01-28 13:00 ` Brant Gardner
2019-01-28 18:57   ` Ricardo Wurmus
2019-01-28 22:04     ` Brant Gardner
2019-01-29 21:14       ` swedebugia
2019-01-29 21:17         ` swedebugia
2019-02-01 19:59 ` Brant Gardner

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.