Found a bug in compute-guix-derivation

  • Done
  • quality assurance status badge
Details
3 participants
  • Josh Marshall
  • Marius Bakke
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Josh Marshall
Severity
normal
J
J
Josh Marshall wrote on 7 Nov 2020 22:33
(address . bug-guix@gnu.org)
CAFkJGRcPevcxwHLseddRSpmv9b9g8_xUGP_b1TJKwyEQd_Ko-Q@mail.gmail.com
Hello all,

When pulling I came across the following which told me to send a report in:

```
anadon@goodadvicemallard:~$ guix pull
Updating channel 'guix' from Git repository at '
Authenticating channel 'guix', commits 9edb3f6 to f900045 (533 new
commits)...
Building from this channel:
substitute:
/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash:
warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
substitute:
/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash:
warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash:
warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash:
warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
downloading from
...
module-import 2KiB 539KiB/s 00:00
[##################] 100.0%

/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash:
warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash:
warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
downloading from
...
module-import-compiled 2.4MiB 61KiB/s 00:41
[##################] 100.0%

/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash:
warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash:
warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
downloading from
...
compute-guix-derivation 860B 286KiB/s 00:00
[##################] 100.0%

substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
@ substituter-started
/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2
/gnu/store/ncknl03pkmamrxg7q9nxi1rn1qhvwbi9-guix-1.0.1/libexec/guix/substitute
/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash:
warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash:
warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
|@ download-started
/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2
14413465
@ download-progress
/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2
14413465 16384
@ download-progress
/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2
14413465 32768
@ download-progress
/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2
14413465 49152
@ download-progress
/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2
14413465 81920
/@ download-progress
/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2
14413465 98304
@ download-progress
/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2
14413465 114688
@ download-progress
/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2
14413465 147456
-@ download-progress
/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2
14413465 163840
\@ download-progress
/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2
14413465 196608
@ download-progress
/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2
14413465 212992
@ download-progress
/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2
14413465 262144
@ download-progress
/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2
14413465 14413465
@ download-succeeded
/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2
14413465

gzip: stdin: unexpected end of file
guix substitute: error: corrupt input while restoring
'/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2/bin/git'
from #{read pipe}#
@ substituter-failed
/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2 256 fetching
path `/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2'
failed with exit code 1
Backtrace:
11 (primitive-load
"/gnu/store/58yx23vgfvx4m1426v0b6xjn8hnnx245-compute-guix-derivation")
In ice-9/eval.scm:
155:9 10 (_ _)
159:9 9 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-user)
7fdb29988f?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ./guix/store.scm:
2042:24 8 (run-with-store #<store-connection 256.99 7fdb27ced050> _
#:guile-for-build _ #:system _ #:target _)
1876:8 7 (_ _)
In ./guix/gexp.scm:
258:18 6 (_ _)
1123:2 5 (_ _)
982:2 4 (_ _)
843:4 3 (_ _)
In ./guix/store.scm:
1924:12 2 (_ #<store-connection 256.99 7fdb27ced050>)
1357:5 1 (map/accumulate-builds #<store-connection 256.99 7fdb27ced050>
_ _)
1368:15 0 (_ #<store-connection 256.99 7fdb27ced050> _ _)

./guix/store.scm:1368:15: ERROR:
1. &store-protocol-error:
message: "some substitutes for the outputs of derivation
`/gnu/store/6kd94qkd2hnkri5hc44vfjvh8b0i5ynl-git-minimal-2.29.2.drv' failed
(usually happens due to networking issues); try `--fallback' to build
derivation from source "
status: 1
guix pull: error: You found a bug: the program
'/gnu/store/58yx23vgfvx4m1426v0b6xjn8hnnx245-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"f9000450b5c881b97a3d507372c19ff366e788ca"; system: "x86_64-linux";
host version: "6a3b4765f9dfcefa89e65406177d3442b7958c28"; pull-version: 1).
Please report it by email to <bug-guix@gnu.org>.
```
Attachment: file
M
M
Marius Bakke wrote on 7 Nov 2020 22:59
87zh3sg75l.fsf@gnu.org
Josh Marshall <joshua.r.marshall.1991@gmail.com> writes:

Toggle quote (9 lines)
> Hello all,
>
> When pulling I came across the following which told me to send a report in:
>
> ```
> anadon@goodadvicemallard:~$ guix pull
> Updating channel 'guix' from Git repository at '
> https://git.savannah.gnu.org/git/guix.git'...

[...]

Toggle quote (4 lines)
> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
> @ substituter-started
> /gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2

[...]

Toggle quote (9 lines)
> gzip: stdin: unexpected end of file
> guix substitute: error: corrupt input while restoring
> '/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2/bin/git'
> from #{read pipe}#
> @ substituter-failed
> /gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2 256 fetching
> path `/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2'
> failed with exit code 1

[...]

Toggle quote (7 lines)
> ./guix/store.scm:1368:15: ERROR:
> 1. &store-protocol-error:
> message: "some substitutes for the outputs of derivation
> `/gnu/store/6kd94qkd2hnkri5hc44vfjvh8b0i5ynl-git-minimal-2.29.2.drv' failed
> (usually happens due to networking issues); try `--fallback' to build
> derivation from source "

Probably this was a transient (network) failure, or is the error
consistent?

And for something completely different:

Toggle quote (2 lines)
> /gnu/store/ncknl03pkmamrxg7q9nxi1rn1qhvwbi9-guix-1.0.1/libexec/guix/substitute

Consider updating the 'root' user Guix (or reconfigure, if you are on
Guix System), to get the latest version of guix-daemon.
-----BEGIN PGP SIGNATURE-----

iQFDBAEBCgAtFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl+nGMYPHG1hcml1c0Bn
bnUub3JnAAoJEKKgbfKjOlT6AAAIALXlDOZcTzulYb+kI5X7cF4OVMOJBGwsvWcz
ujxVO5WKwMpz31aLOJkRVJIne3jd1JA29RFZooLndHjEDLzeDS1JqtxIw8b6DQ+c
UeNRYIhPOvf/9TCSFHbjNNDeXyzAizqt1ko5d/Ui4si0ULhqFQoL8omCHpkTOio+
lgbP7J3R2eNeHNN7qJfq2V45pGbSCegNfWpG1JnQr0nVAKtyUYi4IAbeO5kD70Hn
X6mefXkjvfrTESQOtIOrlINnaXHfj2hBCbdHG5t/oGRM+C6OFNRmhxo+kMvqPM4p
Tl3KEVJ2Jz2p4z0vbbEv0bWSTbTKwLR0bU1xeGsKPrki/l3sVRs=
=hBjK
-----END PGP SIGNATURE-----

J
J
Josh Marshall wrote on 8 Nov 2020 03:18
(name . Marius Bakke)(address . marius@gnu.org)(address . 44508@debbugs.gnu.org)
CAFkJGRcg5BymhDtDZ058h+Bn8MTcD9invRY7e-jALH==S39oBg@mail.gmail.com
It did not repeat, and I'm using it on a hosted system with Ubuntu.

On Sat, Nov 7, 2020 at 4:59 PM Marius Bakke <marius@gnu.org> wrote:

Toggle quote (52 lines)
> Josh Marshall <joshua.r.marshall.1991@gmail.com> writes:
>
> > Hello all,
> >
> > When pulling I came across the following which told me to send a report
> in:
> >
> > ```
> > anadon@goodadvicemallard:~$ guix pull
> > Updating channel 'guix' from Git repository at '
> > https://git.savannah.gnu.org/git/guix.git'...
>
> [...]
>
> > substitute: updating substitutes from 'https://ci.guix.gnu.org'...
> 100.0%
> > @ substituter-started
> > /gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2
>
> [...]
>
> > gzip: stdin: unexpected end of file
> > guix substitute: error: corrupt input while restoring
> > '/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2/bin/git'
> > from #{read pipe}#
> > @ substituter-failed
> > /gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2 256
> fetching
> > path `/gnu/store/4kq9k7cvwmg42hvk71m2kihiasz7x9z8-git-minimal-2.29.2'
> > failed with exit code 1
>
> [...]
>
> > ./guix/store.scm:1368:15: ERROR:
> > 1. &store-protocol-error:
> > message: "some substitutes for the outputs of derivation
> > `/gnu/store/6kd94qkd2hnkri5hc44vfjvh8b0i5ynl-git-minimal-2.29.2.drv'
> failed
> > (usually happens due to networking issues); try `--fallback' to build
> > derivation from source "
>
> Probably this was a transient (network) failure, or is the error
> consistent?
>
> And for something completely different:
>
> >
> /gnu/store/ncknl03pkmamrxg7q9nxi1rn1qhvwbi9-guix-1.0.1/libexec/guix/substitute
>
> Consider updating the 'root' user Guix (or reconfigure, if you are on
> Guix System), to get the latest version of guix-daemon.
>
Attachment: file
M
M
Maxim Cournoyer wrote on 30 Nov 2020 05:25
(name . Josh Marshall)(address . joshua.r.marshall.1991@gmail.com)
878sajmpwq.fsf@gmail.com
Hello,

Josh Marshall <joshua.r.marshall.1991@gmail.com> writes:

Toggle quote (2 lines)
> It did not repeat, and I'm using it on a hosted system with Ubuntu.

Closing as it was likely a transient network-related failure, as Marius
noted.

Thanks for the report,

Maxim
Closed
?
Your comment

This issue is archived.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 44508
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