=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/ap2-python", "all", "PYTHON_VERSION_REQD=313", "PKG_APACHE=apache24", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for ap24-py313-python-3.5.0.1 Building mod_python.so. /opt/pkg/bin/apxs -I/var/tmp/work/www/ap2-python/work/mod_python-3.5.0.1/src/include -I/opt/pkg/include/python3.13 -DNDEBUG -DNCURSES_WIDECHAR=1 -DNCURSES_WIDECHAR=1 -DNCURSES_WIDECHAR=1 -Wc,'-arch arm64' -c mod_python.c _apachemodule.c requestobject.c tableobject.c util.c serverobject.c connobject.c filterobject.c hlist.c hlistobject.c finfoobject.c version.c include/_apachemodule.h include/filterobject.h include/hlist.h include/mod_python.h include/psp_flex.h include/psp_parser.h include/requestobject.h include/tableobject.h include/connobject.h include/finfoobject.h include/hlistobject.h include/mp_version.h include/_pspmodule.h include/psp_string.h include/serverobject.h include/util.h -arch arm64 -L/opt/pkg/lib -L/opt/pkg/lib -L/opt/pkg/lib/python3.13/config -lpython3.13 -lintl -ldl -framework CoreFoundation /var/tmp/work/www/ap2-python/work/.cwrapper/bin/libtool --silent --mode=compile clang -std=gnu23 -prefer-pic -pipe -Os -I/opt/pkg/include/apr-1 -I/opt/pkg/include -I/opt/pkg/include/db4 -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/opt/pkg/include/httpd -I/opt/pkg/include/apr-1 -I/opt/pkg/include/apr-1 -I/opt/pkg/include -arch arm64 -I/var/tmp/work/www/ap2-python/work/mod_python-3.5.0.1/src/include -I/opt/pkg/include/python3.13 -DNDEBUG -DNCURSES_WIDECHAR=1 -DNCURSES_WIDECHAR=1 -DNCURSES_WIDECHAR=1 -c -o mod_python.lo mod_python.c && touch mod_python.slo In file included from mod_python.c:28: /var/tmp/work/www/ap2-python/work/mod_python-3.5.0.1/src/include/mod_python.h:295:11: warning: initializing 'char *' with an expression of type 'Py_UCS1 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 295 | char *c = PyUnicode_1BYTE_DATA(ucode); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/mod_python-3.5.0.1/src/include/mod_python.h:297:44: warning: passing 'Py_UCS1 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 297 | result = PyBytes_FromStringAndSize(PyUnicode_1BYTE_DATA(ucode)+1, PyUnicode_GET_LENGTH(ucode)-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/cpython/unicodeobject.h:274:34: note: expanded from macro 'PyUnicode_1BYTE_DATA' 274 | #define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op)) | ^ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/pyport.h:16:39: note: expanded from macro '_Py_STATIC_CAST' 16 | # define _Py_STATIC_CAST(type, expr) ((type)(expr)) | ^ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/bytesobject.h:31:62: note: passing argument to parameter here 31 | PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t); | ^ In file included from mod_python.c:28: /var/tmp/work/www/ap2-python/work/mod_python-3.5.0.1/src/include/mod_python.h:299:44: warning: passing 'Py_UCS1 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 299 | result = PyBytes_FromStringAndSize(PyUnicode_1BYTE_DATA(ucode), PyUnicode_GET_LENGTH(ucode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/cpython/unicodeobject.h:274:34: note: expanded from macro 'PyUnicode_1BYTE_DATA' 274 | #define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/pyport.h:16:39: note: expanded from macro '_Py_STATIC_CAST' 16 | # define _Py_STATIC_CAST(type, expr) ((type)(expr)) | ^~~~~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/bytesobject.h:31:62: note: passing argument to parameter here 31 | PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t); | ^ mod_python.c:96:9: warning: assigning to 'char *' from 'Py_UCS1 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 96 | MP_ANYSTR_AS_STR(c_path, path, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/mod_python-3.5.0.1/src/include/mod_python.h:270:21: note: expanded from macro 'MP_ANYSTR_AS_STR' 270 | str = PyUnicode_1BYTE_DATA(obj); \ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ mod_python.c:118:13: warning: assigning to 'const char *' from 'Py_UCS1 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 118 | MP_ANYSTR_AS_STR(mp_dynamic_version, o, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/mod_python-3.5.0.1/src/include/mod_python.h:270:21: note: expanded from macro 'MP_ANYSTR_AS_STR' 270 | str = PyUnicode_1BYTE_DATA(obj); \ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ mod_python.c:132:17: warning: assigning to 'char *' from 'Py_UCS1 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 132 | MP_ANYSTR_AS_STR(c_f, f, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/mod_python-3.5.0.1/src/include/mod_python.h:270:21: note: expanded from macro 'MP_ANYSTR_AS_STR' 270 | str = PyUnicode_1BYTE_DATA(obj); \ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ mod_python.c:366:9: warning: assigning to 'char *' from 'Py_UCS1 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 366 | MP_ANYSTR_AS_STR(c_handler, handler, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/mod_python-3.5.0.1/src/include/mod_python.h:270:21: note: expanded from macro 'MP_ANYSTR_AS_STR' 270 | str = PyUnicode_1BYTE_DATA(obj); \ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ mod_python.c:368:9: warning: assigning to 'char *' from 'Py_UCS1 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 368 | MP_ANYSTR_AS_STR(c_svalue, svalue, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/mod_python-3.5.0.1/src/include/mod_python.h:270:21: note: expanded from macro 'MP_ANYSTR_AS_STR' 270 | str = PyUnicode_1BYTE_DATA(obj); \ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ mod_python.c:370:9: warning: assigning to 'char *' from 'Py_UCS1 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 370 | MP_ANYSTR_AS_STR(c_stype, stype, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/mod_python-3.5.0.1/src/include/mod_python.h:270:21: note: expanded from macro 'MP_ANYSTR_AS_STR' 270 | str = PyUnicode_1BYTE_DATA(obj); \ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ mod_python.c:517:38: warning: address of array 'fname' will always evaluate to 'true' [-Wpointer-bool-conversion] 517 | n, locks, (!fname) ? "" : fname); | ~^~~~~ /var/tmp/work/www/ap2-python/work/.buildlink/include/httpd/http_log.h:363:42: note: expanded from macro 'ap_log_error' 363 | #define ap_log_error(...) ap_log_error__(__VA_ARGS__) | ^~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/.buildlink/include/httpd/http_log.h:367:65: note: expanded from macro 'ap_log_error__' 367 | ap_log_error_(file, line, mi, level, status, sr__, __VA_ARGS__); \ | ^~~~~~~~~~~ mod_python.c:593:28: warning: address of array 'fname' will always evaluate to 'true' [-Wpointer-bool-conversion] 593 | (!fname) ? "" : fname); | ~^~~~~ /var/tmp/work/www/ap2-python/work/.buildlink/include/httpd/http_log.h:363:42: note: expanded from macro 'ap_log_error' 363 | #define ap_log_error(...) ap_log_error__(__VA_ARGS__) | ^~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/.buildlink/include/httpd/http_log.h:367:65: note: expanded from macro 'ap_log_error__' 367 | ap_log_error_(file, line, mi, level, status, sr__, __VA_ARGS__); \ | ^~~~~~~~~~~ mod_python.c:763:22: warning: 'Py_GetProgramFullPath' is deprecated [-Wdeprecated-declarations] 763 | Py_GetProgramFullPath()); | ^ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/pylifecycle.h:43:1: note: 'Py_GetProgramFullPath' has been explicitly marked deprecated here 43 | Py_DEPRECATED(3.13) PyAPI_FUNC(wchar_t *) Py_GetProgramFullPath(void); | ^ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED' 251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ mod_python.c:766:22: warning: 'Py_GetPath' is deprecated [-Wdeprecated-declarations] 766 | Py_GetPath()); | ^ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/pylifecycle.h:46:1: note: 'Py_GetPath' has been explicitly marked deprecated here 46 | Py_DEPRECATED(3.13) PyAPI_FUNC(wchar_t *) Py_GetPath(void); | ^ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED' 251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ mod_python.c:788:9: warning: 'Py_NoUserSiteDirectory' is deprecated [-Wdeprecated-declarations] 788 | Py_NoUserSiteDirectory = 1; | ^ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/cpython/pydebug.h:19:1: note: 'Py_NoUserSiteDirectory' has been explicitly marked deprecated here 19 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_NoUserSiteDirectory; | ^ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED' 251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ mod_python.c:812:9: warning: 'PyEval_InitThreads' is deprecated [-Wdeprecated-declarations] 812 | PyEval_InitThreads(); | ^ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/ceval.h:114:1: note: 'PyEval_InitThreads' has been explicitly marked deprecated here 114 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED' 251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ mod_python.c:2426:19: warning: 'Py_OptimizeFlag' is deprecated [-Wdeprecated-declarations] 2426 | if ((val) && (Py_OptimizeFlag != 2)) | ^ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/cpython/pydebug.h:13:1: note: 'Py_OptimizeFlag' has been explicitly marked deprecated here 13 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_OptimizeFlag; | ^ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED' 251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ mod_python.c:2427:9: warning: 'Py_OptimizeFlag' is deprecated [-Wdeprecated-declarations] 2427 | Py_OptimizeFlag = 2; | ^ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/cpython/pydebug.h:13:1: note: 'Py_OptimizeFlag' has been explicitly marked deprecated here 13 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_OptimizeFlag; | ^ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED' 251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ mod_python.c:2651:5: warning: 'PyOS_AfterFork' is deprecated [-Wdeprecated-declarations] 2651 | PyOS_AfterFork(); | ^ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/intrcheck.h:18:1: note: 'PyOS_AfterFork' has been explicitly marked deprecated here 18 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyOS_AfterFork(void); | ^ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED' 251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ 18 warnings generated. /var/tmp/work/www/ap2-python/work/.cwrapper/bin/libtool --silent --mode=compile clang -std=gnu23 -prefer-pic -pipe -Os -I/opt/pkg/include/apr-1 -I/opt/pkg/include -I/opt/pkg/include/db4 -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/opt/pkg/include/httpd -I/opt/pkg/include/apr-1 -I/opt/pkg/include/apr-1 -I/opt/pkg/include -arch arm64 -I/var/tmp/work/www/ap2-python/work/mod_python-3.5.0.1/src/include -I/opt/pkg/include/python3.13 -DNDEBUG -DNCURSES_WIDECHAR=1 -DNCURSES_WIDECHAR=1 -DNCURSES_WIDECHAR=1 -c -o _apachemodule.lo _apachemodule.c && touch _apachemodule.slo In file included from _apachemodule.c:25: /var/tmp/work/www/ap2-python/work/mod_python-3.5.0.1/src/include/mod_python.h:295:11: warning: initializing 'char *' with an expression of type 'Py_UCS1 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 295 | char *c = PyUnicode_1BYTE_DATA(ucode); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/mod_python-3.5.0.1/src/include/mod_python.h:297:44: warning: passing 'Py_UCS1 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 297 | result = PyBytes_FromStringAndSize(PyUnicode_1BYTE_DATA(ucode)+1, PyUnicode_GET_LENGTH(ucode)-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/cpython/unicodeobject.h:274:34: note: expanded from macro 'PyUnicode_1BYTE_DATA' 274 | #define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op)) | ^ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/pyport.h:16:39: note: expanded from macro '_Py_STATIC_CAST' 16 | # define _Py_STATIC_CAST(type, expr) ((type)(expr)) | ^ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/bytesobject.h:31:62: note: passing argument to parameter here 31 | PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t); | ^ In file included from _apachemodule.c:25: /var/tmp/work/www/ap2-python/work/mod_python-3.5.0.1/src/include/mod_python.h:299:44: warning: passing 'Py_UCS1 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 299 | result = PyBytes_FromStringAndSize(PyUnicode_1BYTE_DATA(ucode), PyUnicode_GET_LENGTH(ucode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/cpython/unicodeobject.h:274:34: note: expanded from macro 'PyUnicode_1BYTE_DATA' 274 | #define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/pyport.h:16:39: note: expanded from macro '_Py_STATIC_CAST' 16 | # define _Py_STATIC_CAST(type, expr) ((type)(expr)) | ^~~~~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/.buildlink/include/python3.13/bytesobject.h:31:62: note: passing argument to parameter here 31 | PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t); | ^ _apachemodule.c:98:5: warning: assigning to 'char *' from 'Py_UCS1 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 98 | MP_ANYSTR_AS_STR(qs, qso, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/mod_python-3.5.0.1/src/include/mod_python.h:270:21: note: expanded from macro 'MP_ANYSTR_AS_STR' 270 | str = PyUnicode_1BYTE_DATA(obj); \ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ _apachemodule.c:279:5: warning: assigning to 'char *' from 'Py_UCS1 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 279 | MP_ANYSTR_AS_STR(qs, qso, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/www/ap2-python/work/mod_python-3.5.0.1/src/include/mod_python.h:270:21: note: expanded from macro 'MP_ANYSTR_AS_STR' 270 | str = PyUnicode_1BYTE_DATA(obj); \ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ _apachemodule.c:857:5: error: use of undeclared identifier '_PyImport_FixupExtensionObject' 857 | _PyImport_FixupExtensionObject(m, name, name | ^ 5 warnings and 1 error generated. apxs:Error: Command failed with rc=65536 . *** Error code 1 Stop. bmake[1]: stopped making "all" in /var/tmp/work/www/ap2-python/work/mod_python-3.5.0.1/src *** Error code 1 Stop. bmake: stopped making "all" in /var/tmp/work/www/ap2-python/work/mod_python-3.5.0.1 *** Error code 1 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/ap2-python *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/ap2-python