Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2017 15:02:26 -0500 (EST)
From:      AN <andy@neu.net>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>, FreeBSD Ports Management Team <portmgr@FreeBSD.org>
Subject:   Re: Firefox build fails
Message-ID:  <alpine.BSF.2.11.1702121457130.37440@mail.neu.net>
In-Reply-To: <062264A1-08AF-46D9-965B-5288E06E05CB@FreeBSD.org>
References:  <alpine.BSF.2.11.1702112025270.37415@mail.neu.net> <062264A1-08AF-46D9-965B-5288E06E05CB@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Dimitry:

On Sun, 12 Feb 2017, Dimitry Andric wrote:

> On 12 Feb 2017, at 02:33, AN <andy@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1702121457130.37440>