On Wed 29 Jun 2022 at 13:12:03 -0500, John D. Baker wrote: > Building "devel/protobuf" on netbsd-9/i386 (up-to-date 9.2_STABLE) fails > with: > > [...] > gmake[2]: 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. The annoying thing is that C++ programs are not always compatible across g++ versions, so you may need to recompile all C++ packages with this setting. > |/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X -Olaf. -- ___ "Buying carbon credits is a bit like a serial killer paying someone else to \X/ have kids to make his activity cost neutral." -The BOFH falu.nl@rhialto
Attachment:
signature.asc
Description: PGP signature