Nixpkgs version
Steps to reproduce
set programs.cdemu.enable = true; in configuration.nix
Can Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
https://hydra.nixos.org/build/327948135
Relevant log output
vhba> Running phase: unpackPhase
vhba> unpacking source archive /nix/store/miw57gnwx476a28fwzb6xjc33c29xji2-vhba-module-20250329.tar.xz
vhba> source root is vhba-module-20250329
vhba> setting SOURCE_DATE_EPOCH to timestamp 1743287925 of file "vhba-module-20250329/vhba.c"
vhba> Running phase: patchPhase
vhba> Running phase: updateAutotoolsGnuConfigScriptsPhase
vhba> Running phase: configurePhase
vhba> no configure script, doing nothing
vhba> Running phase: buildPhase
vhba> build flags: SHELL=/nix/store/i27rhb3nr65rkrwz36bchkwmav6ggsmn-bash-5.3p9/bin/bash CC=/nix/store/sanx9fg8mry8mq92zhlm5qvb83qlxrlx-gcc-15.2.0/bin/gcc LD=/nix/store/p2vkw5s89ff1fs2d2rxqxiqil9s0jpcm-binutils-2.46/bin/ld AR=/nix/store/qd70v8g0561vm8m33kmnp79z00cgyi5n-gcc-wrapper-15.2.0/bin/ar NM=/nix/store/qd70v8g0561vm8m33kmnp79z00cgyi5n-gcc-wrapper-15.2.0/bin/nm STRIP=/nix/store/p2vkw5s89ff1fs2d2rxqxiqil9s0jpcm-binutils-2.46/bin/strip OBJCOPY=/nix/store/qd70v8g0561vm8m33kmnp79z00cgyi5n-gcc-wrapper-15.2.0/bin/objcopy OBJDUMP=/nix/store/qd70v8g0561vm8m33kmnp79z00cgyi5n-gcc-wrapper-15.2.0/bin/objdump READELF=/nix/store/qd70v8g0561vm8m33kmnp79z00cgyi5n-gcc-wrapper-15.2.0/bin/readelf HOSTCC=/nix/store/qd70v8g0561vm8m33kmnp79z00cgyi5n-gcc-wrapper-15.2.0/bin/cc HOSTCXX=/nix/store/qd70v8g0561vm8m33kmnp79z00cgyi5n-gcc-wrapper-15.2.0/bin/c++ HOSTAR=/nix/store/kfwagnh6i1mysf7vxq679rzh30z9zj3g-binutils-wrapper-2.46/bin/ar HOSTLD=/nix/store/kfwagnh6i1mysf7vxq679rzh30z9zj3g-binutils-wrapper-2.46/bin/ld ARCH=x86_64 CROSS_COMPILE= KBUILD_OUTPUT=/nix/store/rv2i14gkrl3q6b6ymj4a424hih02ydzf-linux-7.0.8-dev/lib/modules/7.0.8/build KDIR=/nix/store/rv2i14gkrl3q6b6ymj4a424hih02ydzf-linux-7.0.8-dev/lib/modules/7.0.8/build INSTALL_MOD_PATH=\$\(out\)
vhba> make -C /nix/store/rv2i14gkrl3q6b6ymj4a424hih02ydzf-linux-7.0.8-dev/lib/modules/7.0.8/build M=/build/vhba-module-20250329 modules
vhba> make[1]: Entering directory '/nix/store/rv2i14gkrl3q6b6ymj4a424hih02ydzf-linux-7.0.8-dev/lib/modules/7.0.8/build'
vhba> make[2]: Entering directory '/build/vhba-module-20250329'
man-paths> structuredAttrs is enabled
vhba> CC [M] vhba.o
system-path> pkgs.buildEnv warning: colliding subpath (ignored): `/nix/store/vr4sjc5ajni6j76wqkvkx84q141270ak-binutils-wrapper-2.46/bin/ld' and `/nix/store/qd70v8g0561vm8m33kmnp79z00cgyi5n-gcc-wrapper-15.2.0/bin/ld'
system-path> pkgs.buildEnv warning: colliding subpath (ignored): `/nix/store/vr4sjc5ajni6j76wqkvkx84q141270ak-binutils-wrapper-2.46/bin/ld.bfd' and `/nix/store/qd70v8g0561vm8m33kmnp79z00cgyi5n-gcc-wrapper-15.2.0/bin/ld.bfd'
system-path> pkgs.buildEnv warning: colliding subpath (ignored): `/nix/store/vr4sjc5ajni6j76wqkvkx84q141270ak-binutils-wrapper-2.46/bin/strip' and `/nix/store/qd70v8g0561vm8m33kmnp79z00cgyi5n-gcc-wrapper-15.2.0/bin/strip'
system-path> pkgs.buildEnv warning: colliding subpath (ignored): `/nix/store/vr4sjc5ajni6j76wqkvkx84q141270ak-binutils-wrapper-2.46/bin/ld.gold' and `/nix/store/qd70v8g0561vm8m33kmnp79z00cgyi5n-gcc-wrapper-15.2.0/bin/ld.gold'
vhba> vhba.c:532:21: error: initialization of 'enum scsi_qc_status (*)(struct Scsi_Host *, struct scsi_cmnd *)' from incompatible pointer type 'int (*)(struct Scsi_Host *, struct scsi_cmnd *)' [-Wincompatible-pointer-types]
vhba> 532 | .queuecommand = vhba_queuecommand,
vhba> | ^~~~~~~~~~~~~~~~~
vhba> vhba.c:532:21: note: (near initialization for 'vhba_template.queuecommand')
vhba> vhba.c:474:12: note: 'vhba_queuecommand' declared here
vhba> 474 | static int vhba_queuecommand (struct Scsi_Host *shost, struct scsi_cmnd *cmd)
vhba> | ^~~~~~~~~~~~~~~~~
man-paths> pkgs.buildEnv warning: colliding subpath (ignored): `/nix/store/3c8jvmgc0nffizzv87v02hz8wgy7bbcv-xwayland-24.1.11/share/man/man1/Xserver.1.gz' and `/nix/store/nmid94b9jj6ymgci81misv3lqwq08jma-xorg-server-21.1.22/share/man/man1/Xserver.1.gz'
vhba> make[4]: *** [/nix/store/rv2i14gkrl3q6b6ymj4a424hih02ydzf-linux-7.0.8-dev/lib/modules/7.0.8/source/scripts/Makefile.build:289: vhba.o] Error 1
vhba> make[3]: *** [/nix/store/rv2i14gkrl3q6b6ymj4a424hih02ydzf-linux-7.0.8-dev/lib/modules/7.0.8/source/Makefile:2108: .] Error 2
vhba> make[2]: *** [/nix/store/rv2i14gkrl3q6b6ymj4a424hih02ydzf-linux-7.0.8-dev/lib/modules/7.0.8/source/Makefile:248: __sub-make] Error 2
vhba> make[2]: Leaving directory '/build/vhba-module-20250329'
vhba> make[1]: *** [/nix/store/rv2i14gkrl3q6b6ymj4a424hih02ydzf-linux-7.0.8-dev/lib/modules/7.0.8/source/Makefile:248: __sub-make] Error 2
vhba> make[1]: Leaving directory '/nix/store/rv2i14gkrl3q6b6ymj4a424hih02ydzf-linux-7.0.8-dev/lib/modules/7.0.8/build'
vhba> make: *** [Makefile:14: modules] Error 2
Additional context
Linux 7 introduced a breaking change that affects VHBA and therefore also CDEmu, compare: cdemu/cdemu@2a13e9b
#499730 fixes this issue.
System metadata
- system:
"x86_64-linux"
- host os:
Linux 7.0.3, NixOS, 26.05 (Yarara), 26.05.20260430.15f4ee4
- multi-user?:
yes
- sandbox:
yes
- version:
nix-env (Nix) 2.34.6
- channels(root):
"nixos-23.05"
- channels(admin):
""
- nixpkgs:
/nix/store/wjfxdzblindbl9sp2hbwhi4iyh5jh348-source
Notify maintainers
@bendlas
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.
Nixpkgs version
Steps to reproduce
set programs.cdemu.enable = true; in configuration.nix
Can Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
https://hydra.nixos.org/build/327948135
Relevant log output
Additional context
Linux 7 introduced a breaking change that affects VHBA and therefore also CDEmu, compare: cdemu/cdemu@2a13e9b
#499730 fixes this issue.
System metadata
"x86_64-linux"Linux 7.0.3, NixOS, 26.05 (Yarara), 26.05.20260430.15f4ee4yesyesnix-env (Nix) 2.34.6"nixos-23.05"""/nix/store/wjfxdzblindbl9sp2hbwhi4iyh5jh348-sourceNotify maintainers
@bendlas
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.