+ 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=310 WRKLOG=/tmp/bulklog/py310-generate-2.8nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/py310-generate-2.8nb1/work.log WARNING: lang/python/egg.mk is deprecated; use lang/python/wheel.mk instead. WARNING: [license.mk] Every package should define a LICENSE. ===> Building for py310-generate-2.8nb1 (cd /home/pbulk/build/devel/py-generate/work/generate-2.8/ && /usr/bin/env MANDIR=/home/pbulk/build/devel/py-generate/work/.destdir/opt/pkg/share/man BINDIR=/home/pbulk/build/devel/py-generate/work/.destdir/opt/pkg/bin 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.10 CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/usr/include\ -I/opt/pkg/include/python3.10\ -I/opt/pkg/include CPPFLAGS=-I/usr/include\ -I/opt/pkg/include/python3.10\ -I/opt/pkg/include CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/usr/include\ -I/opt/pkg/include/python3.10\ -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-generate/work/.cwrapper/bin:/home/pbulk/build/devel/py-generate/work/.buildlink/bin:/home/pbulk/build/devel/py-generate/work/.gcc/bin:/home/pbulk/build/devel/py-generate/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= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/etc/opt/pkg CXXCPP=cpp HOME=/home/pbulk/build/devel/py-generate/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/devel/py-generate/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-generate/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/devel/py-generate/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/devel/py-generate/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/devel/py-generate/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/devel/py-generate/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/devel/py-generate/work/.buildlink/lib/pkgconfig:/home/pbulk/build/devel/py-generate/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/devel/py-generate/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/devel/py-generate/work/.cwrapper/config /opt/pkg/bin/python3.10 setup.py build -j4) generate.c: In function 'Generate': generate.c:1616:42: error: implicit declaration of function 'PyString_FromString'; did you mean 'PyLong_FromString'? [-Wimplicit-function-declaration] 1616 | PyErr_SetObject(PyExc_TypeError, PyString_FromString("dict argument must be a dictionary")); | ^~~~~~~~~~~~~~~~~~~ | PyLong_FromString generate.c:1616:42: error: passing argument 2 of 'PyErr_SetObject' makes pointer from integer without a cast [-Wint-conversion] 1616 | PyErr_SetObject(PyExc_TypeError, PyString_FromString("dict argument must be a dictionary")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /home/pbulk/build/devel/py-generate/work/.buildlink/include/python3.10/Python.h:121, from generate.c:1335: /home/pbulk/build/devel/py-generate/work/.buildlink/include/python3.10/pyerrors.h:12:46: note: expected 'PyObject *' {aka 'struct _object *'} but argument is of type 'int' 12 | PyAPI_FUNC(void) PyErr_SetObject(PyObject *, PyObject *); | ^~~~~~~~~~ generate.c:1641:34: error: passing argument 2 of 'PyDict_Next' from incompatible pointer type [-Wincompatible-pointer-types] 1641 | while (PyDict_Next(dict, &pos, &key, &value)) { | ^~~~ | | | int * In file included from /home/pbulk/build/devel/py-generate/work/.buildlink/include/python3.10/Python.h:93: /home/pbulk/build/devel/py-generate/work/.buildlink/include/python3.10/dictobject.h:28:31: note: expected 'Py_ssize_t *' {aka 'long int *'} but argument is of type 'int *' 28 | PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value); | ~~~~~~~~~~~~^~~ generate.c:1645:23: error: implicit declaration of function 'PyString_AsString' [-Wimplicit-function-declaration] 1645 | add_macro(PyString_AsString(skey), PyString_AsString(svalue)); | ^~~~~~~~~~~~~~~~~ generate.c:1645:23: error: passing argument 1 of 'add_macro' makes pointer from integer without a cast [-Wint-conversion] 1645 | add_macro(PyString_AsString(skey), PyString_AsString(svalue)); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | int generate.c:239:23: note: expected 'const char *' but argument is of type 'int' 239 | add_macro(const char *name, const char *defn) | ~~~~~~~~~~~~^~~~ generate.c:1645:48: error: passing argument 2 of 'add_macro' makes pointer from integer without a cast [-Wint-conversion] 1645 | add_macro(PyString_AsString(skey), PyString_AsString(svalue)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | int generate.c:239:41: note: expected 'const char *' but argument is of type 'int' 239 | add_macro(const char *name, const char *defn) | ~~~~~~~~~~~~^~~~ generate.c:1654:40: error: passing argument 2 of 'PyErr_SetObject' makes pointer from integer without a cast [-Wint-conversion] 1654 | PyErr_SetObject(PyExc_IOError, PyString_FromString(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int /home/pbulk/build/devel/py-generate/work/.buildlink/include/python3.10/pyerrors.h:12:46: note: expected 'PyObject *' {aka 'struct _object *'} but argument is of type 'int' 12 | PyAPI_FUNC(void) PyErr_SetObject(PyObject *, PyObject *); | ^~~~~~~~~~ generate.c:1662:40: error: passing argument 2 of 'PyErr_SetObject' makes pointer from integer without a cast [-Wint-conversion] 1662 | PyErr_SetObject(PyExc_IOError, PyString_FromString(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int /home/pbulk/build/devel/py-generate/work/.buildlink/include/python3.10/pyerrors.h:12:46: note: expected 'PyObject *' {aka 'struct _object *'} but argument is of type 'int' 12 | PyAPI_FUNC(void) PyErr_SetObject(PyObject *, PyObject *); | ^~~~~~~~~~ generate.c:1672:44: error: passing argument 2 of 'PyErr_SetObject' makes pointer from integer without a cast [-Wint-conversion] 1672 | PyErr_SetObject(PyExc_SyntaxError, PyString_FromString(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int /home/pbulk/build/devel/py-generate/work/.buildlink/include/python3.10/pyerrors.h:12:46: note: expected 'PyObject *' {aka 'struct _object *'} but argument is of type 'int' 12 | PyAPI_FUNC(void) PyErr_SetObject(PyObject *, PyObject *); | ^~~~~~~~~~ generate.c: In function 'initgenerate': generate.c:1703:5: error: implicit declaration of function 'Py_InitModule4' [-Wimplicit-function-declaration] 1703 | Py_InitModule4("generate", generate, mod_docstr, NULL, PYTHON_API_VERSION); | ^~~~~~~~~~~~~~ error: command '/home/pbulk/build/devel/py-generate/work/.cwrapper/bin/gcc' failed with exit code 1 *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/py-generate *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/py-generate