Re: Firefox build fails in cargo, with a segfault.

2020-08-11 Thread bob prohaska
On Tue, Aug 11, 2020 at 11:50:36PM +0200, Jan Beich wrote:
> bob prohaska  writes:
> 
> > The latest attempts to compile www/firefox stopped with:
> >  
> > gmake[4]: *** 
> > [/usr/ports/www/firefox/work/firefox-79.0/config/makefiles/rust.mk:294: 
> > force-cargo-library-build] Segmentation fault (core dumped)
> > gmake[3]: *** 
> > [/usr/ports/www/firefox/work/firefox-79.0/config/recurse.mk:72: 
> > toolkit/library/rust/target] Error 2
> > gmake[2]: *** 
> > [/usr/ports/www/firefox/work/firefox-79.0/config/recurse.mk:34: compile] 
> > Error 2
> > gmake[1]: *** 
> > [/usr/ports/www/firefox/work/firefox-79.0/config/rules.mk:390: all] Error 2
> >
> > This is on a Raspberry Pi3 running -current at r363786, cargo is at 1.45.0,
> > ports are at 544659.
> >
> > Thanks for reading, any suggestions appreciated!
> 
> Get a backtrace for more details.
> 
Apologies if this is a dumb question, but can you point me to a
procedure? My only acquaintance with backtraces is during kernel
crashes, when the backtraces is presented on the console. At this
point it's not obvious what crashed (gmake or cargo), nor where
the core file went.

> The package cluster (or rather the single oversubscribed aarch64
> machine) hasn't caught up yet but previous versions built fine.
> 
> http://thunderx1.nyi.freebsd.org/data/latest-per-pkg/firefox/

Might this problem be specific to the Pi3? I thought not, but

Thanks for replying,

bob prohaska

___
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"


Re: Firefox build fails in cargo, with a segfault.

2020-08-11 Thread Jan Beich
bob prohaska  writes:

> The latest attempts to compile www/firefox stopped with:
>  
> gmake[4]: *** 
> [/usr/ports/www/firefox/work/firefox-79.0/config/makefiles/rust.mk:294: 
> force-cargo-library-build] Segmentation fault (core dumped)
> gmake[3]: *** [/usr/ports/www/firefox/work/firefox-79.0/config/recurse.mk:72: 
> toolkit/library/rust/target] Error 2
> gmake[2]: *** [/usr/ports/www/firefox/work/firefox-79.0/config/recurse.mk:34: 
> compile] Error 2
> gmake[1]: *** [/usr/ports/www/firefox/work/firefox-79.0/config/rules.mk:390: 
> all] Error 2
>
> This is on a Raspberry Pi3 running -current at r363786, cargo is at 1.45.0,
> ports are at 544659.
>
> Thanks for reading, any suggestions appreciated!

Get a backtrace for more details.

The package cluster (or rather the single oversubscribed aarch64
machine) hasn't caught up yet but previous versions built fine.

http://thunderx1.nyi.freebsd.org/data/latest-per-pkg/firefox/
___
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"


Firefox build fails in cargo, with a segfault.

2020-08-11 Thread bob prohaska
The latest attempts to compile www/firefox stopped with:
 
gmake[4]: *** 
[/usr/ports/www/firefox/work/firefox-79.0/config/makefiles/rust.mk:294: 
force-cargo-library-build] Segmentation fault (core dumped)
gmake[3]: *** [/usr/ports/www/firefox/work/firefox-79.0/config/recurse.mk:72: 
toolkit/library/rust/target] Error 2
gmake[2]: *** [/usr/ports/www/firefox/work/firefox-79.0/config/recurse.mk:34: 
compile] Error 2
gmake[1]: *** [/usr/ports/www/firefox/work/firefox-79.0/config/rules.mk:390: 
all] Error 2

This is on a Raspberry Pi3 running -current at r363786, cargo is at 1.45.0,
ports are at 544659.

Thanks for reading, any suggestions appreciated!

bob prohaska

___
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"


Re: Firefox build fails

2017-02-13 Thread Jan Beich
Dimitry Andric  writes:

>> Trying to install Firefox fails with the following:

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

Does your userland (or "world") contain the following change?

https://svnweb.freebsd.org/changeset/base/313504

>> 
>> ../../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

Restarting interrupted build doesn't always work. Try doing "make clean".

> 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.

-CURRENT packages are built every few days, so only 2 sets had firefox
masked due to the DTrace issue. The next build failed due to devel/llvm*
which delayed firefox package a bit more. So, expect it "soon".

# green logs (IPv6-only)
http://beefy11.nyi.freebsd.org/data/head-i386-default/p433920_s313674/logs/firefox-51.0.1_1,1.log
http://beefy12.nyi.freebsd.org/data/head-amd64-default/p433920_s313674/logs/firefox-51.0.1_1,1.log

The larger issue is we don't provide a cushion for -CURRENT hiccups or
EOL'd releases unlike /head (ports) + quarterlies. Old packages are pruned
as soon as the next set is ready. And as individual packages are unsigned
(unlike repo) one can't share their backup copy with others.
___
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"


Re: Firefox build fails

2017-02-12 Thread AN

Hi Dimitry:

On Sun, 12 Feb 2017, Dimitry Andric wrote:


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


Re: Firefox build fails

2017-02-12 Thread Dimitry Andric
On 12 Feb 2017, at 02:33, AN  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



signature.asc
Description: Message signed with OpenPGP


Firefox build fails

2017-02-11 Thread AN

Hi:

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
c++: error: linker command failed with exit code 1 (use -v to see 
invocation)
gmake[7]: *** 
[/usr/ports/www/firefox/work/firefox-51.0.1/config/rules.mk:802: 
libxul.so] Error 1
gmake[7]: Leaving directory 
'/usr/ports/www/firefox/work/firefox-51.0.1/obj-x86_64-unknown-freebsd12.0/toolkit/library'
gmake[6]: *** 
[/usr/ports/www/firefox/work/firefox-51.0.1/config/recurse.mk:71: 
toolkit/library/target] Error 2
gmake[6]: Leaving directory 
'/usr/ports/www/firefox/work/firefox-51.0.1/obj-x86_64-unknown-freebsd12.0'
gmake[5]: *** 
[/usr/ports/www/firefox/work/firefox-51.0.1/config/recurse.mk:33: compile] 
Error 2
gmake[5]: Leaving directory 
'/usr/ports/www/firefox/work/firefox-51.0.1/obj-x86_64-unknown-freebsd12.0'
gmake[4]: *** 
[/usr/ports/www/firefox/work/firefox-51.0.1/config/rules.mk:523: default] 
Error 2
gmake[4]: Leaving directory 
'/usr/ports/www/firefox/work/firefox-51.0.1/obj-x86_64-unknown-freebsd12.0'
gmake[3]: *** [/usr/ports/www/firefox/work/firefox-51.0.1/client.mk:413: 
realbuild] Error 2

gmake[3]: Leaving directory '/usr/ports/www/firefox/work/firefox-51.0.1'
gmake[2]: *** [/usr/ports/www/firefox/work/firefox-51.0.1/client.mk:168: 
build] Error 2

gmake[2]: Leaving directory '/usr/ports/www/firefox/work/firefox-51.0.1'
===> Compilation failed unexpectedly.


Any help fixing this would be really appreciated.  Thanks in advance.

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"