all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#74925: failed to compute the derivation for Guix
@ 2024-12-17 10:15 Simon Josefsson via Bug reports for GNU Guix
  2024-12-21 15:29 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Josefsson via Bug reports for GNU Guix @ 2024-12-17 10:15 UTC (permalink / raw)
  To: 74925

[-- Attachment #1: Type: text/plain, Size: 3919 bytes --]

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 &)
guix pull --url=https://gitlab.com/debdistutils/guix/mirror.git

Complete output can be shown here:

https://gitlab.com/debdistutils/guix/container/-/jobs/8661689121

GitLab job code here:

https://gitlab.com/debdistutils/guix/container/-/blob/a50ac13449cab37c8eafa88ad0537ecf8051b4e5/.gitlab-ci.yml#L35

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>.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 255 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#74925: failed to compute the derivation for Guix
  2024-12-17 10:15 bug#74925: failed to compute the derivation for Guix Simon Josefsson via Bug reports for GNU Guix
@ 2024-12-21 15:29 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2024-12-21 15:29 UTC (permalink / raw)
  To: Simon Josefsson; +Cc: 74925

Hello,

Simon Josefsson <simon@josefsson.org> skribis:

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

[...]

> 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’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-21 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-17 10:15 bug#74925: failed to compute the derivation for Guix Simon Josefsson via Bug reports for GNU Guix
2024-12-21 15:29 ` Ludovic Courtès

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.