[pkg-nvidia-devel] Bug#510960: nvidia-kernel-legacy-96xx-source: does not build with explicit fakeroot
Marc Haber
mh+debian-bugs at zugschlus.de
Tue Jan 6 09:03:35 UTC 2009
Package: nvidia-kernel-legacy-96xx-source
Version: 96.43.07-2
Severity: normal
Hi,
building the drivers with explicit fakeroot fails:
$ fakeroot make-kpkg --append-to-version=-zgws1 --revision=2.6.28.20090106.0 --added-modules=nvidia-kernel-legacy-96xx modules_image
exec debian/rules DEBIAN_REVISION=2.6.28.20090106.0 APPEND_TO_VERSION=-zgws1 KPKG_SELECTED_MODULES="nvidia-kernel-legacy-96xx" modules_image
for module in /usr/src/modules/nvidia-kernel-legacy-96xx ; do \
if test -d $module; then \
(cd $module; \
if ./debian/rules KVERS="2.6.28-zgws1" KSRC="/home/mh/linux/2.6.28/linux-2.6.28" \
KMAINT="Marc Haber" KEMAIL="mh+kernel-pkg at zugschlus.de" \
KPKG_DEST_DIR="/home/mh/linux/2.6.28/linux-2.6.28/.." \
KPKG_MAINTAINER="Marc Haber" \
KPKG_EXTRAV_ARG="EXTRAVERSION=-zgws1" \
ARCH="i386" \
KDREV="2.6.28.20090106.0" 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-legacy-96xx'
echo "ROOT_CMD = fakeroot"
ROOT_CMD = fakeroot
fakeroot /usr/bin/make -w -f debian/rules binary_modules
fakeroot: FAKEROOTKEY set to 130772772
fakeroot: nested operation not yet supported
make[1]: *** [kdist_image] Error 1
make[1]: 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
This looks like an extra fakeroot is hardcoded into the package, which
is broken behavior. Instead, the code should check whether it is
already runnign as root or faked root.
Greetings
Marc
More information about the Pkg-nvidia-devel
mailing list