[pkg-nvidia-devel] Bug#521587: Bug#521587: nvidia-kernel-source: module assistant fails to build nvidia-kernel-2.6.29 package

Lennart Sorensen lsorense at csclub.uwaterloo.ca
Sun Mar 29 00:30:22 UTC 2009


On Sat, Mar 28, 2009 at 07:25:32PM +0200, Eftaxiopoulos Dimitrios wrote:
> Package: nvidia-kernel-source
> Version: 180.29-1
> Severity: normal
> 
> Attached is the buildlog file after the failure of module assistant to build t
> he binary nvidia kernel package.
> 
> Dimitris 
> 
> 
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (101, 'experimental')
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.29-1-686-bigmem (SMP w/4 CPU cores)
> Locale: LANG=el_GR.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages nvidia-kernel-source depends on:
> ii  debhelper                     7.2.7      helper programs for debian/rules
> ii  dpatch                        2.0.31     patch maintenance system for Debia
> ii  make                          3.81-5     The GNU version of the "make" util
> ii  sed                           4.1.5-8    The GNU sed stream editor
> 
> Versions of packages nvidia-kernel-source recommends:
> ii  devscripts                    2.10.47    scripts to make the life of a Debi
> ii  kernel-package                11.017     A utility for building Linux kerne
> ii  nvidia-glx                    180.29-1   NVIDIA binary Xorg driver
> 
> nvidia-kernel-source suggests no packages.
> 
> -- no debconf information

> /usr/bin/make  -f debian/rules clean
> make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
> # select which makefile to use.
> rm -f /usr/src/modules/nvidia-kernel/Makefile || true
> if [ 6 = 6  ]; then \
> 	     ln -s Makefile.kbuild Makefile ; \
> 	fi
> if [  6 = 4  ]; then \
> 	     ln -s Makefile.nvidia Makefile ; \
> 	fi
> if [ -e patch-stamp ]; then \
> 	   dpatch deapply-all ; \
> 	   rm -rf patch-stamp debian/patched ; \
> 	fi
> 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_testroot
> rm -f build-stamp configure-stamp
> /usr/bin/make clean SYSSRC=/lib/modules/2.6.29-1-686-bigmem/build -C /usr/src/modules/nvidia-kernel/ -f Makefile 
> make[2]: Entering directory `/usr/src/modules/nvidia-kernel'
> make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
> rm -f /usr/src/modules/nvidia-kernel//Makefile || true; 	
> rm /usr/src/modules/nvidia-kernel//gcc-check
> rm /usr/src/modules/nvidia-kernel//cc-sanity-check
> dh_clean
> rm /usr/src/modules/nvidia-kernel/debian/control
> rm /usr/src/modules/nvidia-kernel/debian/dirs
> rm /usr/src/modules/nvidia-kernel/debian/override
> make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
> echo "ROOT_CMD = "
> ROOT_CMD = 
> /usr/bin/make  -f debian/rules binary_modules
> make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
> # select which makefile to use.
> rm -f /usr/src/modules/nvidia-kernel/Makefile || true
> if [ 6 = 6  ]; then \
> 	     ln -s Makefile.kbuild Makefile ; \
> 	fi
> if [  6 = 4  ]; then \
> 	     ln -s Makefile.nvidia Makefile ; \
> 	fi
> if ! gcc-4.3 -v 2> /dev/null  ; then \
> 	   echo "Compiler gcc-4.3 does not exist on the system" ; \
> 	   exit 1; \
> 	fi   
> 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
> if [ "i686" = "x86_64" ]; then \
> 		cp /usr/src/modules/nvidia-kernel/nv-kernel.o.x86_64 /usr/src/modules/nvidia-kernel/nv-kernel.o ; \
> 	fi
> touch configure-stamp
> dh_testdir
> dh_testroot
> PATCHLEVEL = 6 
> Kernel compiler version : 4.3.3
> Detected compiler version : 4.3.3
> Using compiler gcc-4.3 version 4.3.3
> touch /usr/src/modules/nvidia-kernel//gcc-check
> touch /usr/src/modules/nvidia-kernel//cc-sanity-check
> ## Main Make ##
> IGNORE_CC_MISMATCH=1 CC="gcc-4.3" /usr/bin/make -C /usr/src/modules/nvidia-kernel/ -f Makefile SYSSRC=/lib/modules/2.6.29-1-686-bigmem/build   KBUILD_PARAMS="-C /lib/modules/2.6.29-1-686-bigmem/build SUBDIRS=/usr/src/modules/nvidia-kernel" module;
> make[2]: Entering directory `/usr/src/modules/nvidia-kernel'
> NVIDIA: calling KBUILD...
> make CC=gcc-4.3 -C /lib/modules/2.6.29-1-686-bigmem/build SUBDIRS=/usr/src/modules/nvidia-kernel modules
> make[3]: Entering directory `/usr/src/linux-headers-2.6.29-1-686-bigmem'
> /usr/src/linux-headers-2.6.29-1-common/arch/x86/Makefile:41: /usr/src/linux-headers-2.6.29-1-common/arch/x86/Makefile_32.cpu: ?????? ?????????????? ???????????? ???????????? ?? ??????????????????
> make[5]: *** No rule to make target `/usr/src/linux-headers-2.6.29-1-common/arch/x86/Makefile_32.cpu'.  Stop.
> make[4]: *** [sub-make] Error 2
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/usr/src/linux-headers-2.6.29-1-686-bigmem'
> NVIDIA: left KBUILD.
> nvidia.ko failed to build!
> make[2]: *** [module] Error 1
> make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
> make[1]: *** [build-stamp] Error 2
> make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
> make: *** [kdist_image] Error 2

The missing Makefile_32.cpu is a bug in the linux-headers-2.6.29 package.
I already did a bug report on it.  Now even if you fix that, the nvidia
package still fails to build, but I got most of the way through fixing
that yesterday, and Randall is looking at it now.  Should be fixed
very soon.  Hopefully the linux-headers package will be too.

-- 
Len Sorensen





More information about the Pkg-nvidia-devel mailing list