Subject: bug#48395: "You found a bug" in compute-guix-derivation

From: raid5atemyhomework <[email-masked]>
Date: Thu, 13 May 2021 07:59:29 +0000

```
$ guix pull
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 696cf48 (27 new commits)...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git   696cf48
substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'... 100.0%
substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'... 100.0%
substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'... 100.0%
 module-import  2KiB                                                                                                                                127KiB/s 00:00 [##################] 100.0%
 module-import-compiled  1.8MiB                                                                                                                     953KiB/s 00:02 [##################] 100.0%
 compute-guix-derivation  1004B                                                                                                                     173KiB/s 00:00 [##################] 100.0%
substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'... 100.0%
substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'... 100.0%
substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'... 100.0%
 bash  513KiB                                                                                                                                     269.4MiB/s 00:00 [##################] 100.0%
 guile-3.0.7.tar.xz  12.6MiB                                                                                                                       28.9MiB/s 00:00 [##################] 100.0%
 guile-json-3.5.0  46KiB                                                                                                                           71.0MiB/s 00:00 [##################] 100.0%
 guix-1.3.0-1.771b866-checkout  8.4MiB                                                                                                              3.5MiB/s 00:02 [##################] 100.0%
 libgc-8.0.4  237KiB                                                                                                                              202.8MiB/s 00:00 [##################] 100.0%
 mkdir  312KiB                                                                                                                                    473.3MiB/s 00:00 [##################] 100.0%
 tar  578KiB                                                                                                                                        1.1MiB/s 00:01 [##################] 100.0%
 xz  323KiB                                                                                                                                         1.3MiB/s 00:00 [##################] 100.0%
building /gnu/store/l3k1n1d8zxni80jpxxgzjqrg5yzaj7sl-guile-3.0.7.drv...
- 'check' phasebuilder for `/gnu/store/l3k1n1d8zxni80jpxxgzjqrg5yzaj7sl-guile-3.0.7.drv' failed with exit code 1
Backtrace:
          13 (primitive-load "/gnu/store/2pwr6pr8x583x0fl1wlr9cah6nr46fkk-compute-guix-derivation")
In ice-9/eval.scm:
    155:9 12 (_ _)
    159:9 11 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
    152:2 10 (with-fluid* _ _ _)
    152:2  9 (with-fluid* _ _ _)
In ./guix/store.scm:
  2076:24  8 (run-with-store #<store-connection 256.99 7f4ce3c563c0> _ #:guile-for-build _ #:system _ #:target _)
   1910:8  7 (_ _)
In ./guix/gexp.scm:
   256:18  6 (_ _)
   1137:2  5 (_ _)
   1003:2  4 (_ _)
    849:4  3 (_ _)
In ./guix/store.scm:
  1958:12  2 (_ #<store-connection 256.99 7f4ce3c563c0>)
   1372:5  1 (map/accumulate-builds #<store-connection 256.99 7f4ce3c563c0> _ _)
  1383:15  0 (_ #<store-connection 256.99 7f4ce3c563c0> _ _)

./guix/store.scm:1383:15: ERROR:
  1. &store-protocol-error:
      message: "build of `/gnu/store/qn3022kzrgwzyh1g551zz2yx7n61c8cr-guix-daemon-1.3.0-1.771b866.drv' failed"
      status: 100
guix pull: error: You found a bug: the program '/gnu/store/2pwr6pr8x583x0fl1wlr9cah6nr46fkk-compute-guix-derivation'
failed to compute the derivation for Guix (version: "696cf48b98ad4ef03c88cdb5a83c739618c8fa16"; system: "x86_64-linux";
host version: "b7cbca221f74e9e9ef43c228dca9fa9930babec5"; pull-version: 1).
Please report it by email to <[email-masked]>.
```