+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/py311-greenlet-2.0.2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/py311-greenlet-2.0.2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for py311-greenlet-2.0.2 (cd /home/pbulk/build/devel/py-greenlet/work/greenlet-2.0.2/ && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr DL_CFLAGS= DL_LDFLAGS= DL_LIBS= PYTHON=/opt/pkg/bin/python3.11 CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/opt/pkg/include/python3.11\ -I/opt/pkg/include CPPFLAGS=-I/usr/include\ -I/opt/pkg/include/python3.11\ -I/opt/pkg/include CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/opt/pkg/include/python3.11\ -I/opt/pkg/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -Wl,-R/opt/pkg/lib\ -lintl\ -liconv\ -L/opt/pkg/lib LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/devel/py-greenlet/work/.cwrapper/bin:/home/pbulk/build/devel/py-greenlet/work/.buildlink/bin:/home/pbulk/build/devel/py-greenlet/work/.gcc/bin:/home/pbulk/build/devel/py-greenlet/work/.tools/bin:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/etc/opt/pkg HOME=/home/pbulk/build/devel/py-greenlet/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/devel/py-greenlet/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/pkg/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/devel/py-greenlet/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/devel/py-greenlet/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/devel/py-greenlet/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/devel/py-greenlet/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/devel/py-greenlet/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/devel/py-greenlet/work/.buildlink/lib/pkgconfig:/home/pbulk/build/devel/py-greenlet/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/devel/py-greenlet/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/devel/py-greenlet/work/.cwrapper/config /opt/pkg/bin/python3.11 setup.py build -j1) running build running build_py creating build creating build/lib.solaris-2.11-i86pc.64bit-cpython-311 creating build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet copying src/greenlet/__init__.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet creating build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/__init__.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform creating build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests copying src/greenlet/tests/test_weakref.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests copying src/greenlet/tests/test_gc.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests copying src/greenlet/tests/test_leaks.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests copying src/greenlet/tests/test_throw.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests copying src/greenlet/tests/test_greenlet_trash.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests copying src/greenlet/tests/__init__.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests copying src/greenlet/tests/test_generator_nested.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests copying src/greenlet/tests/test_contextvars.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests copying src/greenlet/tests/test_tracing.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests copying src/greenlet/tests/test_cpp.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests copying src/greenlet/tests/test_greenlet.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests copying src/greenlet/tests/test_stack_saved.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests copying src/greenlet/tests/test_generator.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests copying src/greenlet/tests/test_extension_interface.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests copying src/greenlet/tests/test_version.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests copying src/greenlet/tests/leakcheck.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests running egg_info writing src/greenlet.egg-info/PKG-INFO writing dependency_links to src/greenlet.egg-info/dependency_links.txt writing requirements to src/greenlet.egg-info/requires.txt writing top-level names to src/greenlet.egg-info/top_level.txt reading manifest file 'src/greenlet.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'benchmarks/*.json' no previously-included directories found matching 'docs/_build' warning: no files found matching '*.py' under directory 'appveyor' warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.pyd' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution warning: no previously-included files matching '.coverage' found anywhere in distribution adding license file 'LICENSE' adding license file 'LICENSE.PSF' adding license file 'AUTHORS' writing manifest file 'src/greenlet.egg-info/SOURCES.txt' copying src/greenlet/greenlet.cpp -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet copying src/greenlet/greenlet.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet copying src/greenlet/greenlet_allocator.hpp -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet copying src/greenlet/greenlet_compiler_compat.hpp -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet copying src/greenlet/greenlet_cpython_compat.hpp -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet copying src/greenlet/greenlet_exceptions.hpp -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet copying src/greenlet/greenlet_greenlet.hpp -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet copying src/greenlet/greenlet_internal.hpp -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet copying src/greenlet/greenlet_refs.hpp -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet copying src/greenlet/greenlet_slp_switch.hpp -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet copying src/greenlet/greenlet_thread_state.hpp -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet copying src/greenlet/greenlet_thread_state_dict_cleanup.hpp -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet copying src/greenlet/greenlet_thread_support.hpp -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet copying src/greenlet/slp_platformselect.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet copying src/greenlet/platform/setup_switch_x64_masm.cmd -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_aarch64_gcc.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_alpha_unix.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_amd64_unix.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_arm32_gcc.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_arm32_ios.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_arm64_masm.asm -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_arm64_masm.obj -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_arm64_msvc.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_csky_gcc.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_m68k_gcc.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_mips_unix.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_ppc64_aix.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_ppc64_linux.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_ppc_aix.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_ppc_linux.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_ppc_macosx.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_ppc_unix.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_riscv_unix.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_s390_unix.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_sparc_sun_gcc.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_x32_unix.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_x64_masm.asm -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_x64_masm.obj -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_x64_msvc.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_x86_msvc.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/platform/switch_x86_unix.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/platform copying src/greenlet/tests/_test_extension.c -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests copying src/greenlet/tests/_test_extension_cpp.cpp -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests running build_ext building 'greenlet._greenlet' extension creating build/temp.solaris-2.11-i86pc.64bit-cpython-311 creating build/temp.solaris-2.11-i86pc.64bit-cpython-311/src creating build/temp.solaris-2.11-i86pc.64bit-cpython-311/src/greenlet gcc -Wsign-compare -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGSRC_OPSYS_VERSION=051100 -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/db4 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGSRC_OPSYS_VERSION=051100 -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/db4 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGSRC_OPSYS_VERSION=051100 -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/db4 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include -fPIC -I/opt/pkg/include/python3.11 -c src/greenlet/greenlet.cpp -o build/temp.solaris-2.11-i86pc.64bit-cpython-311/src/greenlet/greenlet.o In file included from /opt/tools/gcc12/include/c++/12.2.0/memory:73, from src/greenlet/greenlet_allocator.hpp:6, from src/greenlet/greenlet_greenlet.hpp:13, from src/greenlet/greenlet_internal.hpp:20, from src/greenlet/greenlet.cpp:19: /opt/tools/gcc12/include/c++/12.2.0/bits/uses_allocator.h:97:21: error: 'std::__or_, std::is_constructible<_Tp, _Args ..., const _Alloc&> >::value' is not a type 97 | static_assert(__or_< | ^~~~~~ 98 | is_constructible<_Tp, allocator_arg_t, const _Alloc&, _Args...>, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 99 | is_constructible<_Tp, _Args..., const _Alloc&>>::value, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/uses_allocator.h:100:11: error: expected identifier before string constant 100 | "construction with an allocator must be possible" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/uses_allocator.h:100:11: error: expected ',' or '...' before string constant In file included from /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/Python.h:39, from src/greenlet/greenlet.cpp:16: /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/bits/unique_ptr.h:36, from /opt/tools/gcc12/include/c++/12.2.0/memory:76: /opt/tools/gcc12/include/c++/12.2.0/tuple:1357:21: error: '__i' is not a type 1357 | static_assert(__i < sizeof...(_Types), "tuple index must be in range"); | ^~~ /opt/tools/gcc12/include/c++/12.2.0/tuple:1357:25: error: expected ',' or '...' before '<' token 1357 | static_assert(__i < sizeof...(_Types), "tuple index must be in range"); | ^ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/tuple: In function 'constexpr _Tp& std::get(tuple<_UTypes ...>&)': /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /opt/tools/gcc12/include/c++/12.2.0/tuple: In function 'constexpr _Tp&& std::get(tuple<_UTypes ...>&&)': /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/tuple: In function 'constexpr const _Tp& std::get(const tuple<_UTypes ...>&)': /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/tuple: In function 'constexpr const _Tp&& std::get(const tuple<_UTypes ...>&&)': /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/tuple: In function 'constexpr bool std::operator==(const tuple<_UTypes ...>&, const tuple<_UTypes ...>&)': /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/tuple: In function 'constexpr bool std::operator<(const tuple<_UTypes ...>&, const tuple<_UTypes ...>&)': /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/unique_ptr.h: In member function 'void std::default_delete<_Tp>::operator()(_Tp*) const': /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/unique_ptr.h: In member function 'typename std::enable_if::value>::type std::default_delete<_Tp []>::operator()(_Up*) const': /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/unique_ptr.h: At global scope: /opt/tools/gcc12/include/c++/12.2.0/bits/unique_ptr.h:162:22: error: expected identifier before '!' token 162 | static_assert( !is_rvalue_reference<_Dp>::value, | ^ /opt/tools/gcc12/include/c++/12.2.0/bits/unique_ptr.h:162:22: error: expected ',' or '...' before '!' token /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/shared_ptr_base.h: In constructor 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(_Yp*)': /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/backward/auto_ptr.h: In constructor 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::auto_ptr<_Up>&&)': /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/vector:64, from src/greenlet/greenlet_internal.hpp:23: /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h: At global scope: /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:435:21: error: 'std::is_same::type, _Tp>::value' is not a type 435 | static_assert(is_same::type, _Tp>::value, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:436:11: error: expected identifier before string constant 436 | "std::vector must have a non-const, non-volatile value_type"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:436:11: error: expected ',' or '...' before string constant /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:37, from /opt/tools/gcc12/include/c++/12.2.0/bits/this_thread_sleep.h:36, from /opt/tools/gcc12/include/c++/12.2.0/thread:44, from src/greenlet/greenlet_thread_support.hpp:53, from src/greenlet/greenlet_thread_state.hpp:9, from src/greenlet/greenlet.cpp:22: /opt/tools/gcc12/include/c++/12.2.0/ratio:98:21: error: '__a1' is not a type 98 | static_assert(__a1 == 0 || __b1 == 0, | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:98:26: error: expected ',' or '...' before '==' token 98 | static_assert(__a1 == 0 || __b1 == 0, | ^~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:100:21: error: '__a0' is not a type 100 | static_assert(__a0 * __b1 + __b0 * __a1 < (__c >> 1), | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:100:33: error: expected ',' or '...' before '+' token 100 | static_assert(__a0 * __b1 + __b0 * __a1 < (__c >> 1), | ^ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:102:21: error: '__b0' is not a type 102 | static_assert(__b0 * __a0 <= __INTMAX_MAX__, | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:102:33: error: expected ',' or '...' before '<=' token 102 | static_assert(__b0 * __a0 <= __INTMAX_MAX__, | ^~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__safe_multiply<_Pn, _Qn>::_Static_assert(int*)' cannot be overloaded with 'int std::__safe_multiply<_Pn, _Qn>::_Static_assert(int*)' /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__safe_multiply<_Pn, _Qn>::_Static_assert(int*)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:104:21: error: expected identifier before '(' token 104 | static_assert((__a0 * __b1 + __b0 * __a1) * __c | ^ /opt/tools/gcc12/include/c++/12.2.0/ratio:104:26: error: expected ')' before '*' token 104 | static_assert((__a0 * __b1 + __b0 * __a1) * __c | ~ ^~ | ) /opt/tools/gcc12/include/c++/12.2.0/ratio:104:26: error: expected ')' before '*' token 104 | static_assert((__a0 * __b1 + __b0 * __a1) * __c | ~ ^~ | ) /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:104:22: error: expected ';' at end of member declaration 104 | static_assert((__a0 * __b1 + __b0 * __a1) * __c | ^~~~ | ; /opt/tools/gcc12/include/c++/12.2.0/ratio:104:29: error: expected ';' at end of member declaration 104 | static_assert((__a0 * __b1 + __b0 * __a1) * __c | ^~~~ | ; /opt/tools/gcc12/include/c++/12.2.0/ratio:104:29: error: 'int* std::__safe_multiply<_Pn, _Qn>::__b1' conflicts with a previous declaration /opt/tools/gcc12/include/c++/12.2.0/ratio:96:30: note: previous declaration 'const uintmax_t std::__safe_multiply<_Pn, _Qn>::__b1' 96 | static const uintmax_t __b1 = __static_abs<_Qn>::value / __c; | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:104:34: error: expected unqualified-id before '+' token 104 | static_assert((__a0 * __b1 + __b0 * __a1) * __c | ^ /opt/tools/gcc12/include/c++/12.2.0/ratio:132:21: error: expected identifier before '!' token 132 | static_assert(!__big_less<__hi1, __lo1, __hi2, __lo2>::value, | ^ /opt/tools/gcc12/include/c++/12.2.0/ratio:132:21: error: expected ',' or '...' before '!' token /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:169:21: error: '__d' is not a type 169 | static_assert(__d >= (uintmax_t(1) << (sizeof(intmax_t) * 8 - 1)), | ^~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:169:25: error: expected ',' or '...' before '>=' token 169 | static_assert(__d >= (uintmax_t(1) << (sizeof(intmax_t) * 8 - 1)), | ^~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:171:21: error: '__n1' is not a type 171 | static_assert(__n1 < __d, "Internal library error"); | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:171:26: error: expected ',' or '...' before '<' token 171 | static_assert(__n1 < __d, "Internal library error"); | ^ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__big_div_impl<__n1, __n0, __d>::_Static_assert(int)' cannot be overloaded with 'int std::__big_div_impl<__n1, __n0, __d>::_Static_assert(int)' /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__big_div_impl<__n1, __n0, __d>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:206:21: error: 'std::_Sum::__hi' is not a type 206 | static_assert(_Sum::__hi == __n1 && _Sum::__lo == __n0, | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:206:32: error: expected ',' or '...' before '==' token 206 | static_assert(_Sum::__hi == __n1 && _Sum::__lo == __n0, | ^~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__big_div_impl<__n1, __n0, __d>::_Static_assert(int)' cannot be overloaded with 'int std::__big_div_impl<__n1, __n0, __d>::_Static_assert(int)' /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__big_div_impl<__n1, __n0, __d>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:214:21: error: '__d' is not a type 214 | static_assert(__d != 0, "Internal library error"); | ^~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:214:25: error: expected ',' or '...' before '!=' token 214 | static_assert(__d != 0, "Internal library error"); | ^~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:215:21: error: expected identifier before 'sizeof' 215 | static_assert(sizeof (uintmax_t) == sizeof (unsigned long long), | ^~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:215:21: error: expected ',' or '...' before 'sizeof' /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' cannot be overloaded with 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:241:21: error: 'std::_P1::__hi' is not a type 241 | static_assert(_P1::__hi == 0, "Internal library error"); | ^~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:241:31: error: expected ',' or '...' before '==' token 241 | static_assert(_P1::__hi == 0, "Internal library error"); | ^~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' cannot be overloaded with 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:242:21: error: 'std::_Sum::__hi' is not a type 242 | static_assert(_Sum::__hi >= _P0::__hi, "Internal library error"); | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:242:32: error: expected ',' or '...' before '>=' token 242 | static_assert(_Sum::__hi >= _P0::__hi, "Internal library error"); | ^~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' cannot be overloaded with 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:244:21: error: 'std::_Sum::__hi' is not a type 244 | static_assert(_Sum::__hi == __n1 && _Sum::__lo == __n0, | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:244:32: error: expected ',' or '...' before '==' token 244 | static_assert(_Sum::__hi == __n1 && _Sum::__lo == __n0, | ^~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' cannot be overloaded with 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:246:21: error: '__rem' is not a type 246 | static_assert(__rem < __d, "Internal library error"); | ^~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:246:27: error: expected ',' or '...' before '<' token 246 | static_assert(__rem < __d, "Internal library error"); | ^ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' cannot be overloaded with 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:268:21: error: '_Den' is not a type 268 | static_assert(_Den != 0, "denominator cannot be zero"); | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:268:26: error: expected ',' or '...' before '!=' token 268 | static_assert(_Den != 0, "denominator cannot be zero"); | ^~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:269:21: error: '_Num' is not a type 269 | static_assert(_Num >= -__INTMAX_MAX__ && _Den >= -__INTMAX_MAX__, | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:269:26: error: expected ',' or '...' before '>=' token 269 | static_assert(_Num >= -__INTMAX_MAX__ && _Den >= -__INTMAX_MAX__, | ^~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::ratio<_Num, _Den>::_Static_assert(int)' cannot be overloaded with 'int std::ratio<_Num, _Den>::_Static_assert(int)' /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::ratio<_Num, _Den>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:331:21: error: '_R2::num' is not a type 331 | static_assert(_R2::num != 0, "division by 0"); | ^~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:331:30: error: expected ',' or '...' before '!=' token 331 | static_assert(_R2::num != 0, "division by 0"); | ^~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:470:21: error: 'std::__n::__hi' is not a type 470 | static_assert(__n::__hi >= __x::__hi, "Internal library error"); | ^~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:470:31: error: expected ',' or '...' before '>=' token 470 | static_assert(__n::__hi >= __x::__hi, "Internal library error"); | ^~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:474:21: error: 'std::__n_final::__rem' is not a type 474 | static_assert(__n_final::__rem == 0, "Internal library error"); | ^~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:474:38: error: expected ',' or '...' before '==' token 474 | static_assert(__n_final::__rem == 0, "Internal library error"); | ^~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__ratio_add_impl<_R1, _R2, true, true, __b>::_Static_assert(int)' cannot be overloaded with 'int std::__ratio_add_impl<_R1, _R2, true, true, __b>::_Static_assert(int)' /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__ratio_add_impl<_R1, _R2, true, true, __b>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:475:21: error: 'std::__n_final::__quot_hi' is not a type 475 | static_assert(__n_final::__quot_hi == 0 && | ^~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:475:42: error: expected ',' or '...' before '==' token 475 | static_assert(__n_final::__quot_hi == 0 && | ^~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__ratio_add_impl<_R1, _R2, true, true, __b>::_Static_assert(int)' cannot be overloaded with 'int std::__ratio_add_impl<_R1, _R2, true, true, __b>::_Static_assert(int)' /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__ratio_add_impl<_R1, _R2, true, true, __b>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:478:21: error: 'std::__d_final::__hi' is not a type 478 | static_assert(__d_final::__hi == 0 && | ^~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:478:37: error: expected ',' or '...' before '==' token 478 | static_assert(__d_final::__hi == 0 && | ^~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__ratio_add_impl<_R1, _R2, true, true, __b>::_Static_assert(int)' cannot be overloaded with 'int std::__ratio_add_impl<_R1, _R2, true, true, __b>::_Static_assert(int)' /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__ratio_add_impl<_R1, _R2, true, true, __b>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:503:21: error: 'std::__n_final::__rem' is not a type 503 | static_assert(__n_final::__rem == 0, "Internal library error"); | ^~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:503:38: error: expected ',' or '...' before '==' token 503 | static_assert(__n_final::__rem == 0, "Internal library error"); | ^~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:504:21: error: 'std::__n_final::__quot_hi' is not a type 504 | static_assert(__n_final::__quot_hi == 0 && | ^~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:504:42: error: expected ',' or '...' before '==' token 504 | static_assert(__n_final::__quot_hi == 0 && | ^~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__ratio_add_impl<_R1, _R2, true, false, false>::_Static_assert(int)' cannot be overloaded with 'int std::__ratio_add_impl<_R1, _R2, true, false, false>::_Static_assert(int)' /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__ratio_add_impl<_R1, _R2, true, false, false>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:507:21: error: 'std::__d_final::__hi' is not a type 507 | static_assert(__d_final::__hi == 0 && | ^~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:507:37: error: expected ',' or '...' before '==' token 507 | static_assert(__d_final::__hi == 0 && | ^~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__ratio_add_impl<_R1, _R2, true, false, false>::_Static_assert(int)' cannot be overloaded with 'int std::__ratio_add_impl<_R1, _R2, true, false, false>::_Static_assert(int)' /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__ratio_add_impl<_R1, _R2, true, false, false>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:41: /opt/tools/gcc12/include/c++/12.2.0/bits/parse_numbers.h:66:21: error: '_Base' is not a type 66 | static_assert(_Base > _Val, "invalid digit"); | ^~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/parse_numbers.h:66:27: error: expected ',' or '...' before '>' token 66 | static_assert(_Base > _Val, "invalid digit"); | ^ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/parse_numbers.h:197:21: error: expected identifier before '(' token 197 | static_assert((type::value / _Pow) == __digit::value, | ^ /opt/tools/gcc12/include/c++/12.2.0/bits/parse_numbers.h:197:34: error: expected unqualified-id before '/' token 197 | static_assert((type::value / _Pow) == __digit::value, | ^ /opt/tools/gcc12/include/c++/12.2.0/bits/parse_numbers.h:197:33: error: expected ')' before '/' token 197 | static_assert((type::value / _Pow) == __digit::value, | ~ ^~ | ) /opt/tools/gcc12/include/c++/12.2.0/bits/parse_numbers.h:197:33: error: expected ')' before '/' token 197 | static_assert((type::value / _Pow) == __digit::value, | ~ ^~ | ) /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/parse_numbers.h:197:28: error: expected ';' at end of member declaration 197 | static_assert((type::value / _Pow) == __digit::value, | ^~~~~ | ; /opt/tools/gcc12/include/c++/12.2.0/bits/parse_numbers.h:197:34: error: expected unqualified-id before '/' token 197 | static_assert((type::value / _Pow) == __digit::value, | ^ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:490:23: error: expected identifier before '!' token 490 | static_assert(!__is_duration<_Rep>::value, "rep cannot be a duration"); | ^ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:490:23: error: expected ',' or '...' before '!' token /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:491:23: error: 'std::chrono::__is_ratio<_Period>::value' is not a type 491 | static_assert(__is_ratio<_Period>::value, | ^~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:492:23: error: expected identifier before string constant 492 | "period must be a specialization of ratio"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:492:23: error: expected ',' or '...' before string constant /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:493:23: error: '_Period::num' is not a type 493 | static_assert(_Period::num > 0, "period must be positive"); | ^~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:493:36: error: expected ',' or '...' before '>' token 493 | static_assert(_Period::num > 0, "period must be positive"); | ^ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::chrono::duration<_Rep, _Period>::_Static_assert(int)' cannot be overloaded with 'int std::chrono::duration<_Rep, _Period>::_Static_assert(int)' /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::chrono::duration<_Rep, _Period>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:858:23: error: 'std::chrono::__is_duration<_Dur>::value' is not a type 858 | static_assert(__is_duration<_Dur>::value, | ^~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:859:13: error: expected identifier before string constant 859 | "duration must be a specialization of std::chrono::duration"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:859:13: error: expected ',' or '...' before string constant /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:1117:21: error: 'std::chrono::duration::min' is not a type 1117 | static_assert(system_clock::duration::min() | ^~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:1118:21: error: expected ',' or '...' before '<' token 1118 | < system_clock::duration::zero(), | ^ /home/pbulk/build/devel/py-greenlet/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/memory:66: /opt/tools/gcc12/include/c++/12.2.0/bits/stl_uninitialized.h: In instantiation of '_ForwardIterator std::__relocate_a_1(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = _greenlet**; _ForwardIterator = _greenlet**; _Allocator = greenlet::PythonAllocator<_greenlet*>]': /opt/tools/gcc12/include/c++/12.2.0/bits/stl_uninitialized.h:1133:33: required from '_ForwardIterator std::__relocate_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = _greenlet**; _ForwardIterator = _greenlet**; _Allocator = greenlet::PythonAllocator<_greenlet*>]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:504:26: required from 'static std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_S_relocate(pointer, pointer, pointer, _Tp_alloc_type&) [with _Tp = _greenlet*; _Alloc = greenlet::PythonAllocator<_greenlet*>; pointer = _greenlet**; _Tp_alloc_type = std::vector<_greenlet*, greenlet::PythonAllocator<_greenlet*> >::_Tp_alloc_type]' /opt/tools/gcc12/include/c++/12.2.0/bits/vector.tcc:474:34: required from 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {_greenlet* const&}; _Tp = _greenlet*; _Alloc = greenlet::PythonAllocator<_greenlet*>; iterator = std::vector<_greenlet*, greenlet::PythonAllocator<_greenlet*> >::iterator]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:1287:21: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = _greenlet*; _Alloc = greenlet::PythonAllocator<_greenlet*>; value_type = _greenlet*]' src/greenlet/greenlet_thread_state.hpp:322:33: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/stl_uninitialized.h:1088:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 1088 | static_assert(std::is_same<_ValueType, _ValueType2>::value, building 'greenlet.tests._test_extension' extension creating build/temp.solaris-2.11-i86pc.64bit-cpython-311/src/greenlet/tests gcc -Wsign-compare -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGSRC_OPSYS_VERSION=051100 -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/db4 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGSRC_OPSYS_VERSION=051100 -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/db4 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGSRC_OPSYS_VERSION=051100 -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/db4 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include -fPIC -Isrc/greenlet/ -I/opt/pkg/include/python3.11 -c src/greenlet/tests/_test_extension.c -o build/temp.solaris-2.11-i86pc.64bit-cpython-311/src/greenlet/tests/_test_extension.o gcc -shared -lresolv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -lresolv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg/lib -lintl -liconv -L/opt/pkg/lib -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include build/temp.solaris-2.11-i86pc.64bit-cpython-311/src/greenlet/tests/_test_extension.o -L/opt/pkg/lib -o build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests/_test_extension.so building 'greenlet.tests._test_extension_cpp' extension gcc -Wsign-compare -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGSRC_OPSYS_VERSION=051100 -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/db4 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGSRC_OPSYS_VERSION=051100 -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/db4 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGSRC_OPSYS_VERSION=051100 -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/db4 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include -fPIC -Isrc/greenlet/ -I/opt/pkg/include/python3.11 -c src/greenlet/tests/_test_extension_cpp.cpp -o build/temp.solaris-2.11-i86pc.64bit-cpython-311/src/greenlet/tests/_test_extension_cpp.o g++ -shared -lresolv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -lresolv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg/lib -lintl -liconv -L/opt/pkg/lib -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include build/temp.solaris-2.11-i86pc.64bit-cpython-311/src/greenlet/tests/_test_extension_cpp.o -L/opt/pkg/lib -o build/lib.solaris-2.11-i86pc.64bit-cpython-311/greenlet/tests/_test_extension_cpp.so error: command '/home/pbulk/build/devel/py-greenlet/work/.cwrapper/bin/gcc' failed with exit code 1 *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/py-greenlet *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/py-greenlet