pkgsrc-Users archive

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

Building firefox on i386-current?



Building "www/firefox" from pkgsrc-2022Q3 on i386-current (9.99.99 just
before the bump to ".100") fails with a "file too large" failure from
'rust'.

The build system is a quad-core x86_64 w/12GB RAM running a stripped-down
PAE-enabled i386 kernel with matching userland.

Build with MAKE_JOBS=1 fails as follows:

[...]
gmake[3]: Entering directory '/r0/build/pkgsrc/www/firefox/work/build/toolkit/library/rust'
toolkit/library/rust/force-cargo-library-build
/usr/pkg/bin/cargo rustc  --release --frozen --manifest-path /r0/build/pkgsrc/www/firefox/work/firefox-104.0.2/toolkit/library/rust/Cargo.toml -vv -j1 -j1 --lib --target=i586-unknown-netbsd --features 'gkrust-shared/moz_places gkrust-shared/webrtc gkrust-shared/glean_with_gecko gkrust-shared/glean_disable_upload' --  -Clto=thin
thread '<unnamed>' panicked at 'failed to allocate a guard page: File too large (os error 27)', library/std/src/sys/unix/thread.rs:640:17
stack backtrace:
   0:  0x10030ea - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h8e31e2ec20d038f0
   1:  0x1020f68 - core::fmt::write::h08c9b39e14df6ad8
   2:   0xfd90af - std::io::Write::write_fmt::hd01e2708ca976e76
   3:   0xfe8362 - std::panicking::default_hook::{{closure}}::hf1c17ec20e80074b
   4:   0xfe7fc4 - std::panicking::default_hook::h630c121af8581861
   5:   0xfe8a5e - std::panicking::rust_panic_with_hook::h8a73addb93e046b3
   6:  0x100341a - std::panicking::begin_panic_handler::{{closure}}::h730ee689f7e35e53
   7:  0x100321e - std::sys_common::backtrace::__rust_end_short_backtrace::he0ac081824950d62
   8:   0xfe857b - rust_begin_unwind
   9:   0x801df0 - core::panicking::panic_fmt::h1cc700ac328b7e9b
  10:   0xfe4372 - std::sys::unix::thread::guard::init::h27768c3352de52a2
  11:   0xfd5f31 - std::rt::init::h56b818765db23113
  12:   0xfd6100 - std::rt::lang_start_internal::h81c3adff48a62982
  13:   0x80cf81 - main
  14:   0x7a7f9d - ___start
fatal runtime error: initialization or cleanup bug
gmake[3]: *** [/r0/build/pkgsrc/www/firefox/work/firefox-104.0.2/config/makefiles/rust.mk:434: force-cargo-library-build] Abort trap (core dumped)
gmake[3]: Leaving directory '/r0/build/pkgsrc/www/firefox/work/build/toolkit/library/rust'
gmake[2]: *** [/r0/build/pkgsrc/www/firefox/work/firefox-104.0.2/config/recurse.mk:72: toolkit/library/rust/target] Error 2
gmake[2]: Leaving directory '/r0/build/pkgsrc/www/firefox/work/build'
gmake[1]: *** [/r0/build/pkgsrc/www/firefox/work/firefox-104.0.2/config/recurse.mk:34: compile] Error 2
gmake[1]: Leaving directory '/r0/build/pkgsrc/www/firefox/work/build'
gmake: *** [/r0/build/pkgsrc/www/firefox/work/firefox-104.0.2/config/rules.mk:361: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /x/pkgsrc/www/firefox
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/www/firefox


The same host successfully built firefox running i386-9.3_STABLE, also
with a stripped-down PAE-enabled kernel and using pkgsrc GCC 10 for
all dependencies.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index