GNU bug report logs - #65759
Bug

Previous Next

Package: guix;

Reported by: Sjors Provoost <sjors <at> sprovoost.nl>

Date: Tue, 5 Sep 2023 15:17:02 UTC

Severity: normal

Done: Josselin Poiret <dev <at> jpoiret.xyz>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 65759 in the body.
You can then email your comments to 65759 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#65759; Package guix. (Tue, 05 Sep 2023 15:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sjors Provoost <sjors <at> sprovoost.nl>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 05 Sep 2023 15:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sjors Provoost <sjors <at> sprovoost.nl>
To: bug-guix <at> gnu.org
Subject: Bug
Date: Tue, 5 Sep 2023 11:16:09 -0400
[Message part 1 (text/plain, inline)]
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 <bug-guix <at> gnu.org>.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#65759; Package guix. (Wed, 06 Sep 2023 08:48:01 GMT) Full text and rfc822 format available.

Message #8 received at 65759 <at> debbugs.gnu.org (full text, mbox):

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: Sjors Provoost <sjors <at> sprovoost.nl>, 65759 <at> debbugs.gnu.org
Subject: Re: bug#65759: Bug
Date: Wed, 06 Sep 2023 10:47:26 +0200
[Message part 1 (text/plain, inline)]
Hi Sjors,

Sjors Provoost <sjors <at> 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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#65759; Package guix. (Wed, 06 Sep 2023 18:06:01 GMT) Full text and rfc822 format available.

Message #11 received at 65759 <at> debbugs.gnu.org (full text, mbox):

From: "Sjors Provoost" <sjors <at> sprovoost.nl>
To: "Josselin Poiret" <dev <at> jpoiret.xyz>, 65759 <at> debbugs.gnu.org
Subject: Re: bug#65759: Bug
Date: Wed, 06 Sep 2023 14:04:45 -0400
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:
> Hi Sjors,
>
> Sjors Provoost <sjors <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#65759; Package guix. (Thu, 07 Sep 2023 08:35:02 GMT) Full text and rfc822 format available.

Message #14 received at 65759 <at> debbugs.gnu.org (full text, mbox):

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: Sjors Provoost <sjors <at> sprovoost.nl>, 65759 <at> debbugs.gnu.org
Subject: Re: bug#65759: Bug
Date: Thu, 07 Sep 2023 10:34:03 +0200
[Message part 1 (text/plain, inline)]
Hi Sjors,

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

> 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?

> 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
[signature.asc (application/pgp-signature, inline)]

Reply sent to Josselin Poiret <dev <at> jpoiret.xyz>:
You have taken responsibility. (Thu, 07 Sep 2023 08:35:02 GMT) Full text and rfc822 format available.

Notification sent to Sjors Provoost <sjors <at> sprovoost.nl>:
bug acknowledged by developer. (Thu, 07 Sep 2023 08:35:02 GMT) Full text and rfc822 format available.

Message #19 received at 65759-done <at> debbugs.gnu.org (full text, mbox):

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: Sjors Provoost <sjors <at> sprovoost.nl>, 65759-done <at> debbugs.gnu.org
Subject: Re: bug#65759: Bug
Date: Thu, 07 Sep 2023 10:34:39 +0200
[Message part 1 (text/plain, inline)]
Oops, forgot to close.  Feel free to re-open if something was missing.

Best,
-- 
Josselin Poiret
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 05 Oct 2023 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 218 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.