pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

firefox-158.0 build failure NetBSD 11.0-STABLE




Trying to build firefox from sources pulled yesterday I get the following build failure which looks like an out of memory situation.

Building on NetBSD 11.0-STABLE on amd64. System has 32GB RAM and plenty of swap.


gmake[3]: Leaving directory '/comp/obj/pkgsrc/www/firefox/work/build/browser/components/preferences/dialogs' gmake[3]: Leaving directory '/comp/obj/pkgsrc/www/firefox/work/build/browser/components/urlbar' gmake[3]: Leaving directory '/comp/obj/pkgsrc/www/firefox/work/build/toolkit/components/extensions/schemas' gmake[3]: Leaving directory '/comp/obj/pkgsrc/www/firefox/work/build/browser/components/extensions/schemas' gmake[3]: Leaving directory '/comp/obj/pkgsrc/www/firefox/work/build/browser/extensions/webcompat' gmake[3]: Entering directory '/comp/obj/pkgsrc/www/firefox/work/build/browser/extensions/webcompat/xpi-build'
gmake[3]: Nothing to be done for 'misc'.
gmake[3]: Leaving directory '/comp/obj/pkgsrc/www/firefox/work/build/browser/extensions/webcompat/xpi-build' gmake[3]: Leaving directory '/comp/obj/pkgsrc/www/firefox/work/build/toolkit/modules'

<--- Last few GCs --->

[9280:0x7a648e350000] 20728 ms: Scavenge (interleaved) 247.4 (254.9) -> 246.8 (255.1) MB, pooled: 0 MB, 10.58 / 0.00 ms (average mu = 0.392, current mu = 0.762) allocation failure; [9280:0x7a648e350000] 20833 ms: Mark-Compact (reduce) 248.2 (255.6) -> 245.4 (254.4) MB, pooled: 0 MB, 87.09 / 0.00 ms (+ 0.2 ms in 12 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 95 ms) (average mu = 0.380, curre FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

 1: 0xc008e9 node::DumpNativeBacktrace(__sFILE*) [/usr/pkg/bin/node]
2: 0xccac7b node::MapKVStore::Delete(v8::Isolate*, v8::Local<v8::String>) [/usr/pkg/bin/node] 3: 0x1253408 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/usr/pkg/bin/node] 4: 0x13cbaf2 v8::ValueSerializer::Delegate::AdoptSharedValueConveyor(v8::Isolate*, v8::SharedValueConveyor&&) [/usr/pkg/bin/node] 5: 0x13cbbe7 v8::ValueSerializer::Delegate::AdoptSharedValueConveyor(v8::Isolate*, v8::SharedValueConveyor&&) [/usr/pkg/bin/node] 6: 0x160d0ff v8::internal::HeapLayout::CheckYoungGenerationConsistency(v8::internal::MemoryChunk const*) [/usr/pkg/bin/node] 7: 0x160d1df v8::internal::HeapLayout::CheckYoungGenerationConsistency(v8::internal::MemoryChunk const*) [/usr/pkg/bin/node] 8: 0x160d29a v8::internal::HeapLayout::CheckYoungGenerationConsistency(v8::internal::MemoryChunk const*) [/usr/pkg/bin/node] 9: 0x161b53f v8::internal::StrongRootAllocatorBase::deallocate_impl(unsigned long*, unsigned long) [/usr/pkg/bin/node] 10: 0x161e0a0 v8::internal::StrongRootAllocatorBase::deallocate_impl(unsigned long*, unsigned long) [/usr/pkg/bin/node]
Traceback (most recent call last):
  File "<frozen runpy>", line 203, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
File "/comp/obj/pkgsrc/www/firefox/work/firefox-158.0/python/mozbuild/mozbuild/action/file_generate.py", line 156, in <module>
    sys.exit(main(sys.argv[1:]))
             ~~~~^^^^^^^^^^^^^^
File "/comp/obj/pkgsrc/www/firefox/work/firefox-158.0/python/mozbuild/mozbuild/action/file_generate.py", line 100, in main
    ret = module.__dict__[method](
        output, *args.additional_arguments, **kwargs
    )
File "/comp/obj/pkgsrc/www/firefox/work/firefox-158.0/browser/extensions/newtab/build-newtab-bundles.py", line 128, in generate_js
    _run(
    ~~~~^
        [
        ^
    ...<9 lines>...
        extra_env={"MOZ_WEBPACK_DEPS": deps_file},
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
File "/comp/obj/pkgsrc/www/firefox/work/firefox-158.0/browser/extensions/newtab/build-newtab-bundles.py", line 114, in _run
    raise Exception(f"{argv[1]} failed with exit code {result.returncode}")
Exception: /comp/obj/pkgsrc/www/firefox/work/firefox-158.0/third_party/node/node_modules/webpack/bin/webpack.js failed with exit code -6

Also seeing failures on 10.1-STABLE as well.

Mike


Home | Main Index | Thread Index | Old Index