[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: "devel/protobuf" build fails on netbsd-9/i386
> > [...]
> > gmake: Entering directory '/tmp/pkgsrc/devel/protobuf/work/protobuf-3.20.1/src'
> > CXX google/protobuf/arenastring.lo
> > google/protobuf/arenastring.cc:67:1: error: static assertion failed
> > static_assert((kStringAlign > kNewAlign ? kStringAlign : kNewAlign) >= 8, "");
> > This was with pkgsrc-HEAD during the freeze. Now that pkgsrc-2022Q2 has
> > been tagged, I'll update and try again, but I don't expect any change.
> It compiles for me, and I suspect that this is because I have
> GCC_REQD+= 8
> as a global setting. You can try setting it in the package Makefile
> only to check.
On my NetBSD/i386 9.2 + pkgsrc-2022Q2 environment (without GCC_REQD),
the following diff seems enough (at least to build).
RCS file: /cvsroot/pkgsrc/devel/protobuf/Makefile,v
retrieving revision 1.56
diff -u -p -r1.56 Makefile
--- Makefile 22 Apr 2022 10:13:33 -0000 1.56
+++ Makefile 30 Jun 2022 16:56:56 -0000
@@ -21,7 +21,7 @@ LICENSE= modified-bsd
-USE_LANGUAGES= c c++11
+USE_LANGUAGES= c c++17
Main Index |
Thread Index |