Bug

  • Done
  • quality assurance status badge
Details
2 participants
  • Josselin Poiret
  • Sjors Provoost
Owner
unassigned
Submitted by
Sjors Provoost
Severity
normal
S
S
Sjors Provoost wrote on 5 Sep 2023 17:16
(address . bug-guix@gnu.org)
287214E0-1EA6-466D-A2F4-94556FD348F8@sprovoost.nl

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 <bug-guix@gnu.org>.
Attachment: file
J
J
Josselin Poiret wrote on 6 Sep 2023 10:47
87jzt3vgbl.fsf@jpoiret.xyz
Hi Sjors,

Sjors Provoost <sjors@sprovoost.nl> writes:

Toggle quote (2 lines)
> $ HOSTS='x86_64-apple-darwin arm64-apple-darwin' ./contrib/guix/guix-build || echo -e "\a"

Guix doesn't support apple-darwin as a system. I don't know how the
bitcoin project does it, but you probably want to report this to them
instead. I don't see anything immediately wrong with the log here as
well.

Toggle quote (4 lines)
> 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";

It seems that guix believes it is building on x86_64-linux. I don't
know if this is a bug or feature, you'll have to see with the bitcoin
project.

Best,
--
Josselin Poiret
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmT4PJ4QHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5FhcaisEZC/9DEwTNlGffSz0qtGtX81Gq77lfZFa7Sxr5
IUQcmrnYgINcmtgyYZ2qAwEhS+Vuje5XNy22KnJNSj8R/UfEWplhOBO6MKDA8hz5
fKZYmLt2D9zcPz9sG+jY5z8smNKiZuLKfJPLq+A0ocjl9iguiQ/go8OE3QShnVtM
17EFhjhizIRaL105zObh4TLs1AyjgdIf8FrxAIUr/gAJv+hAV/uuxKGtMrdK+rIZ
krq2/TFBdWDMY2A/OizZfMJE/e5M48eeUgsKF/WbGqg3pHjxM64ON21gBFHn5vME
ReYNOktdv+kA1+J8h+fHiaKZiIrBXF1bZwfVmK26De51JjE7SbOTpKS26hDYOjBD
ZJS9Ecx60KXpNV20KbkZ7Qh0N+KXjlU3Q5E5jD1z89ab51kb+WrLK7Tx++wCUC+8
s21UIaMGSg3Rh5qY0aT8oM/QSCGR1icaGraam2snahMVKIFLTxpzS186Sbwp/tap
m+b6+J+XvJF7sAJJgBBQENTSP/XDWSA=
=jC6w
-----END PGP SIGNATURE-----

S
S
Sjors Provoost wrote on 6 Sep 2023 20:04
9ebe8cbc-72b7-407f-a28f-bbaa0f330b3f@app.fastmail.com
Hi Josselin,

Restarting the command a few times it kept failing at different packages, but eventually made it through just fine.

The building machine is indeed x86_64-linux, the Bitcoin projects uses cross compilation to make binaries for macOS (and requires you to download the SDK and run a script to extract some stuff from it).

Sjors

On Wed, Sep 6, 2023, at 04:47, Josselin Poiret wrote:
Toggle quote (25 lines)
> Hi Sjors,
>
> Sjors Provoost <sjors@sprovoost.nl> writes:
>
>> $ HOSTS='x86_64-apple-darwin arm64-apple-darwin' ./contrib/guix/guix-build || echo -e "\a"
>
> Guix doesn't support apple-darwin as a system. I don't know how the
> bitcoin project does it, but you probably want to report this to them
> instead. I don't see anything immediately wrong with the log here as
> well.
>
>> 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";
>
> It seems that guix believes it is building on x86_64-linux. I don't
> know if this is a bug or feature, you'll have to see with the bitcoin
> project.
>
> Best,
> --
> Josselin Poiret
>
> Attachments:
> * signature.asc
J
J
Josselin Poiret wrote on 7 Sep 2023 10:34
87tts6tm9w.fsf@jpoiret.xyz
Hi Sjors,

"Sjors Provoost" <sjors@sprovoost.nl> writes:

Toggle quote (4 lines)
> Hi Josselin,
>
> Restarting the command a few times it kept failing at different packages, but eventually made it through just fine.

Glad it ended up working! Maybe an issue of builds OOM'ing, if the
machine was already under some load?

Toggle quote (2 lines)
> The building machine is indeed x86_64-linux, the Bitcoin projects uses cross compilation to make binaries for macOS (and requires you to download the SDK and run a script to extract some stuff from it).

That's nice to know, thanks!

Best,
--
Josselin Poiret
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmT5ivsQHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5FhcainvoDACL3/ymfbxMD4XFk3dlz1jUduVQdUv0Dogh
F11El2kxUhpDxNx/0NU98cIld3yZvL0v2zdEWFr3lbN3CQCjd/s99+5zgL6yBd3S
nnphrH4BFJnOdUymRxRJG/gOYCrau/KcU2kqfs8yaPVJk+2Xsr6ch5+5bWxwGQMn
oJlIfQqbuMLp3zYZijgRmUIbSIXVkAHwcpozTFTB0ka33/Lp9n3T51qlvo3Z28JI
f76F07gsJEXc3TH6sCVHMgJrxVHxSjEvmN1luFrCjlTyIVt8siNht3QXZVo2kRrr
YonzhpKuINbAje8QJsTxEUx+s7Au4dpqlPgJ442j64kH8YYDyYm+Vafr+I0tBq6Q
ISFHMEZQXKc4Xxz2LlpNo+rCsQAqm1eb9DGIRmS+yU7wln8GB4u9thZ9qLG+KGvM
0dNt8iIVLI9FNVgLmelWzrpFwuMoSPP+LnrXbFmJAfvshEGeOupVr0N5NXdycakP
Az4QDWC2gylFrPA+ljZcGZt3DmwEyvI=
=6Bnb
-----END PGP SIGNATURE-----

J
J
Josselin Poiret wrote on 7 Sep 2023 10:34
87r0natm8w.fsf@jpoiret.xyz
Oops, forgot to close. Feel free to re-open if something was missing.

Best,
--
Josselin Poiret
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmT5ix8QHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5FhcaihU3C/4plmoUVOBfFueceMI/9T98Pa1bs8dcTj4Y
DFsRmmg0BScYNgg9PWtONe1gSkXuGn23f5PvBadf5ioWpQrcwpfkD/xxgg/hiv76
uULHvM5JmpnS5mVIPbQImR2UNdVCZjBREeQvdjK4Lsr3zICHxJwiESI3X5CjraDX
GLs5ctXGABl+JhsDdN4uxcjJkREhFeikUcmqlE9ZSNBSqQZNVty+1p0QPs6uwi+3
cKS99kHm0XtXqyLGGnvIlBmEhI43sfygea9l33YcMZbGMZ9Pe7/omn2/ba9sM/sk
5lvkz8nA0OWn+cdKxt+d/weFxmyjovQVpYL51Xa1Fkej/vSJu4m4qasSZaSWDV6+
oDzTKABNAkyewsEM1T2k01Vhkn/t+rx+juGrnQ+jNzfRdRUL+qvc3QdXO/YVxWkH
PlPlWX0yHotEp4VQSPGeCfxn8PIXQrlSbnlQH85ND+mmnXqqohfYOTATGUYnLSYH
IbNqq/X30RpMQokwFmzkloaQP95RtLg=
=M5VV
-----END PGP SIGNATURE-----

Closed
?