Open fractal-mind opened 3 weeks ago
I just pushed a new release. Can you retry?
/opt/nix-bitcoin$ git pull origin
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 7 (delta 5), reused 7 (delta 5), pack-reused 0 (from 0)
Unpacking objects: 100% (7/7), 2.57 KiB | 1.28 MiB/s, done.
From https://github.com/fort-nix/nix-bitcoin
9a2f082..31b7939 master -> origin/master
6e208d6..31b7939 nixos-24.05 -> origin/nixos-24.05
6e208d6..31b7939 release -> origin/release
* [new tag] v0.0.112 -> v0.0.112
Updating 9a2f082..31b7939
Fast-forward
flake.lock | 12 ++++++------
test/nixos-search/flake.lock | 12 ++++++------
2 files changed, 12 insertions(+), 12 deletions(-)
excerpt of output
/nix/store/6wl5mcrxq7dgkqqicdag4l44vfbm5q3p-tpm2-tss-4.0.1.drv
/nix/store/7q16cgnrwinqm78rrmapvdsm2gm0cfrc-onig-6.9.9.tar.gz.drv
/nix/store/prd0x5whpx0zm8mk52w0kbvfdrm6k1qq-pcsc-lite-1.9.5.tar.bz2.drv
/nix/store/8v0cps1zmdq02k4mrcpdam08f8a4155r-pcsclite-1.9.5.drv
/nix/store/alcixp8fldaizbff85j6abl1qwx7jclb-oniguruma-6.9.9.drv
/nix/store/izlihxp6apd2kkc86ghzgjvy08g9drpf-libksba-1.6.5.drv
/nix/store/kpdwp3hbhnm63pd81na8ams1cfkl5lyg-gnupg-2.4.1.drv
/nix/store/vc9k60wnmhcgz1bk97kwr3lal9z8n5xl-jq-1.7.drv
building '/nix/store/61pb3afpgl5n2ww4zlplcjirkhmfs0z8-gnutls-3.8.2.tar.xz.drv'...
warning: Ignoring setting 'auto-allocate-uids' because experimental feature 'auto-allocate-uids' is not enabled
warning: Ignoring setting 'impure-env' because experimental feature 'configurable-impure-env' is not enabled
trying https://gnupg.org/ftp/gcrypt/gnutls/v3.8/gnutls-3.8.2.tar.xz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6305k 100 6305k 0 0 352k 0 0:00:17 0:00:17 --:--:-- 399k
building '/nix/store/aj1ii1sv75lqjs9vk6wak0vmnf9pz9ia-c-ares-1.19.1.tar.gz.drv'...
trying https://c-ares.org/download/c-ares-1.19.1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 4965 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
error: cannot download c-ares-1.19.1.tar.gz from any mirror
error: builder for '/nix/store/aj1ii1sv75lqjs9vk6wak0vmnf9pz9ia-c-ares-1.19.1.tar.gz.drv' failed with exit code 1;
last 7 log lines:
>
> trying https://c-ares.org/download/c-ares-1.19.1.tar.gz
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 0 4965 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
> curl: (22) The requested URL returned error: 404
> error: cannot download c-ares-1.19.1.tar.gz from any mirror
For full logs, run 'nix-store -l /nix/store/aj1ii1sv75lqjs9vk6wak0vmnf9pz9ia-c-ares-1.19.1.tar.gz.drv'.
error: 1 dependencies of derivation '/nix/store/hmgy4mxbsycwsrpxnkv6b57ivlyh8dv3-c-ares-1.19.1.drv' failed to build
building '/nix/store/70scyfndr31sg184s0k2znvxhf6vgfc1-check-0.15.2.tar.gz.drv'...
error: 1 dependencies of derivation '/nix/store/4v3s1m3s9rylwwwz9i1jcanjvdq3n2pm-nghttp2-1.57.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/n41w64kx923xyl6clsn18xx13l9n6w2x-curl-8.4.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/n9dhmbpf7z6d7j4pq9wn0dz57axl0var-curl-8.4.0.drv' failed to build
error: build of '/nix/store/kpdwp3hbhnm63pd81na8ams1cfkl5lyg-gnupg-2.4.1.drv', '/nix/store/n9dhmbpf7z6d7j4pq9wn0dz57axl0var-curl-8.4.0.drv', '/nix/store/vc9k60wnmhcgz1bk97kwr3lal9z8n5xl-jq-1.7.drv' failed
fetch-release
calls nix-shell
to build pkgs required by the script. nix-shell
uses your system's default nixpkgs, defined in env var NIX_PATH
.
In your case, NIX_PATH
contains a nixpkgs version <= 23.11
which points to a c-ares
version (required by e.g. curl
) for which the source is no longer available. Builing without substituters (i.e. the nix binary cache) fails.
Two ways to solve this:
Build with substituters:
nix build --no-link --option substitute true /nix/store/aj1ii1sv75lqjs9vk6wak0vmnf9pz9ia-c-ares-1.19.1.tar.gz.drv^*
This only fetches the c-ares
source from the nix binary cache. Afterwards, re-run fetch-release
.
Update your system's nixpkgs to NixOS >= 24.05.
Not sure how to go about fixing this. When I run
../nix-bitcoin/helper/fetch-release > nix-bitcoin-release.nix
from step 3. Setup deployment directory", the build seems to fail due to a 404 error on one of the packages - c-ares specifically.