Current-Users archive

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

firefox-73.0 build fails under -current



Hi,

With fully updated pkgsrc tree and several pkg_rolling-replace runs,
firefox-73.0 fails build for me under
# cat /kern/version
NetBSD 9.99.47 (GENERIC) #8: Tue Feb 18 14:06:06 GMT 2020
        sysbuild@ymir:/home/sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/compile/GENERIC
....

It is not that long log file, it happens fairly early in the build
process. The first error messages are:
...
nline-new-delete]
[style 0.0.1] /usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/RefPtr.h:116:46:
error: no member named 'is_convertible_v' in namespace 'std'
[style 0.0.1] /usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/RefPtr.h:116:63:
error: 'I' does not refer to a value
[style 0.0.1] /usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/RefPtr.h:115:22:
note: declared here
[style 0.0.1] /usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/RefPtr.h:116:65:
error: expected expression
[style 0.0.1] /usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/RefPtr.h:117:16:
error: expected ',' or '>' in template-parameter-list
[style 0.0.1] /usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/RefPtr.h:122:23:
error: expected member name or ';' after declaration specifiers
[style 0.0.1] /usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/gfx/2D.h:1128:27:
error: no viable conversion from
'already_AddRefed<mozilla::gfx::SourceSurface>' to
'RefPtr<mozilla::gfx::SourceSurface>'

many more like this and eventually
...
[style 0.0.1] fatal error: too many errors emitted, stopping now
[-ferror-limit=], err: true
....
error: failed to run custom build command for `style v0.0.1
(/usr/pkgsrc/www/firefox/work/firefox-73.0/servo/components/style)`

Caused by:
  process didn't exit successfully:
`/usr/pkgsrc/www/firefox/work/build/release/build/style-5e799124e9158d74/build-script-build`
(exit code: 101)
--- stdout

....
and at the end rust panics:
...
stack backtrace:
   0:          0x5c07ed3 -
<std::sys_common::backtrace::_print::DisplayBacktrace as
core::fmt::Display>::fmt::h318a88a215c465ba
   1:          0x5c22bfd - core::fmt::write::hc2efd85d1340803b
   2:          0x5c06185 - std::io::Write::write_fmt::h900942f41ae99f68
   3:          0x5c0a22e -
std::panicking::default_hook::{{closure}}::h6bfd65ba415c3683
   4:          0x5c09f22 - std::panicking::default_hook::h54051b894cc4be51
   5:          0x5c0a8ee -
std::panicking::rust_panic_with_hook::h53be5e71a9c6f254
   6:          0x5c0a49e - rust_begin_unwind
   7:          0x5c0a3e0 - std::panicking::begin_panic_fmt::h279e25ed4fb21546
   8:          0x5a4e63d -
build_script_build::build_gecko::generate_structs::h030d1971feba6aaa
   9:          0x5a501af - build_script_build::main::he425039279cb5dce
  10:          0x5a36d93 - std::rt::lang_start::{{closure}}::h095ff4e17a23dfd3
  11:          0x5c0a343 - std::panicking::try::do_call::h8f3e17d36558951c
  12:          0x5c0df2a - __rust_maybe_catch_panic
  13:          0x5bfa5de - std::rt::lang_start_internal::hc8794248d3f9dc03
  14:          0x5a50bd2 - main
  15:          0x5a3415b - ___start

warning: build failed, waiting for other jobs to finish...
....

rust 1.41.0 built ok.

Not knowing anything of substance about C++, perhaps some standard
definition missing? Prior to this error there was a message regarding
the building of virtuanenv - the python2.7 one fails, it then
continues with python3, which succeeeds but with two optional
environment package failed.

Previous versions of firefox have always built for me, at least for a
year; not to mention that they actually work well.

Chavdar




.....



-- 
----


Home | Main Index | Thread Index | Old Index