[pkg-nvidia-devel] Bug#568003: nvidia-kernel-source: Fails to build with current kernel packages
Javier Kohen
jkohen at users.sourceforge.net
Mon Feb 1 19:59:54 UTC 2010
Package: nvidia-kernel-source
Version: 190.53-1
Severity: grave
Justification: renders package unusable
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This version of the package fails to build against the latest kernel on sid. I've done an aptitude safe-upgrade, just in case. I've also tried both module-assistant and method #1 in this package's README.Debian, and they both give the same error. I've also tried setting KBUILD_SRC to point to /usr/lib/linux-kbuild-2.6.32, and it also fails, with a different error. It seems the build system is not clever enough to figure out what files are in what of the two/three locations the kernel build system and headers are split accross. I've built previous versions of this package without much trouble, even against the kernel I'm currently using.
M-A build without KBUILD_SRC:
$ LANG=C sudo m-a --text-mode a-i nvidia
.
Updated infos about 1 packages
Getting source for kernel version: 2.6.32-trunk-amd64
Kernel headers available in /lib/modules/2.6.32-trunk-amd64/build
apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Done!
unpack
Extracting the package tarball, /usr/src/nvidia-kernel.tar.bz2, please wait...
"/usr/share/modass/packages/nvidia-kernel-source" build KVERS=2.6.32-trunk-amd64 KSRC=/lib/modules/2.6.32-trunk-amd64/build KDREV=2.6.32-5 kdist_image
/usr/bin/make -C . LINUXDIR=/lib/modules/2.6.32-trunk-amd64/build KVERREL=2.6.32-trunk-amd64 clean
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
rm -rf *.o *.ko .depend .*.flags .*.d .*.cmd *.mod.c .tmp_versions
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
dh_clean
dh_clean: cannot read debian/control: No such file or directory
make: [kdist_clean] Error 2 (ignored)
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
/usr/bin/make -C . LINUXDIR=/lib/modules/2.6.32-trunk-amd64/build KVERREL=2.6.32-trunk-amd64 clean
make[2]: Entering directory `/usr/src/modules/nvidia-kernel'
rm -rf *.o *.ko .depend .*.flags .*.d .*.cmd *.mod.c .tmp_versions
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
dh_clean
dh_clean: cannot read debian/control: No such file or directory
make[1]: [kdist_clean] Error 2 (ignored)
/usr/bin/make -w -f debian/rules configure
make[2]: Entering directory `/usr/src/modules/nvidia-kernel'
sed 's/#KVERS#/2.6.32-trunk-amd64/g' debian/control.template > /usr/src/modules/nvidia-kernel/debian/control
sed 's/#KVERS#/2.6.32-trunk-amd64/g' debian/dirs.template > /usr/src/modules/nvidia-kernel/debian/dirs
sed 's/#KVERS#/2.6.32-trunk-amd64/g' debian/override.template > /usr/src/modules/nvidia-kernel/debian/override
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
sed 's/#KVERS#/2.6.32-trunk-amd64/g' debian/control.template > /usr/src/modules/nvidia-kernel/debian/control
sed 's/#KVERS#/2.6.32-trunk-amd64/g' debian/dirs.template > /usr/src/modules/nvidia-kernel/debian/dirs
sed 's/#KVERS#/2.6.32-trunk-amd64/g' debian/override.template > /usr/src/modules/nvidia-kernel/debian/override
dh_testroot
dh_prep
# Build the modules
/usr/bin/make -C . LINUXDIR=/lib/modules/2.6.32-trunk-amd64/build KVERREL=2.6.32-trunk-amd64
make[2]: Entering directory `/usr/src/modules/nvidia-kernel'
make -C /lib/modules/2.6.32-trunk-amd64/build M=`/bin/pwd` modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.32-trunk-amd64'
/usr/src/linux-headers-2.6.32-trunk-common/Makefile:274: /usr/src/linux-headers-2.6.32-trunk-common/scripts/Kbuild.include: No such file or directory
/bin/bash: /usr/src/linux-headers-2.6.32-trunk-common/scripts/gcc-x86_64-has-stack-protector.sh: No such file or directory
/usr/src/linux-headers-2.6.32-trunk-common/arch/x86/Makefile:81: stack protector enabled but no compiler support
make: *** empty variable name. Stop.
make[5]: *** [_module_/usr/src/modules/nvidia-kernel] Error 2
make[4]: *** [sub-make] Error 2
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.32-trunk-amd64'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
make: *** [kdist_build] Error 2
BUILD FAILED!
See /var/cache/modass/nvidia-kernel-source.buildlog.2.6.32-trunk-amd64.1265053778 for details.
M-A build with KBUILD_SRC:
$ LANG=C; KBUILD_SRC=/usr/lib/linux-kbuild-2.6.32 m-a --text-mode a-i nvidia
NOTE: You are not root but member of the src group. Mapping the base
working directory to "/usr/src/modass".
.
Updated infos about 1 packages
Getting source for kernel version: 2.6.32-trunk-amd64
Kernel headers available in /lib/modules/2.6.32-trunk-amd64/build
/usr/bin/sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Done!
unpack
Extracting the package tarball, /usr/src/nvidia-kernel.tar.bz2, please wait...
"/usr/share/modass/packages/nvidia-kernel-source" build KVERS=2.6.32-trunk-amd64 KSRC=/lib/modules/2.6.32-trunk-amd64/build KDREV=2.6.32-5 kdist_image
/usr/bin/make -C . LINUXDIR=/lib/modules/2.6.32-trunk-amd64/build KVERREL=2.6.32-trunk-amd64 clean
make[1]: Entering directory `/usr/src/modass/usr_src/modules/nvidia-kernel'
rm -rf *.o *.ko .depend .*.flags .*.d .*.cmd *.mod.c .tmp_versions
make[1]: Leaving directory `/usr/src/modass/usr_src/modules/nvidia-kernel'
dh_clean
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modass/usr_src/modules/nvidia-kernel'
/usr/bin/make -C . LINUXDIR=/lib/modules/2.6.32-trunk-amd64/build KVERREL=2.6.32-trunk-amd64 clean
make[2]: Entering directory `/usr/src/modass/usr_src/modules/nvidia-kernel'
rm -rf *.o *.ko .depend .*.flags .*.d .*.cmd *.mod.c .tmp_versions
make[2]: Leaving directory `/usr/src/modass/usr_src/modules/nvidia-kernel'
dh_clean
/usr/bin/make -w -f debian/rules configure
make[2]: Entering directory `/usr/src/modass/usr_src/modules/nvidia-kernel'
sed 's/#KVERS#/2.6.32-trunk-amd64/g' debian/control.template > /usr/src/modass/usr_src/modules/nvidia-kernel/debian/control
sed 's/#KVERS#/2.6.32-trunk-amd64/g' debian/dirs.template > /usr/src/modass/usr_src/modules/nvidia-kernel/debian/dirs
sed 's/#KVERS#/2.6.32-trunk-amd64/g' debian/override.template > /usr/src/modass/usr_src/modules/nvidia-kernel/debian/override
make[2]: Leaving directory `/usr/src/modass/usr_src/modules/nvidia-kernel'
sed 's/#KVERS#/2.6.32-trunk-amd64/g' debian/control.template > /usr/src/modass/usr_src/modules/nvidia-kernel/debian/control
sed 's/#KVERS#/2.6.32-trunk-amd64/g' debian/dirs.template > /usr/src/modass/usr_src/modules/nvidia-kernel/debian/dirs
sed 's/#KVERS#/2.6.32-trunk-amd64/g' debian/override.template > /usr/src/modass/usr_src/modules/nvidia-kernel/debian/override
dh_testroot
dh_prep
# Build the modules
/usr/bin/make -C . LINUXDIR=/lib/modules/2.6.32-trunk-amd64/build KVERREL=2.6.32-trunk-amd64
make[2]: Entering directory `/usr/src/modass/usr_src/modules/nvidia-kernel'
make -C /lib/modules/2.6.32-trunk-amd64/build M=`/bin/pwd` modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.32-trunk-amd64'
Makefile:530: /usr/lib/linux-kbuild-2.6.32/arch/x86/Makefile: No such file or directory
make[4]: *** No rule to make target `/usr/lib/linux-kbuild-2.6.32/arch/x86/Makefile'. Stop.
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.32-trunk-amd64'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/modass/usr_src/modules/nvidia-kernel'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modass/usr_src/modules/nvidia-kernel'
make: *** [kdist_build] Error 2
BUILD FAILED!
See /usr/src/modass/var_cache_modass/nvidia-kernel-source.buildlog.2.6.32-trunk-amd64.1265054281 for details.
- -- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages nvidia-kernel-source depends on:
ii debhelper 7.4.12 helper programs for debian/rules
ii dpatch 2.0.31 patch maintenance system for Debia
ii make 3.81-7 An utility for Directing compilati
ii sed 4.2.1-6 The GNU sed stream editor
Versions of packages nvidia-kernel-source recommends:
ii devscripts 2.10.61 scripts to make the life of a Debi
ii kernel-package 12.032 A utility for building Linux kerne
ii module-assistant 0.11.3 tool to make module package creati
ii nvidia-glx 190.42-3 NVIDIA binary Xorg driver
nvidia-kernel-source suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAktnMrcACgkQ823633cP2P9lWwCggqSA2uICKKU3MQfCBdh6INMZ
bFcAoJ93QR10mwRgdUe31qkBRO5+21pj
=wbrW
-----END PGP SIGNATURE-----
More information about the Pkg-nvidia-devel
mailing list