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.

Yes, this seems to have been fixed, but I'm getting a different failure
now:

[...]
gmake[3]: Entering directory '/r0/build/pkgsrc/www/firefox/work/build/js/src/debugger'
/r0/build/pkgsrc/www/firefox/work/.cwrapper/bin/c++ -std=gnu++17 -o Unified_cpp_js_src_debugger0.o -c  -I/r0/build/pkgsrc/www/firefox/work/build/dist/stl_wrappers -I/r0/build/pkgsrc/www/firefox/work/build/dist/system_wrappers -include /r0/build/pkgsrc/www/firefox/work/firefox-120.0.1/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DJS_HAS_CTYPES -DEXPORT_JS_API -DMOZ_HAS_MOZGLUE -I/r0/build/pkgsrc/www/firefox/work/firefox-120.0.1/js/src/debugger -I/r0/build/pkgsrc/www/firefox/work/build/js/src/debugger -I/r0/build/pkgsrc/www/firefox/work/build/js/src -I/r0/build/pkgsrc/www/firefox/work/firefox-120.0.1/js/src -I/r0/build/pkgsrc/www/firefox/work/build/dist/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss -I/usr/pkg/include/nspr -I/r0/build/pkgsrc/www/firefox/work/build/dist/include/nss -I/usr/X11R7/include/pixman-1 -I/usr/pkg/include -DMOZILLA_CLIENT -include /r0/build/pkgsrc/www/firefox/work/build/js/src/js-confdefs.h -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/ffmpeg6 -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -fno-sized-deallocation -fno-aligned-new -O2 -D_GLIBCXX_INCLUDE_NEXT_C_HEADERS -msse2 -march=i586 -D__LOCALE_C_ONLY -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/ffmpeg6 -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -mstackrealign -Dunix -fPIC -DPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -O2 -fomit-frame-pointer -funwind-tables -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-invalid-offsetof -Wc++2a-compat -Wcomma-subscript -Wvolatile -Wno-error=deprecated -Wduplicated-cond -Wimplicit-fallthrough -Wlogical-op -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-multistatement-macros -Wno-error=class-memaccess -Wformat -Wformat-overflow=2 -Wno-psabi -Wno-error=builtin-macro-redefined -I/usr/pkg/include -Werror=format -Wno-attributes -fno-strict-aliasing -ffp-contract=off  -MD -MP -MF .deps/Unified_cpp_js_src_debugger0.o.pp   Unified_cpp_js_src_debugger0.cpp
In file included from /r0/build/pkgsrc/www/firefox/work/build/dist/include/js/AllocPolicy.h:18,
                 from /r0/build/pkgsrc/www/firefox/work/build/dist/include/js/HeapAPI.h:16,
                 from /r0/build/pkgsrc/www/firefox/work/build/dist/include/js/TracingAPI.h:11,
                 from /r0/build/pkgsrc/www/firefox/work/build/dist/include/js/GCPolicyAPI.h:52,
                 from /r0/build/pkgsrc/www/firefox/work/build/dist/include/js/RootingAPI.h:23,
                 from /r0/build/pkgsrc/www/firefox/work/build/dist/include/js/CallArgs.h:73,
                 from /r0/build/pkgsrc/www/firefox/work/build/dist/include/js/CallNonGenericMethod.h:12,
                 from /r0/build/pkgsrc/www/firefox/work/firefox-120.0.1/js/src/NamespaceImports.h:15,
                 from /r0/build/pkgsrc/www/firefox/work/firefox-120.0.1/js/src/gc/Barrier.h:12,
                 from /r0/build/pkgsrc/www/firefox/work/firefox-120.0.1/js/src/gc/WeakMap.h:12,
                 from /r0/build/pkgsrc/www/firefox/work/firefox-120.0.1/js/src/debugger/DebugScript.h:16,
                 from /r0/build/pkgsrc/www/firefox/work/firefox-120.0.1/js/src/debugger/DebugScript.cpp:7,
                 from Unified_cpp_js_src_debugger0.cpp:2:
/r0/build/pkgsrc/www/firefox/work/firefox-120.0.1/js/src/vm/MallocProvider.h: In instantiation of 'T* js::MallocProvider<Client>::new_(Args&& ...) [with T = js::DebuggerFrame::GeneratorInfo; Args = {JS::Handle<js::AbstractGeneratorObject*>&, JS::Rooted<JSScript*>&}; Client = JSContext]':
/r0/build/pkgsrc/www/firefox/work/firefox-120.0.1/js/src/vm/MallocProvider.h:242:3:   required from 'mozilla::UniquePtr<T, JS::DeletePolicy<U> > js::MallocProvider<Client>::make_unique(Args&& ...) [with T = js::DebuggerFrame::GeneratorInfo; Args = {JS::Handle<js::AbstractGeneratorObject*>&, JS::Rooted<JSScript*>&}; Client = JSContext]'
/r0/build/pkgsrc/www/firefox/work/firefox-120.0.1/js/src/debugger/Frame.cpp:375:56:   required from here
/r0/build/pkgsrc/www/firefox/work/build/dist/include/js/Utility.h:486:20: error: static assertion failed: over-aligned type is not supported by JS_DECLARE_NEW_METHODS
  486 |         alignof(T) <= alignof(max_align_t),                                 \
      |         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/r0/build/pkgsrc/www/firefox/work/firefox-120.0.1/js/src/vm/MallocProvider.h:234:3: note: in expansion of macro 'JS_DECLARE_NEW_METHODS'
  234 |   JS_DECLARE_NEW_METHODS(new_, pod_malloc<uint8_t>, MOZ_ALWAYS_INLINE)
      |   ^~~~~~~~~~~~~~~~~~~~~~
gmake[3]: *** [/r0/build/pkgsrc/www/firefox/work/firefox-120.0.1/config/rules.mk:690: Unified_cpp_js_src_debugger0.o] Error 1
gmake[3]: Leaving directory '/r0/build/pkgsrc/www/firefox/work/build/js/src/debugger'
gmake[2]: *** [/r0/build/pkgsrc/www/firefox/work/firefox-120.0.1/config/recurse.mk:72: js/src/debugger/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


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