pkgsrc-Users archive

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

Re: firefox on i386?



On Sat, 30 Dec 2023, Martin Husemann wrote:

> On Sat, Dec 30, 2023 at 11:09:25AM -0600, John D. Baker wrote:
> > My problem, over the last several pkgsrc quarterly branches (years),
> > has been that I cannot even _build_ firefox for i386 due to rust failing
> > with a complaint about "failed to allocate a guard page: File too large
> > (os error 27)".
> 
> I think this has been fixed in -current and -10.

It seems to have been fixed for -current but for -10/i386 I'm still getting
the following:

[...]
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-120.0.1/toolkit/library/rust/Cargo.toml -j1   --lib --target=i586-unknown-netbsd --features 'gkrust-shared/moz_places gkrust-shared/webrtc gkrust-shared/glean_with_gecko gkrust-shared/glean_disable_upload gkrust-shared/glean_million_queue gkrust-shared/icu4x mozilla-central-workspace-hack' --  -Clto
thread '<unnamed>' panicked at library/std/src/sys/unix/thread.rs:855:17:
failed to allocate a guard page: File too large (os error 27)
stack backtrace:
   0:  0x1420e30 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h436d8522043954d0
   1:  0x1440018 - core::fmt::write::hebfe73b8caa36785
   2:  0x13f0469 - std::io::Write::write_fmt::h3cd7427911972043
   3:  0x1420c52 - std::sys_common::backtrace::print::h0e742b1f7f4a1b33
   4:  0x1407749 - std::panicking::default_hook::{{closure}}::h29e63aebc5277a06
   5:  0x140740e - std::panicking::default_hook::h1097ffce66442895
   6:  0x1408ae1 - std::panicking::rust_panic_with_hook::h3701a3e28a0a682e
   7:  0x1421264 - std::panicking::begin_panic_handler::{{closure}}::h01d09916efff93f0
   8:  0x1421066 - std::sys_common::backtrace::__rust_end_short_backtrace::hb74b834d0e699ab5
   9:  0x1408617 - rust_begin_unwind
  10:   0x7c09e0 - core::panicking::panic_fmt::h7317c208e011524d
  11:  0x1410dcc - std::sys::unix::thread::guard::init::h01c99a61a9e3b838
  12:  0x141c3e1 - std::rt::init::h179ec20119532c02
  13:  0x141c564 - std::rt::lang_start_internal::h9509b89a046d2d78
  14:   0x813fe3 - main
  15:   0x75018d - ___start
fatal runtime error: initialization or cleanup bug
gmake[3]: *** [/r0/build/pkgsrc/www/firefox/work/firefox-120.0.1/config/makefiles/rust.mk:457: 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-120.0.1/config/recurse.mk:72: toolkit/library/rust/target-objects] Error 2
gmake[2]: Leaving directory '/r0/build/pkgsrc/www/firefox/work/build'
gmake[1]: *** [/r0/build/pkgsrc/www/firefox/work/firefox-120.0.1/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-120.0.1/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


I'm still running -10_RC1 from about 28 Dec 2023 in case that matters.
I had planned on building all packages that way before updating to -10_RC2
(now -10_RC3).

-- 
|/"\ 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