Solved issue firefox

Hi,
I've installed FreeBSD 10.2 on AMD64 hardware (all 64 bits), when I compile firefox or firefox-esr I've issue.

This is my output :
Code:
/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd10.2/gfx/thebes/Unified_cpp_gfx_thebes0.cpp:(.text._ZN12gfxFontEntry23SupportsGraphiteFeatureEj+0x154): undefined reference to `gr_make_face_with_ops'
/usr/bin/ld: ../../gfx/thebes/Unified_cpp_gfx_thebes0.o: relocation R_X86_64_PC32 against `gr_make_face_with_ops' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
c++: error: linker command failed with exit code 1 (use -v to see invocation)
/usr/ports/www/firefox/work/mozilla-release/config/rules.mk:812: recipe for target 'libxul.so' failed
gmake[8]: *** [libxul.so] Error 1
gmake[8]: Leaving directory '/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd10.2/toolkit/library'
/usr/ports/www/firefox/work/mozilla-release/config/recurse.mk:74: recipe for target 'toolkit/library/target' failed
gmake[7]: *** [toolkit/library/target] Error 2
gmake[7]: Leaving directory '/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd10.2'
/usr/ports/www/firefox/work/mozilla-release/config/recurse.mk:36: recipe for target 'compile' failed
gmake[6]: *** [compile] Error 2
gmake[6]: Leaving directory '/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd10.2'
/usr/ports/www/firefox/work/mozilla-release/config/rules.mk:541: recipe for target 'default' failed
gmake[5]: *** [default] Error 2
gmake[5]: Leaving directory '/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd10.2'
/usr/ports/www/firefox/work/mozilla-release/client.mk:400: recipe for target 'realbuild' failed
gmake[4]: *** [realbuild] Error 2
gmake[4]: Leaving directory '/usr/ports/www/firefox/work/mozilla-release'
/usr/ports/www/firefox/work/mozilla-release/client.mk:171: recipe for target 'build' failed
gmake[3]: *** [build] Error 2
gmake[3]: Leaving directory '/usr/ports/www/firefox/work/mozilla-release'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/www/firefox
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/firefox
*** Error code 1

Stop.
make: stopped in /usr/ports/www/firefox
root@dct-pluton:/usr/ports/www/firefox #

I know this a crazy question but I forgot it. I do a make deinstall and make reinstall also i've put set MAKE_JOBS_UNSAFE=yes but I've yet same error.

Regards
Philippe
 
Last edited by a moderator:
Dear Philippe,

the meaning is to add the line
Code:
MAKE_JOBS_UNSAFE=yes
in /etc/make.conf to allow the handling of ports which are marked as vulnerable. It should be considered as a temporary fix only. I have done so because of some updates which broke firefox. Please see Thread 54462. It should be better not to forget to delete this line after everything is finished.
 
to allow the handling of ports which are marked as vulnerable
No, this just restricts the build to a single job at a time. It is usually not the real problem, just a catch-all solution suggested by the ports framework.
Code:
relocation R_X86_64_PC32 against `gr_make_face_with_ops' can not be used when making a shared object; recompile with -fPIC
suggests that there might be some misguided entries in /etc/make.conf.
 
Back
Top