GNU bug report logs - #43118
Cryptic error in 'guix pull' arising from misconfigured channel

Previous Next

Package: guix;

Reported by: Adam Kandur <rndd <at> tuta.io>

Date: Sun, 30 Aug 2020 18:03:01 UTC

Severity: normal

Done: Giovanni Biscuolo <g <at> xelera.eu>

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 43118 in the body.
You can then email your comments to 43118 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#43118; Package guix. (Sun, 30 Aug 2020 18:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adam Kandur <rndd <at> tuta.io>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 30 Aug 2020 18:03:02 GMT) Full text and rfc822 format available.

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

From: Adam Kandur <rndd <at> tuta.io>
To: Bug Guix <bug-guix <at> gnu.org>
Date: Sun, 30 Aug 2020 20:02:23 +0200 (CEST)
Computing Guix derivation for 'x86_64-linux'... /Backtrace:
In ./guix/store.scm:
  2026:24 19 (run-with-store #<store-connection 256.99 7fcaa6de05f0> _ #:guile-for-build _ #:system _ #:target _)
   1860:8 18 (_ _)
In ./guix/gexp.scm:
   243:18 17 (_ _)
   1061:2 16 (_ _)
    921:2 15 (_ _)
    782:4 14 (_ _)
In ./guix/store.scm:
  1908:12 13 (_ #<store-connection 256.99 7fcaa6de05f0>)
   1341:2 12 (map/accumulate-builds #<store-connection 256.99 7fcaa6de05f0> _ _)
In srfi/srfi-1.scm:
   586:17 11-(map1 ((#<<file-mapping> name: "guix-misc" alist: (("etc/bash_completion.d/guix" #<<local-file> f?> ?) ?))
In ./guix/store.scm:
   1300:8 10 (call-with-build-handler #<procedure build-accumulator (continue store things mode)> _)
  2026:24  9 (run-with-store #<store-connection 256.99 7fcaa6de05f0> #<procedure 7fca9cb56080 at ./guix/gexp.scm:78?> ?)
In ./guix/gexp.scm:
   785:13  8 (_ _)
In ./guix/store.scm:
  1860:13  7 (_ _)
In ./guix/gexp.scm:
   243:47  6 (_)
In ./guix/self.scm:
    94:18  5 (_ #<<file-mapping> name: "guix-misc" alist: (("etc/bash_completion.d/guix" #<<local-file> file: "/gnu?> ?)
In srfi/srfi-1.scm:
   586:17  4 (map1 (("etc/bash_completion.d/guix" #<<local-file> file: "/gnu/store/yagf0l2pmxkj0zwd48rq2cla9w5y?>) ?))
In ./guix/self.scm:
    97:32  3 (_ _)
In unknown file:
           2 (force #<promise #<procedure 7fca9cb56640 at ./guix/self.scm:214:5 ()>>)
In ./guix/self.scm:
    214:5  1 (_)
In unknown file:
           0 (getcwd)

ERROR: In procedure getcwd:
In procedure getcwd: No such file or directory
guix pull: error: You found a bug: the program '/gnu/store/j6xq9akndfrh1n0zcq7blbshg6l9acca-compute-guix-derivation'
failed to compute the derivation for Guix (version: "b39541859dcef62fef174392092a456b03a15498"; system: "x86_64-linux";
host version: "71a85fedcdf0232e5eae69af6cc139a8aafaea10"; pull-version: 1).
Please report it by email to <bug-guix <at> gnu.org>.





Information forwarded to bug-guix <at> gnu.org:
bug#43118; Package guix. (Mon, 31 Aug 2020 08:04:01 GMT) Full text and rfc822 format available.

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

From: Giovanni Biscuolo <g <at> xelera.eu>
To: Adam Kandur <rndd <at> tuta.io>, 43118 <at> debbugs.gnu.org
Subject: Re: bug#43118:
Date: Mon, 31 Aug 2020 10:03:01 +0200
[Message part 1 (text/plain, inline)]
Hi Adam,

please can you provide us some context information about this bug
report?

How did you installed Guix?

What's the command that's failing with this backtrace?

Thanks, Gio'

Adam Kandur via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:

> Computing Guix derivation for 'x86_64-linux'... /Backtrace:
> In ./guix/store.scm:
>   2026:24 19 (run-with-store #<store-connection 256.99 7fcaa6de05f0> _ #:guile-for-build _ #:system _ #:target _)
>    1860:8 18 (_ _)
> In ./guix/gexp.scm:
>    243:18 17 (_ _)
>    1061:2 16 (_ _)
>     921:2 15 (_ _)
>     782:4 14 (_ _)
> In ./guix/store.scm:
>   1908:12 13 (_ #<store-connection 256.99 7fcaa6de05f0>)
>    1341:2 12 (map/accumulate-builds #<store-connection 256.99 7fcaa6de05f0> _ _)
> In srfi/srfi-1.scm:
>    586:17 11-(map1 ((#<<file-mapping> name: "guix-misc" alist: (("etc/bash_completion.d/guix" #<<local-file> f?> ?) ?))
> In ./guix/store.scm:
>    1300:8 10 (call-with-build-handler #<procedure build-accumulator (continue store things mode)> _)
>   2026:24  9 (run-with-store #<store-connection 256.99 7fcaa6de05f0> #<procedure 7fca9cb56080 at ./guix/gexp.scm:78?> ?)
> In ./guix/gexp.scm:
>    785:13  8 (_ _)
> In ./guix/store.scm:
>   1860:13  7 (_ _)
> In ./guix/gexp.scm:
>    243:47  6 (_)
> In ./guix/self.scm:
>     94:18  5 (_ #<<file-mapping> name: "guix-misc" alist: (("etc/bash_completion.d/guix" #<<local-file> file: "/gnu?> ?)
> In srfi/srfi-1.scm:
>    586:17  4 (map1 (("etc/bash_completion.d/guix" #<<local-file> file: "/gnu/store/yagf0l2pmxkj0zwd48rq2cla9w5y?>) ?))
> In ./guix/self.scm:
>     97:32  3 (_ _)
> In unknown file:
>            2 (force #<promise #<procedure 7fca9cb56640 at ./guix/self.scm:214:5 ()>>)
> In ./guix/self.scm:
>     214:5  1 (_)
> In unknown file:
>            0 (getcwd)
>
> ERROR: In procedure getcwd:
> In procedure getcwd: No such file or directory
> guix pull: error: You found a bug: the program '/gnu/store/j6xq9akndfrh1n0zcq7blbshg6l9acca-compute-guix-derivation'
> failed to compute the derivation for Guix (version: "b39541859dcef62fef174392092a456b03a15498"; system: "x86_64-linux";
> host version: "71a85fedcdf0232e5eae69af6cc139a8aafaea10"; pull-version: 1).
> Please report it by email to <bug-guix <at> gnu.org>.
>
>
>
>
-- 
Giovanni Biscuolo

Xelera IT Infrastructures
[signature.asc (application/pgp-signature, inline)]

Reply sent to Giovanni Biscuolo <g <at> xelera.eu>:
You have taken responsibility. (Mon, 31 Aug 2020 10:51:02 GMT) Full text and rfc822 format available.

Notification sent to Adam Kandur <rndd <at> tuta.io>:
bug acknowledged by developer. (Mon, 31 Aug 2020 10:51:02 GMT) Full text and rfc822 format available.

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

From: Giovanni Biscuolo <g <at> xelera.eu>
To: 43118-done <at> debbugs.gnu.org
Subject: Re: bug#43118:
Date: Mon, 31 Aug 2020 12:50:31 +0200
[Message part 1 (text/plain, inline)]
(quoting Adam's message sent only to my email address)

Adam Kandur <rndd <at> tuta.io> writes:

> Hi Giovanni,

> i got this error after "guix pull -C /my/file/".

> the problem is that one of channels i've described in channels.scm
> (file:///to/local/channnel) has wrong path to channel. so there was no
> channel directory in (url ...).

> after putting channel in directory i mentioned in channel.scm,
> everything worked.

Fine! I'm going to close this bug report as resolved: OK?

>>> ERROR: In procedure getcwd:
>>> In procedure getcwd: No such file or directory

Probably the error is a little bit cryptic about what's the missing file
or directory, but that was the issue.

[...]

Best regards. Gio'

-- 
Giovanni Biscuolo

Xelera IT Infrastructures
[signature.asc (application/pgp-signature, inline)]

Set bug title to 'Cryptic error in 'guix pull' arising from misconfigured channel'. Request was from Mark H Weaver <mhw <at> netris.org> to control <at> debbugs.gnu.org. (Mon, 31 Aug 2020 20:47:02 GMT) Full text and rfc822 format available.

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

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

Previous Next


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