Re: Error with fakeroot
Heya,
>
> Maybe the original poster may have typed in "fakeroot" by itself
> without realizing it changed the environment.
I doubt that.
You can easily run into this problem by using
make-kpkg --rootcmd fakeroot modules-image
and the nvidia module will fail with
fakeroot: FAKEROOTKEY set to 1625239046
fakeroot: nested operation not yet supported
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.
This behavior changed within the last weeks, not sure when exactly. I'm
sure it worked well when I built the first kernel on my new desktop,
which was in October.
I think I ran into the same problem while using dpkg-buildpackage, but
I'm not sure.
running fakeroot make-kpkg instead of using --rootcmd works.
Cheers,
Bernd
--
Bernd Zeimetz
<bernd@bzed.de> <http://bzed.de/>
Reply to: