[pkg-nvidia-devel] Bug#545228: nvidia-kernel-legacy-96xx-source: does not build with 2.6.30-1-686

A Mennucc mennucc1 at debian.org
Sat Sep 5 21:05:45 UTC 2009


Package: nvidia-kernel-legacy-96xx-source
Version: 96.43.13-0.1
Severity: grave
Justification: renders package unusable

hi,

the source does not build with kernel 2.6.30-1-686 

I attach a typescript of the command 
#  m-a -t b-i nvidia-kernel-legacy-96xx

the most relevant errors are:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:534:2: error: #error "N
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:607:2: error: #error "N
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:627:2: error: #error "N
I

a.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
Andrea Mennucc
 "E' un mondo difficile. Che vita intensa!" (Tonino Carotone)
-------------- next part --------------
Script started on sab 05 set 2009 23:02:18 CEST
Extracting the package tarball, /usr/src/nvidia-kernel-legacy-96xx-source.tar.gz, please wait...
/usr/bin/make  -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-96xx'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel-legacy-96xx/nv/Makefile || true
if [ 6 = 6  ]; then \
	     cd /usr/src/modules/nvidia-kernel-legacy-96xx/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-legacy-96xx/nv ; \
	     ln -s Makefile.nvidia Makefile ; \
	     cd .. ; \
	fi
if [ -e patch-stamp ]; then \
	   dpatch deapply-all ; \
	   rm -rf patch-stamp debian/patched ; \
	fi   
if [ -f /usr/src/modules/nvidia-kernel-legacy-96xx/debian/control.template ]; then \
		cp  /usr/src/modules/nvidia-kernel-legacy-96xx/debian/control.template /usr/src/modules/nvidia-kernel-legacy-96xx/debian/control; \
	fi
dh_testroot
rm -f build-stamp configure-stamp
/usr/bin/make clean SYSSRC=/lib/modules/2.6.30-1-686/build -C /usr/src/modules/nvidia-kernel-legacy-96xx/nv -f Makefile 
make[2]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-96xx/nv'
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-96xx/nv'
rm -f /usr/src/modules/nvidia-kernel-legacy-96xx/nv/Makefile || true; 	
rm /usr/src/modules/nvidia-kernel-legacy-96xx/nv/gcc-check
rm /usr/src/modules/nvidia-kernel-legacy-96xx/nv/cc-sanity-check
dh_clean
rm /usr/src/modules/nvidia-kernel-legacy-96xx/debian/control
rm: rm /usr/src/modules/nvidia-kernel-legacy-96xx/debian/dirs
impossibile rimuovere `/usr/src/modules/nvidia-kernel-legacy-96xx/debian/dirs': No such file or directory
make[1]: [clean] Error 1 (ignored)
rm: rm /usr/src/modules/nvidia-kernel-legacy-96xx/debian/override
impossibile rimuovere `/usr/src/modules/nvidia-kernel-legacy-96xx/debian/override': No such file or directory
make[1]: [clean] Error 1 (ignored)
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-96xx'
echo "ROOT_CMD = "
ROOT_CMD = 
/usr/bin/make  -f debian/rules binary_modules
make[1]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-96xx'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel-legacy-96xx/nv/Makefile || true
if [ 6 = 6  ]; then \
	     cd /usr/src/modules/nvidia-kernel-legacy-96xx/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-legacy-96xx/nv ; \
	     ln -s Makefile.nvidia Makefile ; \
	     cd .. ; \
	fi
if ! gcc-4.3 -v 2> /dev/null  ; then \
	   echo "Compiler gcc-4.3 does not exist on the system" ; \
	   exit 1; \
	fi   
touch configure-stamp
if [ -f /usr/src/modules/nvidia-kernel-legacy-96xx/debian/control.template ]; then \
		cp  /usr/src/modules/nvidia-kernel-legacy-96xx/debian/control.template /usr/src/modules/nvidia-kernel-legacy-96xx/debian/control; \
	fi
dh_testdir
dh_testroot
PATCHLEVEL = 6 
Kernel compiler version : 4.3.4
Detected compiler version : 4.3.4
Using compiler gcc-4.3 version 4.3.4
touch /usr/src/modules/nvidia-kernel-legacy-96xx/nv/gcc-check
touch /usr/src/modules/nvidia-kernel-legacy-96xx/nv/cc-sanity-check
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc-4.3"  /usr/bin/make -C /usr/src/modules/nvidia-kernel-legacy-96xx/nv -f Makefile SYSSRC=/lib/modules/2.6.30-1-686/build   KBUILD_PARAMS="-C /lib/modules/2.6.30-1-686/build SUBDIRS=/usr/src/modules/nvidia-kernel-legacy-96xx/nv" module;
make[2]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-96xx/nv'
NVIDIA: calling KBUILD...
make CC=gcc-4.3 -C /lib/modules/2.6.30-1-686/build SUBDIRS=/usr/src/modules/nvidia-kernel-legacy-96xx/nv modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.30-1-686'
  CC [M]  /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.o
In file included from /usr/src/linux-headers-2.6.30-1-common/include/linux/bitops.h:17,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/kernel.h:15,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/sched.h:52,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/utsname.h:35,
                 from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:19,
                 from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:14:
/usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/bitops.h: In function ?set_bit?:
/usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/bitops.h:64: warning: pointer of type ?void *? used in arithmetic
/usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/bitops.h: In function ?clear_bit?:
/usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/bitops.h:102: warning: pointer of type ?void *? used in arithmetic
/usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/bitops.h: In function ?change_bit?:
/usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/bitops.h:178: warning: pointer of type ?void *? used in arithmetic
In file included from /usr/src/linux-headers-2.6.30-1-common/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/preempt.h:11,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/seqlock.h:29,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/time.h:8,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/sched.h:54,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/utsname.h:35,
                 from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:19,
                 from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:14:
/usr/src/linux-headers-2.6.30-1-common/include/linux/prefetch.h: In function ?prefetch_range?:
/usr/src/linux-headers-2.6.30-1-common/include/linux/prefetch.h:57: warning: pointer of type ?void *? used in arithmetic
In file included from /usr/src/linux-headers-2.6.30-1-common/include/linux/utsname.h:35,
                 from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:19,
                 from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:14:
/usr/src/linux-headers-2.6.30-1-common/include/linux/sched.h: In function ?object_is_on_stack?:
/usr/src/linux-headers-2.6.30-1-common/include/linux/sched.h:2121: warning: pointer of type ?void *? used in arithmetic
In file included from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:34,
                 from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:14:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/conftest.h:1:2: error: #error remap_page_range() conftest failed!
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/conftest.h:3:2: error: #error vmap() conftest failed!
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/conftest.h:5:2: error: #error agp_backend_acquire() conftest failed!
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/conftest.h:22:2: error: #error kmem_cache_create() conftest failed!
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/conftest.h:23:2: error: #error on_each_cpu() conftest failed!
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/conftest.h:24:2: error: #error smp_call_function() conftest failed!
In file included from /usr/src/linux-headers-2.6.30-1-common/include/linux/io.h:22,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/pci.h:54,
                 from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:85,
                 from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:14:
/usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/io.h: In function ?writeq?:
/usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/io.h:70: warning: pointer of type ?void *? used in arithmetic
In file included from /usr/src/linux-headers-2.6.30-1-common/include/linux/dma-mapping.h:7,
                 from /usr/src/linux-headers-2.6.30-1-common/include/asm-generic/pci-dma-compat.h:7,
                 from /usr/src/linux-headers-2.6.30-1-common/arch/x86/include/asm/pci.h:129,
                 from /usr/src/linux-headers-2.6.30-1-common/include/linux/pci.h:1098,
                 from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:85,
                 from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:14:
/usr/src/linux-headers-2.6.30-1-common/include/linux/scatterlist.h: In function ?sg_virt?:
/usr/src/linux-headers-2.6.30-1-common/include/linux/scatterlist.h:199: warning: pointer of type ?void *? used in arithmetic
In file included from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:14:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:109:27: error: asm/semaphore.h: No such file or directory
In file included from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:112,
                 from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:14:
/usr/src/linux-headers-2.6.30-1-common/include/linux/highmem.h: In function ?zero_user_segments?:
/usr/src/linux-headers-2.6.30-1-common/include/linux/highmem.h:147: warning: pointer of type ?void *? used in arithmetic
/usr/src/linux-headers-2.6.30-1-common/include/linux/highmem.h:147: warning: pointer of type ?void *? used in arithmetic
/usr/src/linux-headers-2.6.30-1-common/include/linux/highmem.h:147: warning: pointer of type ?void *? used in arithmetic
/usr/src/linux-headers-2.6.30-1-common/include/linux/highmem.h:147: warning: pointer of type ?void *? used in arithmetic
/usr/src/linux-headers-2.6.30-1-common/include/linux/highmem.h:150: warning: pointer of type ?void *? used in arithmetic
/usr/src/linux-headers-2.6.30-1-common/include/linux/highmem.h:150: warning: pointer of type ?void *? used in arithmetic
/usr/src/linux-headers-2.6.30-1-common/include/linux/highmem.h:150: warning: pointer of type ?void *? used in arithmetic
/usr/src/linux-headers-2.6.30-1-common/include/linux/highmem.h:150: warning: pointer of type ?void *? used in arithmetic
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:534:2: error: #error "NV_KMEM_CACHE_CREATE() undefined (kmem_cache_create() unavailable)!"
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:607:2: error: #error "NV_SMP_CALL_FUNCTION() undefined (smp_call_function() unavailable)!"
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:627:2: error: #error "NV_ON_EACH_CPU() undefined (on_each_cpu() unavailable)!"
In file included from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:14:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h: In function ?nv_execute_on_all_cpus?:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:645: error: implicit declaration of function ?NV_ON_EACH_CPU?
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h: At top level:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:800: error: conflicting types for ?pm_message_t?
/usr/src/linux-headers-2.6.30-1-common/include/linux/pm.h:41: error: previous declaration of ?pm_message_t? was here
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:234: warning: initialization from incompatible pointer type
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c: In function ?nv_kern_cpu_callback?:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:1205: error: implicit declaration of function ?NV_SMP_CALL_FUNCTION?
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c: In function ?nvidia_init_module?:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:1354: error: implicit declaration of function ?NV_KMEM_CACHE_CREATE?
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:1354: error: expected expression before ?nv_pte_t?
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:1504: error: implicit declaration of function ?NV_KMEM_CACHE_DESTROY?
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c: In function ?nv_kern_open?:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:1863: warning: passing argument 2 of ?request_irq? from incompatible pointer type
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:3691:6: warning: "NV_AGP_BACKEND_ACQUIRE_ARGUMENT_COUNT" is not defined
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c: In function ?nv_agp_init?:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:3708: error: too few arguments to function ?agp_backend_acquire?
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:3710: error: too few arguments to function ?agp_backend_release?
make[6]: *** [/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.o] Error 1
make[5]: *** [_module_/usr/src/modules/nvidia-kernel-legacy-96xx/nv] Error 2
make[4]: *** [sub-make] Error 2
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.30-1-686'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[2]: *** [module] Error 1
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-96xx/nv'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-96xx'
make: *** [kdist_image] Error 2
BUILD FAILED!
See /var/cache/modass/nvidia-kernel-legacy-96xx-source.buildlog.2.6.30-1-686.1252184546 for details.
Build failed. Press Return to continue...


Script done on sab 05 set 2009 23:03:38 CEST


More information about the Pkg-nvidia-devel mailing list