pkgsrc-Users archive

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

Re: firefox fails to build on netbsd-8 amd64



On Tue, 31 Mar 2020 at 12:39, Joerg Sonnenberger <joerg%bec.de@localhost> wrote:
>
> On Mon, Mar 30, 2020 at 06:08:51PM -0400, Greg Troxel wrote:
> > Joerg Sonnenberger <joerg%bec.de@localhost> writes:
> >
> > > On Fri, Mar 27, 2020 at 08:37:30PM -0400, Greg Troxel wrote:
> > >> [style 0.0.1] /tmp/work/www/firefox/work/build/dist/include/mozilla/UniquePtr.h:223:39: error: no member named 'is_reference_v' in namespace 'std'
> > >
> > > This would be a C++17 addition. It is
> > >     template <class T> inline constexpr bool is_lvalue_reference_v
> > >         = is_lvalue_reference<T>::value;
> >
> > Thanks for looking at this.
> >
> > So:
> >
> >   firefox needs a C++17 compiler
> >   it needs patches to pass --std=c++17?
> >
> > I tried with gcc7 and it still did not build.
> > But maybe I need to build some prereqs with C++17 also?
>
> It certainly needs a STL implementation that provides C++17, which the
> GCC in netbsd 8 likely doesn't.
>
> Joerg

After the last few updates in firefox-74 build under -current fails immediately:
...
=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Creating toolchain wrappers for firefox-74.0
===> Configuring for firefox-74.0
printf '#!/bin/sh\n[ "$*" = "-f" ] && exit 0\nexec /bin/rm $@\n' >
/usr/pkgsrc/www/firefox/work/.cwrapper/bin/rm
chmod +x /usr/pkgsrc/www/firefox/work/.cwrapper/bin/rm
=> Dont include malloc.h on dragonflybsd
=> Fixing absolute paths.
=> Setting PREFIX
cd /usr/pkgsrc/www/firefox/work/firefox-74.0 && autoconf
cd /usr/pkgsrc/www/firefox/work/firefox-74.0/js/src && autoconf
cd /usr/pkgsrc/www/firefox/work/firefox-74.0 && mkdir ../build
cd /usr/pkgsrc/www/firefox/work/firefox-74.0/../build && touch
old-configure.vars
=> Generating pkg-config files for builtin libevent package.
=> Generating pkg-config files for builtin xz package.
=> Generating pkg-config file for builtin expat package.
sh: 1: Syntax error: ";" unexpected
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/www/firefox
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/firefox
....




-- 
----


Home | Main Index | Thread Index | Old Index