+ 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-fann2-1.0.7nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/py311-fann2-1.0.7nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for py311-fann2-1.0.7nb1 (cd /home/pbulk/build/devel/py-fann2/work/fann2-1.0.7/ && /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\ -I/opt/pkg/include/python3.11 CPPFLAGS=-I/usr/include\ -I/opt/pkg/include\ -I/opt/pkg/include/python3.11 CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/opt/pkg/include\ -I/opt/pkg/include/python3.11 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\ -L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib\ -lintl\ -liconv LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/devel/py-fann2/work/.cwrapper/bin:/home/pbulk/build/devel/py-fann2/work/.buildlink/bin:/home/pbulk/build/devel/py-fann2/work/.gcc/bin:/home/pbulk/build/devel/py-fann2/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-fann2/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/devel/py-fann2/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-fann2/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/devel/py-fann2/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/devel/py-fann2/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/devel/py-fann2/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/devel/py-fann2/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/devel/py-fann2/work/.buildlink/lib/pkgconfig:/home/pbulk/build/devel/py-fann2/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/devel/py-fann2/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/devel/py-fann2/work/.cwrapper/config /opt/pkg/bin/python3.11 setup.py build -j1) running swig 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/fann2 copying fann2/__init__.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/fann2 copying fann2/libfann.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/fann2 running egg_info writing fann2.egg-info/PKG-INFO writing dependency_links to fann2.egg-info/dependency_links.txt writing top-level names to fann2.egg-info/top_level.txt reading manifest file 'fann2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'fann2.egg-info/SOURCES.txt' copying fann2/fann2.i -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/fann2 copying fann2/fann2_wrap.cxx -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/fann2 copying fann2/fann_cpp_subclass.h -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/fann2 running build_ext building 'fann2._libfann' extension creating build/temp.solaris-2.11-i86pc.64bit-cpython-311 creating build/temp.solaris-2.11-i86pc.64bit-cpython-311/fann2 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 -I/opt/pkg/include/python3.11 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/python3.11 -fPIC -DSWIG_COMPILE -I./include -I../include -Iinclude -I/opt/pkg/include/python3.11 -c fann2/fann2_wrap.cxx -o build/temp.solaris-2.11-i86pc.64bit-cpython-311/fann2/fann2_wrap.o fann2/fann2_wrap.cxx: In function 'swig_type_info* SWIG_MangledTypeQueryModule(swig_module_info*, swig_module_info*, const char*)': fann2/fann2_wrap.cxx:563:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 563 | register size_t l = 0; | ^ fann2/fann2_wrap.cxx:564:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 564 | register size_t r = iter->size - 1; | ^ fann2/fann2_wrap.cxx:567:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 567 | register size_t i = (l + r) >> 1; | ^ fann2/fann2_wrap.cxx:570:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 570 | register int compare = strcmp(name, iname); | ^~~~~~~ fann2/fann2_wrap.cxx: In function 'swig_type_info* SWIG_TypeQueryModule(swig_module_info*, swig_module_info*, const char*)': fann2/fann2_wrap.cxx:614:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 614 | register size_t i = 0; | ^ fann2/fann2_wrap.cxx: In function 'char* SWIG_PackData(char*, void*, size_t)': fann2/fann2_wrap.cxx:633:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 633 | register const unsigned char *u = (unsigned char *) ptr; | ^ fann2/fann2_wrap.cxx:634:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 634 | register const unsigned char *eu = u + sz; | ^~ fann2/fann2_wrap.cxx:636:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 636 | register unsigned char uu = *u; | ^~ fann2/fann2_wrap.cxx: In function 'const char* SWIG_UnpackData(const char*, void*, size_t)': fann2/fann2_wrap.cxx:648:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 648 | register unsigned char *u = (unsigned char *) ptr; | ^ fann2/fann2_wrap.cxx:649:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 649 | register const unsigned char *eu = u + sz; | ^~ fann2/fann2_wrap.cxx:651:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 651 | register char d = *(c++); | ^ fann2/fann2_wrap.cxx:652:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 652 | register unsigned char uu; | ^~ fann2/fann2_wrap.cxx: In function 'int SWIG_Python_UnpackTuple(PyObject*, const char*, Py_ssize_t, Py_ssize_t, PyObject**)': fann2/fann2_wrap.cxx:1329:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1329 | register int i; | ^ fann2/fann2_wrap.cxx:1339:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1339 | register Py_ssize_t l = PyTuple_GET_SIZE(args); | ^ fann2/fann2_wrap.cxx:1349:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1349 | register int i; | ^ In file included from /home/pbulk/build/devel/py-fann2/work/.buildlink/include/python3.11/Python.h:39, from fann2/fann2_wrap.cxx:154: /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*)': /home/pbulk/build/devel/py-fann2/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-fann2/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) In file included from /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:47, from /opt/tools/gcc12/include/c++/12.2.0/string:53, from /opt/tools/gcc12/include/c++/12.2.0/stdexcept:39, from fann2/fann2_wrap.cxx:2993: /opt/tools/gcc12/include/c++/12.2.0/string_view: At global scope: /opt/tools/gcc12/include/c++/12.2.0/string_view:102:21: error: expected identifier before '!' token 102 | static_assert(!is_array_v<_CharT>); | ^ /opt/tools/gcc12/include/c++/12.2.0/string_view:102:21: error: expected ',' or '...' before '!' token /home/pbulk/build/devel/py-fann2/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/string_view:103:21: error: expected identifier 103 | static_assert(is_trivial_v<_CharT> && is_standard_layout_v<_CharT>); | ^~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/string_view:103:42: error: expected unqualified-id before '&&' token 103 | static_assert(is_trivial_v<_CharT> && is_standard_layout_v<_CharT>); | ^~ /opt/tools/gcc12/include/c++/12.2.0/string_view:103:41: error: expected ')' before '&&' token 103 | static_assert(is_trivial_v<_CharT> && is_standard_layout_v<_CharT>); | ~ ^~~ | ) /home/pbulk/build/devel/py-fann2/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/string_view:103:42: error: expected ';' at end of member declaration 103 | static_assert(is_trivial_v<_CharT> && is_standard_layout_v<_CharT>); | ^~ | ; /opt/tools/gcc12/include/c++/12.2.0/string_view:103:45: error: 'is_standard_layout_v<_CharT>' does not name a type 103 | static_assert(is_trivial_v<_CharT> && is_standard_layout_v<_CharT>); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/string_view:104:21: error: expected identifier 104 | static_assert(is_same_v<_CharT, typename _Traits::char_type>); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/string_view:104:67: error: expected unqualified-id before ')' token 104 | static_assert(is_same_v<_CharT, typename _Traits::char_type>); | ^ /home/pbulk/build/devel/py-fann2/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-fann2/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::basic_string_view<_CharT, _Traits>::_Static_assert(...)' cannot be overloaded with 'int std::basic_string_view<_CharT, _Traits>::_Static_assert(...) &&' /home/pbulk/build/devel/py-fann2/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::basic_string_view<_CharT, _Traits>::_Static_assert(...) &&' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/bits/stl_algo.h:65, from /opt/tools/gcc12/include/c++/12.2.0/algorithm:61, from fann2/fann2_wrap.cxx:3433: /opt/tools/gcc12/include/c++/12.2.0/bits/uniform_int_dist.h:79:21: error: 'std::is_integral<_Tp>::value' is not a type 79 | static_assert(std::is_integral<_IntType>::value, | ^~~ /opt/tools/gcc12/include/c++/12.2.0/bits/uniform_int_dist.h:80:21: error: expected identifier before string constant 80 | "template argument must be an integral type"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/uniform_int_dist.h:80:21: error: expected ',' or '...' before string constant /home/pbulk/build/devel/py-fann2/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/vector:64, from fann2/fann2_wrap.cxx:3436: /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-fann2/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/tuple:39, from /opt/tools/gcc12/include/c++/12.2.0/bits/stl_map.h:63, from /opt/tools/gcc12/include/c++/12.2.0/map:61, from fann2/fann2_wrap.cxx:3442: /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 /home/pbulk/build/devel/py-fann2/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: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-fann2/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<_Args2 ...>&)': /home/pbulk/build/devel/py-fann2/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 _Tp&& std::get(tuple<_Args2 ...>&&)': /home/pbulk/build/devel/py-fann2/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<_Args2 ...>&)': /home/pbulk/build/devel/py-fann2/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<_Args2 ...>&&)': /home/pbulk/build/devel/py-fann2/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<_Args1 ...>&, const tuple<_Args2 ...>&)': /home/pbulk/build/devel/py-fann2/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<_Args1 ...>&, const tuple<_Args2 ...>&)': /home/pbulk/build/devel/py-fann2/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/bits/basic_string.h:3961: /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h: In instantiation of 'constexpr unsigned int std::__detail::__to_chars_len(_Tp, int) [with _Tp = unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:4019:48: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:49:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 49 | static_assert(is_integral<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:50:20: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 50 | static_assert(is_unsigned<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h: In instantiation of 'void std::__detail::__to_chars_10_impl(char*, unsigned int, _Tp) [with _Tp = unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:4021:33: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:74:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 74 | static_assert(is_integral<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:75:20: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 75 | static_assert(is_unsigned<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h: In instantiation of 'constexpr unsigned int std::__detail::__to_chars_len(_Tp, int) [with _Tp = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:4044:48: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:49:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 49 | static_assert(is_integral<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:50:20: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 50 | static_assert(is_unsigned<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h: In instantiation of 'void std::__detail::__to_chars_10_impl(char*, unsigned int, _Tp) [with _Tp = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:4046:33: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:74:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 74 | static_assert(is_integral<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:75:20: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 75 | static_assert(is_unsigned<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h: In instantiation of 'constexpr unsigned int std::__detail::__to_chars_len(_Tp, int) [with _Tp = long long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:4067:48: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:49:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 49 | static_assert(is_integral<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:50:20: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 50 | static_assert(is_unsigned<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h: In instantiation of 'void std::__detail::__to_chars_10_impl(char*, unsigned int, _Tp) [with _Tp = long long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:4069:33: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:74:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 74 | static_assert(is_integral<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:75:20: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 75 | static_assert(is_unsigned<_Tp>::value, "implementation bug"); In file included from /opt/tools/gcc12/include/c++/12.2.0/x86_64-sun-solaris2.11/bits/c++allocator.h:33, from /opt/tools/gcc12/include/c++/12.2.0/bits/allocator.h:46, from /opt/tools/gcc12/include/c++/12.2.0/string:41: /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h: In instantiation of '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = char; size_type = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:464:28: required from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = char; pointer = char*; allocator_type = std::allocator; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:1561:43: required from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:902:10: required from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator=(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' fann2/fann2_wrap.cxx:9176:31: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h:117:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 117 | static_assert(sizeof(_Tp) != 0, "cannot allocate incomplete types"); /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h: In instantiation of '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = char16_t; size_type = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:464:28: required from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = char16_t; pointer = char16_t*; allocator_type = std::allocator; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.tcc:155:37: required from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_create(size_type&, size_type) [with _CharT = char16_t; _Traits = std::char_traits; _Alloc = std::allocator; pointer = char16_t*; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.tcc:225:14: required from 'void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct(_InIterator, _InIterator, std::forward_iterator_tag) [with _FwdIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits; _Alloc = std::allocator]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:620:14: required from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits; _Alloc = std::allocator; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:4347:49: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h:117:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h: In instantiation of '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = char32_t; size_type = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:464:28: required from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = char32_t; pointer = char32_t*; allocator_type = std::allocator; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.tcc:155:37: required from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_create(size_type&, size_type) [with _CharT = char32_t; _Traits = std::char_traits; _Alloc = std::allocator; pointer = char32_t*; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.tcc:225:14: required from 'void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct(_InIterator, _InIterator, std::forward_iterator_tag) [with _FwdIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits; _Alloc = std::allocator]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:620:14: required from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits; _Alloc = std::allocator; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:4352:49: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h:117:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? error: command '/home/pbulk/build/devel/py-fann2/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-fann2 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/py-fann2