Skip to content

Build failure: linuxPackages_latest.v4l2loopback #575851

Closed

Description

@EvilBoi123

Nixpkgs version

Please select a version.

Steps to reproduce

I am not sure if this is a build failure of v4l2loopback itself, because it DID build and produces files in result, but nixos complains that v4l2loopback is the causes of the problem when doing nixos-rebuild switch

Can Hydra reproduce this build failure?

Hydra doesn’t try to build the package.

Link to Hydra build job

No response

Relevant log output

cancel@nixos ~> nixos-rebuild build --max-jobs 1
building the system configuration...
evaluation warning: stdenv.isLinux is deprecated, use stdenv.hostPlatform.isLinux instead
evaluation warning: stdenv.isDarwin is deprecated, use stdenv.hostPlatform.isDarwin instead
error: Cannot build '/nix/store/l19dzc0vzf33fqqv9dhrjpk81jnwppik-linux-7.2.11-modules.drv'.
       Reason: builder failed with exit code 25.
       Output paths:
         /nix/store/pd9zzs0xb04jqyjnnmkl8pmbjiyw47x2-linux-7.2.11-modules
       Last 6 log lines:
       > structuredAttrs is enabled
       > pkgs.buildEnv error: two given paths contain a conflicting subpath:
       >   `/nix/store/93n5879v79ljfdhaglr8p4kxndrgmq0d-v4l2loopback-0.15.4/lib/modules/7.2.11/modules.devname' and
       >   `/nix/store/36c6ybh6gv1mbnfq5n5sbqy2ghbdcgsa-linux-7.2.11-modules/lib/modules/7.2.11/modules.devname'
       > hint: this may be caused by two different versions of the same package in buildEnv's `paths` parameter
       > hint: `pkgs.nix-diff` can be used to compare derivations
       For full logs, run:
         nix log /nix/store/l19dzc0vzf33fqqv9dhrjpk81jnwppik-linux-7.2.11-modules.drv
error: Cannot build '/nix/store/qbmz2vbwl9vi3sqfawah8fqkx0dpfx1w-nixos-system-nixos-26.11.20261019.52a12bf.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/c1zkx5m83f9zi8rqqc0vbg911npn6kjn-nixos-system-nixos-26.11.20261019.52a12bf
Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '/etc/nixos#nixosConfigurations."nixos".config.system.build.toplevel' --max-jobs 1' returned non-zero exit status 1.

Additional context

have to enable this in config:
boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];

System metadata

  • system: "x86_64-linux"
  • host os: Linux 7.2.10, NixOS, 26.11 (Zokor), 26.11.20261015.e409693
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.34.9
  • nixpkgs: /nix/store/gfgfydpiv5v4dc90j1ccv15af6wzdsi0-source

Notify maintainers

@moni-dz @Bot-wxt1221

Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failure

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions