Issue building derivations in 1.4.0

  • Open
  • quality assurance status badge
Details
2 participants
  • Maxim Cournoyer
  • Tom Parker-Shemilt
Owner
unassigned
Submitted by
Tom Parker-Shemilt
Severity
normal
T
T
Tom Parker-Shemilt wrote on 9 Jan 2023 16:20
(address . bug-guix@gnu.org)
CAHSuFOj-eQdvA3APFBquZ_N87ZvRkEZNH4t6j0vsh=pHS7rPvA@mail.gmail.com
==> virtualbox-iso: Backtrace:
==> virtualbox-iso: 18 (primitive-load
"/gnu/store/lzinbzm0hxvnz11c4cin1ml9ybhrg7r5-compute-guix-derivation")
==> virtualbox-iso: In ice-9/eval.scm:
==> virtualbox-iso: 155:9 17 (_ _)
==> virtualbox-iso: 159:9 16 (_
#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?)
?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
==> virtualbox-iso: In ice-9/boot-9.scm:
==> virtualbox-iso: 152:2 15 (with-fluid* _ _ _)
==> virtualbox-iso: 152:2 14 (with-fluid* _ _ _)
==> virtualbox-iso: In ./guix/store.scm:
==> virtualbox-iso: 2170:24 13 (run-with-store #<store-connection
256.99 7f9d80810140> #<procedure 7f9d65ce5460 at ./guix/self.scm:13?>
?)
==> virtualbox-iso: 1998:8 12 (_ #<store-connection 256.99 7f9d80810140>)
==> virtualbox-iso: In ./guix/gexp.scm:
==> virtualbox-iso: 299:22 11 (_ #<store-connection 256.99 7f9d80810140>)
==> virtualbox-iso: 1180:2 10 (_ #<store-connection 256.99 7f9d65cd23c0>)
==> virtualbox-iso: 1046:2 9 (_ #<store-connection 256.99 7f9d65cd23c0>)
==> virtualbox-iso: 892:4 8 (_ #<store-connection 256.99 7f9d65cd23c0>)
==> virtualbox-iso: In ./guix/store.scm:
==> virtualbox-iso: 2055:12 7 (_ #<store-connection 256.99 7f9d65cd23c0>)
==> virtualbox-iso: 1407:13 6 (map/accumulate-builds
#<store-connection 256.99 7f9d65cd23c0> #<procedure 7f9d7416d5e0 at
./guix/stor?> ?)
==> virtualbox-iso: 1407:13 5 (map/accumulate-builds
#<store-connection 256.99 7f9d65cd23c0> #<procedure 7f9d678f2540 at
./guix/stor?> ?)
==> virtualbox-iso: 1407:13 4 (map/accumulate-builds
#<store-connection 256.99 7f9d65cd23c0> #<procedure 7f9d73154a60 at
./guix/stor?> ?)
==> virtualbox-iso: 1407:13 3 (map/accumulate-builds
#<store-connection 256.99 7f9d65cd23c0> #<procedure 7f9d6b7f4da0 at
./guix/stor?> ?)
==> virtualbox-iso: 1403:5 2 (map/accumulate-builds
#<store-connection 256.99 7f9d65cd23c0> #<procedure 7f9d65250be0 at
./guix/stor?> ?)
==> virtualbox-iso: 1419:15 1 (_ #<store-connection 256.99
7f9d65cd23c0> ("/gnu/store/p23y74y51gj4vml3mjlg9swx0gg4k22s-ruby-2.7.7.d?")
?)
==> virtualbox-iso: 1419:15 0 (loop #f)
==> virtualbox-iso:
==> virtualbox-iso: ./guix/store.scm:1419:15: In procedure loop:
==> virtualbox-iso: ERROR:
==> virtualbox-iso: 1. &store-protocol-error:
==> virtualbox-iso: message: "some substitutes for the outputs
of derivation `/gnu/store/p23y74y51gj4vml3mjlg9swx0gg4k22s-ruby-2.7.7.drv'
failed (usually happens due to networking issues); try `--fallback' to
build derivation from source "
==> virtualbox-iso: status: 1
==> virtualbox-iso: guix pull: error: You found a bug: the program
'/gnu/store/lzinbzm0hxvnz11c4cin1ml9ybhrg7r5-compute-guix-derivation'
==> virtualbox-iso: failed to compute the derivation for Guix
(version: "8e2f32cee982d42a79e53fc1e9aa7b8ff0514714"; system:
"x86_64-linux";
==> virtualbox-iso: host version: "1.4.0"; pull-version: 1).
==> virtualbox-iso: Please report the COMPLETE output above by email
to <bug-guix@gnu.org>.
T
T
Tom Parker-Shemilt wrote on 9 Jan 2023 21:31
Re: bug#60694: Acknowledgement (Issue building derivations in 1.4.0)
(address . 60694@debbugs.gnu.org)
CAHSuFOgRKK6Tp+D1xu1nXSt5QjuGjFZfko=zmWvtUjs0a-vkSw@mail.gmail.com
I hit this while running in a low-CPU Virtualbox setup doing some
Packer work on https://github.com/palfrey/guix-vm.I upped the CPU
specs and got another error

==> virtualbox-iso: Backtrace:
==> virtualbox-iso: In ice-9/eval.scm:
==> virtualbox-iso: 155:9 19 (_ _)
==> virtualbox-iso: 159:9 18 (_
#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?)
?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
==> virtualbox-iso: In ice-9/boot-9.scm:
==> virtualbox-iso: 152:2 17 (with-fluid* _ _ _)
==> virtualbox-iso: 152:2 16 (with-fluid* _ _ _)
==> virtualbox-iso: In ./guix/store.scm:
==> virtualbox-iso: 2170:24 15 (run-with-store #<store-connection
256.99 7feccd983140> #<procedure 7fecb41df230 at ./guix/self.scm:13?>
?)
==> virtualbox-iso: 1998:8 14 (_ #<store-connection 256.99 7feccd983140>)
==> virtualbox-iso: In ./guix/gexp.scm:
==> virtualbox-iso: 299:22 13 (_ #<store-connection 256.99 7feccd983140>)
==> virtualbox-iso: 1180:2 12 (_ #<store-connection 256.99 7fecc309a140>)
==> virtualbox-iso: 1046:2 11 (_ #<store-connection 256.99 7fecc309a140>)
==> virtualbox-iso: 892:4 10 (_ #<store-connection 256.99 7fecc309a140>)
==> virtualbox-iso: In ./guix/store.scm:
==> virtualbox-iso: 2055:12 9 (_ #<store-connection 256.99 7fecc309a140>)
==> virtualbox-iso: 1407:13 8 (map/accumulate-builds
#<store-connection 256.99 7fecc309a140> #<procedure 7fecce4e35a0 at
./guix/stor?> ?)
==> virtualbox-iso: 1407:13 7 (map/accumulate-builds
#<store-connection 256.99 7fecc309a140> #<procedure 7fecb0bc55e0 at
./guix/stor?> ?)
==> virtualbox-iso: 1407:13 6 (map/accumulate-builds
#<store-connection 256.99 7fecc309a140> #<procedure 7feccec42840 at
./guix/stor?> ?)
==> virtualbox-iso: 1403:5 5 (map/accumulate-builds
#<store-connection 256.99 7fecc309a140> #<procedure 7fecb50a78e0 at
./guix/stor?> ?)
==> virtualbox-iso: 1419:15 4 (_ #<store-connection 256.99
7fecc309a140> ("/gnu/store/hvjrj0dmfjfh95wr5xn1hgwyw2nyaqlc-subversion?"
?) ?)
==> virtualbox-iso: 1419:15 3 (loop #f)
==> virtualbox-iso: 713:11 2 (process-stderr #<store-connection
256.99 7fecc309a140> _)
==> virtualbox-iso: In ./guix/serialization.scm:
==> virtualbox-iso: 102:11 1 (read-int #<input-output: file 10>)
==> virtualbox-iso: 80:6 0 (get-bytevector-n* #<input-output: file 10> 8)
==> virtualbox-iso:
==> virtualbox-iso: ./guix/serialization.scm:80:6: In procedure
get-bytevector-n*:
==> virtualbox-iso: ERROR:
==> virtualbox-iso: 1. &nar-error:
==> virtualbox-iso: file: #f
==> virtualbox-iso: port: #<input-output: file 10>
==> virtualbox-iso: guix pull: error: You found a bug: the program
'/gnu/store/lzinbzm0hxvnz11c4cin1ml9ybhrg7r5-compute-guix-derivation'
==> virtualbox-iso: failed to compute the derivation for Guix
(version: "8e2f32cee982d42a79e53fc1e9aa7b8ff0514714"; system:
"x86_64-linux";
==> virtualbox-iso: host version: "1.4.0"; pull-version: 1).
==> virtualbox-iso: Please report the COMPLETE output above by email
to <bug-guix@gnu.org>.

On Mon, 9 Jan 2023 at 18:34, GNU bug Tracking System
<help-debbugs@gnu.org> wrote:
Toggle quote (22 lines)
>
> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
> bug-guix@gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 60694@debbugs.gnu.org.
>
> Please do not send mail to help-debbugs@gnu.org unless you wish
> to report a problem with the Bug-tracking system.
>
> --
> 60694: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60694
> GNU Bug Tracking System
> Contact help-debbugs@gnu.org with problems
M
M
Maxim Cournoyer wrote on 13 Jan 2023 04:35
Re: bug#60694: Issue building derivations in 1.4.0
(name . Tom Parker-Shemilt)(address . palfrey@tevps.net)(address . 60694@debbugs.gnu.org)
87tu0vf6ns.fsf@gmail.com
Hi,

Tom Parker-Shemilt <palfrey@tevps.net> writes:

[...]

Toggle quote (17 lines)
> ==> virtualbox-iso: ./guix/store.scm:1419:15: In procedure loop:
> ==> virtualbox-iso: ERROR:
> ==> virtualbox-iso: 1. &store-protocol-error:
> ==> virtualbox-iso: message: "some substitutes for the outputs
> of derivation `/gnu/store/p23y74y51gj4vml3mjlg9swx0gg4k22s-ruby-2.7.7.drv'
> failed (usually happens due to networking issues); try `--fallback' to
> build derivation from source "
> ==> virtualbox-iso: status: 1
> ==> virtualbox-iso: guix pull: error: You found a bug: the program
> '/gnu/store/lzinbzm0hxvnz11c4cin1ml9ybhrg7r5-compute-guix-derivation'
> ==> virtualbox-iso: failed to compute the derivation for Guix
> (version: "8e2f32cee982d42a79e53fc1e9aa7b8ff0514714"; system:
> "x86_64-linux";
> ==> virtualbox-iso: host version: "1.4.0"; pull-version: 1).
> ==> virtualbox-iso: Please report the COMPLETE output above by email
> to <bug-guix@gnu.org>.

How much memory (RAM) do you have available on the machine?

Guix pull consumes close to 2 GiB peak, if I recall correctly.

--
Thanks,
Maxim
T
T
Tom Parker-Shemilt wrote on 16 Jan 2023 14:55
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)(address . 60694@debbugs.gnu.org)
CAHSuFOh0Bq4YC-BEgkrFidruY-=y5Ovf=nfNgQXEr-Op2cMY5w@mail.gmail.com
On Fri, 13 Jan 2023 at 03:35, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:

Toggle quote (4 lines)
> How much memory (RAM) do you have available on the machine?
>
> Guix pull consumes close to 2 GiB peak, if I recall correctly.

That was with 4GB. Tried upping to 8GB and now getting a different
error. My channels.scm is

(list (channel
(name 'guix)
(url "git://git.savannah.gnu.org/guix.git")
(commit "8e2f32cee982d42a79e53fc1e9aa7b8ff0514714"); tag v1.4.0
(introduction (make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad" ;2020-05-26
(openpgp-fingerprint
"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))))

==> virtualbox-iso: guix system: error: aborting reconfiguration
because commit 8e2f32cee982d42a79e53fc1e9aa7b8ff0514714 of channel
'guix' is not a descendant of 989a3916dc8967bcb7275f10452f89bc6c3389cc
==> virtualbox-iso: hint: Backtrace:
==> virtualbox-iso: In guix/ui.scm:
==> virtualbox-iso: 2275:7 19 (run-guix . _)
==> virtualbox-iso: 2238:10 18 (run-guix-command _ . _)
==> virtualbox-iso: In ice-9/boot-9.scm:
==> virtualbox-iso: 1752:10 17 (with-exception-handler _ _ #:unwind? _ # _)
==> virtualbox-iso: In guix/status.scm:
==> virtualbox-iso: 835:3 16 (_)
==> virtualbox-iso: 815:4 15 (call-with-status-report _ _)
==> virtualbox-iso: In guix/scripts/system.scm:
==> virtualbox-iso: 1281:4 14 (_)
==> virtualbox-iso: In ice-9/boot-9.scm:
==> virtualbox-iso: 1752:10 13 (with-exception-handler _ _ #:unwind? _ # _)
==> virtualbox-iso: In guix/store.scm:
==> virtualbox-iso: 661:37 12 (thunk)
==> virtualbox-iso: 1300:8 11 (call-with-build-handler #<procedure
7f4224220990 at g…> …)
==> virtualbox-iso: 2170:25 10 (run-with-store #<store-connection
256.99 7f4224010780> …)
==> virtualbox-iso: In guix/scripts/system.scm:
==> virtualbox-iso: 1305:15 9 (_ _)
==> virtualbox-iso: 835:5 8 (perform-action reconfigure #<<image>
name: #f format:…> …)
==> virtualbox-iso: In srfi/srfi-1.scm:
==> virtualbox-iso: 634:9 7 (for-each #<procedure 7f42203ef4e0 at
guix/scripts/sys…> …)
==> virtualbox-iso: In ice-9/boot-9.scm:
==> virtualbox-iso: 1685:16 6 (raise-exception _ #:continuable? _)
==> virtualbox-iso: 1685:16 5 (raise-exception _ #:continuable? _)
==> virtualbox-iso: In guix/ui.scm:
==> virtualbox-iso: 802:16 4 (_ _)
==> virtualbox-iso: 311:42 3 (display-hint "Use
@option{--allow-downgrades} to forc…" …)
==> virtualbox-iso: In ice-9/boot-9.scm:
==> virtualbox-iso: 1747:15 2 (with-exception-handler #<procedure
7f42203f2300 at ic…> …)
==> virtualbox-iso: In guix/build/syscalls.scm:
==> virtualbox-iso: 2299:35 1 (_)
==> virtualbox-iso: 2288:8 0 (terminal-window-size _)
M
M
Maxim Cournoyer wrote on 16 Jan 2023 17:33
(name . Tom Parker-Shemilt)(address . palfrey@tevps.net)(address . 60694@debbugs.gnu.org)
87358a8mnk.fsf@gmail.com
Hi,

Tom Parker-Shemilt <palfrey@tevps.net> writes:

Toggle quote (9 lines)
> On Fri, 13 Jan 2023 at 03:35, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
>
>> How much memory (RAM) do you have available on the machine?
>>
>> Guix pull consumes close to 2 GiB peak, if I recall correctly.
>
> That was with 4GB. Tried upping to 8GB and now getting a different
> error. My channels.scm is

That should be more than enough for 'guix pull'.

Toggle quote (13 lines)
> (list (channel
> (name 'guix)
> (url "git://git.savannah.gnu.org/guix.git")
> (commit "8e2f32cee982d42a79e53fc1e9aa7b8ff0514714"); tag v1.4.0
> (introduction (make-channel-introduction
> "9edb3f66fd807b096b48283debdcddccfea34bad" ;2020-05-26
> (openpgp-fingerprint
> "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))))
>
> ==> virtualbox-iso: guix system: error: aborting reconfiguration
> because commit 8e2f32cee982d42a79e53fc1e9aa7b8ff0514714 of channel
> 'guix' is not a descendant of 989a3916dc8967bcb7275f10452f89bc6c3389cc

It looks like you have inverted the introduction and Guix commit?
989a3916dc8967bcb7275f10452f89bc6c3389cc corresponds to v1.4.0.

--
Thanks,
Maxim
?
Your comment

Commenting via the web interface is currently disabled.

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

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