* Getting build dependencies for wheel...
running egg_info
writing pyodbc.egg-info/PKG-INFO
writing dependency_links to pyodbc.egg-info/dependency_links.txt
writing top-level names to pyodbc.egg-info/top_level.txt
listing git files failed - pretending there aren't any
reading manifest file 'pyodbc.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
writing manifest file 'pyodbc.egg-info/SOURCES.txt'
* Building wheel...
running bdist_wheel
running build
running build_ext
building 'pyodbc' extension
creating build
creating build/temp.linux-arm-cpython-311
creating build/temp.linux-arm-cpython-311/src
arm-openwrt-linux-muslgnueabi-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/Python-3.11.3=Python-3.11.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/Python-3.11.3=Python-3.11.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-12.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-12.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-12.3.0_musl_eabi/include -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/pypi/pyodbc-4.0.32=pyodbc-4.0.32 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-12.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-12.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-12.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11 -fPIC -DPYODBC_VERSION=4.0.32 -I/usr/include/python3.11 -c src/buffer.cpp -o build/temp.linux-arm-cpython-311/src/buffer.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include
In file included from src/pyodbc.h:172,
                 from src/buffer.cpp:12:
src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)':
src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations]
   75 |     return PyUnicode_FromUnicode(0, length);
      |            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/unicodeobject.h:1042,
                 from /builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/Python.h:51,
                 from src/pyodbc.h:45:
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here
  600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations]
  698 | #  define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op))
      |                                    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations]
  664 | #  define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op))
      |                                  ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations]
  664 | #  define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op))
      |                                  ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations]
  698 | #  define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op))
      |                                    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
arm-openwrt-linux-muslgnueabi-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/Python-3.11.3=Python-3.11.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/Python-3.11.3=Python-3.11.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-12.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-12.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-12.3.0_musl_eabi/include -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/pypi/pyodbc-4.0.32=pyodbc-4.0.32 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-12.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-12.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-12.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11 -fPIC -DPYODBC_VERSION=4.0.32 -I/usr/include/python3.11 -c src/cnxninfo.cpp -o build/temp.linux-arm-cpython-311/src/cnxninfo.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include
In file included from src/pyodbc.h:172,
                 from src/cnxninfo.cpp:7:
src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)':
src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations]
   75 |     return PyUnicode_FromUnicode(0, length);
      |            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/unicodeobject.h:1042,
                 from /builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/Python.h:51,
                 from src/pyodbc.h:45:
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here
  600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations]
  698 | #  define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op))
      |                                    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations]
  664 | #  define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op))
      |                                  ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations]
  664 | #  define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op))
      |                                  ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations]
  698 | #  define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op))
      |                                    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
src/cnxninfo.cpp: In function 'PyObject* GetHash(PyObject*)':
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations]
  698 | #  define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op))
      |                                    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/cnxninfo.cpp:45:39: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   45 |     Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0));
      |                                       ^~~~~~~~~~~~~~~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations]
  664 | #  define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op))
      |                                  ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/cnxninfo.cpp:45:64: note: in expansion of macro 'PyUnicode_GET_SIZE'
   45 |     Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0));
      |                                                                ^~~~~~~~~~~~~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
src/cnxninfo.cpp:45:18: error: 'PyUnicode_EncodeUTF8' was not declared in this scope; did you mean 'PyUnicode_DecodeUTF8'?
   45 |     Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0));
      |                  ^~~~~~~~~~~~~~~~~~~~
      |                  PyUnicode_DecodeUTF8
error: command '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-12.3.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-gcc' failed with exit code 1

ERROR Backend subprocess exited when trying to invoke build_wheel
make[3]: *** [Makefile:45: /builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/pypi/pyodbc-4.0.32/.built] Error 1
time: package/feeds/packages/pyodbc/compile#4.33#0.57#5.88