=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for py27-sentencepiece-0.1.97 (cd /tmp/textproc/py-sentencepiece/work/sentencepiece-0.1.97/python/ && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python2.7 CC=gcc CFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include CPPFLAGS=-I/usr/pkg/include\ -I/usr/include CXX=c++ CXXFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/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=-Wl,-zrelro\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/tmp/textproc/py-sentencepiece/work/.cwrapper/bin:/tmp/textproc/py-sentencepiece/work/.buildlink/bin:/tmp/textproc/py-sentencepiece/work/.gcc/bin:/tmp/textproc/py-sentencepiece/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/tmp/textproc/py-sentencepiece/work/.home CWRAPPERS_CONFIG_DIR=/tmp/textproc/py-sentencepiece/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ makoto\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ makoto\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ makoto\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ makoto\ -g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ makoto\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ makoto\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ makoto\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ makoto\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ makoto\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ makoto\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ makoto\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ makoto\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ makoto\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/textproc/py-sentencepiece/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/textproc/py-sentencepiece/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/textproc/py-sentencepiece/work/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/textproc/py-sentencepiece/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/textproc/py-sentencepiece/work/.buildlink/lib/pkgconfig:/tmp/textproc/py-sentencepiece/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/textproc/py-sentencepiece/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/textproc/py-sentencepiece/work/.cwrapper/config /usr/pkg/bin/python2.7 setup.py build ) running build running build_py creating build creating build/lib.netbsd-9.3-amd64-2.7 creating build/lib.netbsd-9.3-amd64-2.7/sentencepiece copying src/sentencepiece/__init__.py -> build/lib.netbsd-9.3-amd64-2.7/sentencepiece copying src/sentencepiece/_version.py -> build/lib.netbsd-9.3-amd64-2.7/sentencepiece copying src/sentencepiece/sentencepiece_model_pb2.py -> build/lib.netbsd-9.3-amd64-2.7/sentencepiece copying src/sentencepiece/sentencepiece_pb2.py -> build/lib.netbsd-9.3-amd64-2.7/sentencepiece running build_ext -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lsentencepiece -lsentencepiece_train ## cflags=-std=c++17 -I./bundled/root/include -I/usr/pkg/include -Wl,-strip-all ## libs=-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lsentencepiece -lsentencepiece_train -Wl,-strip-all building 'sentencepiece._sentencepiece' extension creating build/temp.netbsd-9.3-amd64-2.7 creating build/temp.netbsd-9.3-amd64-2.7/src creating build/temp.netbsd-9.3-amd64-2.7/src/sentencepiece gcc -fno-strict-aliasing -O2 -fPIC -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -DNDEBUG -O2 -fPIC -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -fPIC -I/usr/pkg/include/python2.7 -c src/sentencepiece/sentencepiece_wrap.cxx -o build/temp.netbsd-9.3-amd64-2.7/src/sentencepiece/sentencepiece_wrap.o -std=c++17 -I./bundled/root/include -I/usr/pkg/include -Wl,-strip-all In file included from /tmp/textproc/py-sentencepiece/work/.buildlink/include/python2.7/Python.h:88:0, from src/sentencepiece/sentencepiece_wrap.cxx:178: /tmp/textproc/py-sentencepiece/work/.buildlink/include/python2.7/unicodeobject.h:534:24: warning: ISO C++1z does not allow 'register' storage class specifier [-Wregister] register PyObject *obj, /* Object */ ^~~ /tmp/textproc/py-sentencepiece/work/.buildlink/include/python2.7/unicodeobject.h:553:24: warning: ISO C++1z does not allow 'register' storage class specifier [-Wregister] register PyObject *obj /* Object */ ^~~ /tmp/textproc/py-sentencepiece/work/.buildlink/include/python2.7/unicodeobject.h:575:29: warning: ISO C++1z does not allow 'register' storage class specifier [-Wregister] register const wchar_t *w, /* wchar_t buffer */ ^ /tmp/textproc/py-sentencepiece/work/.buildlink/include/python2.7/unicodeobject.h:593:23: warning: ISO C++1z does not allow 'register' storage class specifier [-Wregister] register wchar_t *w, /* wchar_t buffer */ ^ In file included from /tmp/textproc/py-sentencepiece/work/.buildlink/include/python2.7/Python.h:97:0, from src/sentencepiece/sentencepiece_wrap.cxx:178: /tmp/textproc/py-sentencepiece/work/.buildlink/include/python2.7/stringobject.h:173:24: warning: ISO C++1z does not allow 'register' storage class specifier [-Wregister] register PyObject *obj, /* string or Unicode object */ ^~~ /tmp/textproc/py-sentencepiece/work/.buildlink/include/python2.7/stringobject.h:174:21: warning: ISO C++1z does not allow 'register' storage class specifier [-Wregister] register char **s, /* pointer to buffer variable */ ^ /tmp/textproc/py-sentencepiece/work/.buildlink/include/python2.7/stringobject.h:175:26: warning: ISO C++1z does not allow 'register' storage class specifier [-Wregister] register Py_ssize_t *len /* pointer to length variable or NULL ^~~ src/sentencepiece/sentencepiece_wrap.cxx: In constructor '{anonymous}::PyInputString::PyInputString(PyObject*)': src/sentencepiece/sentencepiece_wrap.cxx:2841:33: error: 'PyUnicode_AsUTF8AndSize' was not declared in this scope str_ = const_cast(PyUnicode_AsUTF8AndSize(obj, &size_)); ^~~~~~~~~~~~~~~~~~~~~~~ src/sentencepiece/sentencepiece_wrap.cxx:2841:33: note: suggested alternative: 'PyUnicode_AsUTF8String' str_ = const_cast(PyUnicode_AsUTF8AndSize(obj, &size_)); ^~~~~~~~~~~~~~~~~~~~~~~ PyUnicode_AsUTF8String error: command 'gcc' failed with exit status 1 *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/textproc/py-sentencepiece *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/textproc/py-sentencepiece