Unable to build Bitcoin using ‘./contrib/guix/guix-build’ #30676

issue MarkLTZ openend this issue on August 19, 2024
  1. MarkLTZ commented at 4:12 pm on August 19, 2024: none

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    Hello there,

    executing ./contrib/guix/guix-build I have the following error:

    0-builder for `/gnu/store/0h7r1766n7brqlvzpnb0y3vank5faizz-linux-libre-5.4.20-gnu.tar.xz.drv' failed to produce output path `/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz'
    1build of /gnu/store/0h7r1766n7brqlvzpnb0y3vank5faizz-linux-libre-5.4.20-gnu.tar.xz.drv failed
    2View build log at '/var/log/guix/drvs/0h/7r1766n7brqlvzpnb0y3vank5faizz-linux-libre-5.4.20-gnu.tar.xz.drv.bz2'.
    3note: keeping build directory `/tmp/guix-build-linux-libre-5.4.20-gnu.tar.xz.drv-0'
    4cannot build derivation `/gnu/store/3gjjkdq3ll76lffa2563xx62h4w9cxks-linux-libre-headers-5.4.20.drv': 1 dependencies couldn't be built
    5building /gnu/store/7sy6lhff8l2ss3qgyg21b5cav0rdgycv-linux-libre-headers-stripped-4.14.67-i686-linux.tar.xz.drv...
    6note: keeping build directory `/tmp/guix-build-linux-libre-headers-stripped-4.14.67-i686-linux.tar.xz.drv-0'
    7cannot build derivation `/gnu/store/b7rgn9czp9qfdfrpyrz8ndj5dqfzrjw9-libtiff-4.2.0.drv': 1 dependencies couldn't be built
    8guix time-machine: error: build of `/gnu/store/b7rgn9czp9qfdfrpyrz8ndj5dqfzrjw9-libtiff-4.2.0.drv' failed
    

    It seems file linux-libre-5.4.20-gnu.tar.xz is no more available.

    Could you please check this issue?

    Thanks.

    Expected behaviour

    Building Bitcoin using GUIX.

    Steps to reproduce

    1. Install Ubuntu 22.04.4 LTS
    2. Execute: sudo apt install guix
    3. Execute: git clone https://github.com/bitcoin/bitcoin.git
    4. Execute: cd bitcoin; ./contrib/guix/guix-build

    Relevant log output

     0Starting download of /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
     1From https://linux-libre.fsfla.org/pub/linux-libre/releases/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
     2download failed "https://linux-libre.fsfla.org/pub/linux-libre/releases/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz" 404 "Not Found"
     3
     4Starting download of /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
     5From ftp://alpha.gnu.org/gnu/guix/mirror/linux-libre-5.4.20-gnu.tar.xz...
     6Throw to key `ftp-error' with args `(#<input-output: socket 14> "RETR linux-libre-5.4.20-gnu.tar.xz" 550 "Failed to open file.\r")'.
     7
     8Starting download of /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
     9From https://ftpmirror.gnu.org/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
    10following redirection to `https://mirror.kumi.systems/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz'...
    11download failed "https://mirror.kumi.systems/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz" 404 "Not Found"
    12
    13Starting download of /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
    14From ftp://ftp.cs.tu-berlin.de/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
    15In procedure getaddrinfo: Name or service not known
    16
    17Starting download of /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
    18From ftp://ftp.funet.fi/pub/mirrors/ftp.gnu.org/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
    19Throw to key `ftp-error' with args `(#<input-output: socket 17> "CWD 5.4.20-gnu" 550 "Can't change directory to 5.4.20-gnu: No such file or directory\r")'.
    20
    21Starting download of /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
    22From http://ftp.gnu.org/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
    23download failed "http://ftp.gnu.org/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz" 404 "Not Found"
    24
    25Starting download of /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
    26From https://ci.guix.gnu.org/file/linux-libre-5.4.20-gnu.tar.xz/sha256/1qxhf6dmcwjblzx8fgn6vr10p38xw10iwh6d1y1v1mxb25y30b47...
    27download failed "https://ci.guix.gnu.org/file/linux-libre-5.4.20-gnu.tar.xz/sha256/1qxhf6dmcwjblzx8fgn6vr10p38xw10iwh6d1y1v1mxb25y30b47" 404 "Not Found"
    28
    29Starting download of /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
    30From https://tarballs.nixos.org/sha256/1qxhf6dmcwjblzx8fgn6vr10p38xw10iwh6d1y1v1mxb25y30b47...
    31download failed "https://tarballs.nixos.org/sha256/1qxhf6dmcwjblzx8fgn6vr10p38xw10iwh6d1y1v1mxb25y30b47" 404 "Not Found"
    32
    33Starting download of /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
    34From https://archive.softwareheritage.org/api/1/content/sha256:872c307c11abd7b0830fcd401e41e01d8d0b42dec63e87faa74b72569b71b0e3/raw/...
    35download failed "https://archive.softwareheritage.org/api/1/content/sha256:872c307c11abd7b0830fcd401e41e01d8d0b42dec63e87faa74b72569b71b0e3/raw/" 404 "Not Found"
    36failed to download "/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz" from ("https://linux-libre.fsfla.org/pub/linux-libre/releases/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz" "ftp://alpha.gnu.org/gnu/guix/mirror/linux-libre-5.4.20-gnu.tar.xz" "mirror://gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz")
    

    How did you obtain Bitcoin Core

    Compiled from source

    What version of Bitcoin Core are you using?

    master@ee367170cb2acf82b6ff8e0ccdbc1cce09730662

    Operating system and version

    Ubuntu 22.04.4 LTS

    Machine specifications

    No response

  2. MarkLTZ renamed this:
    Unable to execute './contrib/guix/guix-build' on a fresh installed server.
    Unable to build Bitcoin using './contrib/guix/guix-build'
    on Aug 19, 2024
  3. maflcko added the label Build system on Aug 20, 2024
  4. maflcko added the label Upstream on Aug 20, 2024
  5. maflcko added the label Questions and Help on Aug 20, 2024
  6. maflcko commented at 7:02 am on August 20, 2024: member

    There is a packaging error fixed in https://salsa.debian.org/debian/guix/-/commit/b27fcc3fa6d3633eb2beceb014507045f534f2d0

    You can ask for it to be backported upstream, or work around it manually for now via apt install netbase

  7. fanquake closed this on Aug 20, 2024


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-21 09:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me