Package: nvidia-kernel-source
Version: 1.0.8774-1
Severity: important

Both when using the module-assistant or just a "debian/rules binary_modules" to
build a nvidia driver package I get the error message "failed to determine
PATCHLEVEL!". This happens while using a stock 2.6.16-2-686 Linux kernel on
Sid. (I can't try newer kernels on that machine due to limitations with the
borked vmware software.) Output follows:

schrotti:/usr/src/modules/nvidia-kernel# debian/rules binary_modules
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel/nv/Makefile || true
if [ 6 = 6  ]; then \
             cd /usr/src/modules/nvidia-kernel/nv ; \
             ln -s Makefile.kbuild Makefile ; \
             cd .. ; \
             if [ 0  = 1 ] ; then \
                dpatch apply 04_minion ; \
             fi ; \
             if [ 0 = 1 ]; then \
                dpatch apply 01_sysfs ; \
                dpatch status 01_sysfs >patch-stamp ; \
                dpatch apply 02_pcialias ; \
                dpatch status 02_pcialias >>patch-stamp ; \
             fi ; \
        fi
if [  6 = 4  ]; then \
             cd /usr/src/modules/nvidia-kernel/nv ; \
             ln -s Makefile.nvidia Makefile ; \
             cd .. ; \
        fi
#nothing here anymore
touch configure-stamp
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then \
                cp  /usr/src/modules/nvidia-kernel/debian/control.template 
/usr/src/modules/nvidia-kernel/debian/control; \
        fi
dh_testdir
dh_testroot
PATCHLEVEL = 6
Kernel compiler version : 4.0.3
Detected compiler version : 4.0.3
Using compiler gcc-4.0 version 4.0.3
touch /usr/src/modules/nvidia-kernel/nv/gcc-check
touch /usr/src/modules/nvidia-kernel/nv/cc-sanity-check
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc-4.0"  /usr/bin/make -C 
/usr/src/modules/nvidia-kernel/nv -f Makefile 
SYSSRC=/usr/src/linux-headers-2.6.16-2-686/   KBUILD_PARAMS="-C 
/usr/src/linux-headers-2.6.16-2-686/ SUBDIRS=/usr/src/modules/nvidia-kernel/nv" 
module;
make[1]: Entering directory `/usr/src/modules/nvidia-kernel/nv'
failed to determine PATCHLEVEL!
make[1]: *** [mdl] Fehler 1
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
make: *** [build-stamp] Fehler 2


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages nvidia-kernel-source depends on:
ii  debhelper                     5.0.37.3   helper programs for debian/rules
ii  dpatch                        2.0.20     patch maintenance system for Debia
ii  make                          3.81-3     The GNU version of the "make" util
ii  sed                           4.1.5-1    The GNU sed stream editor

Versions of packages nvidia-kernel-source recommends:
ii  devscripts                    2.9.21     Scripts to make the life of a Debi
ii  kernel-package                10.056     A utility for building Linux kerne
ii  nvidia-glx                    1.0.8774-1 NVIDIA binary XFree86 4.x driver

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to