+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/py312-uwsgi-2.0.22nb1/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/py312-uwsgi-2.0.22nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Installing for py312-uwsgi-2.0.22nb1 => 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=/opt/local/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=-lpthread\ -lrt PTHREADBASE=/usr DL_CFLAGS= DL_LDFLAGS= DL_LIBS= PYTHON=/opt/local/bin/python3.12 CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/local/include\ -I/usr/include\ -I/opt/local/include/python3.12 CPPFLAGS=-I/opt/local/include\ -I/usr/include\ -I/opt/local/include/python3.12 CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/local/include\ -I/usr/include\ -I/opt/local/include/python3.12 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/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0\ -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0\ -L/opt/local/lib\ -Wl,-R/opt/local/lib\ -liconv\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -lintl 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:/opt/local/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/local/bin:/opt/local/bin PREFIX=/opt/local MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/opt/local/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=/opt/local X11BASE=/opt/local PKGMANDIR=man PKGINFODIR=info PKGGNUDIR= MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/local/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/local/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/local/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/local/bin/bsdinstall\ -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/amd64/pkgconfig:/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 /opt/local/bin/python3.12 setup.py "install" -c -O1 --root=/home/pbulk/build/www/py-uwsgi/work/.destdir) /opt/local/lib/python3.12/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'descriptions' warnings.warn(msg) running install /opt/local/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 /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/ssl.h:36, from ./uwsgi.h:357, from core/ssl.c:1: /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/pem.h:73:11: note: declared here 73 | type *PEM_##readname##_##name(INTYPE *out, type **x, \ | ^~~~ /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/pem.h:271:10: note: in expansion of macro 'PEM_read_cb_fnsig' 271 | attr PEM_read_cb_fnsig(name, type, BIO, read_bio); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/pem.h:335:5: note: in expansion of macro 'DECLARE_PEM_read_bio_attr' 335 | DECLARE_PEM_read_bio_attr(attr, name, type) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/pem.h:345:5: note: in expansion of macro 'DECLARE_PEM_read_attr' 345 | DECLARE_PEM_read_attr(attr, name, type) \ | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/pem.h:472:1: note: in expansion of macro 'DECLARE_PEM_rw_attr' 472 | 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 /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/dsa.h:31, from /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/x509.h:37, from /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/ssl.h:31: /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/dh.h:207:28: note: declared here 207 | 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 /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/x509.h:33: /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/ec.h:1001:31: note: declared here 1001 | 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); | ^~~~~~~~~~~ /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/ec.h:1006:28: note: declared here 1006 | 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 /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/x509.h:41: /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/sha.h:49:27: note: declared here 49 | 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); | ^~~~~~~~~~~ /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/sha.h:50:27: note: declared here 50 | 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); | ^~~~~~~~~~ /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ core/ssl.c: In function 'uwsgi_md5': core/ssl.c:571:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 571 | MD5_Init(&md5); | ^~~~~~~~ In file included from core/ssl.c:4: /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ core/ssl.c:572:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 572 | MD5_Update(&md5, src, len); | ^~~~~~~~~~ /home/pbulk/build/www/py-uwsgi/work/.buildlink/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:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 573 | MD5_Final((unsigned char *)dst, &md5); | ^~~~~~~~~ /home/pbulk/build/www/py-uwsgi/work/.buildlink/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); | ^~~~~~~~~ /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/sha.h:49:27: note: declared here 49 | 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); | ^~~~~~~~~~~ /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/sha.h:50:27: note: declared here 50 | 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); | ^~~~~~~~~~~ /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/sha.h:50:27: note: declared here 50 | 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); | ^~~~~~~~~~ /home/pbulk/build/www/py-uwsgi/work/.buildlink/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ plugins/python/pyutils.c: In function 'init_pyargv': plugins/python/pyutils.c:391:9: 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/pyloader.c: In function 'set_dyn_pyhome': plugins/python/pyloader.c:48:17: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 48 | bzero(venv_version, 30); | ^~~~~ plugins/python/pyloader.c:48:17: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] plugins/python/python_plugin.c:138:9: 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:17: 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: /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:9: warning: 'Py_SetProgramName' is deprecated [-Wdeprecated-declarations] 263 | Py_SetProgramName(pname); | ^~~~~~~~~~~~~~~~~ /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:9: warning: 'Py_OptimizeFlag' is deprecated [-Wdeprecated-declarations] 269 | Py_OptimizeFlag = up.optimize; | ^~~~~~~~~~~~~~~ /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:17: 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: /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:25: error: too few arguments to function '_PyImport_ReleaseLock' 1339 | _PyImport_ReleaseLock(); | ^~~~~~~~~~~~~~~~~~~~~ /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:78: 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:63: 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/python_plugin.c: In function 'uwsgi_python_resume': plugins/python/python_plugin.c:1839:25: 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:25: 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-trunk-x86_64/www/py-uwsgi *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/www/py-uwsgi