[pkg-nvidia-devel] Bug#523716: nvidia-kernel-source: fails to build

Sven Joachim svenjoac at gmx.de
Sun Apr 12 07:54:20 UTC 2009


tags 523716 + patch
thanks

On 2009-04-12 05:51 +0200, Avery Fay wrote:

> Package: nvidia-kernel-source
> Version: 180.44-1
> Severity: grave
> Justification: renders package unusable
>
> from m-a build:
>
> /usr/bin/make -C . LINUXDIR=/lib/modules/2.6.28-1-amd64/build KVERREL=2.6.28-1-amd64 clean
> make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
> rm -rf *.o *.ko .depend .*.flags .*.d .*.cmd *.mod.c .tmp_versions
> make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
> dh_clean
> /usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
> make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
> /usr/bin/make -C . LINUXDIR=/lib/modules/2.6.28-1-amd64/build KVERREL=2.6.28-1-amd64 clean
> make[2]: Entering directory `/usr/src/modules/nvidia-kernel'
> make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
> dh_clean
> dh_clean: cannot read debian/control: No such file or directory
>
> make[1]: *** [kdist_clean] Error 1
> make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
> make: *** [kdist_build] Error 2

Here is a quick patch that works for me:

--8<---------------cut here---------------start------------->8---
--- debian.binary/rules~	2009-04-12 09:25:15.000000000 +0200
+++ debian.binary/rules	2009-04-12 09:32:02.362270866 +0200
@@ -94,6 +94,6 @@
 # other kdist_commands (except for the .deb files created).
 kdist_clean: 
 	$(MAKE) -C . LINUXDIR=$(KSRC) KVERREL=$(KVERS) clean
-	dh_clean
+	-dh_clean
 
 .PHONY: clean binary-modules
--8<---------------cut here---------------end--------------->8---

However, it seems that the module does not build against kernels older
than 2.6.29 (subject to another bug report).

Sven





More information about the Pkg-nvidia-devel mailing list