Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/pyodbc.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1684951767.800884/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.66gyo_at:/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.66gyo_at:/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', '2cdb9e088cdb4c00a1b9986591a3d60e', '-D', '/var/lib/mock/fedora-rawhide-s390x-1684951767.800884/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.66gyo_at:/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 s390x --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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1681689600 Wrote: /builddir/build/SRPMS/pyodbc-4.0.39-1.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target s390x --nodeps /builddir/build/SPECS/pyodbc.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1684951767.800884/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.66gyo_at:/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=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.66gyo_at:/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', '4d2c5b8394fd424da8f5a552508be0e8', '-D', '/var/lib/mock/fedora-rawhide-s390x-1684951767.800884/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.66gyo_at:/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 -br --target s390x --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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1681689600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BgLf2U + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyodbc-4.0.39 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pyodbc-4.0.39.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pyodbc-4.0.39 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Version: 4.0.39' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.fbOK4y + umask 022 + cd /builddir/build/BUILD + cd pyodbc-4.0.39 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -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 -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -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 ' + TMPDIR=/builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/pyodbc-4.0.39/pyproject-wheeldir --output /builddir/build/BUILD/pyodbc-4.0.39-1.fc39.s390x-pyproject-buildrequires Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 67.7.2) WARNING: '' not a valid package name; please use only .-separated package names in setup.py running egg_info creating src/pyodbc.egg-info writing src/pyodbc.egg-info/PKG-INFO writing dependency_links to src/pyodbc.egg-info/dependency_links.txt writing top-level names to src/pyodbc.egg-info/top_level.txt writing manifest file 'src/pyodbc.egg-info/SOURCES.txt' reading manifest file 'src/pyodbc.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'src/pyodbc.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement not satisfied: wheel Exiting dependency generation pass: get_requires_for_build_wheel + cat /builddir/build/BUILD/pyodbc-4.0.39-1.fc39.s390x-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/pyodbc-4.0.39-1.fc39.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target s390x --nodeps /builddir/build/SPECS/pyodbc.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1684951767.800884/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.66gyo_at:/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=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.66gyo_at:/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', 'eb1b0403798c4d5a85ba9e64a22298b8', '-D', '/var/lib/mock/fedora-rawhide-s390x-1684951767.800884/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.66gyo_at:/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 -br --target s390x --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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1681689600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RUo3hU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyodbc-4.0.39 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pyodbc-4.0.39.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pyodbc-4.0.39 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Version: 4.0.39' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.MEhJgJ + umask 022 + cd /builddir/build/BUILD + cd pyodbc-4.0.39 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -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 -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -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 ' + TMPDIR=/builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/pyodbc-4.0.39/pyproject-wheeldir --output /builddir/build/BUILD/pyodbc-4.0.39-1.fc39.s390x-pyproject-buildrequires Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 67.7.2) WARNING: '' not a valid package name; please use only .-separated package names in setup.py running egg_info creating src/pyodbc.egg-info writing src/pyodbc.egg-info/PKG-INFO writing dependency_links to src/pyodbc.egg-info/dependency_links.txt writing top-level names to src/pyodbc.egg-info/top_level.txt writing manifest file 'src/pyodbc.egg-info/SOURCES.txt' reading manifest file 'src/pyodbc.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'src/pyodbc.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.40.0) WARNING: '' not a valid package name; please use only .-separated package names in setup.py running dist_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' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'pyodbc.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/pyodbc-4.0.39/pyodbc-4.0.39.dist-info' + cat /builddir/build/BUILD/pyodbc-4.0.39-1.fc39.s390x-pyproject-buildrequires + rm -rfv pyodbc-4.0.39.dist-info/ removed 'pyodbc-4.0.39.dist-info/LICENSE.txt' removed 'pyodbc-4.0.39.dist-info/METADATA' removed 'pyodbc-4.0.39.dist-info/top_level.txt' removed directory 'pyodbc-4.0.39.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/pyodbc-4.0.39-1.fc39.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target s390x --nodeps /builddir/build/SPECS/pyodbc.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1684951767.800884/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.66gyo_at:/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.66gyo_at:/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', 'fdae4ead584c4231b79e73ffacb7764c', '-D', '/var/lib/mock/fedora-rawhide-s390x-1684951767.800884/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.66gyo_at:/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 -ba --noprep --target s390x --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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1681689600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.QFx41r + umask 022 + cd /builddir/build/BUILD + cd pyodbc-4.0.39 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -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 -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -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 ' + TMPDIR=/builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/pyodbc-4.0.39/pyproject-wheeldir --output /builddir/build/BUILD/pyodbc-4.0.39-1.fc39.s390x-pyproject-buildrequires Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 67.7.2) WARNING: '' not a valid package name; please use only .-separated package names in setup.py running egg_info writing src/pyodbc.egg-info/PKG-INFO writing dependency_links to src/pyodbc.egg-info/dependency_links.txt writing top-level names to src/pyodbc.egg-info/top_level.txt reading manifest file 'src/pyodbc.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'src/pyodbc.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.40.0) WARNING: '' not a valid package name; please use only .-separated package names in setup.py running dist_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 reading manifest file 'pyodbc.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'pyodbc.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/pyodbc-4.0.39/pyodbc-4.0.39.dist-info' + cat /builddir/build/BUILD/pyodbc-4.0.39-1.fc39.s390x-pyproject-buildrequires + rm -rfv pyodbc-4.0.39.dist-info/ removed 'pyodbc-4.0.39.dist-info/LICENSE.txt' removed 'pyodbc-4.0.39.dist-info/METADATA' removed 'pyodbc-4.0.39.dist-info/top_level.txt' removed directory 'pyodbc-4.0.39.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3ChYJt + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -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 -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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.39 + mkdir -p /builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -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 ' + TMPDIR=/builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/pyodbc-4.0.39/pyproject-wheeldir Processing /builddir/build/BUILD/pyodbc-4.0.39 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) WARNING: '' not a valid package name; please use only .-separated package names in setup.py running dist_info creating /builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir/pip-modern-metadata-784qucc5/pyodbc.egg-info writing /builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir/pip-modern-metadata-784qucc5/pyodbc.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir/pip-modern-metadata-784qucc5/pyodbc.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir/pip-modern-metadata-784qucc5/pyodbc.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir/pip-modern-metadata-784qucc5/pyodbc.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir/pip-modern-metadata-784qucc5/pyodbc.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file '/builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir/pip-modern-metadata-784qucc5/pyodbc.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir/pip-modern-metadata-784qucc5/pyodbc-4.0.39.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: pyodbc Building wheel for pyodbc (pyproject.toml): started Running command Building wheel for pyodbc (pyproject.toml) WARNING: '' not a valid package name; please use only .-separated package names in setup.py running bdist_wheel running build running build_py creating build creating build/lib.linux-s390x-cpython-311 copying src/pyodbc.pyi -> build/lib.linux-s390x-cpython-311 running build_ext building 'pyodbc' extension creating build/temp.linux-s390x-cpython-311 creating build/temp.linux-s390x-cpython-311/src gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.39 -I/usr/include/python3.11 -c src/buffer.cpp -o build/temp.linux-s390x-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:172, from src/buffer.cpp:12: src/pyodbccompat.h: In function ‘PyObject* Text_New(Py_ssize_t)’: src/pyodbccompat.h:75:33: warning: ‘PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.39 -I/usr/include/python3.11 -c src/cnxninfo.cpp -o build/temp.linux-s390x-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:172, from src/cnxninfo.cpp:7: src/pyodbccompat.h: In function ‘PyObject* Text_New(Py_ssize_t)’: src/pyodbccompat.h:75:33: warning: ‘PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.39 -I/usr/include/python3.11 -c src/connection.cpp -o build/temp.linux-s390x-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:172, 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.39 -I/usr/include/python3.11 -c src/cursor.cpp -o build/temp.linux-s390x-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:172, 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.39 -I/usr/include/python3.11 -c src/decimal.cpp -o build/temp.linux-s390x-cpython-311/src/decimal.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:172, from src/decimal.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.39 -I/usr/include/python3.11 -c src/errors.cpp -o build/temp.linux-s390x-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:172, 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:328:34: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations] 328 | 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.39 -I/usr/include/python3.11 -c src/getdata.cpp -o build/temp.linux-s390x-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:172, 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.39 -I/usr/include/python3.11 -c src/params.cpp -o build/temp.linux-s390x-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:172, 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:386:33: note: in expansion of macro ‘PyUnicode_AS_DATA’ 386 | 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.39 -I/usr/include/python3.11 -c src/pyodbccompat.cpp -o build/temp.linux-s390x-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:172, 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.39 -I/usr/include/python3.11 -c src/pyodbcdbg.cpp -o build/temp.linux-s390x-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:172, 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.39 -I/usr/include/python3.11 -c src/pyodbcmodule.cpp -o build/temp.linux-s390x-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:172, 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) | ^~~~~~~~~~~~~~~~~~~~ gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.39 -I/usr/include/python3.11 -c src/row.cpp -o build/temp.linux-s390x-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:172, 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYODBC_VERSION=4.0.39 -I/usr/include/python3.11 -c src/textenc.cpp -o build/temp.linux-s390x-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:172, 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) | ^~~~~~~~~~~~~~~~~~~~ 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 -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-s390x-cpython-311/src/buffer.o build/temp.linux-s390x-cpython-311/src/cnxninfo.o build/temp.linux-s390x-cpython-311/src/connection.o build/temp.linux-s390x-cpython-311/src/cursor.o build/temp.linux-s390x-cpython-311/src/decimal.o build/temp.linux-s390x-cpython-311/src/errors.o build/temp.linux-s390x-cpython-311/src/getdata.o build/temp.linux-s390x-cpython-311/src/params.o build/temp.linux-s390x-cpython-311/src/pyodbccompat.o build/temp.linux-s390x-cpython-311/src/pyodbcdbg.o build/temp.linux-s390x-cpython-311/src/pyodbcmodule.o build/temp.linux-s390x-cpython-311/src/row.o build/temp.linux-s390x-cpython-311/src/textenc.o -L/usr/lib64 -lodbc -o build/lib.linux-s390x-cpython-311/pyodbc.cpython-311-s390x-linux-gnu.so -L/usr/lib64 -lodbc installing to build/bdist.linux-s390x/wheel running install running install_lib creating build/bdist.linux-s390x creating build/bdist.linux-s390x/wheel copying build/lib.linux-s390x-cpython-311/pyodbc.cpython-311-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel copying build/lib.linux-s390x-cpython-311/pyodbc.pyi -> build/bdist.linux-s390x/wheel running install_egg_info running egg_info writing src/pyodbc.egg-info/PKG-INFO writing dependency_links to src/pyodbc.egg-info/dependency_links.txt writing top-level names to src/pyodbc.egg-info/top_level.txt reading manifest file 'src/pyodbc.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'src/pyodbc.egg-info/SOURCES.txt' Copying src/pyodbc.egg-info to build/bdist.linux-s390x/wheel/pyodbc-4.0.39-py3.11.egg-info running install_scripts creating build/bdist.linux-s390x/wheel/pyodbc-4.0.39.dist-info/WHEEL creating '/builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir/pip-wheel-_mowc7ob/.tmp-0_3zp7jn/pyodbc-4.0.39-cp311-cp311-linux_s390x.whl' and adding 'build/bdist.linux-s390x/wheel' to it adding 'pyodbc.cpython-311-s390x-linux-gnu.so' adding 'pyodbc.pyi' adding 'pyodbc-4.0.39.dist-info/LICENSE.txt' adding 'pyodbc-4.0.39.dist-info/METADATA' adding 'pyodbc-4.0.39.dist-info/WHEEL' adding 'pyodbc-4.0.39.dist-info/top_level.txt' adding 'pyodbc-4.0.39.dist-info/RECORD' removing build/bdist.linux-s390x/wheel Building wheel for pyodbc (pyproject.toml): finished with status 'done' Created wheel for pyodbc: filename=pyodbc-4.0.39-cp311-cp311-linux_s390x.whl size=327367 sha256=33f2f7c2f9e4dbd879dfb7789904788de2ba4ae2d4018a50ee6225c4e4595b95 Stored in directory: /builddir/.cache/pip/wheels/3f/a1/2a/04d6244f90fad2cb668cd2faeb24afc1b2ef295a03819603c9 Successfully built pyodbc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oRqoJj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x ++ dirname /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -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 -fuse-ld=lld -Wl,--build-id=sha1 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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.39 ++ ls /builddir/build/BUILD/pyodbc-4.0.39/pyproject-wheeldir/pyodbc-4.0.39-cp311-cp311-linux_s390x.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' ++ xargs basename --multiple + specifier=pyodbc==4.0.39 + TMPDIR=/builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/pyodbc-4.0.39/pyproject-wheeldir pyodbc==4.0.39 Using pip 23.0.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/pyodbc-4.0.39/pyproject-wheeldir Processing ./pyproject-wheeldir/pyodbc-4.0.39-cp311-cp311-linux_s390x.whl Installing collected packages: pyodbc Successfully installed pyodbc-4.0.39 + '[' -d /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/bin ']' + rm -f /builddir/build/BUILD/pyodbc-4.0.39-1.fc39.s390x-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/lib/python3.11/site-packages ']' + '[' /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/lib64/python3.11/site-packages ']' + site_dirs+=("/usr/lib64/python3.11/site-packages") + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x$site_dir/*.dist-info + echo '%ghost /usr/lib64/python3.11/site-packages/pyodbc-4.0.39.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/lib64/python3.11/site-packages/pyodbc-4.0.39.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x --record /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/lib64/python3.11/site-packages/pyodbc-4.0.39.dist-info/RECORD --output /builddir/build/BUILD/pyodbc-4.0.39-1.fc39.s390x-pyproject-record + rm -fv /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/lib64/python3.11/site-packages/pyodbc-4.0.39.dist-info/RECORD removed '/builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/lib64/python3.11/site-packages/pyodbc-4.0.39.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/lib64/python3.11/site-packages/pyodbc-4.0.39.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/lib64/python3.11/site-packages/pyodbc-4.0.39.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/pyodbc-4.0.39-1.fc39.s390x-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 4.0.39-1.fc39 --unique-debug-suffix -4.0.39-1.fc39.s390x --unique-debug-src-base pyodbc-4.0.39-1.fc39.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pyodbc-4.0.39 extracting debug info from /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/lib64/python3.11/site-packages/pyodbc.cpython-311-s390x-linux-gnu.so /usr/bin/gdb.minimal original debug info size: 596kB, size after compression: 436kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 735 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 -j2 Bytecompiling .py files below /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/lib/debug/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: python3-pyodbc-4.0.39-1.fc39.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7JONul + umask 022 + cd /builddir/build/BUILD + cd pyodbc-4.0.39 + DOCDIR=/builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/share/doc/python3-pyodbc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/share/doc/python3-pyodbc + cp -pr README.md /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/share/doc/python3-pyodbc + cp -pr notes.txt /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/share/doc/python3-pyodbc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.KFUxBp + umask 022 + cd /builddir/build/BUILD + cd pyodbc-4.0.39 + LICENSEDIR=/builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/share/licenses/python3-pyodbc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/share/licenses/python3-pyodbc + cp -pr LICENSE.txt /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x/usr/share/licenses/python3-pyodbc + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pyodbc = 4.0.39-1.fc39 python3-pyodbc = 4.0.39-1.fc39 python3-pyodbc(s390-64) = 4.0.39-1.fc39 python3.11-pyodbc = 4.0.39-1.fc39 python3.11dist(pyodbc) = 4.0.39 python3dist(pyodbc) = 4.0.39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: glibc >= 2.37.9000-10 libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(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.39-1.fc39 Recommends: (mariadb-connector-odbc if mariadb-server) (postgresql-odbc if postgresql-server) Processing files: pyodbc-debugsource-4.0.39-1.fc39.s390x Provides: pyodbc-debugsource = 4.0.39-1.fc39 pyodbc-debugsource(s390-64) = 4.0.39-1.fc39 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.39-1.fc39.s390x Provides: debuginfo(build-id) = f015e15908342a9d1080326f79d3ef3fe4432dd9 python-pyodbc-debuginfo = 4.0.39-1.fc39 python3-pyodbc-debuginfo = 4.0.39-1.fc39 python3-pyodbc-debuginfo(s390-64) = 4.0.39-1.fc39 python3.11-pyodbc-debuginfo = 4.0.39-1.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pyodbc-debugsource(s390-64) = 4.0.39-1.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x Wrote: /builddir/build/SRPMS/pyodbc-4.0.39-1.fc39.src.rpm Wrote: /builddir/build/RPMS/python3-pyodbc-debuginfo-4.0.39-1.fc39.s390x.rpm Wrote: /builddir/build/RPMS/pyodbc-debugsource-4.0.39-1.fc39.s390x.rpm Wrote: /builddir/build/RPMS/python3-pyodbc-4.0.39-1.fc39.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0pTqob + umask 022 + cd /builddir/build/BUILD + cd pyodbc-4.0.39 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc39.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.1jKaxT + umask 022 + cd /builddir/build/BUILD + rm -rf pyodbc-4.0.39 pyodbc-4.0.39.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0