[pkg-nvidia-devel] Bug#523764: dh-clean claims for a debian/control file
Jordi Pujol
jordipujolp at gmail.com
Sun Apr 12 11:34:14 UTC 2009
Package: nvidia-kernel-source
Version: 180.44-1
Severity: normal
Architecture: amd64
Hello,
I don't know if that is a packaging bug for nvidia-kernel-source or this must
be filed against the debhelper package,
Compiling the module with m-a and make-kpkg also, I have found the following
error: cannot read debian/control: file or directori does not exist
**********************
make[1]: se ingresa al directorio `/usr/src/modules/nvidia-kernel'
/usr/bin/make -w -f debian/rules kdist_clean kdist_config binary-modules
make[2]: se ingresa al directorio `/usr/src/modules/nvidia-kernel'
/usr/bin/make -C . LINUXDIR=/usr/src/linux-headers-2.6.29-1.slh.1-sidux-amd64
KVERREL=2.6.29-1.slh.1-sidux-amd64 clean
make[3]: se ingresa al directorio `/usr/src/modules/nvidia-kernel'
rm -rf *.o *.ko .depend .*.flags .*.d .*.cmd *.mod.c .tmp_versions
make[3]: se sale del directorio `/usr/src/modules/nvidia-kernel'
dh_clean
dh_clean: cannot read debian/control: El fitxer o directori no existeix
make[2]: *** [kdist_clean] Error 1
make[2]: se sale del directorio `/usr/src/modules/nvidia-kernel'
make[1]: *** [kdist_build] Error 2
make[1]: se sale del directorio `/usr/src/modules/nvidia-kernel'
Module /usr/src/modules/nvidia-kernel failed.
**********************
I have solved that adding a line in the file debian/rules of that module,
after that it compiles successfully:
**********************
--- /usr/src/modules/nvidia-kernel.18044/debian/rules 2009-04-11
23:39:10.000000000 +0200
+++ /usr/src/modules/nvidia-kernel/debian/rules 2009-04-12 13:10:35.732033202
+0200
@@ -94,6 +94,7 @@
# other kdist_commands (except for the .deb files created).
kdist_clean:
$(MAKE) -C . LINUXDIR=$(KSRC) KVERREL=$(KVERS) clean
+ touch $(CURDIR)/debian/control
dh_clean
.PHONY: clean binary-modules
**********************
Here are the versions for some packages concerning to the module's compile
task,
# uname -a
Linux pcjordi 2.6.29-1.slh.1-sidux-amd64 #1 SMP PREEMPT Thu Apr 2 23:46:53 UTC
2009 x86_64 GNU/Linux
# apt-cache policy kernel-package
kernel-package:
Instal·lat: 11.017
Candidat: 11.017
Taula de versió:
12.004 0
390 http://ftp.debian.org unstable/main Packages
12.002 0
80 http://ftp.debian.org experimental/main Packages
*** 11.017 0
990 http://ftp.debian.org testing/main Packages
100 /var/lib/dpkg/status
11.015 0
110 http://ftp.debian.org stable/main Packages
# apt-cache policy debhelper
debhelper:
Instal·lat: 7.2.7
Candidat: 7.2.7
Taula de versió:
*** 7.2.7 0
990 http://ftp.debian.org testing/main Packages
390 http://ftp.debian.org unstable/main Packages
100 /var/lib/dpkg/status
7.0.15 0
110 http://ftp.debian.org stable/main Packages
Kind regards,
Jordi Pujol
More information about the Pkg-nvidia-devel
mailing list