-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failure: grub2 #346264
Comments
Wrong maintainer. I don't know who picked that up since #321436. |
Ah, indeed; I got your username from the 24.05 version of grub/default.nix; sorry for that. |
Could be an issue with
I can access https://git.savannah.gnu.org/cgit/gnulib.git just fine just the fetcher fails. Perhaps they changed their API? I can't seem to find any docs on that. And
|
(I have no idea who to ping) This will likely cause a lot of build failures without cache. |
On master: > nix build --rebuild --keep-failed --print-out-paths --option substitute false .#gnulib
note: keeping build directory '/var/tmp/nix-build-source.drv-0'
error: builder for '/nix/store/w47d02qhwhdp6l1r5k6f1wcyj8ms5hjx-source.drv' failed with exit code 1;
last 7 log lines:
>
> trying https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-2dd1a7984c6b3e6056cef7e3f9933e0039c21634.tar.gz
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
> curl: (22) The requested URL returned error: 400
> error: cannot download source from any mirror
For full logs, run 'nix log /nix/store/w47d02qhwhdp6l1r5k6f1wcyj8ms5hjx-source.drv'.
error: 1 dependencies of derivation '/nix/store/051mw1c68z11g9myqd6d0jcr6x4pivkj-gnulib-20231109.drv' failed to build (edit: it failed) Maybe related https://hostux.social/@fsfstatus/113242881236519916 |
Commit: https://git.savannah.gnu.org/cgit/gnulib.git/commit/?h=stable-202407&id=0a01f6737dc5666c730bdfe6a038da53a4156cc2 Changed to fetchgit as fetchFromSavannah is not working Link: NixOS#346264 (comment)
https://lists.gnu.org/archive/html/savannah-users/2024-09/msg00009.html This appears to be a known issue on the mirror. |
As the underlying |
Will poke and prod at this when I have the chance. Currently traveling to Orlando so I'm stuck on planes. Should be able to on Saturday. |
I'm pretty sure this can't be closed yet, grub seems to download it's own gnulib instead of relying on the gnulib package. gnulib = fetchFromSavannah {
repo = "gnulib";
# NOTE: keep in sync with bootstrap.conf!
rev = "9f48fb992a3d7e96610c4ce8be969cff2d61a01b";
hash = "sha256-mzbF66SNqcSlI+xmjpKpNMwzi13yEWoc1Fl7p4snTto=";
}; |
We should really fix fetchFromSavanna instead. |
https://git.savannah.gnu.org/gitweb/?p=gnulib.git&view=view+git+repository It looks like you can get a snapshot from I made a patch and I'm now trying to test that it actually downloads grub successfully with the same hash. I did not find a nix-build flag that lets me not substitute only one package, so I'm currently building glibc, this will take a while. |
I am pretty sure I have fixed fetchFromSavannah |
The issue is not with fetchFromSavannah.
|
Steps To Reproduce
Steps to reproduce the behavior:
Build log
Additional context
Looks like the specified source became unavailable recently. This breaks nixos-rebuild on one of my systems. I ran into this on 24.05, but glancing at the nixpkgs source it looks like it will also affect master.
Notify maintainers
@samueldr
Metadata
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: