Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/pyodbc.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1672073330.497271/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.04pk5vcr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.04pk5vcr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1c4ae22a071642228d29c798d6a26f6d', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1672073330.497271/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.04pk5vcr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/pyodbc-4.0.30-8.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/pyodbc.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1672073330.497271/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.04pk5vcr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.04pk5vcr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c8bc3306eedc49ab97857b2c80260533', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1672073330.497271/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.04pk5vcr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.je04ms + 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1Mrc9q + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + 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' /bin/sh: line 1: git: command not found /usr/lib/python3.11/site-packages/setuptools/dist.py:544: UserWarning: The version specified ('4.0.0-unsupported') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details. warnings.warn( WARNING: git describe failed with: 32512 WARNING: Unable to determine version. Using 4.0.0.0 running build running build_ext building 'pyodbc' extension creating build creating build/temp.linux-ppc64le-cpython-311 creating build/temp.linux-ppc64le-cpython-311/src gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.0-unsupported -I/usr/include/python3.11 -c src/buffer.cpp -o build/temp.linux-ppc64le-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 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.0-unsupported -I/usr/include/python3.11 -c src/cnxninfo.cpp -o build/temp.linux-ppc64le-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 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.0-unsupported -I/usr/include/python3.11 -c src/connection.cpp -o build/temp.linux-ppc64le-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 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.0-unsupported -I/usr/include/python3.11 -c src/cursor.cpp -o build/temp.linux-ppc64le-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 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.0-unsupported -I/usr/include/python3.11 -c src/errors.cpp -o build/temp.linux-ppc64le-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 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.0-unsupported -I/usr/include/python3.11 -c src/getdata.cpp -o build/temp.linux-ppc64le-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 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.0-unsupported -I/usr/include/python3.11 -c src/params.cpp -o build/temp.linux-ppc64le-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 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.0-unsupported -I/usr/include/python3.11 -c src/pyodbccompat.cpp -o build/temp.linux-ppc64le-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 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.0-unsupported -I/usr/include/python3.11 -c src/pyodbcdbg.cpp -o build/temp.linux-ppc64le-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 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.0-unsupported -I/usr/include/python3.11 -c src/pyodbcmodule.cpp -o build/temp.linux-ppc64le-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 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.0-unsupported -I/usr/include/python3.11 -c src/row.cpp -o build/temp.linux-ppc64le-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 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.0-unsupported -I/usr/include/python3.11 -c src/textenc.cpp -o build/temp.linux-ppc64le-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-ppc64le-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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-ppc64le-cpython-311/src/buffer.o build/temp.linux-ppc64le-cpython-311/src/cnxninfo.o build/temp.linux-ppc64le-cpython-311/src/connection.o build/temp.linux-ppc64le-cpython-311/src/cursor.o build/temp.linux-ppc64le-cpython-311/src/errors.o build/temp.linux-ppc64le-cpython-311/src/getdata.o build/temp.linux-ppc64le-cpython-311/src/params.o build/temp.linux-ppc64le-cpython-311/src/pyodbccompat.o build/temp.linux-ppc64le-cpython-311/src/pyodbcdbg.o build/temp.linux-ppc64le-cpython-311/src/pyodbcmodule.o build/temp.linux-ppc64le-cpython-311/src/row.o build/temp.linux-ppc64le-cpython-311/src/textenc.o -L/usr/lib64 -lodbc -o build/lib.linux-ppc64le-cpython-311/pyodbc.cpython-311-powerpc64le-linux-gnu.so -L/usr/lib64 -lodbc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Gzi6Z6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pyodbc-4.0.30-8.fc38.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pyodbc-4.0.30-8.fc38.ppc64le ++ dirname /builddir/build/BUILDROOT/pyodbc-4.0.30-8.fc38.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pyodbc-4.0.30-8.fc38.ppc64le + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + 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-8.fc38.ppc64le --prefix /usr /bin/sh: line 1: git: command not found /usr/lib/python3.11/site-packages/setuptools/dist.py:544: UserWarning: The version specified ('4.0.0-unsupported') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details. warnings.warn( WARNING: git describe failed with: 32512 WARNING: Unable to determine version. Using 4.0.0.0 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-8.fc38.ppc64le/usr creating /builddir/build/BUILDROOT/pyodbc-4.0.30-8.fc38.ppc64le/usr/lib64 creating /builddir/build/BUILDROOT/pyodbc-4.0.30-8.fc38.ppc64le/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/pyodbc-4.0.30-8.fc38.ppc64le/usr/lib64/python3.11/site-packages copying build/lib.linux-ppc64le-cpython-311/pyodbc.cpython-311-powerpc64le-linux-gnu.so -> /builddir/build/BUILDROOT/pyodbc-4.0.30-8.fc38.ppc64le/usr/lib64/python3.11/site-packages writing byte-compilation script '/tmp/tmpa_tt8u0o.py' /usr/bin/python3 /tmp/tmpa_tt8u0o.py removing /tmp/tmpa_tt8u0o.py running install_egg_info /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 4.0.0-unsupported is an invalid version and will not be supported in a future release warnings.warn( 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-8.fc38.ppc64le/usr/lib64/python3.11/site-packages/pyodbc-4.0.0_unsupported-py3.11.egg-info running install_scripts /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 4.0.0-unsupported is an invalid version and will not be supported in a future release warnings.warn( + rm -rfv /builddir/build/BUILDROOT/pyodbc-4.0.30-8.fc38.ppc64le/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j5 --strict-build-id -m -i --build-id-seed 4.0.30-8.fc38 --unique-debug-suffix -4.0.30-8.fc38.ppc64le --unique-debug-src-base pyodbc-4.0.30-8.fc38.ppc64le --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-8.fc38.ppc64le/usr/lib64/python3.11/site-packages/pyodbc.cpython-311-powerpc64le-linux-gnu.so original debug info size: 640kB, size after compression: 512kB /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/pyodbc-4.0.30-8.fc38.ppc64le/usr/lib/debug/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/pyodbc-4.0.30-8.fc38.ppc64le/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: python3-pyodbc-4.0.30-8.fc38.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GacLR6 + umask 022 + cd /builddir/build/BUILD + cd pyodbc-4.0.30 + DOCDIR=/builddir/build/BUILDROOT/pyodbc-4.0.30-8.fc38.ppc64le/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-8.fc38.ppc64le/usr/share/doc/python3-pyodbc + cp -pr README.md /builddir/build/BUILDROOT/pyodbc-4.0.30-8.fc38.ppc64le/usr/share/doc/python3-pyodbc + cp -pr notes.txt /builddir/build/BUILDROOT/pyodbc-4.0.30-8.fc38.ppc64le/usr/share/doc/python3-pyodbc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.tXtkTa + umask 022 + cd /builddir/build/BUILD + cd pyodbc-4.0.30 + LICENSEDIR=/builddir/build/BUILDROOT/pyodbc-4.0.30-8.fc38.ppc64le/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-8.fc38.ppc64le/usr/share/licenses/python3-pyodbc + cp -pr LICENSE.txt /builddir/build/BUILDROOT/pyodbc-4.0.30-8.fc38.ppc64le/usr/share/licenses/python3-pyodbc + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pyodbc = 4.0.30-8.fc38 python3-pyodbc = 4.0.30-8.fc38 python3-pyodbc(ppc-64) = 4.0.30-8.fc38 python3.11-pyodbc = 4.0.30-8.fc38 python3.11dist(pyodbc) = 4.0.0-unsupported python3dist(pyodbc) = 4.0.0-unsupported Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(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-8.fc38 Recommends: (mariadb-connector-odbc if mariadb-server) (postgresql-odbc if postgresql-server) Processing files: pyodbc-debugsource-4.0.30-8.fc38.ppc64le Provides: pyodbc-debugsource = 4.0.30-8.fc38 pyodbc-debugsource(ppc-64) = 4.0.30-8.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-8.fc38.ppc64le Provides: debuginfo(build-id) = 536af08c13bb06c8588d8af2dcde6bd7d3114cd2 python-pyodbc-debuginfo = 4.0.30-8.fc38 python3-pyodbc-debuginfo = 4.0.30-8.fc38 python3-pyodbc-debuginfo(ppc-64) = 4.0.30-8.fc38 python3.11-pyodbc-debuginfo = 4.0.30-8.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pyodbc-debugsource(ppc-64) = 4.0.30-8.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pyodbc-4.0.30-8.fc38.ppc64le Wrote: /builddir/build/RPMS/python3-pyodbc-4.0.30-8.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/python3-pyodbc-debuginfo-4.0.30-8.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/pyodbc-debugsource-4.0.30-8.fc38.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.V82TfS + umask 022 + cd /builddir/build/BUILD + cd pyodbc-4.0.30 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pyodbc-4.0.30-8.fc38.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.GjdUk8 + 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