bug in guix-compute-derivation

  • Open
  • quality assurance status badge
Details
2 participants
  • anemofilia
  • Nick Zalutskiy
Owner
unassigned
Submitted by
anemofilia
Severity
normal
A
A
anemofilia wrote on 16 Jul 2023 06:13
(address . bug-guix@gnu.org)
caf9d0fd43a2c3b698cfaa0c12b44436@disroot.org
Hello, how are you?

Seems that I've found a bug in guix-compute-derivation while running
guix pull in a newly installed guix system. Here's the complete output:

```
Updating channel 'guix' from Git repository at
Building from this channel:
Computing Guix derivation for 'x86_64-linux'... .
..
.
Backtrace:
17 (primitive-load
"/gnu/store/9an9yfwk5vwvisygdd6q69vw9jk8mf9p-compute-guix-derivation")
In ice-9/eval.scm:
155:9 16 (_ _)
159:9 15 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?>
?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
152:2 14 (with-fluid* _ _ _)
152:2 13 (with-fluid* _ _ _)
In ./guix/store.scm:
2168:24 12 (run-with-store #<store-connection 256.99 7f911811b410>
#<procedure 7f9103b9d730 at ./guix/self.scm:13?> ?)
1996:8 11 (_ #<store-connection 256.99 7f911811b410>)
In ./guix/gexp.scm:
299:22 10 (_ #<store-connection 256.99 7f911811b410>)
1180:2 9 (_ #<store-connection 256.99 7f911811b410>)
1046:2 8 (_ #<store-connection 256.99 7f911811b410>)
892:4 7 (_ #<store-connection 256.99 7f911811b410>)
In ./guix/store.scm:
2053:12 6 (_ #<store-connection 256.99 7f911811b410>)
1401:5 5 (map/accumulate-builds #<store-connection 256.99
7f911811b410> #<procedure 7f90fe2f2c00 at ./guix/stor?> ?)
1417:15 4 (_ #<store-connection 256.99 7f911811b410>
("/gnu/store/00lz8100v86nzcbcl9yp1jfd63ianr2z-guix-daemo?" ?) ?)
1417:15 3 (loop #f)
711:11 2 (process-stderr #<store-connection 256.99 7f911811b410> _)
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/9an9yfwk5vwvisygdd6q69vw9jk8mf9p-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"49f74b67a44882d2af0529abf3e60a9c37512f2c"; system: "x86_64-linux";
host version: "1.4.0"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix@gnu.org>.

```

Thanks in advance,
Anemofilia
Attachment: file
N
N
Nick Zalutskiy wrote on 21 Jul 2023 02:07
(address . 64659@debbugs.gnu.org)
75e8861d-c5ee-4940-a27d-30b6ce6ddb34@app.fastmail.com
I've been facing the same issue, not a fresh install in my case.

I'm not sure what the problem is, but forcing `bordeaux.guix.gnu.org as the substitute server to use got me past the issue.`

`> guix pull --substitute-url="https://bordeaux.guix.gnu.org"`

`This link was also helpful and mentions the same error with same backtrace: `https://simon.tournier.info/posts/2023-06-23-hackathon-repro.html

`Best,`

-Nick
Attachment: file
?
Your comment

Commenting via the web interface is currently disabled.

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

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