Firefox build fails

Dimitry Andric dim at FreeBSD.org
Sun Feb 12 11:48:51 UTC 2017


On 12 Feb 2017, at 02:33, AN <andy at neu.net> wrote:
> FreeBSD BSD_12 12.0-CURRENT FreeBSD 12.0-CURRENT #13 r313546: Fri Feb 10 10:04:11 EST 2017     root at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20170212/9148aa5f/attachment.sig>


More information about the freebsd-ports mailing list