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

issue MarkLTZ opened 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:

    -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'
    build of /gnu/store/0h7r1766n7brqlvzpnb0y3vank5faizz-linux-libre-5.4.20-gnu.tar.xz.drv failed
    View build log at '/var/log/guix/drvs/0h/7r1766n7brqlvzpnb0y3vank5faizz-linux-libre-5.4.20-gnu.tar.xz.drv.bz2'.
    note: keeping build directory `/tmp/guix-build-linux-libre-5.4.20-gnu.tar.xz.drv-0'
    cannot build derivation `/gnu/store/3gjjkdq3ll76lffa2563xx62h4w9cxks-linux-libre-headers-5.4.20.drv': 1 dependencies couldn't be built
    building /gnu/store/7sy6lhff8l2ss3qgyg21b5cav0rdgycv-linux-libre-headers-stripped-4.14.67-i686-linux.tar.xz.drv...
    note: keeping build directory `/tmp/guix-build-linux-libre-headers-stripped-4.14.67-i686-linux.tar.xz.drv-0'
    cannot build derivation `/gnu/store/b7rgn9czp9qfdfrpyrz8ndj5dqfzrjw9-libtiff-4.2.0.drv': 1 dependencies couldn't be built
    guix 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

    Starting download of /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...
    download 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"
    
    Starting download of /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
    From ftp://alpha.gnu.org/gnu/guix/mirror/linux-libre-5.4.20-gnu.tar.xz...
    Throw 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")'.
    
    Starting download of /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
    From https://ftpmirror.gnu.org/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
    following redirection to `https://mirror.kumi.systems/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz'...
    download failed "https://mirror.kumi.systems/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz" 404 "Not Found"
    
    Starting download of /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
    From ftp://ftp.cs.tu-berlin.de/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
    In procedure getaddrinfo: Name or service not known
    
    Starting download of /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
    From ftp://ftp.funet.fi/pub/mirrors/ftp.gnu.org/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
    Throw 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")'.
    
    Starting download of /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
    From http://ftp.gnu.org/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
    download failed "http://ftp.gnu.org/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz" 404 "Not Found"
    
    Starting download of /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
    From https://ci.guix.gnu.org/file/linux-libre-5.4.20-gnu.tar.xz/sha256/1qxhf6dmcwjblzx8fgn6vr10p38xw10iwh6d1y1v1mxb25y30b47...
    download failed "https://ci.guix.gnu.org/file/linux-libre-5.4.20-gnu.tar.xz/sha256/1qxhf6dmcwjblzx8fgn6vr10p38xw10iwh6d1y1v1mxb25y30b47" 404 "Not Found"
    
    Starting download of /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
    From https://tarballs.nixos.org/sha256/1qxhf6dmcwjblzx8fgn6vr10p38xw10iwh6d1y1v1mxb25y30b47...
    download failed "https://tarballs.nixos.org/sha256/1qxhf6dmcwjblzx8fgn6vr10p38xw10iwh6d1y1v1mxb25y30b47" 404 "Not Found"
    
    Starting download of /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
    From https://archive.softwareheritage.org/api/1/content/sha256:872c307c11abd7b0830fcd401e41e01d8d0b42dec63e87faa74b72569b71b0e3/raw/...
    download failed "https://archive.softwareheritage.org/api/1/content/sha256:872c307c11abd7b0830fcd401e41e01d8d0b42dec63e87faa74b72569b71b0e3/raw/" 404 "Not Found"
    failed 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

  8. bitcoin locked this on Aug 20, 2025

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: 2026-04-17 00:13 UTC

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