Hi Dimitry:

On Sun, 12 Feb 2017, Dimitry Andric wrote:

On 12 Feb 2017, at 02:33, AN <a...@neu.net> wrote:
FreeBSD BSD_12 12.0-CURRENT FreeBSD 12.0-CURRENT #13 r313546: Fri Feb 10 
10:04:11 EST 2017     root@BSD_12:/usr/obj/usr/src/sys/MYKERNEL  amd64


Trying to install Firefox fails with the following:

../../js/src/jsarray.o: In function 
`js::NewFullyAllocatedArrayTryReuseGroup(JSContext*, JSObject*, unsigned long, 
js::NewObjectKind, bool)':
/usr/ports/www/firefox/work/firefox-51.0.1/js/src/jsarray.cpp:(.text._ZN2js35NewFullyAllocatedArrayTryReuseGroupEP9JSContextP8JSObjectmNS_13NewObjectKindEb+0xb59):
 undefined reference to `__dtraceenabled_javascript___object__create'
/usr/bin/ld: ../../js/src/jsarray.o: relocation R_X86_64_PC32 against 
`__dtraceenabled_javascript___object__create' can not be used when making a 
shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value

Disable the DTRACE option, and try again.  See:

https://lists.freebsd.org/pipermail/freebsd-pkg-fallout/Week-of-Mon-20170206/408053.html
https://lists.freebsd.org/pipermail/freebsd-ports/2017-February/107103.html
https://lists.freebsd.org/pipermail/freebsd-ports/2017-February/107138.html

and maybe even other threads.

Let's poke portmgr@ to just disable this option by default, until the port has 
been fixed.

-Dimitry




I can confirm that Firefox builds and installs successfully with DTRACE diabled. Thank you for the help, all the best.

Regards
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to