+ local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/py312-uwsgi-2.0.22/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/py312-uwsgi-2.0.22/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Installing for py312-uwsgi-2.0.22 => Generating pre-install file lists => Creating installation directories (cd /home/pbulk/build/www/py-uwsgi/work/uwsgi-2.0.22/ && /usr/bin/env UWSGI_INCLUDES=/usr/pkg/include SOURCE_DATE_EPOCH=1 UWSGI_PROFILE_OVERRIDE="debug=false;json=false;pcre=true;sse_offload=false;ssl=true;uuid=false;xml=libxml2;yaml=false" DESTDIR=/home/pbulk/build/www/py-uwsgi/work/.destdir USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python3.12 CC=cc CFLAGS=-pipe\ -O2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.12 CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.12 CXX=c++ CXXFLAGS=-pipe\ -O2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.12 COMPILER_RPATH_FLAG=-Wl,-R 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=-Wl,-zrelro\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/www/py-uwsgi/work/.cwrapper/bin:/home/pbulk/build/www/py-uwsgi/work/.buildlink/bin:/home/pbulk/build/www/py-uwsgi/work/.gcc/bin:/home/pbulk/build/www/py-uwsgi/work/.tools/bin:/usr/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/home/pbulk/build/www/py-uwsgi/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/www/py-uwsgi/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\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/www/py-uwsgi/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/www/py-uwsgi/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/www/py-uwsgi/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/www/py-uwsgi/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/www/py-uwsgi/work/.buildlink/lib/pkgconfig:/home/pbulk/build/www/py-uwsgi/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/www/py-uwsgi/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/www/py-uwsgi/work/.cwrapper/config /usr/pkg/bin/python3.12 setup.py "install" -c -O1 --root=/home/pbulk/build/www/py-uwsgi/work/.destdir) /usr/pkg/lib/python3.12/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'descriptions' warnings.warn(msg) running install /usr/pkg/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() core/ssl.c: In function 'uwsgi_ssl_new_server_context': core/ssl.c:268:17: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 268 | DH *dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ In file included from /usr/include/openssl/ssl.h:35, from ./uwsgi.h:357, from core/ssl.c:1: /usr/include/openssl/pem.h:469:1: note: declared here 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ core/ssl.c:273:25: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 273 | DH_free(dh); | ^~~~~~~ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:30, from ./uwsgi.h:357, from core/ssl.c:1: /usr/include/openssl/dh.h:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ core/ssl.c:279:9: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 279 | EC_KEY *ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); | ^~~~~~ In file included from /usr/include/openssl/x509.h:32, from /usr/include/openssl/ssl.h:30, from ./uwsgi.h:357, from core/ssl.c:1: /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ core/ssl.c:283:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 283 | EC_KEY_free(ecdh); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:32, from /usr/include/openssl/ssl.h:30, from ./uwsgi.h:357, from core/ssl.c:1: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ core/ssl.c: In function 'uwsgi_sha1': core/ssl.c:563:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 563 | SHA1_Init(&sha); | ^~~~~~~~~ In file included from /usr/include/openssl/x509.h:40, from /usr/include/openssl/ssl.h:30, from ./uwsgi.h:357, from core/ssl.c:1: /usr/include/openssl/sha.h:53:27: note: declared here 53 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ core/ssl.c:564:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 564 | SHA1_Update(&sha, src, len); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:40, from /usr/include/openssl/ssl.h:30, from ./uwsgi.h:357, from core/ssl.c:1: /usr/include/openssl/sha.h:54:27: note: declared here 54 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ core/ssl.c:565:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 565 | SHA1_Final((unsigned char *)dst, &sha); | ^~~~~~~~~~ In file included from /usr/include/openssl/x509.h:40, from /usr/include/openssl/ssl.h:30, from ./uwsgi.h:357, from core/ssl.c:1: /usr/include/openssl/sha.h:55:27: note: declared here 55 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ core/ssl.c: In function 'uwsgi_md5': core/ssl.c:571:2: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 571 | MD5_Init(&md5); | ^~~~~~~~ In file included from core/ssl.c:4: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ core/ssl.c:572:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 572 | MD5_Update(&md5, src, len); | ^~~~~~~~~~ In file included from core/ssl.c:4: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ core/ssl.c:573:2: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 573 | MD5_Final((unsigned char *)dst, &md5); | ^~~~~~~~~ In file included from core/ssl.c:4: /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ core/ssl.c: In function 'uwsgi_sha1_2n': core/ssl.c:579:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 579 | SHA1_Init(&sha); | ^~~~~~~~~ In file included from /usr/include/openssl/x509.h:40, from /usr/include/openssl/ssl.h:30, from ./uwsgi.h:357, from core/ssl.c:1: /usr/include/openssl/sha.h:53:27: note: declared here 53 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ core/ssl.c:580:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 580 | SHA1_Update(&sha, s1, len1); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:40, from /usr/include/openssl/ssl.h:30, from ./uwsgi.h:357, from core/ssl.c:1: /usr/include/openssl/sha.h:54:27: note: declared here 54 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ core/ssl.c:581:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 581 | SHA1_Update(&sha, s2, len2); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:40, from /usr/include/openssl/ssl.h:30, from ./uwsgi.h:357, from core/ssl.c:1: /usr/include/openssl/sha.h:54:27: note: declared here 54 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ core/ssl.c:582:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 582 | SHA1_Final((unsigned char *)dst, &sha); | ^~~~~~~~~~ In file included from /usr/include/openssl/x509.h:40, from /usr/include/openssl/ssl.h:30, from ./uwsgi.h:357, from core/ssl.c:1: /usr/include/openssl/sha.h:55:27: note: declared here 55 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ plugins/python/python_plugin.c:138:2: warning: 'Py_NoSiteFlag' is deprecated [-Wdeprecated-declarations] 138 | {"no-site", no_argument, 0, "do not import site module", uwsgi_opt_true, &Py_NoSiteFlag, 0}, | ^ In file included from /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/python3.12/Python.h:48, from plugins/python/uwsgi_python.h:4, from plugins/python/python_plugin.c:1: /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/python3.12/cpython/pydebug.h:14:37: note: declared here 14 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_NoSiteFlag; | ^~~~~~~~~~~~~ plugins/python/python_plugin.c: In function 'uwsgi_python_init': plugins/python/python_plugin.c:239:3: warning: 'Py_SetPythonHome' is deprecated [-Wdeprecated-declarations] 239 | Py_SetPythonHome(wpyhome); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/python3.12/Python.h:94, from plugins/python/uwsgi_python.h:4, from plugins/python/python_plugin.c:1: /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/python3.12/pylifecycle.h:40:38: note: declared here 40 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetPythonHome(const wchar_t *); | ^~~~~~~~~~~~~~~~ plugins/python/python_plugin.c:263:2: warning: 'Py_SetProgramName' is deprecated [-Wdeprecated-declarations] 263 | Py_SetProgramName(pname); | ^~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/python3.12/Python.h:94, from plugins/python/uwsgi_python.h:4, from plugins/python/python_plugin.c:1: /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/python3.12/pylifecycle.h:37:38: note: declared here 37 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *); | ^~~~~~~~~~~~~~~~~ plugins/python/python_plugin.c:269:2: warning: 'Py_OptimizeFlag' is deprecated [-Wdeprecated-declarations] 269 | Py_OptimizeFlag = up.optimize; | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/python3.12/Python.h:48, from plugins/python/uwsgi_python.h:4, from plugins/python/python_plugin.c:1: /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/python3.12/cpython/pydebug.h:13:37: note: declared here 13 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_OptimizeFlag; | ^~~~~~~~~~~~~~~ plugins/python/python_plugin.c: In function 'uwsgi_python_pre_uwsgi_fork': plugins/python/python_plugin.c:1327:3: error: too few arguments to function '_PyImport_AcquireLock' 1327 | _PyImport_AcquireLock(); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/python3.12/import.h:91, from /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/python3.12/Python.h:99, from plugins/python/uwsgi_python.h:4, from plugins/python/python_plugin.c:1: /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/python3.12/cpython/import.h:13:18: note: declared here 13 | PyAPI_FUNC(void) _PyImport_AcquireLock(PyInterpreterState *interp); | ^~~~~~~~~~~~~~~~~~~~~ plugins/python/python_plugin.c: In function 'uwsgi_python_post_uwsgi_fork': plugins/python/python_plugin.c:1339:4: error: too few arguments to function '_PyImport_ReleaseLock' 1339 | _PyImport_ReleaseLock(); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/python3.12/import.h:91, from /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/python3.12/Python.h:99, from plugins/python/uwsgi_python.h:4, from plugins/python/python_plugin.c:1: /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/python3.12/cpython/import.h:14:17: note: declared here 14 | PyAPI_FUNC(int) _PyImport_ReleaseLock(PyInterpreterState *interp); | ^~~~~~~~~~~~~~~~~~~~~ plugins/python/python_plugin.c: In function 'uwsgi_python_suspend': plugins/python/python_plugin.c:1596:64: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'recursion_remaining'; did you mean 'c_recursion_remaining'? 1596 | up.current_recursion_remaining[wsgi_req->async_id] = tstate->recursion_remaining; | ^~~~~~~~~~~~~~~~~~~ | c_recursion_remaining plugins/python/python_plugin.c:1605:49: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'recursion_remaining'; did you mean 'c_recursion_remaining'? 1605 | up.current_main_recursion_remaining = tstate->recursion_remaining; | ^~~~~~~~~~~~~~~~~~~ | c_recursion_remaining plugins/python/pyutils.c: In function 'init_pyargv': plugins/python/pyutils.c:391:2: warning: 'PySys_SetArgv' is deprecated [-Wdeprecated-declarations] 391 | PySys_SetArgv(up.argc, up.py_argv); | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/python3.12/Python.h:96, from plugins/python/uwsgi_python.h:4, from plugins/python/pyutils.c:1: /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/python3.12/sysmodule.h:13:38: note: declared here 13 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **); | ^~~~~~~~~~~~~ plugins/python/python_plugin.c: In function 'uwsgi_python_resume': plugins/python/python_plugin.c:1839:11: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'recursion_remaining'; did you mean 'c_recursion_remaining'? 1839 | tstate->recursion_remaining = up.current_recursion_remaining[wsgi_req->async_id]; | ^~~~~~~~~~~~~~~~~~~ | c_recursion_remaining plugins/python/python_plugin.c:1848:11: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'recursion_remaining'; did you mean 'c_recursion_remaining'? 1848 | tstate->recursion_remaining = up.current_main_recursion_remaining; | ^~~~~~~~~~~~~~~~~~~ | c_recursion_remaining *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/www/py-uwsgi *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/www/py-uwsgi