[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Build environment failing



I am using debootstrap, fakechroot and fakeroot on Debian Squeeze to
create a build environment for Firefox 3.6:

fakeroot -s fakechroot.save fakechroot debootstrap
--variant=fakechroot squeeze /tmp/debian-squeeze
http://ftp.debian.org/debian
fakeroot -i fakechroot.save fakechroot chroot
/tmp/debian-squeeze-system /bin/bash

Firefox fails to compile in the build environment:

---------
tier_nspr: nsprpub config/nspr
make[3]: Entering directory `/root/mozilla-1.9.2/obj-i686-pc-linux-gnu/nsprpub'
make -j1 -C config export
make[4]: Entering directory
`/root/mozilla-1.9.2/obj-i686-pc-linux-gnu/nsprpub/config'
rm -f /root/mozilla-1.9.2/obj-i686-pc-linux-gnu/dist/bin/nspr-config
make[4]: Leaving directory
`/root/mozilla-1.9.2/obj-i686-pc-linux-gnu/nsprpub/config'
make -j1 -C pr export
make[4]: Entering directory
`/root/mozilla-1.9.2/obj-i686-pc-linux-gnu/nsprpub/pr'
make -C include export
make[5]: Entering directory
`/root/mozilla-1.9.2/obj-i686-pc-linux-gnu/nsprpub/pr/include'
make -C md export
make[6]: Entering directory
`/root/mozilla-1.9.2/obj-i686-pc-linux-gnu/nsprpub/pr/include/md'
../../../config/./nsinstall -R -m 444
/root/mozilla-1.9.2/obj-i686-pc-linux-gnu/dist/include/nspr/md
usage: ../../../config/./nsinstall [-C cwd] [-L linkprefix] [-m mode]
[-o owner] [-g group]
                                   [-DdltR] file [file ...] directory
make[6]: *** [export] Error 2
make[6]: Leaving directory
`/root/mozilla-1.9.2/obj-i686-pc-linux-gnu/nsprpub/pr/include/md'
make[5]: *** [export] Error 2
make[5]: Leaving directory
`/root/mozilla-1.9.2/obj-i686-pc-linux-gnu/nsprpub/pr/include'
make[4]: *** [export] Error 2
make[4]: Leaving directory
`/root/mozilla-1.9.2/obj-i686-pc-linux-gnu/nsprpub/pr'
make[3]: *** [export] Error 2
make[3]: Leaving directory `/root/mozilla-1.9.2/obj-i686-pc-linux-gnu/nsprpub'
make[2]: *** [tier_nspr] Error 2
make[2]: Leaving directory `/root/mozilla-1.9.2/obj-i686-pc-linux-gnu'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/mozilla-1.9.2/obj-i686-pc-linux-gnu'
make: *** [build] Error 2
----------

If i exit the build environment, installs the same dependencies and
compile Firefox on the host, then everything works fine and Firefox
builds without errors.

Any ideas on where i could start debugging this problem, so i can
compile Firefox in the build environment?


Reply to: