running install /builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_ext building 'pyodbc' extension creating build creating build/temp.-cpython-310 creating build/temp.-cpython-310/src arc-openwrt-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O2 -I/builder/shared-workdir/build/sdk/staging_dir/host/include -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include -I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/host/include -O2 -I/builder/shared-workdir/build/sdk/staging_dir/host/include -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include -I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/host/include -Os -pipe -matomic -mcpu=archs -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/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-arc_archs_gcc-11.3.0_glibc/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/include -I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/include/python3.10 -fPIC -DPYODBC_VERSION=4.0.32 -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10 -c src/buffer.cpp -o build/temp.-cpython-310/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-arc_archs_glibc/usr/include In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50, from src/pyodbc.h:45, from src/buffer.cpp:12: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 746 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ^~~~~ 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/hostpkg/include/python3.10/unicodeobject.h:1046, from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:83, from src/pyodbc.h:45, from src/buffer.cpp:12: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here 551 | 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/hostpkg/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_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/hostpkg/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(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/hostpkg/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_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/hostpkg/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(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/hostpkg/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(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/hostpkg/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_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/hostpkg/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(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/hostpkg/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_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/hostpkg/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ error: command '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/arc-openwrt-linux-gnu-gcc' failed with exit code 1 make[3]: *** [Makefile:46: /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/pypi/pyodbc-4.0.32/.built] Error 1 time: package/feeds/packages/pyodbc/compile#1.46#0.14#6.10