=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for py27-sentencepiece-0.1.97 (cd /Users/pbulk/build/textproc/py-sentencepiece/work/sentencepiece-0.1.97/python/ && /usr/bin/env USETOOLS=no GOTMPDIR=/Users/pbulk/build PTHREAD_CFLAGS=\ -D_REENTRANT PTHREAD_LDFLAGS= PTHREAD_LIBS=-lpthread PTHREADBASE= DL_CFLAGS= DL_LDFLAGS= DL_LIBS= MACOSX_DEPLOYMENT_TARGET=11.3 PYTHON=/opt/pkg/bin/python2.7 CC=clang CFLAGS=-pipe\ -Os\ -I/opt/pkg/include CPPFLAGS=-I/opt/pkg/include CXX=clang++ CXXFLAGS=-pipe\ -Os\ -I/opt/pkg/include COMPILER_RPATH_FLAG=-L F77=f77 FC=f77 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/opt/pkg/lib LINKER_RPATH_FLAG=-L PATH=/Users/pbulk/build/textproc/py-sentencepiece/work/.cwrapper/bin:/Users/pbulk/build/textproc/py-sentencepiece/work/.buildlink/bin:/Users/pbulk/build/textproc/py-sentencepiece/work/.tools/bin:/opt/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/opt/pkg/etc HOME=/Users/pbulk/build/textproc/py-sentencepiece/work/.home CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/textproc/py-sentencepiece/work/.cwrapper/config CPP=clang\ -E LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 775 INSTALL_INFO= MAKEINFO=/Users/pbulk/build/textproc/py-sentencepiece/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/Users/pbulk/build/textproc/py-sentencepiece/work/.tools/bin/itstool GDBUS_CODEGEN=/Users/pbulk/build/textproc/py-sentencepiece/work/.tools/bin/gdbus-codegen PKG_CONFIG=/Users/pbulk/build/textproc/py-sentencepiece/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/Users/pbulk/build/textproc/py-sentencepiece/work/.buildlink/lib/pkgconfig:/Users/pbulk/build/textproc/py-sentencepiece/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/Users/pbulk/build/textproc/py-sentencepiece/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/textproc/py-sentencepiece/work/.cwrapper/config /opt/pkg/bin/python2.7 setup.py build ) running build running build_py creating build creating build/lib.macosx-11.3-arm64-2.7 creating build/lib.macosx-11.3-arm64-2.7/sentencepiece copying src/sentencepiece/__init__.py -> build/lib.macosx-11.3-arm64-2.7/sentencepiece copying src/sentencepiece/_version.py -> build/lib.macosx-11.3-arm64-2.7/sentencepiece copying src/sentencepiece/sentencepiece_model_pb2.py -> build/lib.macosx-11.3-arm64-2.7/sentencepiece copying src/sentencepiece/sentencepiece_pb2.py -> build/lib.macosx-11.3-arm64-2.7/sentencepiece running build_ext -L/opt/pkg/lib -lsentencepiece -lsentencepiece_train ## cflags=-std=c++17 -I./bundled/root/include -I/opt/pkg/include -mmacosx-version-min=10.9 ## libs=-L/opt/pkg/lib -lsentencepiece -lsentencepiece_train building 'sentencepiece._sentencepiece' extension creating build/temp.macosx-11.3-arm64-2.7 creating build/temp.macosx-11.3-arm64-2.7/src creating build/temp.macosx-11.3-arm64-2.7/src/sentencepiece clang -fno-strict-aliasing -pipe -Os -fwrapv -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include -D_REENTRANT -I/opt/pkg/include -I/opt/pkg/include/ncurses -DNDEBUG -pipe -Os -fwrapv -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include -D_REENTRANT -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/python2.7 -c src/sentencepiece/sentencepiece_wrap.cxx -o build/temp.macosx-11.3-arm64-2.7/src/sentencepiece/sentencepiece_wrap.o -std=c++17 -I./bundled/root/include -I/opt/pkg/include -mmacosx-version-min=10.9 In file included from src/sentencepiece/sentencepiece_wrap.cxx:178: In file included from /Users/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python2.7/Python.h:88: /Users/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python2.7/unicodeobject.h:534:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register PyObject *obj, /* Object */ ^~~~~~~~~ /Users/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python2.7/unicodeobject.h:553:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register PyObject *obj /* Object */ ^~~~~~~~~ /Users/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python2.7/unicodeobject.h:575:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register const wchar_t *w, /* wchar_t buffer */ ^~~~~~~~~ /Users/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python2.7/unicodeobject.h:593:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register wchar_t *w, /* wchar_t buffer */ ^~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:178: In file included from /Users/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python2.7/Python.h:97: /Users/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python2.7/stringobject.h:173:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register PyObject *obj, /* string or Unicode object */ ^~~~~~~~~ /Users/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python2.7/stringobject.h:174:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register char **s, /* pointer to buffer variable */ ^~~~~~~~~ /Users/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python2.7/stringobject.h:175:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register Py_ssize_t *len /* pointer to length variable or NULL ^~~~~~~~~ src/sentencepiece/sentencepiece_wrap.cxx:2841:33: error: use of undeclared identifier 'PyUnicode_AsUTF8AndSize' str_ = const_cast(PyUnicode_AsUTF8AndSize(obj, &size_)); ^ 8 errors generated. error: command 'clang' failed with exit status 1 *** Error code 1 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/textproc/py-sentencepiece *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/textproc/py-sentencepiece