Package: nvidia-kernel-legacy-173xx-source Version: 96.43.23-3 Severity: important
The debian build rules are not clean for user compiled kernels which include in the kernel version characters which are not allowed in debian package version strings. A run of 'fakeroot debian/rules binary': ===> [...] [ .. patching, and compiling .. ] [...] dh_gencontrol -- -v`cat debian/VERSION` \ -V'built:using:kernel=' \ -V'built:using:nvidia=' dpkg-gencontrol: warning: can't parse dependency linux-image-3.1.1_pf_phc-intel_gov-interactive dpkg-gencontrol: error: error occurred while parsing Recommends field: linux-image-3.1.1_pf_phc-intel_gov-interactive dh_gencontrol: dpkg-gencontrol -ldebian/changelog -Tdebian/nvidia-kernel-legacy-96xx-3.1.1_pf_phc-intel_gov-interactive.substvars -Pdebian/nvidia-kernel-legacy-96xx-3.1.1_pf_phc-intel_gov-interactive -v96.43.23-3+3.1.1_pf_phc-intel_gov-interactive-0 -Vbuilt:using:kernel= -Vbuilt:using:nvidia= returned exit code 255 make: *** [binary-arch] Error 25 <=== Attached is a quick and dirty patch which resolves the problem for my machine; it is a patch to 'debian/prep-modules' Applies to at least the packages 'nvidia-kernel-legacy-96xx-source' and 'nvidia-kernel-legacy-173xx-source', not tested with others (but most probably applies also to other nvidia legacy kernel source packages). Applies at least to package in wheezy (stable). Bug also reported to 'nvidia-kernel-legacy-173xx-source'. While reporting this bug, the installation of the nvidia-glx-libraries was probably not clean, but that is not relevant to the problem reported here. -- Package-specific info: uname -a: Linux (none) 3.1.1_pf_phc-intel_gov-interactive #1 PREEMPT Sat Dec 15 14:58:14 CET 2012 i686 GNU/Linux /proc/version: Linux version 3.1.1_pf_phc-intel_gov-interactive (root@K6) (gcc version 4.7.2 (Debian 4.7.2-3) ) #1 PREEMPT Sat Dec 15 14:58:14 CET 2012 Kernel modules: nvidia.ko /lib/modules/2.6.27.18_ubuntu_tuxonice_debianlogo_loop-aes/kernel/drivers/video/nvidia.ko /lib/modules/3.1.1_pf_phc-intel_gov-interactive/nvidia/nvidia.ko filename: /lib/modules/2.6.27.18_ubuntu_tuxonice_debianlogo_loop-aes/kernel/drivers/video/nvidia.ko alias: char-major-195-* supported: external license: NVIDIA alias: pci:v000010DEd*sv*sd*bc03sc02i00* alias: pci:v000010DEd*sv*sd*bc03sc00i00* depends: agpgart vermagic: 2.6.27.18_ubuntu_tuxonice_debianlogo_loop-aes SMP mod_unload modversions K7 filename: /lib/modules/3.1.1_pf_phc-intel_gov-interactive/nvidia/nvidia.ko alias: char-major-195-* supported: external license: NVIDIA alias: pci:v000010DEd*sv*sd*bc03sc02i00* alias: pci:v000010DEd*sv*sd*bc03sc00i00* depends: agpgart,i2c-core vermagic: 3.1.1_pf_phc-intel_gov-interactive preempt mod_unload K7 -- System Information: Debian Release: 7.0 Architecture: i386 (i686) Kernel: Linux 3.1.1_pf_phc-intel_gov-interactive (PREEMPT) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Shell: /bin/sh linked to /bin/bash Versions of packages nvidia-kernel-legacy-96xx-source is related to: pn ia32-libs <none> pn libdrm-nouveau1 <none> ii libdrm-nouveau1a 2.4.40-1~deb7u2 pn libgl1-nvidia-alternatives-ia32 <none> pn libgl1-nvidia-glx-ia32 <none> pn libgl1-nvidia-glx-ia32-any <none> pn libgl1-nvidia-legacy-173xx-glx-ia32 <none> ii libgl1-nvidia-legacy-96xx-glx [libgl1-nvidia-glx-any] 96.43.23-3 pn libgl1-nvidia-legacy-96xx-glx-ia32 <none> pn linux-headers <none> pn nvidia-glx-any <none> pn nvidia-glx-legacy-173xx <none> pn nvidia-kernel-common <none> pn nvidia-kernel-legacy-173xx-dkms <none> ii nvidia-kernel-legacy-173xx-source 173.14.35-4 pn nvidia-settings <none> ii nvidia-support 20120630+3 pn nvidia-xconfig <none> ii xserver-xorg 1:7.7+2 ii xserver-xorg-core 2:1.12.4-6 pn xserver-xorg-video-nouveau <none> ii xserver-xorg-video-nvidia-legacy-96xx [xserver-xorg-video- 96.43.23-3 <== End forwarded message === -- I'll catch you if you fall. - floor
76a77,79 > # Remove '_', since dpkg will break on that. > nvidia_kvers="$(echo "${nvidia_kvers}" | tr '_' '-')" > 93c96 < echo "$nvidia_version" > debian/VERSION --- > echo "$nvidia_version" | tr '_' '-' > debian/VERSION