NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.65k stars 13.8k forks source link

Build failure: monado #346273

Open reinux opened 3 days ago

reinux commented 3 days ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. build monado:
    services.monado = {
    enable = true;
    defaultRuntime = true; # Register as default OpenXR runtime
    };

Build log

error: builder for '/nix/store/b9akvbi38w29xrcvlyily5didg7p4023-monado-24.0.0.drv' failed with exit code 1;
       last 10 log lines:
       > 
       > CMake Error at /nix/store/yzi080r2c1zn2jzrhcfdv7dmr92yw07l-cmake-3.29.6/share/cmake-3.29/Modules/FindCUDA.cmake:883 (message):
       >   Specify CUDA_TOOLKIT_ROOT_DIR
       > Call Stack (most recent call first):
       >   /nix/store/6f9n7734yiqy074ff5yi1r5q6910ldyp-opencv-4.9.0/lib/cmake/opencv4/OpenCVConfig.cmake:86 (find_package)
       >   /nix/store/6f9n7734yiqy074ff5yi1r5q6910ldyp-opencv-4.9.0/lib/cmake/opencv4/OpenCVConfig.cmake:108 (find_host_package)
       >   CMakeLists.txt:95 (find_package)
       >
       > 
       > -- Configuring incomplete, errors occurred!
       For full logs, run 'nix log /nix/store/b9akvbi38w29xrcvlyily5didg7p4023-monado-24.0.0.drv'.
error: 1 dependencies of derivation '/nix/store/k53wfak59vc7n5b8jkfnmr2jilfigapb-ensure-all-wrappers-paths-exist.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4wcf403kdjc5n2qwrhd4fbs0gfr5iwin-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/f2v9wrri53db3d3y90bxar6j38rszlkf-nixos-system-oden-24.11.20241001.27e30d1.drv' failed to build

Notify maintainers

@Scrumplex @expipiplus1 @prusnak

Metadata

[I] rei@oden ~ [1]> nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.53, NixOS, 24.11 (Vicuna), 24.11.20241001.27e30d1`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.8`
 - nixpkgs: `/nix/store/lryfc8mhk1czqsa421di2y5nzz5c3b8m-source`

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

Scrumplex commented 2 days ago

I can't seem to reproduce this on nixos-unstable (27e30d177e57d912d614c88c622dcfdb2e6e6515) or master (b7d2c8036eae9921ee38db32a4f7b5f46ee60508). Did you configure any overlays on your system?