Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pinebook status update (20200622)
Hi,
I committed a patch that fixed the (AFIAK) only use of /dev/random in the
firefox source tree, can you test it?
Here're all the issues I've found so far building firefox on aarch64
(current):
Rust fails if LOCALBASE isn't /usr/pkg (symlinking works).
lang/nodejs dumps core running node_mksnapshot if built with MAKE_JOBS=4,
succeeds if unset.
Firefox sometimes fails with:
checking for nodejs... 1: 0x2006189f8 node::Abort() [/usr/local/bin/node]
2: 0x2005f4c40 node::InitializeOncePerProcess(int, char**) [/usr/local/bin/node]
3: 0x2005f4e70 node::Start(int, char**) [/usr/local/bin/node]
no
ERROR: NODEJS must point to node 10.19 or newer; found node location: /usr/local/bin/node.
if built with MAKE_JOBS=4, but not reliably. I haven't seen it fail with
MAKE_JOBS unset, but this is anecdotal because I haven't tried many times.
Next:
Executing "/usr/local/bin/node
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/shared/build/build.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/components/SecondaryPanes/CommandBar.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/components/SecondaryPanes/DOMMutationBreakpoints.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/components/SecondaryPanes/EventListeners.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/components/SecondaryPanes/Expressions.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/components/SecondaryPanes/index.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/components/SecondaryPanes/Scopes.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/components/SecondaryPanes/Thread.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/components/SecondaryPanes/Threads.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/components/SecondaryPanes/WhyPaused.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/components/SecondaryPanes/XHRBreakpoints.js
/usr/pkgsrc/www/firefox/work/build/dist/bin/browser/chrome/devtools/modules/devtools/client/debugger/src/components/SecondaryPanes"
b'\n#\n# Fatal process OOM in New space setup\n#\n\n'
gmake[3]: *** [backend.mk:35: .deps/node.stub.stub] Error 251
gmake[3]: Leaving directory '/usr/pkgsrc/www/firefox/work/build
or:
Executing "/usr/local/bin/node
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/shared/build/build.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/utils/editor/create-editor.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/utils/editor/get-expression.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/utils/editor/get-token-location.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/utils/editor/index.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/utils/editor/source-documents.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/utils/editor/source-editor.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/utils/editor/source-search.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/utils/editor/token-events.js
/usr/pkgsrc/www/firefox/work/build/dist/bin/browser/chrome/devtools/modules/devtools/client/debugger/src/utils/editor"
b'FATAL ERROR: Committing semi space failed. Allocation failed -
JavaScript heap out of memory\n 1: 0x2006189f8 node::Abort()
[/usr/local/bin/node]\n 2: 0x20089ac24 node::FatalError(char const*, char
const*) [/usr/local/bin/node]\n 3: 0x2009075f8
v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool)
[/usr/local/bin/node]\n 4: 0x2009077a0
v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char
const*, bool) [/usr/local/bin/node]\n 5: 0x200a60d18
v8::internal::Heap::EnsureFromSpaceIsCommitted() [/usr/local/bin/node]\n
6: 0x200a60d64 v8::internal::Heap::EnsureFromSpaceIsCommitted()
[/usr/local/bin/node]\n 7: 0x200a71d1c
v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector,
v8::GCCallbackFlags) [/usr/local/bin/node]\n 8: 0x200a72acc
v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace,
v8::internal::GarbageCollectionReason, v8::GCCallbackFlags)
[/usr/local/bin/node]\n 9: 0x200a74ae4
v8::internal::Heap::AllocateRawWithLightRetrySlowPath(int,
v8::internal::AllocationType, v8::internal::AllocationOrigin,
v8::internal::AllocationAlignment) [/usr/local/bin/node]\n10: 0x200a74b50
v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int,
v8::internal::AllocationType, v8::internal::AllocationOrigin,
v8::internal::AllocationAlignment) [/usr/local/bin/node]\n11: 0x200a42ed8
v8::internal::Factory::NewFillerObject(int, bool,
v8::internal::AllocationType, v8::internal::AllocationOrigin)
[/usr/local/bin/node]\n12: 0x200cfa8a8
v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*,
v8::internal::Isolate*) [/usr/local/bin/node]\n'
gmake[3]: *** [backend.mk:35: .deps/node.stub.stub] Error 250
gmake[3]: Leaving directory
'/usr/pkgsrc/www/firefox/work/build/devtools/client/debugger/src/components/SecondaryPanes'
gmake[2]: ***
[/usr/pkgsrc/www/firefox/work/firefox-77.0.1/config/recurse.mk:101:
devtools/client/debugger/src/components/SecondaryPanes/misc] Error 2
or:
devtools/client/debugger/src/workers/parser/node.stub.stub
/usr/pkgsrc/www/firefox/work/build/_virtualenvs/init_py3/bin/python -m
mozbuild.action.file_generate
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/python/mozbuild/mozbuild/action/node.py
generate node.stub .deps/node.stub.pp .deps/node.stub.stub
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/shared/build/build.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/workers/parser/index.js
/usr/pkgsrc/www/firefox/work/build/dist/bin/browser/chrome/devtools/modules/devtools/client/debugger/src/workers/parser
Executing "/usr/local/bin/node
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/shared/build/build.js
/usr/pkgsrc/www/firefox/work/firefox-77.0.1/devtools/client/debugger/src/workers/parser/index.js
/usr/pkgsrc/www/firefox/work/build/dist/bin/browser/chrome/devtools/modules/devtools/client/debugger/src/workers/parser"
b'\n#\n# Fatal process OOM in New space setup\n#\n\n'
This is with MAKE_JOBS=4. Unsetting MAKE_JOBS only results in success
after a few tries. I lack the imagination to guess why.
Note that this is on an 8 gigabyte Pi 4 with 16 gigs of swap, so I'm
guessing something in node just needs to be unlimited.
I hope this helps...
John
Home |
Main Index |
Thread Index |
Old Index