=>> Building databases/py-pyodbc build started at Sat Dec 4 19:12:57 MSK 2021 port directory: /usr/ports/databases/py-pyodbc package name: py311-pyodbc-4.0.30 building for: FreeBSD 13-amd64-default-py311-job-01 13.0-RELEASE-p4 FreeBSD 13.0-RELEASE-p4 amd64 maintained by: rob.kruus@gmail.com Makefile datestamp: -rw-r--r-- 1 root wheel 560 Apr 6 2021 /usr/ports/databases/py-pyodbc/Makefile Poudriere version: poudriere-git-3.3.99.20211130 Host OSVERSION: 1300139 Jail OSVERSION: 1300139 Job Id: 01 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1300139 UNAME_v=FreeBSD 13.0-RELEASE-p4 UNAME_r=13.0-RELEASE-p4 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.3.99.20211130 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-py311/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk SAVED_TERM=screen GID=0 OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 UID=0 PWD=/usr/local/poudriere/data/.m/13-amd64-default-py311/01/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=13-amd64-default-py311 SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-py311/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.3.99.20211130 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR=py311 DEPENDS_ARGS= MAKE_ARGS= FLAVOR=py311 ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- rob.kruus@gmail.com --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/databases/py-pyodbc/work-py311 XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/py-pyodbc/work-py311 XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/py-pyodbc/work-py311/.cache HOME=/wrkdirs/usr/ports/databases/py-pyodbc/work-py311 PATH=/wrkdirs/usr/ports/databases/py-pyodbc/work-py311/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/databases/py-pyodbc/work-py311 XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/py-pyodbc/work-py311 XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/py-pyodbc/work-py311/.cache HOME=/wrkdirs/usr/ports/databases/py-pyodbc/work-py311 PATH=/wrkdirs/usr/ports/databases/py-pyodbc/work-py311/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PYTHON_INCLUDEDIR=include/python3.11 PYTHON_LIBDIR=lib/python3.11 PYTHON_PLATFORM=freebsd13 PYTHON_SITELIBDIR=lib/python3.11/site-packages PYTHON_SUFFIX=311 PYTHON_EXT_SUFFIX=.cpython-311 PYTHON_VER=3.11 PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pyodbc" EXAMPLESDIR="share/examples/pyodbc" DATADIR="share/pyodbc" WWWDIR="www/pyodbc" ETCDIR="etc/pyodbc" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/pyodbc DOCSDIR=/usr/local/share/doc/pyodbc EXAMPLESDIR=/usr/local/share/examples/pyodbc WWWDIR=/usr/local/www/pyodbc ETCDIR=/usr/local/etc/pyodbc --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes #### /usr/local/etc/poudriere.d/make.conf #### PETITECHEZ_AGREE_LICENSE= yes _LICENSE_STATUS= accepted #OPTIONS_UNSET+= DOXYGEN BOOTSTRAP OPTIONS_UNSET+= LATEX LTO BUILD_ALL_PYTHON_FLAVORS= yes .if ${.CURDIR:T} == "llvm11" || ${.CURDIR:T} == "llvm12" || ${.CURDIR:T} == "llvm13" || ${.CURDIR:T} == "gcc-arm-embedded" || ${.CURDIR:T} == "llvm-devel" || ${.CURDIR:T} == "llvm-cheri" BROKEN= no heavt crap from ports .endif #### /usr/local/etc/poudriere.d/py311-make.conf #### DEFAULT_VERSIONS+= python=3.11 python3=3.11 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 34275 open files (-n) 1024 virtual mem size (kbytes, -v) 4194304 swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> License MIT accepted by the user =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> py311-pyodbc-4.0.30 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.17.5.pkg [13-amd64-default-py311-job-01] Installing pkg-1.17.5... [13-amd64-default-py311-job-01] Extracting pkg-1.17.5: .......... done ===> py311-pyodbc-4.0.30 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of py311-pyodbc-4.0.30 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License MIT accepted by the user ===> Fetching all distfiles required by py311-pyodbc-4.0.30 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License MIT accepted by the user ===> Fetching all distfiles required by py311-pyodbc-4.0.30 for building => SHA256 Checksum OK for pyodbc-4.0.30.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> License MIT accepted by the user ===> Fetching all distfiles required by py311-pyodbc-4.0.30 for building ===> Extracting for py311-pyodbc-4.0.30 => SHA256 Checksum OK for pyodbc-4.0.30.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Patching for py311-pyodbc-4.0.30 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> py311-pyodbc-4.0.30 depends on package: unixODBC>=2.2.14 - not found ===> Installing existing package /packages/All/unixODBC-2.3.9.pkg [13-amd64-default-py311-job-01] Installing unixODBC-2.3.9... [13-amd64-default-py311-job-01] Extracting unixODBC-2.3.9: .......... done ===> py311-pyodbc-4.0.30 depends on package: unixODBC>=2.2.14 - found ===> Returning to build of py311-pyodbc-4.0.30 ===> py311-pyodbc-4.0.30 depends on package: py311-setuptools>0 - not found ===> Installing existing package /packages/All/py311-setuptools-57.0.0.pkg [13-amd64-default-py311-job-01] Installing py311-setuptools-57.0.0... [13-amd64-default-py311-job-01] `-- Installing python311-3.11.0.a2... [13-amd64-default-py311-job-01] | `-- Installing gettext-runtime-0.21... [13-amd64-default-py311-job-01] | | `-- Installing indexinfo-0.3.1... [13-amd64-default-py311-job-01] | | `-- Extracting indexinfo-0.3.1: .... done [13-amd64-default-py311-job-01] | `-- Extracting gettext-runtime-0.21: .......... done [13-amd64-default-py311-job-01] | `-- Installing libffi-3.3_1... [13-amd64-default-py311-job-01] | `-- Extracting libffi-3.3_1: .......... done [13-amd64-default-py311-job-01] | `-- Installing mpdecimal-2.5.1... [13-amd64-default-py311-job-01] | `-- Extracting mpdecimal-2.5.1: .......... done [13-amd64-default-py311-job-01] | `-- Installing readline-8.1.1... [13-amd64-default-py311-job-01] | `-- Extracting readline-8.1.1: .......... done [13-amd64-default-py311-job-01] `-- Extracting python311-3.11.0.a2: .......... done [13-amd64-default-py311-job-01] Extracting py311-setuptools-57.0.0: .......... done ===== Message from python311-3.11.0.a2: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py311-gdbm databases/py-gdbm@py311 py311-sqlite3 databases/py-sqlite3@py311 py311-tkinter x11-toolkits/py-tkinter@py311 ===> py311-pyodbc-4.0.30 depends on package: py311-setuptools>0 - found ===> Returning to build of py311-pyodbc-4.0.30 ===> py311-pyodbc-4.0.30 depends on file: /usr/local/bin/python3.11 - found ===> py311-pyodbc-4.0.30 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_2.pkg [13-amd64-default-py311-job-01] Installing ccache-3.7.12_2... [13-amd64-default-py311-job-01] Extracting ccache-3.7.12_2: .......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_2: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> py311-pyodbc-4.0.30 depends on file: /usr/local/bin/ccache - found ===> Returning to build of py311-pyodbc-4.0.30 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> py311-pyodbc-4.0.30 depends on shared library: libodbc.so - found (/usr/local/lib/libodbc.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Configuring for py311-pyodbc-4.0.30 /usr/local/lib/python3.11/site-packages/setuptools/dist.py:691: UserWarning: Usage of dash-separated 'library-dirs' will not be supported in future versions. Please use the underscore name 'library_dirs' instead warnings.warn( running config =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building for py311-pyodbc-4.0.30 /usr/local/lib/python3.11/site-packages/setuptools/dist.py:691: UserWarning: Usage of dash-separated 'library-dirs' will not be supported in future versions. Please use the underscore name 'library_dirs' instead warnings.warn( running build running build_ext building 'pyodbc' extension creating build creating build/temp.freebsd-13.0-RELEASE-p4-amd64-3.11 creating build/temp.freebsd-13.0-RELEASE-p4-amd64-3.11/src cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/local/include/python3.11 -c src/buffer.cpp -o build/temp.freebsd-13.0-RELEASE-p4-amd64-3.11/src/buffer.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include In file included from src/buffer.cpp:12: In file included from src/pyodbc.h:160: src/pyodbccompat.h:75:12: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ /usr/local/include/python3.11/cpython/unicodeobject.h:538:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ In file included from src/buffer.cpp:12: In file included from src/pyodbc.h:160: src/pyodbccompat.h:86:12: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] return PyUnicode_AS_UNICODE(o); ^ /usr/local/include/python3.11/cpython/unicodeobject.h:266:7: note: expanded from macro 'PyUnicode_AS_UNICODE' PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:567:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ In file included from src/buffer.cpp:12: In file included from src/pyodbc.h:160: src/pyodbccompat.h:126:40: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations] return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^ /usr/local/include/python3.11/cpython/unicodeobject.h:248:7: note: expanded from macro 'PyUnicode_GET_SIZE' PyUnicode_WSTR_LENGTH(op) : \ ^ /usr/local/include/python3.11/cpython/unicodeobject.h:438:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH' #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:432:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here Py_DEPRECATED(3.3) ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ In file included from src/buffer.cpp:12: In file included from src/pyodbc.h:160: src/pyodbccompat.h:126:40: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^ /usr/local/include/python3.11/cpython/unicodeobject.h:249:14: note: expanded from macro 'PyUnicode_GET_SIZE' ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ /usr/local/include/python3.11/cpython/unicodeobject.h:567:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ In file included from src/buffer.cpp:12: In file included from src/pyodbc.h:160: src/pyodbccompat.h:126:40: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations] return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^ /usr/local/include/python3.11/cpython/unicodeobject.h:251:8: note: expanded from macro 'PyUnicode_GET_SIZE' PyUnicode_WSTR_LENGTH(op))) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:438:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH' #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:432:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here Py_DEPRECATED(3.3) ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ In file included from src/buffer.cpp:12: In file included from src/pyodbc.h:160: src/pyodbccompat.h:146:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations] Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^ /usr/local/include/python3.11/cpython/unicodeobject.h:248:7: note: expanded from macro 'PyUnicode_GET_SIZE' PyUnicode_WSTR_LENGTH(op) : \ ^ /usr/local/include/python3.11/cpython/unicodeobject.h:438:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH' #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:432:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here Py_DEPRECATED(3.3) ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ In file included from src/buffer.cpp:12: In file included from src/pyodbc.h:160: src/pyodbccompat.h:146:26: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^ /usr/local/include/python3.11/cpython/unicodeobject.h:249:14: note: expanded from macro 'PyUnicode_GET_SIZE' ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ /usr/local/include/python3.11/cpython/unicodeobject.h:567:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ In file included from src/buffer.cpp:12: In file included from src/pyodbc.h:160: src/pyodbccompat.h:146:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations] Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^ /usr/local/include/python3.11/cpython/unicodeobject.h:251:8: note: expanded from macro 'PyUnicode_GET_SIZE' PyUnicode_WSTR_LENGTH(op))) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:438:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH' #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:432:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here Py_DEPRECATED(3.3) ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ In file included from src/buffer.cpp:12: In file included from src/pyodbc.h:160: src/pyodbccompat.h:147:24: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^ /usr/local/include/python3.11/cpython/unicodeobject.h:266:7: note: expanded from macro 'PyUnicode_AS_UNICODE' PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:567:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ 9 warnings generated. cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/local/include/python3.11 -c src/cnxninfo.cpp -o build/temp.freebsd-13.0-RELEASE-p4-amd64-3.11/src/cnxninfo.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include In file included from src/cnxninfo.cpp:7: In file included from src/pyodbc.h:160: src/pyodbccompat.h:75:12: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ /usr/local/include/python3.11/cpython/unicodeobject.h:538:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ In file included from src/cnxninfo.cpp:7: In file included from src/pyodbc.h:160: src/pyodbccompat.h:86:12: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] return PyUnicode_AS_UNICODE(o); ^ /usr/local/include/python3.11/cpython/unicodeobject.h:266:7: note: expanded from macro 'PyUnicode_AS_UNICODE' PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:567:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ In file included from src/cnxninfo.cpp:7: In file included from src/pyodbc.h:160: src/pyodbccompat.h:126:40: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations] return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^ /usr/local/include/python3.11/cpython/unicodeobject.h:248:7: note: expanded from macro 'PyUnicode_GET_SIZE' PyUnicode_WSTR_LENGTH(op) : \ ^ /usr/local/include/python3.11/cpython/unicodeobject.h:438:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH' #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:432:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here Py_DEPRECATED(3.3) ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ In file included from src/cnxninfo.cpp:7: In file included from src/pyodbc.h:160: src/pyodbccompat.h:126:40: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^ /usr/local/include/python3.11/cpython/unicodeobject.h:249:14: note: expanded from macro 'PyUnicode_GET_SIZE' ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ /usr/local/include/python3.11/cpython/unicodeobject.h:567:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ In file included from src/cnxninfo.cpp:7: In file included from src/pyodbc.h:160: src/pyodbccompat.h:126:40: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations] return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^ /usr/local/include/python3.11/cpython/unicodeobject.h:251:8: note: expanded from macro 'PyUnicode_GET_SIZE' PyUnicode_WSTR_LENGTH(op))) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:438:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH' #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:432:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here Py_DEPRECATED(3.3) ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ In file included from src/cnxninfo.cpp:7: In file included from src/pyodbc.h:160: src/pyodbccompat.h:146:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations] Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^ /usr/local/include/python3.11/cpython/unicodeobject.h:248:7: note: expanded from macro 'PyUnicode_GET_SIZE' PyUnicode_WSTR_LENGTH(op) : \ ^ /usr/local/include/python3.11/cpython/unicodeobject.h:438:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH' #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:432:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here Py_DEPRECATED(3.3) ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ In file included from src/cnxninfo.cpp:7: In file included from src/pyodbc.h:160: src/pyodbccompat.h:146:26: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^ /usr/local/include/python3.11/cpython/unicodeobject.h:249:14: note: expanded from macro 'PyUnicode_GET_SIZE' ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ /usr/local/include/python3.11/cpython/unicodeobject.h:567:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ In file included from src/cnxninfo.cpp:7: In file included from src/pyodbc.h:160: src/pyodbccompat.h:146:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations] Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^ /usr/local/include/python3.11/cpython/unicodeobject.h:251:8: note: expanded from macro 'PyUnicode_GET_SIZE' PyUnicode_WSTR_LENGTH(op))) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:438:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH' #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:432:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here Py_DEPRECATED(3.3) ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ In file included from src/cnxninfo.cpp:7: In file included from src/pyodbc.h:160: src/pyodbccompat.h:147:24: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^ /usr/local/include/python3.11/cpython/unicodeobject.h:266:7: note: expanded from macro 'PyUnicode_AS_UNICODE' PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:567:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ src/cnxninfo.cpp:45:18: error: use of undeclared identifier 'PyUnicode_EncodeUTF8'; did you mean 'PyUnicode_DecodeUTF8'? Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); ^~~~~~~~~~~~~~~~~~~~ PyUnicode_DecodeUTF8 /usr/local/include/python3.11/unicodeobject.h:454:23: note: 'PyUnicode_DecodeUTF8' declared here PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8( ^ src/cnxninfo.cpp:45:39: error: cannot initialize a parameter of type 'const char *' with an rvalue of type 'wchar_t *' Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.11/cpython/unicodeobject.h:264:5: note: expanded from macro 'PyUnicode_AS_UNICODE' (assert(PyUnicode_Check(op)), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.11/unicodeobject.h:455:17: note: passing argument to parameter 'string' here const char *string, /* UTF-8 encoded string */ ^ src/cnxninfo.cpp:45:39: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); ^ /usr/local/include/python3.11/cpython/unicodeobject.h:266:7: note: expanded from macro 'PyUnicode_AS_UNICODE' PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:567:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ src/cnxninfo.cpp:45:64: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations] Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); ^ /usr/local/include/python3.11/cpython/unicodeobject.h:248:7: note: expanded from macro 'PyUnicode_GET_SIZE' PyUnicode_WSTR_LENGTH(op) : \ ^ /usr/local/include/python3.11/cpython/unicodeobject.h:438:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH' #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:432:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here Py_DEPRECATED(3.3) ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ src/cnxninfo.cpp:45:64: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); ^ /usr/local/include/python3.11/cpython/unicodeobject.h:249:14: note: expanded from macro 'PyUnicode_GET_SIZE' ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ /usr/local/include/python3.11/cpython/unicodeobject.h:567:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ src/cnxninfo.cpp:45:64: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations] Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); ^ /usr/local/include/python3.11/cpython/unicodeobject.h:251:8: note: expanded from macro 'PyUnicode_GET_SIZE' PyUnicode_WSTR_LENGTH(op))) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:438:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH' #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.11/cpython/unicodeobject.h:432:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here Py_DEPRECATED(3.3) ^ /usr/local/include/python3.11/pyport.h:392:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ 13 warnings and 2 errors generated. error: command '/usr/local/libexec/ccache/cc' failed with exit code 1 *** Error code 1 Stop. make: stopped in /usr/ports/databases/py-pyodbc =>> Cleaning up wrkdir ===> Cleaning for py311-pyodbc-4.0.30 build of databases/py-pyodbc@py311 | py311-pyodbc-4.0.30 ended at Sat Dec 4 19:13:16 MSK 2021 build time: 00:00:19 !!! build failure encountered !!!