Skip to content
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: syslinux.src #317158

Closed
raboof opened this issue Jun 4, 2024 · 0 comments · Fixed by #317169
Closed

Build failure: syslinux.src #317158

raboof opened this issue Jun 4, 2024 · 0 comments · Fixed by #317169
Labels
0.kind: build failure A package fails to build

Comments

@raboof
Copy link
Member

raboof commented Jun 4, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix-build . -A syslinux.src

Build log

checking outputs of '/nix/store/2isl33zbmfwc1wphrh2q7x613kphjz62-syslinux-b404870.drv'...
exporting https://repo.or.cz/syslinux (rev b40487005223a78c3bb4c300ef6c436b3f6ec1f7) into /nix/store/fx3kgvhax8rafs1ns6sg7rjzblvfg3wp-syslinux-b404870
Initialized empty Git repository in /nix/store/fx3kgvhax8rafs1ns6sg7rjzblvfg3wp-syslinux-b404870/.git/
error: Server does not allow request for unadvertised object b40487005223a78c3bb4c300ef6c436b3f6ec1f7
remote: Counting objects: 51885, done.
remote: Total 51885 (delta 0), reused 0 (delta 0).20 MiB/s
Receiving objects: 100% (51885/51885), 20.65 MiB | 1.21 MiB/s, done.
Resolving deltas: 100% (38787/38787), done.
From https://repo.or.cz/syslinux
 * [new branch]        3.5x                     -> origin/3.5x
 * [new branch]        3.6x                     -> origin/3.6x
 (...)
* [new tag]           syslinux-6.04-pre2       -> syslinux-6.04-pre2
 * [new tag]           syslinux-6.04-pre3       -> syslinux-6.04-pre3
 * [new tag]           syslinux-elf-test-1      -> syslinux-elf-test-1
 * [new tag]           syslinux-init            -> syslinux-init
 * [new tag]           syslinux.1.31            -> syslinux.1.31
Switched to a new branch 'fetchgit'
Submodule 'gnu-efi' (git://git.code.sf.net/p/gnu-efi/code) registered for path 'gnu-efi'
Cloning into '/nix/store/fx3kgvhax8rafs1ns6sg7rjzblvfg3wp-syslinux-b404870/gnu-efi'...
remote: Enumerating objects: 229, done.        
remote: Counting objects: 100% (229/229), done.        
remote: Compressing objects: 100% (225/225), done.        
remote: Total 229 (delta 53), reused 39 (delta 2)        B/s
Receiving objects: 100% (229/229), 236.84 KiB | 433.00 KiB/s, done.
Resolving deltas: 100% (53/53), done.
remote: Total 0 (delta 0), reused 0 (delta 0)
remote: Total 0 (delta 0), reused 0 (delta 0)
fatal: bad object d34132e62f666904158c7ec2f1eef5a9d5281c36
error: remote did not send all necessary objects
fatal: Fetched in submodule path 'gnu-efi', but it did not contain d34132e62f666904158c7ec2f1eef5a9d5281c36. Direct fetching of that commit failed.
remote: Total 0 (delta 0), reused 0 (delta 0)
fatal: bad object d34132e62f666904158c7ec2f1eef5a9d5281c36
error: git://git.code.sf.net/p/gnu-efi/code did not send all necessary objects

fatal: Fetched in submodule path 'gnu-efi', but it did not contain d34132e62f666904158c7ec2f1eef5a9d5281c36. Direct fetching of that commit failed.
error: builder for '/nix/store/2isl33zbmfwc1wphrh2q7x613kphjz62-syslinux-b404870.drv' failed with exit code 128;
       last 10 log lines:
       > remote: Total 0 (delta 0), reused 0 (delta 0)
       > remote: Total 0 (delta 0), reused 0 (delta 0)
       > fatal: bad object d34132e62f666904158c7ec2f1eef5a9d5281c36
       > error: remote did not send all necessary objects
       > fatal: Fetched in submodule path 'gnu-efi', but it did not contain d34132e62f666904158c7ec2f1eef5a9d5281c36. Direct fetching of that commit failed.
       > remote: Total 0 (delta 0), reused 0 (delta 0)
       > fatal: bad object d34132e62f666904158c7ec2f1eef5a9d5281c36
       > error: git://git.code.sf.net/p/gnu-efi/code did not send all necessary objects
       >
       > fatal: Fetched in submodule path 'gnu-efi', but it did not contain d34132e62f666904158c7ec2f1eef5a9d5281c36. Direct fetching of that commit failed.
       For full logs, run 'nix log /nix/store/2isl33zbmfwc1wphrh2q7x613kphjz62-syslinux-b404870.drv'.

Additional context

The src is:

# This is syslinux-6.04-pre3^1; syslinux-6.04-pre3 fails to run.
  # Same issue here https://www.syslinux.org/archives/2019-February/026330.html
  src = fetchgit {
    url = "https://repo.or.cz/syslinux";
    rev = "b40487005223a78c3bb4c300ef6c436b3f6ec1f7";
    sha256 = "sha256-GqvRTr9mA2yRD0G0CF11x1X0jCgqV4Mh+tvE0/0yjqk=";
    fetchSubmodules = true;
  };

We tried to use gnu-efi from nixpkgs in #317030, but that made

nix-build . -A nixosTests.boot.biosCdrom

fail. I guess that happened due to one of the commits between b40487005223a78c3bb4c300ef6c436b3f6ec1f7 and 05ac953c23f90b2328d393f7eecde96e41aed067 (which is the latest commit on https://repo.or.cz/syslinux.git/shortlog/refs/heads/master)

Notify maintainers


Add a 👍 reaction to issues you find important.

@raboof raboof added the 0.kind: build failure A package fails to build label Jun 4, 2024
@raboof raboof moved this to Minimal ISO runtime in Reproducible Builds Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
Status: Minimal ISO runtime
Development

Successfully merging a pull request may close this issue.

1 participant