Steps To Reproduce
Version V1.3.0.4236 of mwprocapture (the Linux driver for the Magewell Pro Capture family) FTBFS when building against Linux 6.1 or newer.
Steps to reproduce the behavior:
- Add
mwProCapture.enable = true; to hardware-configuration.nix
- Add
boot.kernelPackages = pkgs.linuxPackages_latest; to hardware-configuration.nix
sudo nixos-rebuild switch
Build log
error: builder for '/nix/store/hc35022db8fd3wg8hyd9y31lmwnal1ph-mwprocapture-1.3.0.4236-6.2.3.drv' failed with exit code 2;
last 10 log lines:
> 276 | if (wChannelValid & 0x02) {
> | ^
> /build/ProCaptureForLinux_4236/src/sources/avstream/alsa.c:282:9: note: here
> 282 | case 1:
> | ^~~~
> cc1: some warnings being treated as errors
> make[2]: *** [/nix/store/ma356rq8bjkl6y3dbx12qhnflv1f485k-linux-6.2.3-dev/lib/modules/6.2.3/source/scripts/Makefile.build:252: /build/ProCaptureForLinux_4236/src/sources/avstream/alsa.o] Error 1
> make[1]: *** [/nix/store/ma356rq8bjkl6y3dbx12qhnflv1f485k-linux-6.2.3-dev/lib/modules/6.2.3/source/Makefile:2021: /build/ProCaptureForLinux_4236/src] Error 2
> make[1]: Leaving directory '/nix/store/ma356rq8bjkl6y3dbx12qhnflv1f485k-linux-6.2.3-dev/lib/modules/6.2.3/build'
> make: *** [Makefile:33: all] Error 2
For full logs, run 'nix log /nix/store/hc35022db8fd3wg8hyd9y31lmwnal1ph-mwprocapture-1.3.0.4236-6.2.3.drv'.
error: 1 dependencies of derivation '/nix/store/k9jfg5rc1znalqyf9gmf73qnq4fda91r-etc-nixos.conf.drv' failed to build
error: 1 dependencies of derivation '/nix/store/fqd3ri0i95snvqmzwrrg6wad6f2giq1a-kernel-modules.drv' failed to build
error: 1 dependencies of derivation '/nix/store/8pap2plygkdhgcg8lsdzaf3fx0jwh0yv-linux-6.2.3-modules.drv' failed to build
error: 1 dependencies of derivation '/nix/store/lnqb6ymr9m17rpz8l5w4l7lhh0kmz32b-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/npjlnky14m5p6y2vn63q9xvhbp3g8ma9-nixos-system-designare-23.05.20230310.0c4800d.drv' failed to build
Additional context
Magewell have released V1.3.0.4328 of the driver to address this issue. I am working on a pull request for nixpkgs.
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.2.3, NixOS, 23.05 (Stoat), 23.05.20230310.0c4800d`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.13.3`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
Steps To Reproduce
Version V1.3.0.4236 of mwprocapture (the Linux driver for the Magewell Pro Capture family) FTBFS when building against Linux 6.1 or newer.
Steps to reproduce the behavior:
mwProCapture.enable = true;tohardware-configuration.nixboot.kernelPackages = pkgs.linuxPackages_latest;tohardware-configuration.nixsudo nixos-rebuild switchBuild log
Additional context
Magewell have released V1.3.0.4328 of the driver to address this issue. I am working on a pull request for nixpkgs.
Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"and paste the result.