* failed to compute the derivation for Guix
@ 2021-03-24 2:29 Fredrik Salomonsson
2021-03-24 4:04 ` Leo Famulari
0 siblings, 1 reply; 4+ messages in thread
From: Fredrik Salomonsson @ 2021-03-24 2:29 UTC (permalink / raw)
To: help-guix
Hi,
I've been having issues updating guix the last few days. My laptop went
through after a couple of tries but doesn't seemed to work with my
desktop.
Hitting this error when running `sudo -i guix pull`:
---8<---------------------------------------------------------------------------
Backtrace:
In guix/ui.scm:
2164:12 19 (run-guix-command _ . _)
In guix/scripts/substitute.scm:
652:2 18 (guix-substitute . _)
In unknown file:
17 (with-continuation-barrier #<procedure thunk ()>)
In ice-9/boot-9.scm:
1736:10 16 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
15 (apply-smob/0 #<thunk 7fed7d36dbe0>)
In ice-9/boot-9.scm:
1736:10 14 (with-exception-handler _ _ #:unwind? _ # _)
1736:10 13 (with-exception-handler _ _ #:unwind? _ # _)
1731:15 12 (with-exception-handler #<procedure 7fed7c81a690 at ic?> ?)
In guix/scripts/substitute.scm:
701:17 11 (_)
410:7 10 (process-substitution _ "/gnu/store/w7ilyzvlzlv0mqjrv8?" ?)
In ice-9/boot-9.scm:
1736:10 9 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/substitute.scm:
419:9 8 (_)
In ice-9/boot-9.scm:
1731:15 7 (with-exception-handler #<procedure 7fed7bbd0360 at ic?> ?)
1669:16 6 (raise-exception _ #:continuable? _)
1667:16 5 (raise-exception _ #:continuable? _)
1669:16 4 (raise-exception _ #:continuable? _)
1764:13 3 (_ #<&compound-exception components: (#<&error> #<&irri?>)
1669:16 2 (raise-exception _ #:continuable? _)
1667:16 1 (raise-exception _ #:continuable? _)
/ 1669:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1669:16: In procedure raise-exception:
Throw to key `bad-response' with args `("Bad Response-Line: ~s" (""))'.
Backtrace:
1 (primitive-load "/gnu/store/4wab2nqaavbgkd94rmzqahcw1m2?")
In guix/ui.scm:
2164:12 0 (run-guix-command _ . _)
guix/ui.scm:2164:12: In procedure run-guix-command:
Throw to key `bad-response' with args `("Bad Response-Line: ~s" (""))'.
@ substituter-failed /gnu/store/w7ilyzvlzlv0mqjrv89bb5nhr8ajf27h-guix-daemon-1.2.0-17.ec7fb66 fetching path `/gnu/store/w7ilyzvlzlv0mqjrv89bb5nhr8ajf27h-guix-daemon-1.2.0-17.ec7fb66' (empty status: '')
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
-Backtrace:
14 (primitive-load "/gnu/store/lx1fy4svkv1avz60k7ddjsy59sjycwqk-compute-guix-derivation")
In ice-9/eval.scm:
155:9 13 (_ _)
159:9 12 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-user) 7f81040f3f?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
152:2 11 (with-fluid* _ _ _)
In ./guix/store.scm:
2066:24 10 (run-with-store #<store-connection 256.99 7f8102470e60> _ #:guile-for-build _ #:system _ #:target _)
1900:8 9 (_ _)
In ./guix/gexp.scm:
256:18 8 (_ _)
1136:2 7 (_ _)
1002:2 6 (_ _)
849:4 5 (_ _)
In ./guix/store.scm:
1948:12 4 (_ #<store-connection 256.99 7f8102470e60>)
1362:5 3 (map/accumulate-builds #<store-connection 256.99 7f8102470e60> _ _)
1373:15 2 (_ #<store-connection 256.99 7f8102470e60> _ _)
719:11 1 (process-stderr #<store-connection 256.99 7f8102470e60> _)
In ./guix/serialization.scm:
80:6 0 (read-int #<input-output: file 10>)
./guix/serialization.scm:80:6: In procedure read-int:
ERROR:
1. &nar-error:
file: #f
port: #<input-output: file 10>
guix pull: error: You found a bug: the program '/gnu/store/lx1fy4svkv1avz60k7ddjsy59sjycwqk-compute-guix-derivation'
failed to compute the derivation for Guix (version: "d0429747deb3efcce567c94ac74ac3a48b0f0bd6"; system: "x86_64-linux";
host version: "15b39826ffef7adae2adff459264bfdc5362f320"; pull-version: 1).
Please report it by email to <bug-guix@gnu.org>.
--------------------------------------------------------------------------->8---
---8<---------------------------------------------------------------------------
sudo -i guix describe 1
Generation 42 mar 13 2021 10:03:26 (current)
guix 15b3982
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 15b39826ffef7adae2adff459264bfdc5362f320
--------------------------------------------------------------------------->8---
I've seen a few others on the mailing list having similar issues. But
nothing seems to fix it for me. I've tried `sudo -i guix gc`, moved the
/root/.config/guix directory.
Anyone know what could be wrong?
Thanks
--
s/Fred[re]+i[ck]+/Fredrik/g
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: failed to compute the derivation for Guix
2021-03-24 2:29 failed to compute the derivation for Guix Fredrik Salomonsson
@ 2021-03-24 4:04 ` Leo Famulari
2021-03-24 17:37 ` Fredrik Salomonsson
0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2021-03-24 4:04 UTC (permalink / raw)
To: Fredrik Salomonsson; +Cc: help-guix
On Tue, Mar 23, 2021 at 07:29:41PM -0700, Fredrik Salomonsson wrote:
> -Backtrace:
> 14 (primitive-load "/gnu/store/lx1fy4svkv1avz60k7ddjsy59sjycwqk-compute-guix-derivation")
> In ice-9/eval.scm:
> 155:9 13 (_ _)
> 159:9 12 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-user) 7f81040f3f?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
> In ice-9/boot-9.scm:
> 152:2 11 (with-fluid* _ _ _)
> In ./guix/store.scm:
> 2066:24 10 (run-with-store #<store-connection 256.99 7f8102470e60> _ #:guile-for-build _ #:system _ #:target _)
> 1900:8 9 (_ _)
> In ./guix/gexp.scm:
> 256:18 8 (_ _)
> 1136:2 7 (_ _)
> 1002:2 6 (_ _)
> 849:4 5 (_ _)
> In ./guix/store.scm:
> 1948:12 4 (_ #<store-connection 256.99 7f8102470e60>)
> 1362:5 3 (map/accumulate-builds #<store-connection 256.99 7f8102470e60> _ _)
> 1373:15 2 (_ #<store-connection 256.99 7f8102470e60> _ _)
> 719:11 1 (process-stderr #<store-connection 256.99 7f8102470e60> _)
> In ./guix/serialization.scm:
> 80:6 0 (read-int #<input-output: file 10>)
>
> ./guix/serialization.scm:80:6: In procedure read-int:
> ERROR:
> 1. &nar-error:
> file: #f
> port: #<input-output: file 10>
> guix pull: error: You found a bug: the program '/gnu/store/lx1fy4svkv1avz60k7ddjsy59sjycwqk-compute-guix-derivation'
This looks like bugs #47157 / #47266:
https://bugs.gnu.org/47157
https://bugs.gnu.org/47266
If so, it's a transient networking error caused by problems in Guix
fixed in more recent versions. You'll need to retry `guix pull` until it
succeeds and then restart guix-daemon.
Let us know how it goes!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: failed to compute the derivation for Guix
2021-03-24 4:04 ` Leo Famulari
@ 2021-03-24 17:37 ` Fredrik Salomonsson
2021-03-24 19:31 ` Leo Famulari
0 siblings, 1 reply; 4+ messages in thread
From: Fredrik Salomonsson @ 2021-03-24 17:37 UTC (permalink / raw)
To: Leo Famulari; +Cc: help-guix
Leo Famulari <leo@famulari.name> writes:
> This looks like bugs #47157 / #47266:
>
> https://bugs.gnu.org/47157
> https://bugs.gnu.org/47266
>
> If so, it's a transient networking error caused by problems in Guix
> fixed in more recent versions. You'll need to retry `guix pull` until it
> succeeds and then restart guix-daemon.
>
> Let us know how it goes!
That was it! I justed needed to try 6 more times to have it go through :).
Here's what I did, which is just add a loop around the solution in
https://bugs.gnu.org/47266
---8<---------------------------------------------------------------------------
try=1; while ! guix pull;\
do echo "Attempt $(( try++ )) failed, try again"; \
done && echo "Attempt $try succeeded!" && systemctl restart guix-daemon
--------------------------------------------------------------------------->8---
Thanks!
--
s/Fred[re]+i[ck]+/Fredrik/g
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: failed to compute the derivation for Guix
2021-03-24 17:37 ` Fredrik Salomonsson
@ 2021-03-24 19:31 ` Leo Famulari
0 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2021-03-24 19:31 UTC (permalink / raw)
To: Fredrik Salomonsson; +Cc: help-guix
On Wed, Mar 24, 2021 at 10:37:03AM -0700, Fredrik Salomonsson wrote:
> Leo Famulari <leo@famulari.name> writes:
> > This looks like bugs #47157 / #47266:
> >
> > https://bugs.gnu.org/47157
> > https://bugs.gnu.org/47266
> >
> > If so, it's a transient networking error caused by problems in Guix
> > fixed in more recent versions. You'll need to retry `guix pull` until it
> > succeeds and then restart guix-daemon.
> >
> > Let us know how it goes!
>
> That was it! I justed needed to try 6 more times to have it go through :).
Great! Well, not great that it was broken, but I'm glad it's working now
:)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-03-24 19:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-24 2:29 failed to compute the derivation for Guix Fredrik Salomonsson
2021-03-24 4:04 ` Leo Famulari
2021-03-24 17:37 ` Fredrik Salomonsson
2021-03-24 19:31 ` Leo Famulari
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.