Current-Users archive

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

Re: firefox build broken



On Fri, 1 May 2020 at 13:13, Thomas Klausner <tk%giga.or.at@localhost> wrote:
>
> On Thu, Apr 30, 2020 at 06:22:01AM +0900, Ryo ONODERA wrote:
> > Hi,
> >
> > On my NetBSD/amd64 9.99.59 of 2020-04-29,
> > pkgsrc/www/firefox builds without any problem.
> >
> > I have tested with pkgsrc/lang/rust built on both 9.99.57
> > and 9.99.59 of 2020-04-29, and I did not have any problem.
>
> That's strange, I don't understand this.
>
> I have been seeing this error for days now:
>
> In file included from /scratch/www/firefox/work/firefox-75.0/js/src/gc/StoreBuffer.cpp:7:
> In file included from /scratch/www/firefox/work/firefox-75.0/js/src/gc/StoreBuffer-inl.h:10:
> In file included from /scratch/www/firefox/work/firefox-75.0/js/src/gc/StoreBuffer.h:17:
> In file included from /scratch/www/firefox/work/firefox-75.0/js/src/ds/LifoAlloc.h:28:
> In file included from /scratch/www/firefox/work/build/dist/include/js/UniquePtr.h:10:
> /scratch/www/firefox/work/build/dist/include/mozilla/UniquePtr.h:223:39: error: no template named 'is_reference_v' in namespace 'std'; did you mean 'is_reference'?
>             typename Conditional<std::is_reference_v<D>, D, const D&>::Type aD1)
>                                  ~~~~~^~~~~~~~~~~~~~
>                                       is_reference
> /usr/include/c++/type_traits:400:51: note: 'is_reference' declared here
> template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_reference        : public false_type {};
>                                                   ^
>
> which doesn't look like it should be specific to my system.
>
> And then later:
>
> stack backtrace:
>    0:        0x11f4088e2 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfc6622696269221b
>    1:        0x11f4244ad - core::fmt::write::hd3eed79e7afa73cf
>    2:        0x11f407aa5 - std::io::Write::write_fmt::h60ea7d9604ed82bb
>    3:        0x11f3fae90 - std::panicking::default_hook::{{closure}}::h2c07f5fe2b4f82c2
>    4:        0x11f3fab82 - std::panicking::default_hook::h6dd6fafda250b80f
>    5:        0x11f3fb4ed - std::panicking::rust_panic_with_hook::hd4a4901bf3898ce4
>    6:        0x11f3fb0d0 - rust_begin_unwind
>    7:        0x11f3fb04b - std::panicking::begin_panic_fmt::h08093aab619d21cf
>    8:        0x11f250244 - build_script_build::build_gecko::generate_structs::h05aae5803967982b
>    9:        0x11f251dc6 - build_script_build::main::hdd2fcab7190374c2
>   10:        0x11f238a53 - std::rt::lang_start::{{closure}}::h1cbbafc9225f7a3a
>   11:        0x11f3fafb3 - std::panicking::try::do_call::hf264ae5e639af05c
>   12:        0x11f40ec37 - __rust_maybe_catch_panic
>   13:        0x11f3fe8eb - std::rt::lang_start_internal::h63883908f6b782bf
>   14:        0x11f252792 - main
>   15:        0x11f235cfb - ___start
>
>
> That's with a userland from yesterday and a kernel from today, rust
> was rebuilt today as well.

I just finished a build of firefox-75-nb1 on -current from overnight
without any problem. Rust is rust-1.42.0nb1.


>  Thomas



-- 
----


Home | Main Index | Thread Index | Old Index