Package: ndiswrapper-dkms Version: 1.60-8 Severity: normal Dear Maintainer,
* What led up to the situation? I was installing ndiswrapper as the last resort in order to use a Broadcom 802.11ac wireless adapter BCM943460MC_3 rev 31. * What exactly did you do (or not do) that was effective (or ineffective)? ndiswrapper-dkms failed to build with both kernel 4.19.10 and 5.6. * What was the outcome of this action? apt-get install spit out Error! Bad return status for module build on kernel: 5.6.0-0.bpo.2-rt-amd64 (x86_64) Consult /var/lib/dkms/ndiswrapper/1.60/build/make.log for more information. dpkg: error processing package ndiswrapper-dkms (--configure): installed ndiswrapper-dkms package post-installation script subprocess returned error exit status 10 Errors were encountered while processing: ndiswrapper-dkms E: Sub-process /usr/bin/dpkg returned an error code (1) The aforementioned make.log file complained about a missing struct member cpus_allowed. In file included from /var/lib/dkms/ndiswrapper/1.60/build/crt.c:16: /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h: In function ‘raise_irql’: In file included from /var/lib/dkms/ndiswrapper/1.60/build/hal.c:16: /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h: In function ‘raise_irql’: /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:112:40: error: ‘struct task_struct’ has no member named ‘cpus_allowed’; did you mean ‘nr_cpus_allowed’? #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed) ^~~~~~~~~~~~ /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:658:36: note: in expansion of macro ‘tsk_cpus_allowed’ cpumask_copy(&info->cpus_allowed, tsk_cpus_allowed(current)); ^~~~~~~~~~~~~~~~ /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:112:40: error: ‘struct task_struct’ has no member named ‘cpus_allowed’; did you mean ‘nr_cpus_allowed’? #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed) ^~~~~~~~~~~~ /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:658:36: note: in expansion of macro ‘tsk_cpus_allowed’ cpumask_copy(&info->cpus_allowed, tsk_cpus_allowed(current)); ^~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/ndiswrapper/1.60/build/ndis.h:19, from /var/lib/dkms/ndiswrapper/1.60/build/iw_ndis.h:19, from /var/lib/dkms/ndiswrapper/1.60/build/iw_ndis.c:28: /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h: In function ‘raise_irql’: /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:112:40: error: ‘struct task_struct’ has no member named ‘cpus_allowed’; did you mean ‘nr_cpus_allowed’? #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed) ^~~~~~~~~~~~ /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:658:36: note: in expansion of macro ‘tsk_cpus_allowed’ cpumask_copy(&info->cpus_allowed, tsk_cpus_allowed(current)); ^~~~~~~~~~~~~~~~ make[2]: *** [/usr/src/linux-headers-5.6.0-0.bpo.2-common-rt/scripts/Makefile.build:273: /var/lib/dkms/ndiswrapper/1.60/build/hal.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [/usr/src/linux-headers-5.6.0-0.bpo.2-common-rt/scripts/Makefile.build:273: /var/lib/dkms/ndiswrapper/1.60/build/crt.o] Error 1 In file included from /var/lib/dkms/ndiswrapper/1.60/build/ndis.h:19, from /var/lib/dkms/ndiswrapper/1.60/build/loader.c:16: /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h: In function ‘raise_irql’: /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:112:40: error: ‘struct task_struct’ has no member named ‘cpus_allowed’; did you mean ‘nr_cpus_allowed’? #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed) ^~~~~~~~~~~~ /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:658:36: note: in expansion of macro ‘tsk_cpus_allowed’ cpumask_copy(&info->cpus_allowed, tsk_cpus_allowed(current)); ^~~~~~~~~~~~~~~~ /var/lib/dkms/ndiswrapper/1.60/build/iw_ndis.c: In function ‘set_ndis_auth_mode’: /var/lib/dkms/ndiswrapper/1.60/build/iw_ndis.c:702:25: warning: this statement may fall through [-Wimplicit-fallthrough=] wnd->iw_auth_key_mgmt = IW_AUTH_KEY_MGMT_PSK; /var/lib/dkms/ndiswrapper/1.60/build/iw_ndis.c:703:2: note: here case Ndis802_11AuthModeWPANone: ^~~~ make[2]: *** [/usr/src/linux-headers-5.6.0-0.bpo.2-common-rt/scripts/Makefile.build:273: /var/lib/dkms/ndiswrapper/1.60/build/iw_ndis.o] Error 1 make[2]: *** [/usr/src/linux-headers-5.6.0-0.bpo.2-common-rt/scripts/Makefile.build:273: /var/lib/dkms/ndiswrapper/1.60/build/loader.o] Error 1 make[1]: *** [/usr/src/linux-headers-5.6.0-0.bpo.2-common-rt/Makefile:1704: /var/lib/dkms/ndiswrapper/1.60/build] Error 2 make: *** [/usr/src/linux-headers-5.6.0-0.bpo.2-common-rt/Makefile:180: sub-make] Error 2 * What outcome did you expect instead? Had it been a successful install, there should have been a ndiswrapper.ko module as a result of the building process. -- System Information: Debian Release: bullseye/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.6.0-0.bpo.2-rt-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages ndiswrapper-dkms depends on: ii dkms 2.8.3-3 ndiswrapper-dkms recommends no packages. ndiswrapper-dkms suggests no packages. -- no debconf information