[pkg-nvidia-devel] Bug#459833: nvidia-kernel-source: 169.07-1 does not build with "make-kpkg --rootcmd fakeroot"

Cyril Jaquier cyril.jaquier at jaqpot.net
Tue Jan 8 23:38:05 UTC 2008


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

Hi,

With 169.07-1, I cannot compile the package using "make-kpkg --rootcmd
fakeroot modules_image" anymore. "fakeroot make-kpkg modules_image" does
not work either. However, it works with "sudo make-kpkg modules_image".
Please, see the attached file.

Thank you.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-rc6 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

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

Versions of packages nvidia-kernel-source recommends:
ii  devscripts                    2.10.12    Scripts to make the life of a Debi
ii  kernel-package                11.001     A utility for building Linux kerne
pn  nvidia-glx                    <none>     (no description available)

-- no debconf information
-------------- next part --------------
$ make-kpkg --rootcmd fakeroot modules_image exec debian/rules  DEBIAN_REVISION=2.6.24-rc6-10.00.Custom  ROOT_CMD=fakeroot  modules_image 
for module in /usr/src/modules/nvidia-kernel ; do                       \
          if test -d  $module; then                                \
	    (cd $module;                                          \
              if ./debian/rules KVERS="2.6.24-rc6" KSRC="/usr/src/linux-source-2.6.24-rc6" \
                             KMAINT="Unknown Kernel Package Maintainer" KEMAIL="unknown at unconfigured.in.etc.kernel-pkg.conf"      \
                             KPKG_DEST_DIR="/usr/src/linux-source-2.6.24-rc6/.."       \
                             KPKG_MAINTAINER="Unknown Kernel Package Maintainer"        \
                             KPKG_EXTRAV_ARG=""        \
                             ARCH="x86_64"         \
                             KDREV="2.6.24-rc6-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[1]: Entering directory `/usr/src/modules/nvidia-kernel'
echo "ROOT_CMD = fakeroot"
ROOT_CMD = fakeroot
/usr/bin/make -w -f debian/rules binary_modules
make[2]: Entering directory `/usr/src/modules/nvidia-kernel'
# 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
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/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
dh_testroot: You must run this as root (or use fakeroot).
make[2]: *** [build-stamp] Error 1
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
make[1]: *** [kdist_image] Error 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
Module /usr/src/modules/nvidia-kernel failed.
Perhaps /usr/src/modules/nvidia-kernel 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.
Hit return to Continue


More information about the Pkg-nvidia-devel mailing list