+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/unit-python3.11-1.28.0/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/unit-python3.11-1.28.0/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for unit-python3.11-1.28.0 cd /home/pbulk/build/www/unit-python/work/unit-1.28.0 && /opt/local/bin/bmake python build/echo '#define NXT_VERSION "1.28.0"' > build/nxt_version.h build/echo '#define NXT_VERNUM 12800' >> build/nxt_version.h gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/local/include/python3.11 -I/opt/local/include -I src -I build -I/opt/local/include -o build/src/nxt_unit.o -MMD -MF build/src/nxt_unit.dep -MT build/src/nxt_unit.o src/nxt_unit.c mkdir -p build/src/python gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/local/include/python3.11 -I/opt/local/include -DNXT_PYTHON_MOUNTS_H=\"nxt_python_mounts.h\" -I src -I build -I/opt/local/include/python3.11 -I/opt/local/include/python3.11 -MMD -MF build/src/python/nxt_python-python.dep -MT build/src/python/nxt_python-python.o -o build/src/python/nxt_python-python.o src/python/nxt_python.c src/python/nxt_python.c: In function 'nxt_python_start': src/python/nxt_python.c:130:13: error: 'Py_SetProgramName' is deprecated [-Werror=deprecated-declarations] 130 | Py_SetProgramName(nxt_py_home); | ^~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/www/unit-python/work/.buildlink/include/python3.11/Python.h:94, from src/python/nxt_python.c:7: /home/pbulk/build/www/unit-python/work/.buildlink/include/python3.11/pylifecycle.h:37:38: note: declared here 37 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *); | ^~~~~~~~~~~~~~~~~ src/python/nxt_python.c:134:13: error: 'Py_SetPythonHome' is deprecated [-Werror=deprecated-declarations] 134 | Py_SetPythonHome(nxt_py_home); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/www/unit-python/work/.buildlink/include/python3.11/Python.h:94, from src/python/nxt_python.c:7: /home/pbulk/build/www/unit-python/work/.buildlink/include/python3.11/pylifecycle.h:40:38: note: declared here 40 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetPythonHome(const wchar_t *); | ^~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors *** Error code 1 Stop. bmake[2]: stopped in /home/pbulk/build/www/unit-python/work/unit-1.28.0 *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/www/unit-python *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/www/unit-python