pkgsrc-Users archive

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

Re: Failure to build www/firefox



On Thu, May 07, 2020 at 09:06:12PM +0200, Martin Husemann wrote:
> On Thu, May 07, 2020 at 07:55:20PM +0100, Mike Pumford wrote:
> > Just found this change to clang10 in the right timeframe that looks like it
> > might impact which libstdc++ we are getting:
> > 
> > http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/clang/Makefile.common.diff?r1=1.42&r2=1.43&only_with_tag=MAIN
> > 
> > Just kicked off a build with that change backed out and see if it helps.
> 
> I can tell you without waiting for the build results:
> 
> with r1.42 I get SUBST_CLASES libcxx cmake, with r1.42 it is only cmake.
> 
> This change is broken and we need to rebuild clang as well.

Even with the fixed clang, I still see:

cargo:warning=/scratch/www/firefox/work/build/dist/include/mozilla/Assertions.h:425:23: error: no template named 'is_array_v' in namespace 'std';
did you mean 'is_array'?
cargo:warning=  static_assert(!std::is_array_v<ValueT>,
cargo:warning=                 ~~~~~^~~~~~~~~~
cargo:warning=                      is_array
cargo:warning=/usr/include/c++/type_traits:375:51: note: 'is_array' declared here
cargo:warning=template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_array
cargo:warning=                                                  ^
cargo:warning=In file included from wrappers.cpp:11:
cargo:warning=/scratch/www/firefox/work/build/dist/include/mozilla/Assertions.h:425:41: error: expected '(' for function-style cast or type construction
cargo:warning=  static_assert(!std::is_array_v<ValueT>,
cargo:warning=                 ~~~~~~~~~~~~~~~~~~~~~~~^
cargo:warning=/scratch/www/firefox/work/build/dist/include/mozilla/Assertions.h:428:23: error: no template named 'is_function_v' in namespace 'std'; did you mean 'is_function'?
cargo:warning=  static_assert(!std::is_function_v<ValueT>,
cargo:warning=                 ~~~~~^~~~~~~~~~~~~
cargo:warning=                      is_function
cargo:warning=/usr/include/c++/type_traits:468:51: note: 'is_function' declared here
cargo:warning=template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_function
cargo:warning=                                                  ^
cargo:warning=In file included from wrappers.cpp:11:
cargo:warning=/scratch/www/firefox/work/build/dist/include/mozilla/Assertions.h:428:44: error: expected '(' for function-style cast or type construction
cargo:warning=  static_assert(!std::is_function_v<ValueT>,
cargo:warning=                 ~~~~~~~~~~~~~~~~~~~~~~~~~~^
cargo:warning=/scratch/www/firefox/work/build/dist/include/mozilla/Assertions.h:431:23: error: no template named 'is_floating_point_v' in namespace 'std'; did you mean 'is_floating_point'?
cargo:warning=  static_assert(!std::is_floating_point_v<ValueT>,
cargo:warning=                 ~~~~~^~~~~~~~~~~~~~~~~~~
cargo:warning=                      is_floating_point
cargo:warning=/usr/include/c++/type_traits:370:51: note: 'is_floating_point' declared here
cargo:warning=template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_floating_point
cargo:warning=                                                  ^
cargo:warning=In file included from wrappers.cpp:11:
cargo:warning=/scratch/www/firefox/work/build/dist/include/mozilla/Assertions.h:431:50: error: expected '(' for function-style cast or type construction
cargo:warning=  static_assert(!std::is_floating_point_v<ValueT>,
cargo:warning=                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
cargo:warning=6 errors generated.

Does anyone have ideas about that?
(pkgsrc from last night after the clang fix, all packages up-to-date.)
 Thomas


Home | Main Index | Thread Index | Old Index