Subject: Bug
From: Sjors Provoost <[email-masked]>
To: [email-masked]
Date: Tue, 5 Sep 2023 11:16:09 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

While testing: https://github.com/bitcoin/bitcoin/pull/27099

But it's been a few months since I last ran a Guix build. The machine is an AMD running Ubuntu 23.04

----

$ HOSTS='x86_64-apple-darwin arm64-apple-darwin' ./contrib/guix/guix-build || echo -e "\a"
Found macOS SDK at '/home/guix/SDKs/Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers', using...
Checking that we can connect to the guix-daemon...

Hint: If this hangs, you may want to try turning your guix-daemon off and on
      again.

make: Entering directory '/home/guix/bitcoin/depends'
make[1]: Entering directory '/home/guix/bitcoin/depends'
Fetching clang+llvm-15.0.6-x86_64-linux-gnu-ubuntu-18.04.tar.xz from https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.6
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  779M  100  779M    0     0  47.9M      0  0:00:16  0:00:16 --:--:-- 50.2M
/home/guix/bitcoin/depends/work/download/native_clang-15.0.6/clang+llvm-15.0.6-x86_64-linux-gnu-ubuntu-18.04.tar.xz.temp: OK
make[1]: Leaving directory '/home/guix/bitcoin/depends'
make: Leaving directory '/home/guix/bitcoin/depends'
make: Entering directory '/home/guix/bitcoin/depends'
make[1]: Entering directory '/home/guix/bitcoin/depends'
make[1]: Leaving directory '/home/guix/bitcoin/depends'
make: Leaving directory '/home/guix/bitcoin/depends'
INFO: Building 8a6275ba6ea6 for platform triple x86_64-apple-darwin:
      ...using reference timestamp: 1668774980
      ...running at most 32 jobs
      ...from worktree directory: '/home/guix/bitcoin'
          ...bind-mounted in container to: '/bitcoin'
      ...in build directory: '/home/guix/bitcoin/guix-build-8a6275ba6ea6/distsrc-8a6275ba6ea6-x86_64-apple-darwin'
          ...bind-mounted in container to: '/distsrc-base/distsrc-8a6275ba6ea6-x86_64-apple-darwin'
      ...outputting in: '/home/guix/bitcoin/guix-build-8a6275ba6ea6/output/x86_64-apple-darwin'
          ...bind-mounted in container to: '/outdir-base/x86_64-apple-darwin'
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 160f78a (7724 new commits)...
building /gnu/store/pha3iazj4i3hhxc6j07g3gl68kiarg1v-module-import.drv...
building /gnu/store/rm5splyvkr1w3i21q6j4n9zrbgl4yic3-module-import.drv...
The following build is still in progress:
  /gnu/store/pha3iazj4i3hhxc6j07g3gl68kiarg1v-module-import.drv

building /gnu/store/55hx73ai8w2r7ww325v0f9wznsr1nm2z-module-import-compiled.drv...
The following build is still in progress:
  /gnu/store/55hx73ai8w2r7ww325v0f9wznsr1nm2z-module-import-compiled.drv

building /gnu/store/ijdhhif0jk6skdw259l2c77blrhb3482-module-import-compiled.drv...
The following build is still in progress:
  /gnu/store/55hx73ai8w2r7ww325v0f9wznsr1nm2z-module-import-compiled.drv

building /gnu/store/d0wyv6a8gjvycqslcx436nj1b39fxqfg-compute-guix-derivation.drv...
Computing Guix derivation for 'x86_64-linux'... /
building /gnu/store/cc265bcg6f019ipzc33a226ip1iq6997-coreutils-mesboot-9.1.drv...
building /gnu/store/3g5lsfrhmx2k37p1w6040bia3zbplqcc-git-2.41.0.tar.xz.drv...
building /gnu/store/dw9xlqhk94xsznf5birnq0s0aykvxk78-guile-gnutls-3.7.12.tar.gz.drv...
building /gnu/store/6x3x8h1sghn3r8rz6x35vzp2a2cih7zv-libssh-0.10.5.tar.xz.drv...
The following builds are still in progress:
  /gnu/store/cc265bcg6f019ipzc33a226ip1iq6997-coreutils-mesboot-9.1.drv
  /gnu/store/dw9xlqhk94xsznf5birnq0s0aykvxk78-guile-gnutls-3.7.12.tar.gz.drv

The following build is still in progress:
  /gnu/store/cc265bcg6f019ipzc33a226ip1iq6997-coreutils-mesboot-9.1.drv

The following build is still in progress:
  /gnu/store/cc265bcg6f019ipzc33a226ip1iq6997-coreutils-mesboot-9.1.drv

building /gnu/store/s1g7nm73ihp1sb8pa322n1a16qf6xjr1-make-boot0-4.3.drv...
building /gnu/store/jzf9d76xqii0nbgjyyx482yg0hij6b8z-coreutils-boot0-9.1.drv...
building /gnu/store/xfdmqahh02349l6ax8gqisnn8scly094-diffutils-boot0-3.8.drv...
building /gnu/store/xj0gqmg3jj3v0xfsj9njl5yb1fjzkmy7-file-boot0-5.44.drv...
building /gnu/store/lrd856zgqky0gq0xq1p8wcsqaw1bdhfr-gawk-boot0-5.2.1.drv...
building /gnu/store/vyqhl0rk69r5di33d5bd4alsi1x8nynl-patch-boot0-2.7.6.drv...
building /gnu/store/5zcrpv3lcydcn1bc5jg5s1s9dswkrvvg-sed-boot0-4.8.drv...
building /gnu/store/w8schnwd6fxplb9p3f0x41750q3x3as2-tar-boot0-1.34.drv...
The following builds are still in progress:
  /gnu/store/jzf9d76xqii0nbgjyyx482yg0hij6b8z-coreutils-boot0-9.1.drv
  /gnu/store/lrd856zgqky0gq0xq1p8wcsqaw1bdhfr-gawk-boot0-5.2.1.drv
  /gnu/store/w8schnwd6fxplb9p3f0x41750q3x3as2-tar-boot0-1.34.drv
  /gnu/store/5zcrpv3lcydcn1bc5jg5s1s9dswkrvvg-sed-boot0-4.8.drv
  /gnu/store/xfdmqahh02349l6ax8gqisnn8scly094-diffutils-boot0-3.8.drv
  /gnu/store/vyqhl0rk69r5di33d5bd4alsi1x8nynl-patch-boot0-2.7.6.drv

The following builds are still in progress:
  /gnu/store/jzf9d76xqii0nbgjyyx482yg0hij6b8z-coreutils-boot0-9.1.drv
  /gnu/store/w8schnwd6fxplb9p3f0x41750q3x3as2-tar-boot0-1.34.drv
  /gnu/store/5zcrpv3lcydcn1bc5jg5s1s9dswkrvvg-sed-boot0-4.8.drv
  /gnu/store/xfdmqahh02349l6ax8gqisnn8scly094-diffutils-boot0-3.8.drv
  /gnu/store/vyqhl0rk69r5di33d5bd4alsi1x8nynl-patch-boot0-2.7.6.drv

The following builds are still in progress:
  /gnu/store/jzf9d76xqii0nbgjyyx482yg0hij6b8z-coreutils-boot0-9.1.drv
  /gnu/store/w8schnwd6fxplb9p3f0x41750q3x3as2-tar-boot0-1.34.drv
  /gnu/store/xfdmqahh02349l6ax8gqisnn8scly094-diffutils-boot0-3.8.drv
  /gnu/store/vyqhl0rk69r5di33d5bd4alsi1x8nynl-patch-boot0-2.7.6.drv

The following builds are still in progress:
  /gnu/store/xfdmqahh02349l6ax8gqisnn8scly094-diffutils-boot0-3.8.drv
  /gnu/store/jzf9d76xqii0nbgjyyx482yg0hij6b8z-coreutils-boot0-9.1.drv
  /gnu/store/w8schnwd6fxplb9p3f0x41750q3x3as2-tar-boot0-1.34.drv

The following builds are still in progress:
  /gnu/store/jzf9d76xqii0nbgjyyx482yg0hij6b8z-coreutils-boot0-9.1.drv
  /gnu/store/w8schnwd6fxplb9p3f0x41750q3x3as2-tar-boot0-1.34.drv

building /gnu/store/mqj632x2ddgsvc2q78v9qr3zdsrjr7qk-bzip2-boot0-1.0.8.drv...
building /gnu/store/vs2mnn0v4libxj1v2msh0g58y92hsslb-findutils-boot0-4.9.0.drv...
The following builds are still in progress:
  /gnu/store/w8schnwd6fxplb9p3f0x41750q3x3as2-tar-boot0-1.34.drv
  /gnu/store/vs2mnn0v4libxj1v2msh0g58y92hsslb-findutils-boot0-4.9.0.drv
  /gnu/store/jzf9d76xqii0nbgjyyx482yg0hij6b8z-coreutils-boot0-9.1.drv

The following builds are still in progress:
  /gnu/store/vs2mnn0v4libxj1v2msh0g58y92hsslb-findutils-boot0-4.9.0.drv
  /gnu/store/jzf9d76xqii0nbgjyyx482yg0hij6b8z-coreutils-boot0-9.1.drv

The following build is still in progress:
  /gnu/store/jzf9d76xqii0nbgjyyx482yg0hij6b8z-coreutils-boot0-9.1.drv

building /gnu/store/shkanji0lipp05x0jw2xq1rr6mzjz61r-binutils-cross-boot0-2.38.drv...
building /gnu/store/xvsvh3667ffjnf7n6s7hrjknmxrnyh6c-expat-2.5.0.drv...
building /gnu/store/g2d0h1z0qivci6x3ld7fj64d632d2rri-gcc-11.3.0.tar.xz.drv...
building /gnu/store/pg5270kdf70xfh0gh0qp08j73qynifn3-libstdc++-boot0-4.9.4.drv...
building /gnu/store/cdnhy5sq87h1h5ckssjk59gff9llrmax-m4-boot0-1.4.19.drv...
building /gnu/store/801chnj323s9kywlanxsv8zhkbl32npx-perl-boot0-5.36.0.drv...
The following builds are still in progress:
  /gnu/store/pg5270kdf70xfh0gh0qp08j73qynifn3-libstdc++-boot0-4.9.4.drv
  /gnu/store/shkanji0lipp05x0jw2xq1rr6mzjz61r-binutils-cross-boot0-2.38.drv
  /gnu/store/801chnj323s9kywlanxsv8zhkbl32npx-perl-boot0-5.36.0.drv
  /gnu/store/cdnhy5sq87h1h5ckssjk59gff9llrmax-m4-boot0-1.4.19.drv
  /gnu/store/g2d0h1z0qivci6x3ld7fj64d632d2rri-gcc-11.3.0.tar.xz.drv

building /gnu/store/2vkn9w3i6k0d3hiflb3rgmf3grbq2byi-python-minimal-3.5.9.drv...
The following builds are still in progress:
  /gnu/store/2vkn9w3i6k0d3hiflb3rgmf3grbq2byi-python-minimal-3.5.9.drv
  /gnu/store/shkanji0lipp05x0jw2xq1rr6mzjz61r-binutils-cross-boot0-2.38.drv
  /gnu/store/801chnj323s9kywlanxsv8zhkbl32npx-perl-boot0-5.36.0.drv
  /gnu/store/cdnhy5sq87h1h5ckssjk59gff9llrmax-m4-boot0-1.4.19.drv
  /gnu/store/g2d0h1z0qivci6x3ld7fj64d632d2rri-gcc-11.3.0.tar.xz.drv

The following builds are still in progress:
  /gnu/store/cdnhy5sq87h1h5ckssjk59gff9llrmax-m4-boot0-1.4.19.drv
  /gnu/store/2vkn9w3i6k0d3hiflb3rgmf3grbq2byi-python-minimal-3.5.9.drv
  /gnu/store/801chnj323s9kywlanxsv8zhkbl32npx-perl-boot0-5.36.0.drv
  /gnu/store/g2d0h1z0qivci6x3ld7fj64d632d2rri-gcc-11.3.0.tar.xz.drv

building /gnu/store/0a7pwr3793yyx4dn9k9n4wnndv76mgbm-ld-wrapper-boot0-0.drv...
The following builds are still in progress:
  /gnu/store/cdnhy5sq87h1h5ckssjk59gff9llrmax-m4-boot0-1.4.19.drv
  /gnu/store/2vkn9w3i6k0d3hiflb3rgmf3grbq2byi-python-minimal-3.5.9.drv
  /gnu/store/801chnj323s9kywlanxsv8zhkbl32npx-perl-boot0-5.36.0.drv
  /gnu/store/g2d0h1z0qivci6x3ld7fj64d632d2rri-gcc-11.3.0.tar.xz.drv

\note: keeping build directory `/tmp/guix-build-m4-boot0-1.4.19.drv-0'
Backtrace:
          14 (primitive-load "/gnu/store/6is1k9037hzkbjgwrc1zs6v5z26i23ly-compute-guix-derivation")
In ice-9/eval.scm:
    155:9 13 (_ _)
    159:9 12 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
    152:2 11 (with-fluid* _ _ _)
    152:2 10 (with-fluid* _ _ _)
In ./guix/store.scm:
  2168:24  9 (run-with-store #<store-connection 256.99 7fd54cf64140> #<procedure 7fd533a93f50 at ./guix/self.scm:13?> ?)
   1996:8  8 (_ #<store-connection 256.99 7fd54cf64140>)
In ./guix/gexp.scm:
   299:22  7 (_ #<store-connection 256.99 7fd54cf64140>)
   1180:2  6 (_ #<store-connection 256.99 7fd54cf64140>)
   1046:2  5 (_ #<store-connection 256.99 7fd54cf64140>)
    892:4  4 (_ #<store-connection 256.99 7fd54cf64140>)
In ./guix/store.scm:
  2053:12  3 (_ #<store-connection 256.99 7fd54cf64140>)
   1401:5  2 (map/accumulate-builds #<store-connection 256.99 7fd54cf64140> #<procedure 7fd52ec63440 at ./guix/stor?> ?)
  1417:15  1 (_ #<store-connection 256.99 7fd54cf64140> ("/gnu/store/wgrwwn0csll63q2mr99w9hw17z7d79y6-guix-daemo?" ?) ?)
  1417:15  0 (loop #f)

./guix/store.scm:1417:15: In procedure loop:
ERROR:
  1. &store-protocol-error:
      message: "build of `/gnu/store/wfck89415b22gqq25fi0mypgrw8vw1c8-ghostscript-9.56.1.drv' failed"
      status: 100
guix time-machine: error: You found a bug: the program '/gnu/store/6is1k9037hzkbjgwrc1zs6v5z26i23ly-compute-guix-derivation'
failed to compute the derivation for Guix (version: "160f78a4d92205df986ed9efcce7d3aac188cb24"; system: "x86_64-linux";
host version: "998eda3067c7d21e0d9bb3310d2f5a14b8f1c681"; pull-version: 1).
Please report the COMPLETE output above by email to <[email-masked]>.