Failed to compute derivation bug

  • Done
  • quality assurance status badge
Details
3 participants
  • Josselin Poiret
  • Joseph Turner
  • zimoun
Owner
unassigned
Submitted by
Joseph Turner
Severity
normal
J
J
Joseph Turner wrote on 13 Dec 2022 03:25
(address . bug-guix@gnu.org)
877cywkpjn.fsf@breatheoutbreathe.in
Building from this channel:
Computing Guix derivation for 'x86_64-linux'... |guix pull: error: You found a bug: the program '/gnu/store/2xp4c2dsiyjpfa
uix-derivation'
failed to compute the derivation for Guix (version: "e84042fdd4ac2f903224e1b5f366537a22b4d593"; system: "x86_64-linux";
host version: "1.2.0"; pull-version: 1).
J
J
Josselin Poiret wrote on 13 Dec 2022 11:19
87edt3fvxh.fsf@jpoiret.xyz
Hi,

Joseph Turner via Bug reports for GNU Guix <bug-guix@gnu.org> writes:

Toggle quote (7 lines)
> Building from this channel:
> guix https://git.savannah.gnu.org/git/guix.git e84042f
> Computing Guix derivation for 'x86_64-linux'... |guix pull: error: You found a bug: the program '/gnu/store/2xp4c2dsiyjpfa
> uix-derivation'
> failed to compute the derivation for Guix (version: "e84042fdd4ac2f903224e1b5f366537a22b4d593"; system: "x86_64-linux";
> host version: "1.2.0"; pull-version: 1).

Your host Guix version seems extremely old (1.2.0). I assume you're
running on a foreign distro? How did you install Guix, and how does the
daemon run?

Best,
--
Josselin Poiret
J
J
Joseph Turner wrote on 13 Dec 2022 19:20
53962425-B9F8-4706-B110-78A11BF490C4@breatheoutbreathe.in
Hello Josselin,

This occurred on a guix installation on a foreign distro, yes. On a VPS I rent, which I recently upgraded to Debian 11. Guix was installed using `apt install guix`.

Thank you!

Joseph

On December 13, 2022 2:19:06 AM PST, Josselin Poiret <dev@jpoiret.xyz> wrote:
Toggle quote (18 lines)
>Hi,
>
>Joseph Turner via Bug reports for GNU Guix <bug-guix@gnu.org> writes:
>
>> Building from this channel:
>> guix https://git.savannah.gnu.org/git/guix.git e84042f
>> Computing Guix derivation for 'x86_64-linux'... |guix pull: error: You found a bug: the program '/gnu/store/2xp4c2dsiyjpfa
>> uix-derivation'
>> failed to compute the derivation for Guix (version: "e84042fdd4ac2f903224e1b5f366537a22b4d593"; system: "x86_64-linux";
>> host version: "1.2.0"; pull-version: 1).
>
>Your host Guix version seems extremely old (1.2.0). I assume you're
>running on a foreign distro? How did you install Guix, and how does the
>daemon run?
>
>Best,
>--
>Josselin Poiret
Attachment: file
J
J
Josselin Poiret wrote on 13 Dec 2022 21:20
878rjbf43q.fsf@jpoiret.xyz
Hi again,

Joseph Turner <joseph@breatheoutbreathe.in> writes:

Toggle quote (2 lines)
> This occurred on a guix installation on a foreign distro, yes. On a VPS I rent, which I recently upgraded to Debian 11. Guix was installed using `apt install guix`.

Didn't think bullseye would be shipping 1.2, you may have better luck
with the bookworm package (1.3.0) or the sid package (1.4.0rc-2). You
can also follow the manual installation procedure from the manual.

Best,
--
Josselin Poiret
Z
Z
zimoun wrote on 15 Dec 2022 11:51
86y1r9c542.fsf@gmail.com
Hi,

On Tue, 13 Dec 2022 at 10:20, Joseph Turner via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

Toggle quote (4 lines)
> This occurred on a guix installation on a foreign distro, yes. On a
> VPS I rent, which I recently upgraded to Debian 11. Guix was installed
> using `apt install guix`.

What are the resources (CPU/RAM/storage) of this rented VPS?


Cheers,
simon
J
J
Joseph Turner wrote on 16 Dec 2022 00:42
(name . zimoun)(address . zimon.toutoune@gmail.com)
87bko4jksv.fsf@breatheoutbreathe.in
Thanks for your help!

zimoun <zimon.toutoune@gmail.com> writes:

Toggle quote (2 lines)
> What are the resources (CPU/RAM/storage) of this rented VPS?

1 core, 1GB ram, 20GB storage

Joseph
J
J
Joseph Turner wrote on 16 Dec 2022 00:55
(name . Josselin Poiret)(address . dev@jpoiret.xyz)(address . 60026@debbugs.gnu.org)
877cysjk1z.fsf@breatheoutbreathe.in
I just tried one more time before upgrading and got this:

Backtrace:
15 (primitive-load "/gnu/store/kb4ygpgdg1db86321s0hq0amclsq11gq-compute-guix-derivation")
In ice-9/eval.scm:
155:9 14 (_ _)
159:9 13 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
152:2 12 (with-fluid* _ _ _)
152:2 11 (with-fluid* _ _ _)
In ./guix/store.scm:
2170:24 10 (run-with-store #<store-connection 256.99 7f22edcfe550> _ #:guile-for-build _ #:system _ #:target _)
1998:8 9 (_ _)
In ./guix/gexp.scm:
299:22 8 (_ _)
1180:2 7 (_ _)
1046:2 6 (_ _)
892:4 5 (_ _)
In ./guix/store.scm:
2055:12 4 (_ #<store-connection 256.99 7f22ed5bac80>)
1403:5 3 (map/accumulate-builds #<store-connection 256.99 7f22ed5bac80> #<procedure 7f22ebec2690 at ./guix/stor?> ?)
1419:15 2 (_ #<store-connection 256.99 7f22ed5bac80> _ _)
739:13 1 (process-stderr _ _)
In unknown file:
0 (display "substitute: \r" #<input-output: socket 11>)

ERROR: In procedure display:
In procedure fport_write: Broken pipe


Josselin Poiret <dev@jpoiret.xyz> writes:

Toggle quote (4 lines)
> Didn't think bullseye would be shipping 1.2, you may have better luck
> with the bookworm package (1.3.0) or the sid package (1.4.0rc-2). You
> can also follow the manual installation procedure from the manual.

If you'd like me explore this issue a bit before upgrading, I'm happy to
hold off.

Joseph
J
J
Joseph Turner wrote on 16 Dec 2022 01:14
(name . zimoun)(address . zimon.toutoune@gmail.com)
87359gjj9p.fsf@breatheoutbreathe.in
zimoun <zimon.toutoune@gmail.com> writes:

Toggle quote (2 lines)
> What are the resources (CPU/RAM/storage) of this rented VPS?

`du -sh /gnu/store` reveals 423M and `du -sh /` reveals 5G. I doubt that
storage is an issue here.
J
J
Joseph Turner wrote on 18 Dec 2022 07:19
(name . zimoun)(address . zimon.toutoune@gmail.com)
87h6xt5ivz.fsf@breatheoutbreathe.in
I upgraded to bookworm, and now instead of throwing an error, the VPS
crashes and closes the ssh connection. In the web console, I saw:

Out of memory: Killed process 1516 (guix)

zimoun <zimon.toutoune@gmail.com> writes:
Toggle quote (2 lines)
> What are the resources (CPU/RAM/storage) of this rented VPS?

You were right, zimoun! Sorry to waste your time!

Have a good day :)

Joseph
Z
Z
zimoun wrote on 19 Dec 2022 11:54
(name . Joseph Turner)(address . joseph@breatheoutbreathe.in)
86len3y87r.fsf@gmail.com
Hi,

On Sat, 17 Dec 2022 at 22:19, Joseph Turner <joseph@breatheoutbreathe.in> wrote:

Toggle quote (2 lines)
> You were right, zimoun! Sorry to waste your time!

No worry. :-)

Can we close this report?

Cheers,
simon
J
J
Joseph Turner wrote on 19 Dec 2022 23:37
(name . zimoun)(address . zimon.toutoune@gmail.com)
87zgbjkojg.fsf@breatheoutbreathe.in
zimoun <zimon.toutoune@gmail.com> writes:
Toggle quote (2 lines)
> Can we close this report?

Yes, thank you!!

Joseph
S
S
Simon Tournier wrote on 20 Dec 2022 00:03
(name . Joseph Turner)(address . joseph@breatheoutbreathe.in)
CAJ3okZ2Avn_ru_b1SYgLAXHXZ0J65TuOxFX3EZpoLPaSPG5tsA@mail.gmail.com
Hi Joseph,

On Mon, 19 Dec 2022 at 23:37, Joseph Turner <joseph@breatheoutbreathe.in> wrote:

Toggle quote (4 lines)
> > Can we close this report?
>
> Yes, thank you!!

For the record -- maybe next time :-) -- for closing, you need to
append -done to the bug number in the email address; as in
<60026-done@debbugs.gnu.org>.


Cheers,
simon
Closed
J
J
Joseph Turner wrote on 20 Dec 2022 02:16
(name . Simon Tournier)(address . zimon.toutoune@gmail.com)
87v8m6lvrf.fsf@breatheoutbreathe.in
Simon Tournier <zimon.toutoune@gmail.com> writes:
Toggle quote (4 lines)
> For the record -- maybe next time :-) -- for closing, you need to
> append -done to the bug number in the email address; as in
> <60026-done@debbugs.gnu.org>.

Good to know! Thank you :)

Joseph
Closed
?