Hi, I just hit bug #435386, attached is a build log. As stated in my previous message, removing $(ROOT_CMD) from debian/rules fixes the nested fakeroot error.
Regards, Bastian
Warning: The file include/linux/version.h exists The contained UTS_VERSION string: "" does not match expectations: "2.6.22-ck1treasure5" I'll try and recover exec debian/rules DEBIAN_REVISION=2.6.22-ck1treasure5-10.00.Custom APPEND_TO_VERSION=treasure5 ROOT_CMD=fakeroot UNSIGN_CHANGELOG=YES UNSIGN_SOURCE=YES modules-image make[1]: Entering directory `/usr/src/linux-source-2.6.22' for module in /usr/src/modules/nvidia-kernel-legacy-96xx /usr/src/modules/squashfs /usr/src/modules/alsa-driver /usr/src/modules/truecrypt ; do \ if test -d $module; then \ (cd $module; \ if ./debian/rules KVERS="2.6.22-ck1treasure5" KSRC="/usr/src/linux-source-2.6.22" \ KMAINT="Bastian Kleineidam" KEMAIL="[EMAIL PROTECTED]" \ KPKG_DEST_DIR="/usr/src/linux-source-2.6.22/.." \ KPKG_MAINTAINER="Bastian Kleineidam" \ KPKG_EXTRAV_ARG="EXTRAVERSION=-ck1treasure5" \ ARCH="i386" \ KDREV="2.6.22-ck1treasure5-10.00.Custom" kdist_image; then \ echo "Module $module processed fine"; \ else \ echo "Module $module failed."; \ if [ "Xfakeroot" != "X" ]; then \ echo "Perhaps $module does not understand --rootcmd?"; \ echo "If you see messages that indicate that it is not"; \ echo "in fact being built as root, please file a bug "; \ echo "against $module."; \ fi; \ echo "Hit return to Continue"; \ read ans; \ fi; \ ); \ else \ echo "Module $module does not exist"; \ echo "Hit return to Continue?"; \ fi; \ done make[2]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-96xx' echo "ROOT_CMD = fakeroot" ROOT_CMD = fakeroot fakeroot /usr/bin/make -w -f debian/rules binary_modules make[3]: 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.2 -v 2> /dev/null ; then \ echo "Compiler gcc-4.2 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.2.1 Detected compiler version : 4.2.2 You appear to be compiling the NVIDIA kernel module with a compiler different from the one that was used to compile the running kernel. This may be perfectly alright and you may be building this module for another kernel in which case you may ignore this message. The compiler that will be used to compile this module has been determined from: 1) the CC environment variable 2) that specified in /usr/src/linux-source-2.6.22/include/linux/compile.h 3) gcc Using compiler gcc-4.2 version 4.2.2 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.2" fakeroot /usr/bin/make -C /usr/src/modules/nvidia-kernel-legacy-96xx/nv -f Makefile SYSSRC=/usr/src/linux-source-2.6.22 EXTRAVERSION=-ck1treasure5 KBUILD_PARAMS="-C /usr/src/linux-source-2.6.22 SUBDIRS=/usr/src/modules/nvidia-kernel-legacy-96xx/nv" module; fakeroot: FAKEROOTKEY set to 181417352 fakeroot: nested operation not yet supported make[3]: *** [build-stamp] Error 1 make[3]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-96xx' make[2]: *** [kdist_image] Error 2 make[2]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-96xx' Module /usr/src/modules/nvidia-kernel-legacy-96xx failed. Perhaps /usr/src/modules/nvidia-kernel-legacy-96xx does not understand --rootcmd? If you see messages that indicate that it is not in fact being built as root, please file a bug against /usr/src/modules/nvidia-kernel-legacy-96xx. Hit return to Continue
signature.asc
Description: This is a digitally signed message part.