Solved www/firefox v42 seems broken

I've just updated my ports collection and noticed that there is a new Firefox version. I tried to build it on FreeBSD 10.2 (amd64) but got the following error. I'm not a C/C++ developer so have no clue. Has anybody else had any luck building the latest Firefox in ports?

Code:
gmake[7]: Leaving directory '/usr/ports/www/firefox/work/firefox-42.0/obj-x86_64-portbld-freebsd10.1/webapprt/gtk'
In file included from /usr/ports/www/firefox/work/firefox-42.0/obj-x86_64-portbld-freebsd10.1/gfx/thebes/Unified_cpp_gfx_thebes1.cpp:11:
/usr/ports/www/firefox/work/firefox-42.0/gfx/thebes/gfxHarfBuzzShaper.cpp:1571:41: error: use of
  undeclared identifier 'HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS'
  hb_buffer_set_cluster_level(buffer, HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS);
  ^
libipc_chromium.a.desc
rm -f libipc_chromium.a
/usr/ports/www/firefox/work/firefox-42.0/obj-x86_64-portbld-freebsd10.1/_virtualenv/bin/python /usr/ports/www/firefox/work/firefox-42.0/config/expandlibs_gen.py -o libipc_chromium.a.desc atomicops_internals_x86_gcc.o message_pump_glib.o process_util_bsd.o time_posix.o Unified_cpp_ipc_chromium0.o Unified_cpp_ipc_chromium1.o Unified_cpp_ipc_chromium2.o Unified_cpp_ipc_chromium3.o  
gmake[7]: Leaving directory '/usr/ports/www/firefox/work/firefox-42.0/obj-x86_64-portbld-freebsd10.1/ipc/chromium'
1 error generated.
/usr/ports/www/firefox/work/firefox-42.0/config/rules.mk:958: recipe for target 'Unified_cpp_gfx_thebes1.o' failed
gmake[7]: *** [Unified_cpp_gfx_thebes1.o] Error 1
gmake[7]: Leaving directory '/usr/ports/www/firefox/work/firefox-42.0/obj-x86_64-portbld-freebsd10.1/gfx/thebes'
/usr/ports/www/firefox/work/firefox-42.0/config/recurse.mk:71: recipe for target 'gfx/thebes/target' failed
gmake[6]: *** [gfx/thebes/target] Error 2
gmake[6]: *** Waiting for unfinished jobs....
js
/usr/ports/www/firefox/work/firefox-42.0/obj-x86_64-portbld-freebsd10.1/_virtualenv/bin/python /usr/ports/www/firefox/work/firefox-42.0/config/expandlibs_exec.py --uselist --  c++ -o js -Qunused-arguments -isystem/usr/local/include -DLIBICONV_PLUG  -Qunused-arguments -Wno-inline-new-delete -Wall -Wsign-compare -Wtype-limits -Wno-invalid-offsetof -Wno-c++0x-extensions -Wno-extended-offsetof -Wno-unknown-warning-option -Wno-return-type-c-linkage -O2 -pipe -O3 -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -DLIBICONV_PLUG -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -std=gnu++0x -pipe  -DNDEBUG -DTRIMMED -O2 -O3 -fomit-frame-pointer  Unified_cpp_js_src_shell0.o  -pthread  -L/usr/local/lib -Wl,-rpath,/usr/local/lib/firefox -fstack-protector -Wl,-z,noexecstack -Wl,-z,text  -rdynamic -Wl,-rpath-link,../../../dist/bin -Wl,-rpath-link,/usr/ports/www/firefox/work/firefox-42.0/obj-x86_64-portbld-freebsd10.1/dist/lib  ../../../mozglue/build/libmozglue.a ../../../memory/build/libmemory.a ../../../memory/fallible/libfallible.a ../../../js/src/editline/libeditline.a ../../../js/src/libjs_static.a  -lm  -L/usr/local/lib -lffi -licui18n -licuuc -licudata -lplds4 -lplc4 -lnspr4 -pthread -lz -lm  
strip  js
../../../config/nsinstall -R -m 755 'js' '../../../dist/bin'
gmake[7]: Leaving directory '/usr/ports/www/firefox/work/firefox-42.0/obj-x86_64-portbld-freebsd10.1/js/src/shell'
gmake[6]: Leaving directory '/usr/ports/www/firefox/work/firefox-42.0/obj-x86_64-portbld-freebsd10.1'
/usr/ports/www/firefox/work/firefox-42.0/config/recurse.mk:32: recipe for target 'compile' failed
gmake[5]: *** [compile] Error 2
gmake[5]: Leaving directory '/usr/ports/www/firefox/work/firefox-42.0/obj-x86_64-portbld-freebsd10.1'
/usr/ports/www/firefox/work/firefox-42.0/config/rules.mk:549: recipe for target 'default' failed
gmake[4]: *** [default] Error 2
gmake[4]: Leaving directory '/usr/ports/www/firefox/work/firefox-42.0/obj-x86_64-portbld-freebsd10.1'
/usr/ports/www/firefox/work/firefox-42.0/client.mk:401: recipe for target 'realbuild' failed
gmake[3]: *** [realbuild] Error 2
gmake[3]: Leaving directory '/usr/ports/www/firefox/work/firefox-42.0'
/usr/ports/www/firefox/work/firefox-42.0/client.mk:171: recipe for target 'build' failed
gmake[2]: *** [build] Error 2
gmake[2]: Leaving directory '/usr/ports/www/firefox/work/firefox-42.0'
===> Compilation failed unexpectedly.
 
talsamon : Thanks so much, that seems to have been the problem. I had harfbuzz-0.9.36 installed and upgraded it to harfbuzz-1.0.6, which then resolved my firefox-42.0 compilation issue. All is fixed now.
 
Make sure to keep in mind that when you update your ports, you should update everything at the same time. Picking and choosing which ports to update will certainly cause problems such as this.
 
Back
Top