+ 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=27 WRKLOG=/tmp/bulklog/py27-sentencepiece-0.1.97/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=27 WRKLOG=/tmp/bulklog/py27-sentencepiece-0.1.97/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for py27-sentencepiece-0.1.97 (cd /home/pbulk/build/textproc/py-sentencepiece/work/sentencepiece-0.1.97/python/ && /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/python2.7 CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/pkg/include\ -I/usr/include CPPFLAGS=-I/opt/pkg/include\ -I/usr/include CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/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=-L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -lintl\ -liconv LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/textproc/py-sentencepiece/work/.cwrapper/bin:/home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/bin:/home/pbulk/build/textproc/py-sentencepiece/work/.gcc/bin:/home/pbulk/build/textproc/py-sentencepiece/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/textproc/py-sentencepiece/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/textproc/py-sentencepiece/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/textproc/py-sentencepiece/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/textproc/py-sentencepiece/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/textproc/py-sentencepiece/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/textproc/py-sentencepiece/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/lib/pkgconfig:/home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/textproc/py-sentencepiece/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/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.solaris-2.11-i86pc.64bit-2.7 creating build/lib.solaris-2.11-i86pc.64bit-2.7/sentencepiece copying src/sentencepiece/__init__.py -> build/lib.solaris-2.11-i86pc.64bit-2.7/sentencepiece copying src/sentencepiece/_version.py -> build/lib.solaris-2.11-i86pc.64bit-2.7/sentencepiece copying src/sentencepiece/sentencepiece_model_pb2.py -> build/lib.solaris-2.11-i86pc.64bit-2.7/sentencepiece copying src/sentencepiece/sentencepiece_pb2.py -> build/lib.solaris-2.11-i86pc.64bit-2.7/sentencepiece running build_ext -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lsentencepiece -lsentencepiece_train ## cflags=-std=c++17 -I./bundled/root/include -I/opt/pkg/include -Wl,-strip-all ## libs=-Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lsentencepiece -lsentencepiece_train -Wl,-strip-all building 'sentencepiece._sentencepiece' extension creating build/temp.solaris-2.11-i86pc.64bit-2.7 creating build/temp.solaris-2.11-i86pc.64bit-2.7/src creating build/temp.solaris-2.11-i86pc.64bit-2.7/src/sentencepiece gcc -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/db4 -D_REENTRANT -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -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/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/usr/include -fPIC -I/opt/pkg/include/python2.7 -c src/sentencepiece/sentencepiece_wrap.cxx -o build/temp.solaris-2.11-i86pc.64bit-2.7/src/sentencepiece/sentencepiece_wrap.o -std=c++17 -I./bundled/root/include -I/opt/pkg/include -Wl,-strip-all In file included from /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python2.7/Python.h:88, from src/sentencepiece/sentencepiece_wrap.cxx:178: /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 534 | register PyObject *obj, /* Object */ | ^~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | register PyObject *obj /* Object */ | ^~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 575 | register const wchar_t *w, /* wchar_t buffer */ | ^ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 593 | register wchar_t *w, /* wchar_t buffer */ | ^ In file included from /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python2.7/Python.h:97: /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 173 | register PyObject *obj, /* string or Unicode object */ | ^~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 174 | register char **s, /* pointer to buffer variable */ | ^ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 175 | 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; did you mean 'PyUnicode_AsUTF8String'? 2841 | str_ = const_cast(PyUnicode_AsUTF8AndSize(obj, &size_)); | ^~~~~~~~~~~~~~~~~~~~~~~ | PyUnicode_AsUTF8String error: command 'gcc' failed with exit status 1 *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/textproc/py-sentencepiece *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/textproc/py-sentencepiece