Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pyodbc.spec'], chrootPath='/var/lib/mock/f38-build-687382-81779/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pyodbc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674604800 Wrote: /builddir/build/SRPMS/pyodbc-4.0.30-10.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pyodbc.spec'], chrootPath='/var/lib/mock/f38-build-687382-81779/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pyodbc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674604800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZnCoS3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyodbc-4.0.30 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pyodbc-4.0.30.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pyodbc-4.0.30 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pyodbc-4.0.30-PyUnicode_AsUTF8String.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + echo 'Version: 4.0.30' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aI4ezL + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pyodbc-4.0.30 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_ext building 'pyodbc' extension creating build creating build/temp.linux-riscv64-cpython-311 creating build/temp.linux-riscv64-cpython-311/src gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.11 -c src/buffer.cpp -o build/temp.linux-riscv64-cpython-311/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/include In file included from src/pyodbc.h:160, 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 /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /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*)’: /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); | ^~~~~~~~~~~~~~~~~~~~ /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*)’: /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; | ^~~~~~~~~~~~~~~~~~ /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*)’: /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); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /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)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.11 -c src/cnxninfo.cpp -o build/temp.linux-riscv64-cpython-311/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/include In file included from src/pyodbc.h:160, 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 /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /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*)’: /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); | ^~~~~~~~~~~~~~~~~~~~ /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*)’: /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; | ^~~~~~~~~~~~~~~~~~ /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*)’: /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); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /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)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.11 -c src/connection.cpp -o build/temp.linux-riscv64-cpython-311/src/connection.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/include In file included from src/pyodbc.h:160, from src/connection.cpp:11: 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 /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /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*)’: /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); | ^~~~~~~~~~~~~~~~~~~~ /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*)’: /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; | ^~~~~~~~~~~~~~~~~~ /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*)’: /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); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /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)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/connection.cpp: In function ‘bool ApplyPreconnAttrs(HDBC, SQLINTEGER, PyObject*, char*)’: /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/connection.cpp:189:18: note: in expansion of macro ‘PyUnicode_AS_UNICODE’ 189 | ivalue = PyUnicode_AS_UNICODE(value); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.11 -c src/cursor.cpp -o build/temp.linux-riscv64-cpython-311/src/cursor.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/include In file included from src/pyodbc.h:160, from src/cursor.cpp:15: 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 /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /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*)’: /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); | ^~~~~~~~~~~~~~~~~~~~ /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*)’: /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; | ^~~~~~~~~~~~~~~~~~ /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*)’: /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); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /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)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.11 -c src/errors.cpp -o build/temp.linux-riscv64-cpython-311/src/errors.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/include In file included from src/pyodbc.h:160, from src/errors.cpp:2: 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 /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /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*)’: /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); | ^~~~~~~~~~~~~~~~~~~~ /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*)’: /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; | ^~~~~~~~~~~~~~~~~~ /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*)’: /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); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /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)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.11/Python.h:95: src/errors.cpp: In function ‘PyObject* RaiseErrorV(const char*, PyObject*, const char*, ...)’: /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations] 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/errors.cpp:91:18: note: in expansion of macro ‘PyEval_CallObject’ 91 | pError = PyEval_CallObject(exc_class, pAttrs); | ^~~~~~~~~~~~~~~~~ /usr/include/python3.11/ceval.h:27:43: note: declared here 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/errors.cpp: In function ‘PyObject* GetError(const char*, PyObject*, PyObject*)’: /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations] 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/errors.cpp:171:14: note: in expansion of macro ‘PyEval_CallObject’ 171 | pError = PyEval_CallObject(exc_class, pAttrs); // pError will incref pAttrs | ^~~~~~~~~~~~~~~~~ /usr/include/python3.11/ceval.h:27:43: note: declared here 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/errors.cpp: In function ‘PyObject* GetErrorFromHandle(Connection*, const char*, HDBC, HSTMT)’: src/errors.cpp:331:34: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations] 331 | if (!msg || PyUnicode_GetSize(msg.Get()) == 0) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/python3.11/unicodeobject.h:177:43: note: declared here 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize( | ^~~~~~~~~~~~~~~~~ gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.11 -c src/getdata.cpp -o build/temp.linux-riscv64-cpython-311/src/getdata.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/include In file included from src/pyodbc.h:160, from src/getdata.cpp:5: 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 /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /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*)’: /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); | ^~~~~~~~~~~~~~~~~~~~ /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*)’: /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; | ^~~~~~~~~~~~~~~~~~ /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*)’: /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); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /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)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.11 -c src/params.cpp -o build/temp.linux-riscv64-cpython-311/src/params.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/include In file included from src/pyodbc.h:160, from src/params.cpp:10: 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 /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /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*)’: /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); | ^~~~~~~~~~~~~~~~~~~~ /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*)’: /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; | ^~~~~~~~~~~~~~~~~~ /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*)’: /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); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /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)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/params.cpp: In function ‘int PyToCType(Cursor*, unsigned char**, PyObject*, ParamInfo*)’: /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/params.cpp:326:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 326 | Py_ssize_t len = PyUnicode_GET_SIZE(cell); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:712:50: warning: ‘const char* PyUnicode_AS_DATA(PyObject*)’ is deprecated [-Wdeprecated-declarations] 712 | # define PyUnicode_AS_DATA(op) PyUnicode_AS_DATA(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/params.cpp:387:33: note: in expansion of macro ‘PyUnicode_AS_DATA’ 387 | memcpy(*outbuf, PyUnicode_AS_DATA(cell), len); | ^~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:702:27: note: declared here 702 | static inline const char* PyUnicode_AS_DATA(PyObject *op) | ^~~~~~~~~~~~~~~~~ gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.11 -c src/pyodbccompat.cpp -o build/temp.linux-riscv64-cpython-311/src/pyodbccompat.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/include In file included from src/pyodbc.h:160, from src/pyodbccompat.cpp:1: 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 /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /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*)’: /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); | ^~~~~~~~~~~~~~~~~~~~ /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*)’: /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; | ^~~~~~~~~~~~~~~~~~ /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*)’: /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); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /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)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.cpp: In function ‘bool Text_EqualsI(PyObject*, const char*)’: /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.cpp:14:25: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 14 | Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /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.cpp:19:21: note: in expansion of macro ‘PyUnicode_AS_UNICODE’ 19 | Py_UNICODE* p = PyUnicode_AS_UNICODE(lhs); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.11 -c src/pyodbcdbg.cpp -o build/temp.linux-riscv64-cpython-311/src/pyodbcdbg.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/include In file included from src/pyodbc.h:160, from src/pyodbcdbg.cpp:2: 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 /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /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*)’: /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); | ^~~~~~~~~~~~~~~~~~~~ /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*)’: /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; | ^~~~~~~~~~~~~~~~~~ /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*)’: /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); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /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)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.11 -c src/pyodbcmodule.cpp -o build/temp.linux-riscv64-cpython-311/src/pyodbcmodule.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/include In file included from src/pyodbc.h:160, from src/pyodbcmodule.cpp:11: 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 /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /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*)’: /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); | ^~~~~~~~~~~~~~~~~~~~ /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*)’: /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; | ^~~~~~~~~~~~~~~~~~ /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*)’: /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); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /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)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function ‘void init_locale_info()’: /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/pyodbcmodule.cpp:276:39: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 276 | if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /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/pyodbcmodule.cpp:277:25: note: in expansion of macro ‘PyUnicode_AS_UNICODE’ 277 | chDecimal = PyUnicode_AS_UNICODE(value)[0]; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function ‘PyObject* mod_setdecimalsep(PyObject*, PyObject*)’: /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/pyodbcmodule.cpp:697:39: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 697 | if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /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/pyodbcmodule.cpp:698:25: note: in expansion of macro ‘PyUnicode_AS_UNICODE’ 698 | chDecimal = PyUnicode_AS_UNICODE(value)[0]; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function ‘PyObject* mod_getdecimalsep(PyObject*)’: src/pyodbcmodule.cpp:706:33: warning: ‘PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated [-Wdeprecated-declarations] 706 | return PyUnicode_FromUnicode(&chDecimal, 1); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function ‘PyObject* MakeConnectionString(PyObject*, PyObject*)’: src/pyodbcmodule.cpp:1338:45: warning: ‘PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated [-Wdeprecated-declarations] 1338 | PyObject* result = PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ /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/pyodbcmodule.cpp:1342:26: note: in expansion of macro ‘PyUnicode_AS_UNICODE’ 1342 | Py_UNICODE* buffer = PyUnicode_AS_UNICODE(result); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.11 -c src/row.cpp -o build/temp.linux-riscv64-cpython-311/src/row.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/include In file included from src/pyodbc.h:160, from src/row.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 /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /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*)’: /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); | ^~~~~~~~~~~~~~~~~~~~ /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*)’: /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; | ^~~~~~~~~~~~~~~~~~ /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*)’: /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); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /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)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.11 -c src/textenc.cpp -o build/temp.linux-riscv64-cpython-311/src/textenc.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/include In file included from src/pyodbc.h:160, from src/textenc.cpp:2: 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 /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /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*)’: /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); | ^~~~~~~~~~~~~~~~~~~~ /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*)’: /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; | ^~~~~~~~~~~~~~~~~~ /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*)’: /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); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /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)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ creating build/lib.linux-riscv64-cpython-311 g++ -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer build/temp.linux-riscv64-cpython-311/src/buffer.o build/temp.linux-riscv64-cpython-311/src/cnxninfo.o build/temp.linux-riscv64-cpython-311/src/connection.o build/temp.linux-riscv64-cpython-311/src/cursor.o build/temp.linux-riscv64-cpython-311/src/errors.o build/temp.linux-riscv64-cpython-311/src/getdata.o build/temp.linux-riscv64-cpython-311/src/params.o build/temp.linux-riscv64-cpython-311/src/pyodbccompat.o build/temp.linux-riscv64-cpython-311/src/pyodbcdbg.o build/temp.linux-riscv64-cpython-311/src/pyodbcmodule.o build/temp.linux-riscv64-cpython-311/src/row.o build/temp.linux-riscv64-cpython-311/src/textenc.o -L/usr/lib64 -lodbc -o build/lib.linux-riscv64-cpython-311/pyodbc.cpython-311-riscv64-linux-gnu.so -L/usr/lib64 -lodbc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.E8DYhE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pyodbc-4.0.30 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64 --prefix /usr running install /usr/lib/python3.11/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 install_lib creating /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64/usr creating /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64/usr/lib64/python3.11/site-packages copying build/lib.linux-riscv64-cpython-311/pyodbc.cpython-311-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64/usr/lib64/python3.11/site-packages writing byte-compilation script '/tmp/tmpq120tr4j.py' /usr/bin/python3 /tmp/tmpq120tr4j.py removing /tmp/tmpq120tr4j.py running install_egg_info running egg_info creating pyodbc.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 writing manifest file 'pyodbc.egg-info/SOURCES.txt' 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' Copying pyodbc.egg-info to /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64/usr/lib64/python3.11/site-packages/pyodbc-4.0.30-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 4.0.30-10.fc38 --unique-debug-suffix -4.0.30-10.fc38.riscv64 --unique-debug-src-base pyodbc-4.0.30-10.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pyodbc-4.0.30 extracting debug info from /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64/usr/lib64/python3.11/site-packages/pyodbc.cpython-311-riscv64-linux-gnu.so original debug info size: 1664kB, size after compression: 1516kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 713 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 Bytecompiling .py files below /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64/usr/lib/debug/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: python3-pyodbc-4.0.30-10.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3JtiPi + umask 022 + cd /builddir/build/BUILD + cd pyodbc-4.0.30 + DOCDIR=/builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64/usr/share/doc/python3-pyodbc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64/usr/share/doc/python3-pyodbc + cp -pr README.md /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64/usr/share/doc/python3-pyodbc + cp -pr notes.txt /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64/usr/share/doc/python3-pyodbc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.39e84y + umask 022 + cd /builddir/build/BUILD + cd pyodbc-4.0.30 + LICENSEDIR=/builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64/usr/share/licenses/python3-pyodbc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64/usr/share/licenses/python3-pyodbc + cp -pr LICENSE.txt /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64/usr/share/licenses/python3-pyodbc + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pyodbc = 4.0.30-10.fc38 python3-pyodbc = 4.0.30-10.fc38 python3-pyodbc(riscv-64) = 4.0.30-10.fc38 python3.11-pyodbc = 4.0.30-10.fc38 python3.11dist(pyodbc) = 4.0.30 python3dist(pyodbc) = 4.0.30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libodbc.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) python(abi) = 3.11 rtld(GNU_HASH) Obsoletes: python-pyodbc < 4.0.30-10.fc38 Recommends: (mariadb-connector-odbc if mariadb-server) (postgresql-odbc if postgresql-server) Processing files: pyodbc-debugsource-4.0.30-10.fc38.riscv64 Provides: pyodbc-debugsource = 4.0.30-10.fc38 pyodbc-debugsource(riscv-64) = 4.0.30-10.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-pyodbc-debuginfo-4.0.30-10.fc38.riscv64 Provides: debuginfo(build-id) = 807b6f7429e18e8c265517b5fa3b89e0d3ef83d6 python-pyodbc-debuginfo = 4.0.30-10.fc38 python3-pyodbc-debuginfo = 4.0.30-10.fc38 python3-pyodbc-debuginfo(riscv-64) = 4.0.30-10.fc38 python3.11-pyodbc-debuginfo = 4.0.30-10.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pyodbc-debugsource(riscv-64) = 4.0.30-10.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64 Wrote: /builddir/build/RPMS/python3-pyodbc-4.0.30-10.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/python3-pyodbc-debuginfo-4.0.30-10.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/pyodbc-debugsource-4.0.30-10.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fBu0RA + umask 022 + cd /builddir/build/BUILD + cd pyodbc-4.0.30 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pyodbc-4.0.30-10.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.oUlaPf + umask 022 + cd /builddir/build/BUILD + rm -rf pyodbc-4.0.30 pyodbc-4.0.30.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0