Subject: bug#58787: [BUG] - gnutls wont build on armv7

From: Elijah Beale <[email-masked]>
Date: Tue, 25 Oct 2022 13:19:55 -0400

Hello, I've hit the following error / bug trying to run `guix pull`:

kernel info: Linux alarm 4.14.180-3-ARCH #1 SMP PREEMPT Sat Jun 5 22:29:47
UTC 2021 armv7l GNU/Linux
foreign distro: archlinuxarm
platform: odroid xu4 / armv7

```
building /gnu/store/sq3w2hk9z1va6q2dbjg16mi0afw64q9b-*gnutls-3.7.7*.drv...
\ 'build' phas|Backtrace:
          15 (primitive-load
"/gnu/store/5f66y3b6n3v8k00c8d0p3sx206fws2y0-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 b16c2cf8> _
#: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 b039cc08>)
   1403:5  3 (map/accumulate-builds #<store-connection 256.99 b039cc08>
#<procedure afe640f0 at ./guix/store.scm:20?> ?)
  1419:15  2 (_ #<store-connection 256.99 b039cc08> _ _)
   713:11  1 (process-stderr #<store-connection 256.99 b039cc08> _)
In ./guix/serialization.scm:
     80:6  0 (read-int #<input-output: file 10>)

./guix/serialization.scm:80:6: In procedure read-int:
ERROR:
  1. &nar-error:
      file: #f
      port: #<input-output: file 10>
guix pull: error: You found a bug: the program
'/gnu/store/5f66y3b6n3v8k00c8d0p3sx206fws2y0-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"a0751e3250dfea7e52468c8090e18c3118d93a60"; system: "armhf-linux";
host version: "1.3.0"; pull-version: 1).
```

-- 
Best,

Elijah Beale