[arch-general] problem with fakeroot
Jan de Groot
jan at jgc.homeip.net
Mon Feb 18 12:26:31 EST 2008
On Mon, 2008-02-18 at 10:23 +0100, Karolina Lindqvist wrote:
> When building kdelibs, I always get the following error:
>
> ../../kdoctools/meinproc --srcdir=../../kdoctools --check --cache
> index.cache.bz2 ./index.docbook
> ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded:
> ignored.
> ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded:
> ignored.
> ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded:
> ignored.
>
> The make appears not to be able to be done with fakeroot, but as far as I
> understand, makepkg always does that.
>
> The solution is to build as root. Is there any other way to avoid this?
It's an ignored error, so you can ignore it too. The fakeroot .so module
gets preloaded to override systemcalls from glibc. Using fakeroot is
actually only needed in the make install phase, so you can ignore any
error during the make phase of a package.
More information about the arch-general
mailing list