Created attachment 158824 [details] error file I am trying to build firefox on PowerPC but the build is failing. I am attaching the error.
Try to update lang/python27 and make sure it's built with SEM=on and THREADS=on. In the past mozbuild sometimes tripped upon broken 'multiprocessing' when SEM=off that OpenBSD buildbot tended to catch until it implemented sem_open().
Created attachment 159715 [details] output
updated python and set SEM and THREADS to on and still failed. see file that I recently added.
Comment on attachment 159715 [details] output >dtrace -x nolibs -G -C -s /usr/ports/www/firefox/work/mozilla-release/js/src/devtools/javascript-trace.d -o js-dtrace.o RegExp.o ... ><jemalloc>: /usr/src/lib/libc/../../contrib/jemalloc/include/jemalloc/internal/arena.h:990: Failed assertion: "arena_mapbits_allocated_get(chunk, pageind) != 0" >/usr/ports/www/firefox/work/mozilla-release/config/rules.mk:800: recipe for target 'js-dtrace.o' failed >gmake[7]: *** [js-dtrace.o] Abort trap (core dumped) Try building with DTRACE=off. "Not a Bug" for ports scope. If you want to pursue DTRACE=on try to: - Build dtrace(1) and all libs it depends on with DEBUG_FLAGS=-g - Get a backtrace with gdb/lldb - Change bugzilla Product to Base System + check "Reset Assignee to default"
Added DTRACE=off and still failed. see below gmake[7]: Entering directory '/usr/ports/www/firefox/work/mozilla-release/obj-powerpc-portbld-freebsd11.0/js/src' dtrace -x nolibs -G -C -s /usr/ports/www/firefox/work/mozilla-release/js/src/devtools/javascript-trace.d -o js-dtrace.o RegExp.o CTypes.o Library.o Parser.o ExecutableAllocatorPosix.o jsarray.o jsatom.o jsmath.o jsutil.o pm_stub.o TraceLogging.o TraceLoggingGraph.o TraceLoggingTypes.o Unified_cpp_js_src0.o Unified_cpp_js_src1.o Unified_cpp_js_src10.o Unified_cpp_js_src11.o Unified_cpp_js_src2.o Unified_cpp_js_src3.o Unified_cpp_js_src4.o Unified_cpp_js_src5.o Unified_cpp_js_src6.o Unified_cpp_js_src7.o Unified_cpp_js_src8.o Unified_cpp_js_src9.o <jemalloc>: /usr/src/lib/libc/../../contrib/jemalloc/include/jemalloc/internal/arena.h:990: Failed assertion: "arena_mapbits_allocated_get(chunk, pageind) != 0" /usr/ports/www/firefox/work/mozilla-release/config/rules.mk:800: recipe for target 'js-dtrace.o' failed gmake[7]: *** [js-dtrace.o] Abort trap (core dumped) gmake[7]: Leaving directory '/usr/ports/www/firefox/work/mozilla-release/obj-powerpc-portbld-freebsd11.0/js/src' /usr/ports/www/firefox/work/mozilla-release/config/recurse.mk:74: recipe for target 'js/src/target' failed gmake[6]: *** [js/src/target] Error 2 gmake[6]: Leaving directory '/usr/ports/www/firefox/work/mozilla-release/obj-powerpc-portbld-freebsd11.0' /usr/ports/www/firefox/work/mozilla-release/config/recurse.mk:36: recipe for target 'compile' failed gmake[5]: *** [compile] Error 2 gmake[5]: Leaving directory '/usr/ports/www/firefox/work/mozilla-release/obj-powerpc-portbld-freebsd11.0' /usr/ports/www/firefox/work/mozilla-release/config/rules.mk:541: recipe for target 'default' failed gmake[4]: *** [default] Error 2 gmake[4]: Leaving directory '/usr/ports/www/firefox/work/mozilla-release/obj-powerpc-portbld-freebsd11.0' /usr/ports/www/firefox/work/mozilla-release/client.mk:400: recipe for target 'realbuild' failed gmake[3]: *** [realbuild] Error 2 gmake[3]: 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[2]: *** [build] Error 2 gmake[2]: 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[1]: stopped in /usr/ports/www/firefox *** Error code 1 Stop. make: stopped in /usr/ports/www/firefox
(In reply to herminio.hernandezjr from comment #5) > Added DTRACE=off and still failed. Did you turn off DTRACE in |make config| and |make showconfig| now shows DTRACE=off? If so --disable-dtrace should be passed during configure stage. It's hard to tell more without more complete build log and |make showconfig| output. There could be a genuine issue if some of the base tools used by configure script behaves erratically on powerpc. For one, freebsd.org packages don't invoke dtrace(1) during build as you can see in the linked log below. The reason is DTRACE option being disabled by default. http://beefy5.nyi.freebsd.org/data/101i386-default/393044/logs/firefox-39.0,1.log
This is too old. Please, re-try with firefox-50.0,1.