NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.37k stars 13.6k forks source link

hyperv-daemons-bin-6.10.1 failed to build #337475

Closed 6543 closed 3 days ago

6543 commented 2 weeks ago

Describe the bug

nix log /nix/store/j4ax6xz31gbybvnww59y6cq7wydb1jd3-hyperv-daemons-bin-6.10.1.drv:

warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/j4ax6xz31gbybvnww59y6cq7wydb1jd3-hyperv-daemons-bin-6.10.1.drv^*'
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/k172zi82a4vwrg16gsv0ii0n1awv1ncj-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
substituteStream() in derivation hyperv-daemons-bin-6.10.1: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'hv_kvp_daemon.c')
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
build flags: SHELL=/nix/store/wckka8fxv4h5hp74cbkhaw3fw7kbvcs1-bash-5.2p26/bin/bash
make -f /build/source/tools/build/Makefile.build dir=. obj=hv_kvp_daemon
make[1]: Entering directory '/build/source/tools/hv'
  CC      hv_kvp_daemon.o
  LD      hv_kvp_daemon-in.o
make[1]: Leaving directory '/build/source/tools/hv'
  LINK    hv_kvp_daemon
make -f /build/source/tools/build/Makefile.build dir=. obj=hv_vss_daemon
make[1]: Entering directory '/build/source/tools/hv'
  CC      hv_vss_daemon.o
  LD      hv_vss_daemon-in.o
make[1]: Leaving directory '/build/source/tools/hv'
  LINK    hv_vss_daemon
make -f /build/source/tools/build/Makefile.build dir=. obj=hv_fcopy_uio_daemon
make[1]: Entering directory '/build/source/tools/hv'
  CC      hv_fcopy_uio_daemon.o
  CC      vmbus_bufring.o
  LD      hv_fcopy_uio_daemon-in.o
make[1]: Leaving directory '/build/source/tools/hv'
  LINK    hv_fcopy_uio_daemon
@nix { "action": "setPhase", "phase": "installPhase" }
Running phase: installPhase
install: cannot stat 'hv_fcopy_daemon': No such file or directory
Resolved URL:  git+file:///etc/nixos
...
Path:          /nix/store/baxlivrqbv4pjd5dzjxq536i0f1pqiq3-source
Revision:      637a998d4d5d1849e8f6a75c58587b0dfd72ebec
Revisions:     16
Last modified: 2024-08-26 15:36:08
Inputs:
├───nixpkgs: github:nixos/nixpkgs/4a92571f9207810b559c9eac203d1f4d79830073?narHash=sha256-%2BCHVZnTnIYRLYsARInHYoWkujzcRkLY/gXm3s5bE52o%3D (2024-08-13 13:45:49)
└───nixpkgs-unstable: github:nixos/nixpkgs/c3aa7b8938b17aebd2deecf7be0636000d62a2b9?narHash=sha256-med8%2B5DSWa2UnOqtdICndjDAEjxr5D7zaIiK4pn0Q7c%3D (2024-08-14 12:17:34)

Steps To Reproduce

Steps to reproduce the behavior: build nixos with:

  virtualisation.hypervGuest.enable = true;

Expected behavior

it should build

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Notify maintainers

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 6.9.8-zen1, NixOS, 24.05 (Uakari), 24.05.20240721.63d37cc`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.22.3`
 - nixpkgs: `/nix/store/lzhqf5y9dcgfkg5f7f96jjc814pgrsqy-source`

cc @peterhoeg

Add a :+1: reaction to issues you find important.

6543 commented 2 weeks ago

test.tar.gz

extract it and try to build the flake: nixos-rebuild build --flake .#test

MatthewCash commented 2 weeks ago

Looks like #332346 needs a backport