gmake fails while building firefox-devel...

Amarendra Godbole amarendra_godbole at symantec.com
Wed Mar 28 05:38:05 UTC 2007


Hi,

I tried building firefox-devel from ports (www/firefox-devel). It hit a
gmake error, with some "entering unknown directory error". A snippet of
the build log follows:

-----------------------------------------------------------
gmake[5]: Entering directory
`/usr/ports/www/firefox-devel/work/mozilla/security
/coreconf/nsinstall'
rm -rf FreeBSD6.2_OPT.OBJ/nsinstall FreeBSD6.2_OPT.OBJ/nsinstall.o
FreeBSD6.2_OP
T.OBJ/pathsub.o FreeBSD6.2_OPT.OBJ LOGS TAGS FreeBSD6.2_OPT.OBJ/.md core
so_locations _gen _jmc _jri _jni _stubs  
gmake[5]: Leaving directory
`/usr/ports/www/firefox-devel/work/mozilla/security/
coreconf/nsinstall'
gmake[4]: Leaving directory
`/usr/ports/www/firefox-devel/work/mozilla/security/
coreconf'
/usr/local/bin/gmake -C ../../security/nss/lib
MAKE="/usr/local/bin/gmake -j1" -
j1 CC="cc" SOURCE_MD_DIR=/usr/ports/www/firefox-devel/work/mozilla/dist
DIST=/us
r/ports/www/firefox-devel/work/mozilla/dist
NSPR_INCLUDE_DIR=/usr/local/include/
nspr NSPR_LIB_DIR=/usr/local/lib MOZILLA_CLIENT=1 NO_MDUPDATE=1
NSS_ENABLE_ECC=1
BUILD_OPT=1 NS_USE_GCC=1 NS_USE_NATIVE= clean
gmake: Entering an unknown directory
gmake: *** ../../security/nss/lib: No such file or directory.  Stop.
gmake: Leaving an unknown directory
gmake[3]: *** [.nss.cleaned] Error 2
gmake[3]: Leaving directory
`/usr/ports/www/firefox-devel/work/mozilla/security/
manager'
gmake[2]: *** [export_tier_toolkit] Error 2
gmake[2]: Leaving directory `/usr/ports/www/firefox-devel/work/mozilla'
gmake[1]: *** [tier_toolkit] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox-devel/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

Stop in /usr/ports/www/firefox-devel.
-----------------------------------------------------------

Other relevant info:
[amar at zimbu /usr/ports/www/firefox-devel]$ uname -a
FreeBSD zimbu.vxindia.veritas.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386
[amar at zimbu /usr/ports/www/firefox-devel]$ ls -l Makefile 
-rw-r--r--  1 nobody  wheel  3888 Mar 19 17:12 Makefile

To reproduce:
1. do a make in the firefox-devel directory.

Googling for similar failure tells that the source is incomplete, and a
-d should be used with cvs to get the correct directories. But since the 
tarball is included from the mozilla site, maybe they have bundled it
incorrectly.

Thanks!

Best,
Amarendra


More information about the freebsd-ports mailing list