Control: reassign -1 dkms
Control: forcemerge 690747 -1
Control: affects 690747 ndiswrapper-dkms

On Thu, Mar 28, 2013 at 10:35:04AM +0100, Patrick Matthäi wrote:
> Package: ndiswrapper-dkms
> Version: 1.57-1
> Severity: serious
> Tags: patch
> 
> Hi,
> 
> the module fails to build with dkms, because BUILT_MODULE_NAME is not defined
> in the dkms.conf, here is a patch:
> 
> diff -Naur ndiswrapper-1.57.orig/debian/ndiswrapper-dkms.dkms.in 
> ndiswrapper-1.57/debian/ndiswrapper-dkms.dkms.in
> --- ndiswrapper-1.57.orig/debian/ndiswrapper-dkms.dkms.in       2012-03-05 
> 16:49:17.000000000 +0100
> +++ ndiswrapper-1.57/debian/ndiswrapper-dkms.dkms.in    2013-03-28 
> 10:32:28.520623214 +0100
> @@ -1,4 +1,5 @@
>  PACKAGE_NAME="ndiswrapper"
>  PACKAGE_VERSION="@VERSION@"
> +BUILT_MODULE_NAME[0]="$PACKAGE_NAME"
>  DEST_MODULE_LOCATION[0]="/updates"
>  AUTOINSTALL="yes"
> 

The configuration file is fully specified as defined by the dkms manual
page and worked previously. As such, dkms should be considered broken; 
not ndiswrapper. It is not my task to work around third party mistakes.

I asked the dkms maintainers in the other bug on 2013-03-03, but have
not received any explanation for the breakage.

I just noticed that I cannot even reproduce this problem; so whatever
you do to get this breakage, please discuss this with the dkms
maintainers.

-- Log showing that it works for me:

Get:1 http://localhost/debian/ sid/main dkms all 2.2.0.3-1.2 [77.4 kB]
Get:2 http://localhost/debian/ sid/main linux-headers-3.2.0-4-common amd64 
3.2.41-2 [3,547 kB]
Get:3 http://localhost/debian/ sid/main linux-kbuild-3.2 amd64 3.2.17-1 [238 kB]
Get:4 http://localhost/debian/ sid/main linux-headers-3.2.0-4-amd64 amd64 
3.2.41-2 [598 kB]                                                          
Get:5 http://localhost/debian/ sid/main linux-headers-amd64 amd64 3.2+46 [4,450 
B]                                                                   
Get:6 http://localhost/debian/ sid/main ndiswrapper-dkms all 1.57-1 [192 kB]    
                                                                     
Fetched 4,657 kB in 7s (623 kB/s)                                               
                                                                     
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
serious bugs of ndiswrapper-dkms (-> 1.57-1) <unfixed>
Summary:
 ndiswrapper-dkms(1 bug)
Are you sure you want to install/upgrade the above packages? [Y/n/?/...] y
Selecting previously unselected package dkms.
(Reading database ... 201512 files and directories currently installed.)
Unpacking dkms (from .../dkms_2.2.0.3-1.2_all.deb) ...
Selecting previously unselected package linux-headers-3.2.0-4-common.
Unpacking linux-headers-3.2.0-4-common (from 
.../linux-headers-3.2.0-4-common_3.2.41-2_amd64.deb) ...
Selecting previously unselected package linux-kbuild-3.2.
Unpacking linux-kbuild-3.2 (from .../linux-kbuild-3.2_3.2.17-1_amd64.deb) ...
Selecting previously unselected package linux-headers-3.2.0-4-amd64.
Unpacking linux-headers-3.2.0-4-amd64 (from 
.../linux-headers-3.2.0-4-amd64_3.2.41-2_amd64.deb) ...
Selecting previously unselected package linux-headers-amd64.
Unpacking linux-headers-amd64 (from .../linux-headers-amd64_3.2+46_amd64.deb) 
...
Selecting previously unselected package ndiswrapper-dkms.
Unpacking ndiswrapper-dkms (from .../ndiswrapper-dkms_1.57-1_all.deb) ...
Processing triggers for man-db ...
Setting up dkms (2.2.0.3-1.2) ...
Setting up linux-headers-3.2.0-4-common (3.2.41-2) ...
Setting up linux-kbuild-3.2 (3.2.17-1) ...
Setting up linux-headers-3.2.0-4-amd64 (3.2.41-2) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-4-amd64
Setting up linux-headers-amd64 (3.2+46) ...
Setting up ndiswrapper-dkms (1.57-1) ...
Loading new ndiswrapper-1.57 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-4-amd64
Building initial module for 3.2.0-4-amd64
Done.

ndiswrapper:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.2.0-4-amd64/updates/dkms/

depmod........



-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Attachment: pgp3WEcLPQ0Yc.pgp
Description: PGP signature

Reply via email to