pkgsrc-Users archive

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

Re: firefox still fails on 2020Q1, netbsd-8, amd64



On Sun, 10 May 2020 at 01:21, Greg Troxel <gdt%lexort.com@localhost> wrote:
>
> Tobias Nygren <tnn%NetBSD.org@localhost> writes:
>
> > Grep the whole build log for error messages, there should be something
> > additional. This is an error that happens when cbindgen fails to do
> > something with the C++ compiler.
> > Firefox is known to not build on NetBSD-8 due to C++ templating errors,
> > so that will most likely be the error.
> >
> > We should mark it as NOT_FOR_PLATFORM until we have a solution for this.
> > It is turning into a FAQ.
>
> Thanks, but firefox not building on netbsd-8 in stable branches is in my
> view a really major problem.  But a BROKEN_ON_PLATFORM with a coherent
> comment explaining why seems good.
>
> NOT_FOR_PLATFORM is inappropriate; it's a firefox bug (or a rust bug, or
> some other bug) if it won't work on netbsd-8.

I wonder whether it is the same on 9.99.60 from a few days ago;
realizing that firefox-76.0 needed newer nss, I started
pkg_rolling-replace; both thunderbird 68.7.0 and firefox 76.0 now
fail:
............Thunderbird:
[style 0.0.1] cargo:rerun-if-changed=build_gecko.rs
[style 0.0.1] cargo:rerun-if-changed=/usr/pkgsrc/mail/thunderbird/work/build/layout/style/bindgen.toml
[style 0.0.1] cargo:rerun-if-changed=/usr/pkgsrc/mail/thunderbird/work/thunderbird-68.7.0/layout/style/ServoBindings.toml
[style 0.0.1] /usr/pkgsrc/mail/thunderbird/work/build/dist/include/mozilla/Compiler.h:43:12:
fatal error: 'cstddef' file not found
[style 0.0.1] /usr/pkgsrc/mail/thunderbird/work/build/dist/include/mozilla/Compiler.h:43:12:
fatal error: 'cstddef' file not found, err: true
[style 0.0.1] thread 'main' panicked at 'Failed to generate bindings,
flags: ["/usr/pkgsrc/mail/thunderbird/work/build/dist/include/GeckoProfiler.h",
"--rust-target",...
....
"/usr/pkgsrc/mail/thunderbird/work/build/dist/include/nsXBLBinding.h"]',
servo/components/style/build_gecko.rs:201:17
[style 0.0.1] stack backtrace:
[style 0.0.1]    0:         0xf93fb733 -
<std::sys_common::backtrace::_print::DisplayBacktrace as
core::fmt::Display>::fmt::h25011aa22366c224
[style 0.0.1]    1:         0xf941629c - core::fmt::write::ha12ed658db114443
[style 0.0.1]    2:         0xf93fa8c5 -
std::io::Write::write_fmt::h4af7cba2d713a4ae
[style 0.0.1]    3:         0xf93edcd5 -
std::panicking::default_hook::{{closure}}::h40c839a455b6e51f
[style 0.0.1]    4:         0xf93ed9c2 -
std::panicking::default_hook::ha7b528c4c03e8cd7
[style 0.0.1]    5:         0xf93ee33d -
std::panicking::rust_panic_with_hook::h722fcaa44a484079
[style 0.0.1]    6:         0xf93edf20 - rust_begin_unwind
[style 0.0.1]    7:         0xf93ede9b -
std::panicking::begin_panic_fmt::h0b17ea86f4e16647
[style 0.0.1]    8:         0xf924b2e1 -
build_script_build::build_gecko::bindings::generate_structs::h5ac04208bb44fa38
[style 0.0.1]    9:         0xf924cea1 -
build_script_build::main::h8dd9282c81b08262
[style 0.0.1]   10:         0xf9233f73 -
std::rt::lang_start::{{closure}}::h16b1e26fabbd4645
[style 0.0.1]   11:         0xf93ede03 -
std::panicking::try::do_call::h57e2dd84001f09e2
[style 0.0.1]   12:         0xf94019f7 - __rust_maybe_catch_panic
[style 0.0.1]   13:         0xf93f16b4 -
std::rt::lang_start_internal::h970abedbe5975a66
[style 0.0.1]   14:         0xf924d8d2 - main
[style 0.0.1]   15:         0xf92311ab - ___start
error: failed to run custom build command for `style v0.0.1
(/usr/pkgsrc/mail/thunderbird/work/thunderbird-68.7.0/servo/components/style)`

Caused by:
  process didn't exit successfully:
`/usr/pkgsrc/mail/thunderbird/work/build/release/build/style-afb4f5bd29e4c214/build-script-build`
(exit code: 101)
--- stdout
......

--------------Firefox:

[mozglue-static 0.1.0] running:
"/usr/pkgsrc/www/firefox/work/.cwrapper/bin/c++" "-std=gnu++17" "-O2"
"-ffunction-sections" "-fdata-sections" "-fPIC" "-m64"
"-I/usr/pkgsrc/www/firefox/work/build/dist/stl_wrappers
" "-I/usr/pkgsrc/www/firefox/work/build/dist/system_wrappers"
"-include" "/usr/pkgsrc/www/firefox/work/firefox-76.0/config/gcc_hidden.h"
"-U_FORTIFY_SOURCE" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong"
"-DNDE
BUG=1" "-DTRIMMED=1"
"-I/usr/pkgsrc/www/firefox/work/firefox-76.0/toolkit/library/rust"
"-I/usr/pkgsrc/www/firefox/work/build/toolkit/library/rust"
"-I/usr/pkgsrc/www/firefox/work/build/dist/include" "-I/usr/pkg/
include/nspr" "-I/usr/pkg/include/nss" "-I/usr/pkg/include/nspr"
"-I/usr/pkgsrc/www/firefox/work/build/dist/include/nss"
"-I/usr/X11R7/include/pixman-1" "-fPIC" "-DPIC" "-DMOZILLA_CLIENT"
"-include" "/usr/pkgsrc/
www/firefox/work/build/mozilla-config.h" "-Qunused-arguments"
"-I/usr/pkg/include" "-I/usr/include" "-I/usr/pkg/include/nspr"
"-I/usr/pkg/include/nss/nss" "-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/ffmpeg4"
"-I/usr/pkg/include/freetype2" "-Qunused-arguments" "-Wall"
"-Wbitfield-enum-conversion"
"-Wempty-body" "-Wignored-qualifiers" "-Woverloaded-virtual"
"-Wpointer-arith" "-Wshadow-field-in-constructor-modified"
"-Wsign-compare" "-Wtype-limits" "-Wunreachable-code"
"-Wunreachable-code-return" "-Wwrite-s
trings" "-Wno-invalid-offsetof" "-Wclass-varargs" "-Wempty-init-stmt"
"-Wfloat-overflow-conversion" "-Wfloat-zero-conversion"
"-Wloop-analysis" "-Wc++2a-compat" "-Wcomma" "-Wimplicit-fallthrough"
"-Wunused-functi
on" "-Wunused-variable" "-Wstring-conversion"
"-Wtautological-overlap-compare"
"-Wtautological-unsigned-enum-zero-compare"
"-Wtautological-unsigned-zero-compare"
"-Wno-error=tautological-type-limit-compare" "-Wno
-inline-new-delete" "-Wno-error=deprecated-declarations"
"-Wno-error=array-bounds" "-Wno-error=backend-plugin"
"-Wno-error=return-std-move" "-Wno-error=atomic-alignment"
"-Wno-error=deprecated-copy" "-Wformat" "-
Wformat-security" "-Wno-gnu-zero-variadic-macro-arguments"
"-Wno-unknown-warning-option" "-fno-sized-deallocation"
"-fno-aligned-new" "-O2" "-D_GLIBCXX_INCLUDE_NEXT_C_HEADERS"
"-I/usr/pkg/include" "-I/usr/include
" "-I/usr/pkg/include/nspr" "-I/usr/pkg/include/nss/nss"
"-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/ffmpeg4" "-I/usr/pkg/include/freetype2"
"-fno-exceptions" "-fno-strict-aliasing" "-Dunix" "-fno-rtti"
"-ffunction-sections" "-fdata-sections" "-fno-exceptions"
"-fno-math-errno" "-pthread" "-pipe"
 "-I/usr/pkg/include" "-O2" "-fomit-frame-pointer" "-funwind-tables"
"-fexperimental-new-pass-manager" "-DMOZILLA_CONFIG_H" "-I"
"/usr/pkgsrc/www/firefox/work/build/js/src" "-I"
"/usr/pkgsrc/www/firefox/work/buil
d/dist/include" "-DMOZ_HAS_MOZGLUE" "-o"
"/usr/pkgsrc/www/firefox/work/build/x86_64-unknown-netbsd/release/build/mozglue-static-3ef0640ab4d26029/out/wrappers.o"
"-c" "wrappers.cpp"
[mozglue-static 0.1.0] cargo:warning=In file included from wrappers.cpp:11:
[mozglue-static 0.1.0] cargo:warning=In file included from
/usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/Assertions.h:418:
[mozglue-static 0.1.0] cargo:warning=In file included from
/usr/pkgsrc/www/firefox/work/build/dist/stl_wrappers/type_traits:52:
[mozglue-static 0.1.0]
cargo:warning=/usr/pkgsrc/www/firefox/work/build/dist/system_wrappers/type_traits:3:15:
fatal error: 'type_traits' file not found
[mozglue-static 0.1.0] cargo:warning=#include_next <type_traits>
[mozglue-static 0.1.0] cargo:warning=              ^~~~~~~~~~~~~
[mozglue-static 0.1.0] cargo:warning=1 error generated.
[mozglue-static 0.1.0] exit code: 1
[mozglue-static 0.1.0]
[mozglue-static 0.1.0]
[mozglue-static 0.1.0] error occurred: Command
"/usr/pkgsrc/www/firefox/work/.cwrapper/bin/c++" "-std=gnu++17" ......

This is the first failure to build these under -current I've had for
quite a long time.

...,,,,

Should I rebuild rust, as was suggested?








--
----


Home | Main Index | Thread Index | Old Index