Cryptic error in 'guix pull' arising from misconfigured channel

  • Done
  • quality assurance status badge
Details
3 participants
  • Giovanni Biscuolo
  • Mark H Weaver
  • Adam Kandur
Owner
unassigned
Submitted by
Adam Kandur
Severity
normal
A
A
Adam Kandur wrote on 30 Aug 2020 20:02
(name . Bug Guix)(address . bug-guix@gnu.org)
MG-XC3_--3-2@tuta.io
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@gnu.org>.
G
G
Giovanni Biscuolo wrote on 31 Aug 2020 10:03
87a6ybdyyy.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me
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@gnu.org> writes:

Toggle quote (46 lines)
> 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@gnu.org>.
>
>
>
>
--
Giovanni Biscuolo

Xelera IT Infrastructures
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAl9MrrUACgkQ030Op87M
ORJ8vRAAlKSfbDQlviWDP4+jeZTjXQVLmFXMaXtuLxVsw/X883HPIlju3ZVGJEWt
l7MuF5VcWKmtiaiPAwENiMCXkMlVSMtE7IPceHC3AUm521AcmBQ1V7O4SKSuy8rv
AgYFHdttjAdA1Md6175FnbO0IFQCDWX8Y6urxTOCpKfJrbnvNDEwxnud7bey71lx
iJX6ruewB7x3Unvh+OUJnc/oPXSPy1qLIcpW3ZQ0y/u6QEi+ovECYDiIKa1cy+NF
fhit22xGrKGxe7/PMwn/Qvi3SGsVVMB/FNBibdiBOzCoYipEA8/TycI5L7G7oiCg
Rm3jfLGjlg2aneXScSOo+WsgErFxkrPL+nbmQh7ozu6xCfWrTl571V1zesu1jKSp
d7hiNQYgsVXlhyA0kbnQN8MC8eH41OyGQNOcauZ2uupapPLO6Vv5EyaLb6cooHn7
aWY0DBZW4BqaAhA5nDCHfsr355+MJvO8ATi0xILje0yFNkO8OXPbYVW6QDKcuMam
Ju7t4zn3kR+d0khkI1Rc+rxkngA1c1+gD0dME0b0UgEInp2gDd2dnaD0/duPhaUJ
suiFN+En/CxM8pVNStWh5y2b3K5DgikFYPekySPL2rH2pMcLFAgrnaHygR4AbgYi
mhFnLxK1VtoqeSY+SvlQZIHwNbfbacBn5dRTaB3vmHG9nx+5Qvs=
=i70Q
-----END PGP SIGNATURE-----

G
G
Giovanni Biscuolo wrote on 31 Aug 2020 12:50
(address . 43118-done@debbugs.gnu.org)
87sgc3ccnc.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me
(quoting Adam's message sent only to my email address)

Adam Kandur <rndd@tuta.io> writes:

Toggle quote (11 lines)
> 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?

Toggle quote (3 lines)
>>> 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
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAl9M1fcACgkQ030Op87M
ORJ6UQ//bPXGMP82l0jyuS6v77VdlZIjawVgY2iJf61mIYVBd2RuASIiOrsPJijl
f8KxiMv1SKUZKGFnrKl1u08RfPF/vN/ic5x5BP+fcWAI5eCSNzae+SLgS49hf+y1
NbIpkCoGPWjYMJnrJKx/ceq0jbE5ztz+mp0B8OdtkalNO/hteQwQ5fA/8VpsrJ20
EA4RwVRgMNCy20jj99Sls+t+awBNrIyv7EPpoSGn9/5V+xrpJ7gr2zbQaH8Tu07c
SWT1w75gpsIrDpYa5/wutNJY3rrXWbaO+QV+96Ie5pVU/uRCv0PTs5uePjCOibHO
18sJSZhZ8mlLe69oKNI89jXdudvIj1weo37ME/u+YdZGEyveMqND1cLQahkHwjc2
F82res/0TgUEvwsmj18UDput5KVLSIquHCqvywydrWKSBECrTd+rROFyTtCFr+Tm
swChhbhueikAtLvhToGlrW3S3DHNbtUD6InF2Ih2bUeZRR4F6Kj3GPU/r4yJnKrh
7WPPurQRupqhXa8zi+30YIzuEVUki8YV18zbrv+whGKTxWblO0W5M8WkSIvrrBVi
getlKLOrHmVoy+n2jYq+GU2wjI9kbPGEb11QBjKDEU3P4ckmpsQBnUAcAFBONWI2
RWcEm95zNPHesfhbcUuZAw088Rof37pFX6Fus5yfvbkUBQixogg=
=acL5
-----END PGP SIGNATURE-----

Closed
M
M
Mark H Weaver wrote on 31 Aug 2020 22:45
(no subject)
(address . control@debbugs.gnu.org)
87ft82v91z.fsf@netris.org
retitle 43118 Cryptic error in 'guix pull' arising from misconfigured channel
thanks
?
Your comment

This issue is archived.

To comment on this conversation send an email to 43118@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 43118
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch