failed to compute the derivation for Guix

  • Open
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Simon Josefsson
Owner
unassigned
Submitted by
Simon Josefsson
Severity
normal
S
S
Simon Josefsson wrote 5 days ago
(address . bug-guix@gnu.org)
87v7viliom.fsf@kaka.sjd.se
Hi

I am running 'guix pull' on arm64 from Debian, and ran into the
backtrace below.

The following commands reproduce it inside a fresh Debian trixie
container in a GitLab shared runner:

apt-get update
apt-get install -y guix podman ca-certificates
(guix-daemon --disable-chroot --build-users-group=_guixbuild &)

Complete output can be shown here:


GitLab job code here:


Any ideas? Some reources problem isn't impossible, the node should have
8 vCPUs, 32GB RAM and 100GB disk.

/Simon

Backtrace:
In guix/scripts/substitute.scm:
856:15 19 (_)
650:2 18 (process-substitution _ _ _ #:cache-urls _ #:acl _ # _ # ?)
In ice-9/boot-9.scm:
1752:10 17 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/substitute.scm:
525:9 16 (download-nar #<<narinfo> path: "/gnu/store/kplxgw9yzz?> ?)
In guix/serialization.scm:
424:4 15 (fold-archive _ _ _ _)
468:33 14 (read "/gnu/store/kplxgw9yzzf09d6vx564fwc316vicwjb-lib?" ?)
468:33 13 (read "/gnu/store/kplxgw9yzzf09d6vx564fwc316vicwjb-lib?" ?)
468:33 12 (read "/gnu/store/kplxgw9yzzf09d6vx564fwc316vicwjb-lib?" ?)
468:33 11 (read "/gnu/store/kplxgw9yzzf09d6vx564fwc316vicwjb-lib?" ?)
442:24 10 (read "/gnu/store/kplxgw9yzzf09d6vx564fwc316vicwjb-lib?" ?)
525:24 9 (_ "/gnu/store/kplxgw9yzzf09d6vx564fwc316vicwjb-libgit?" ?)
In ice-9/ports.scm:
467:11 8 (call-with-output-file "/gnu/store/kplxgw9yzzf09d6vx56?" ?)
In unknown file:
7 (open-file "/gnu/store/kplxgw9yzzf09d6vx564fwc316vicwj?" ?)
In ice-9/boot-9.scm:
1685:16 6 (raise-exception _ #:continuable? _)
1683:16 5 (raise-exception _ #:continuable? _)
1685:16 4 (raise-exception _ #:continuable? _)
1780:13 3 (_ #<&compound-exception components: (#<&error> #<&orig?>)
Backtrace:
18 (primitive-load "/gnu/store/y0a6ck768ixr4zwdn3zg2wvwzn1j2kf6-compute-guix-derivation")
In ice-9/eval.scm:
155:9 17 (_ _)
159:9 16 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
152:2 15 (with-fluid* _ _ _)
152:2 14 (with-fluid* _ _ _)
In ./guix/store.scm:
2210:24 13 (run-with-store #<store-connection 256.99 1e7edc80> #<procedure 2b25cbe0 at ./guix/self.scm:1365:2 (st?> ?)
2038:8 12 (_ #<store-connection 256.99 1e7edc80>)
In ./guix/gexp.scm:
300:22 11 (_ #<store-connection 256.99 1e7edc80>)
1218:2 10 (_ #<store-connection 256.99 1e7edc80>)
1085:2 9 (_ #<store-connection 256.99 1e7edc80>)
926:4 8 (_ #<store-connection 256.99 1e7edc80>)
In ./guix/store.scm:
2095:12 7 (_ #<store-connection 256.99 1e7edc80>)
1437:13 6 (map/accumulate-builds #<store-connection 256.99 1e7edc80> #<procedure 25cd1c20 at ./guix/store.scm:20?> ?)
1433:5 5 (map/accumulate-builds #<store-connection 256.99 1e7edc80> #<procedure 3614d880 at ./guix/store.scm:14?> ?)
1449:15 4 (_ #<store-connection 256.99 1e7edc80> ("/gnu/store/vsv3dax6czpp5xnvks4zm1a2yg694hqv-guix-daemon-1.?" ?) ?)
1449:15 3 (loop #f)
746:11 2 (process-stderr #<store-connection 256.99 1e7edc80> _)
In ./guix/serialization.scm:
101:11 1 (read-int #<input-output: file 10>)
79:6 0 (get-bytevector-n* #<input-output: file 10> 8)
./guix/serialization.scm:79:6: In procedure get-bytevector-n*:
ERROR:
1. &nar-error:
file: #f
port: #<input-output: file 10>
guix pull: error: You found a bug: the program '/gnu/store/y0a6ck768ixr4zwdn3zg2wvwzn1j2kf6-compute-guix-derivation'
failed to compute the derivation for Guix (version: "c3290cee6add60b7e56f5f919d9498d78542790a"; system: "aarch64-linux";
host version: "1.4.0"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix@gnu.org>.
-----BEGIN PGP SIGNATURE-----

iIoEARYIADIWIQSjzJyHC50xCrrUzy9RcisI/kdFogUCZ2FPKRQcc2ltb25Aam9z
ZWZzc29uLm9yZwAKCRBRcisI/kdFor+1AP95a8iszKA2g8N92T/gG5dC0MmfqJHt
EltLoT2Jg8d0DgD/d8fsIP3h5KiT3nXA2X+Ss2TthDSIyX+LuBxz1WqZUA4=
=+J15
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote 22 hours ago
(name . Simon Josefsson)(address . simon@josefsson.org)(address . 74925@debbugs.gnu.org)
87jzbtgikw.fsf@gnu.org
Hello,

Simon Josefsson <simon@josefsson.org> skribis:

Toggle quote (3 lines)
> (guix-daemon --disable-chroot --build-users-group=_guixbuild &)
> guix pull --url=https://gitlab.com/debdistutils/guix/mirror.git

[...]

Toggle quote (17 lines)
> In ./guix/store.scm:
> 2095:12 7 (_ #<store-connection 256.99 1e7edc80>)
> 1437:13 6 (map/accumulate-builds #<store-connection 256.99 1e7edc80> #<procedure 25cd1c20 at ./guix/store.scm:20?> ?)
> 1433:5 5 (map/accumulate-builds #<store-connection 256.99 1e7edc80> #<procedure 3614d880 at ./guix/store.scm:14?> ?)
> 1449:15 4 (_ #<store-connection 256.99 1e7edc80> ("/gnu/store/vsv3dax6czpp5xnvks4zm1a2yg694hqv-guix-daemon-1.?" ?) ?)
> 1449:15 3 (loop #f)
> 746:11 2 (process-stderr #<store-connection 256.99 1e7edc80> _)
> In ./guix/serialization.scm:
> 101:11 1 (read-int #<input-output: file 10>)
> 79:6 0 (get-bytevector-n* #<input-output: file 10> 8)
> ./guix/serialization.scm:79:6: In procedure get-bytevector-n*:
> ERROR:
> 1. &nar-error:
> file: #f
> port: #<input-output: file 10>
> guix pull: error: You found a bug: the program '/gnu/store/y0a6ck768ixr4zwdn3zg2wvwzn1j2kf6-compute-guix-derivation'

Could it be due to guix-daemon not running in a UTF-8 locale?

IOW, does it help if you run:

LC_ALL=C.UTF-8 guix-daemon …

?

Ludo’.
?
Your comment

Commenting via the web interface is currently disabled.

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

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