Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/pyodbc.spec'], chrootPath='/var/lib/mock/fedora-38-s390x-1688903526.599025/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.fo0dcwm4:/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.fo0dcwm4:/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', '9a87e50a3ae646a8b2f21df4afc6c083', '-D', '/var/lib/mock/fedora-38-s390x-1688903526.599025/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fo0dcwm4:/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.fc38_clang16_03.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-38-s390x-1688903526.599025/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.fo0dcwm4:/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.fo0dcwm4:/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', '13284a7e82f943e4abcb51b16198cba1', '-D', '/var/lib/mock/fedora-38-s390x-1688903526.599025/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fo0dcwm4:/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.0yQI6t + 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' + '[' -e /usr/lib/rpm/clang/pyodbc-run ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.IJH7V8 + umask 022 + cd /builddir/build/BUILD + cd pyodbc-4.0.39 + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) 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 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + 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.fc38_clang16_03.s390x-pyproject-buildrequires Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 65.5.1) 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.fc38_clang16_03.s390x-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/pyodbc-4.0.39-1.fc38_clang16_03.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-38-s390x-1688903526.599025/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.fo0dcwm4:/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.fo0dcwm4:/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', '7933bfa24bba4685b5e6e7376161d190', '-D', '/var/lib/mock/fedora-38-s390x-1688903526.599025/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fo0dcwm4:/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.Uqrjrc + 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' + '[' -e /usr/lib/rpm/clang/pyodbc-run ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.lo7f6K + umask 022 + cd /builddir/build/BUILD + cd pyodbc-4.0.39 + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) 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 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + 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.fc38_clang16_03.s390x-pyproject-buildrequires Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 65.5.1) 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.38.4) 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.fc38_clang16_03.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.fc38_clang16_03.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-38-s390x-1688903526.599025/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.fo0dcwm4:/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.fo0dcwm4:/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', '3ef39f8c888d4764a15c8facc4c293d4', '-D', '/var/lib/mock/fedora-38-s390x-1688903526.599025/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fo0dcwm4:/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.QnvRKQ + umask 022 + cd /builddir/build/BUILD + cd pyodbc-4.0.39 + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) 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 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + 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.fc38_clang16_03.s390x-pyproject-buildrequires Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 65.5.1) 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.38.4) 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.fc38_clang16_03.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.SeeeeA + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd pyodbc-4.0.39 + mkdir -p /builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + 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-8560eo6j/pyodbc.egg-info writing /builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir/pip-modern-metadata-8560eo6j/pyodbc.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir/pip-modern-metadata-8560eo6j/pyodbc.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir/pip-modern-metadata-8560eo6j/pyodbc.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir/pip-modern-metadata-8560eo6j/pyodbc.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir/pip-modern-metadata-8560eo6j/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-8560eo6j/pyodbc.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/pyodbc-4.0.39/.pyproject-builddir/pip-modern-metadata-8560eo6j/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 clang -Wsign-compare -Wunreachable-code -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -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/buffer.cpp:12: In file included from src/pyodbc.h:172: src/pyodbccompat.h:75:12: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ /usr/include/python3.11/cpython/unicodeobject.h:600:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/buffer.cpp:12: In file included from src/pyodbc.h:172: src/pyodbccompat.h:86:12: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 86 | return PyUnicode_AS_UNICODE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/buffer.cpp:12: In file included from src/pyodbc.h:172: src/pyodbccompat.h:126:40: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/buffer.cpp:12: In file included from src/pyodbc.h:172: src/pyodbccompat.h:146:26: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/buffer.cpp:12: In file included from src/pyodbc.h:172: src/pyodbccompat.h:147:24: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ 5 warnings generated. clang -Wsign-compare -Wunreachable-code -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -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/cnxninfo.cpp:7: In file included from src/pyodbc.h:172: src/pyodbccompat.h:75:12: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ /usr/include/python3.11/cpython/unicodeobject.h:600:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/cnxninfo.cpp:7: In file included from src/pyodbc.h:172: src/pyodbccompat.h:86:12: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 86 | return PyUnicode_AS_UNICODE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/cnxninfo.cpp:7: In file included from src/pyodbc.h:172: src/pyodbccompat.h:126:40: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/cnxninfo.cpp:7: In file included from src/pyodbc.h:172: src/pyodbccompat.h:146:26: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/cnxninfo.cpp:7: In file included from src/pyodbc.h:172: src/pyodbccompat.h:147:24: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ 5 warnings generated. clang -Wsign-compare -Wunreachable-code -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -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/connection.cpp:11: In file included from src/pyodbc.h:172: src/pyodbccompat.h:75:12: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ /usr/include/python3.11/cpython/unicodeobject.h:600:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/connection.cpp:11: In file included from src/pyodbc.h:172: src/pyodbccompat.h:86:12: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 86 | return PyUnicode_AS_UNICODE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/connection.cpp:11: In file included from src/pyodbc.h:172: src/pyodbccompat.h:126:40: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/connection.cpp:11: In file included from src/pyodbc.h:172: src/pyodbccompat.h:146:26: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/connection.cpp:11: In file included from src/pyodbc.h:172: src/pyodbccompat.h:147:24: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ src/connection.cpp:189:18: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 189 | ivalue = PyUnicode_AS_UNICODE(value); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ 6 warnings generated. clang -Wsign-compare -Wunreachable-code -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -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/cursor.cpp:15: In file included from src/pyodbc.h:172: src/pyodbccompat.h:75:12: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ /usr/include/python3.11/cpython/unicodeobject.h:600:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/cursor.cpp:15: In file included from src/pyodbc.h:172: src/pyodbccompat.h:86:12: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 86 | return PyUnicode_AS_UNICODE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/cursor.cpp:15: In file included from src/pyodbc.h:172: src/pyodbccompat.h:126:40: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/cursor.cpp:15: In file included from src/pyodbc.h:172: src/pyodbccompat.h:146:26: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/cursor.cpp:15: In file included from src/pyodbc.h:172: src/pyodbccompat.h:147:24: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ 5 warnings generated. clang -Wsign-compare -Wunreachable-code -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -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/decimal.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:75:12: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ /usr/include/python3.11/cpython/unicodeobject.h:600:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/decimal.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:86:12: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 86 | return PyUnicode_AS_UNICODE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/decimal.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:126:40: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/decimal.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:146:26: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/decimal.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:147:24: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ 5 warnings generated. clang -Wsign-compare -Wunreachable-code -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -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/errors.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:75:12: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ /usr/include/python3.11/cpython/unicodeobject.h:600:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/errors.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:86:12: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 86 | return PyUnicode_AS_UNICODE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/errors.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:126:40: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/errors.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:146:26: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/errors.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:147:24: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ src/errors.cpp:91:18: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations] 91 | pError = PyEval_CallObject(exc_class, pAttrs); | ^ /usr/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject' 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ^ /usr/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ src/errors.cpp:171:14: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations] 171 | pError = PyEval_CallObject(exc_class, pAttrs); // pError will incref pAttrs | ^ /usr/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject' 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ^ /usr/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ src/errors.cpp:328:17: warning: 'PyUnicode_GetSize' is deprecated [-Wdeprecated-declarations] 328 | if (!msg || PyUnicode_GetSize(msg.Get()) == 0) | ^ /usr/include/python3.11/unicodeobject.h:177:1: note: 'PyUnicode_GetSize' has been explicitly marked deprecated here 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize( | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ 8 warnings generated. clang -Wsign-compare -Wunreachable-code -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -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/getdata.cpp:5: In file included from src/pyodbc.h:172: src/pyodbccompat.h:75:12: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ /usr/include/python3.11/cpython/unicodeobject.h:600:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/getdata.cpp:5: In file included from src/pyodbc.h:172: src/pyodbccompat.h:86:12: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 86 | return PyUnicode_AS_UNICODE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/getdata.cpp:5: In file included from src/pyodbc.h:172: src/pyodbccompat.h:126:40: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/getdata.cpp:5: In file included from src/pyodbc.h:172: src/pyodbccompat.h:146:26: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/getdata.cpp:5: In file included from src/pyodbc.h:172: src/pyodbccompat.h:147:24: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ 5 warnings generated. clang -Wsign-compare -Wunreachable-code -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -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/params.cpp:10: In file included from src/pyodbc.h:172: src/pyodbccompat.h:75:12: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ /usr/include/python3.11/cpython/unicodeobject.h:600:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/params.cpp:10: In file included from src/pyodbc.h:172: src/pyodbccompat.h:86:12: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 86 | return PyUnicode_AS_UNICODE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/params.cpp:10: In file included from src/pyodbc.h:172: src/pyodbccompat.h:126:40: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/params.cpp:10: In file included from src/pyodbc.h:172: src/pyodbccompat.h:146:26: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/params.cpp:10: In file included from src/pyodbc.h:172: src/pyodbccompat.h:147:24: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ src/params.cpp:326:26: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 326 | Py_ssize_t len = PyUnicode_GET_SIZE(cell); | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ src/params.cpp:386:33: warning: 'PyUnicode_AS_DATA' is deprecated [-Wdeprecated-declarations] 386 | memcpy(*outbuf, PyUnicode_AS_DATA(cell), len); | ^ /usr/include/python3.11/cpython/unicodeobject.h:712:33: note: expanded from macro 'PyUnicode_AS_DATA' 712 | # define PyUnicode_AS_DATA(op) PyUnicode_AS_DATA(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:701:1: note: 'PyUnicode_AS_DATA' has been explicitly marked deprecated here 701 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ 7 warnings generated. clang -Wsign-compare -Wunreachable-code -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -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/pyodbccompat.cpp:1: In file included from src/pyodbc.h:172: src/pyodbccompat.h:75:12: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ /usr/include/python3.11/cpython/unicodeobject.h:600:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/pyodbccompat.cpp:1: In file included from src/pyodbc.h:172: src/pyodbccompat.h:86:12: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 86 | return PyUnicode_AS_UNICODE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/pyodbccompat.cpp:1: In file included from src/pyodbc.h:172: src/pyodbccompat.h:126:40: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/pyodbccompat.cpp:1: In file included from src/pyodbc.h:172: src/pyodbccompat.h:146:26: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/pyodbccompat.cpp:1: In file included from src/pyodbc.h:172: src/pyodbccompat.h:147:24: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ src/pyodbccompat.cpp:14:25: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 14 | Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs); | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ src/pyodbccompat.cpp:19:21: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 19 | Py_UNICODE* p = PyUnicode_AS_UNICODE(lhs); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ 7 warnings generated. clang -Wsign-compare -Wunreachable-code -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -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/pyodbcdbg.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:75:12: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ /usr/include/python3.11/cpython/unicodeobject.h:600:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/pyodbcdbg.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:86:12: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 86 | return PyUnicode_AS_UNICODE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/pyodbcdbg.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:126:40: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/pyodbcdbg.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:146:26: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/pyodbcdbg.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:147:24: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ 5 warnings generated. clang -Wsign-compare -Wunreachable-code -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -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/pyodbcmodule.cpp:11: In file included from src/pyodbc.h:172: src/pyodbccompat.h:75:12: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ /usr/include/python3.11/cpython/unicodeobject.h:600:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/pyodbcmodule.cpp:11: In file included from src/pyodbc.h:172: src/pyodbccompat.h:86:12: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 86 | return PyUnicode_AS_UNICODE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/pyodbcmodule.cpp:11: In file included from src/pyodbc.h:172: src/pyodbccompat.h:126:40: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/pyodbcmodule.cpp:11: In file included from src/pyodbc.h:172: src/pyodbccompat.h:146:26: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/pyodbcmodule.cpp:11: In file included from src/pyodbc.h:172: src/pyodbccompat.h:147:24: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ 5 warnings generated. clang -Wsign-compare -Wunreachable-code -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -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/row.cpp:12: In file included from src/pyodbc.h:172: src/pyodbccompat.h:75:12: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ /usr/include/python3.11/cpython/unicodeobject.h:600:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/row.cpp:12: In file included from src/pyodbc.h:172: src/pyodbccompat.h:86:12: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 86 | return PyUnicode_AS_UNICODE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/row.cpp:12: In file included from src/pyodbc.h:172: src/pyodbccompat.h:126:40: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/row.cpp:12: In file included from src/pyodbc.h:172: src/pyodbccompat.h:146:26: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/row.cpp:12: In file included from src/pyodbc.h:172: src/pyodbccompat.h:147:24: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ 5 warnings generated. clang -Wsign-compare -Wunreachable-code -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -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/textenc.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:75:12: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ /usr/include/python3.11/cpython/unicodeobject.h:600:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/textenc.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:86:12: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 86 | return PyUnicode_AS_UNICODE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/textenc.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:126:40: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/textenc.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:146:26: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations] 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^ /usr/include/python3.11/cpython/unicodeobject.h:664:34: note: expanded from macro 'PyUnicode_GET_SIZE' 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:651:1: note: 'PyUnicode_GET_SIZE' has been explicitly marked deprecated here 651 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ In file included from src/textenc.cpp:2: In file included from src/pyodbc.h:172: src/pyodbccompat.h:147:24: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations] 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^ /usr/include/python3.11/cpython/unicodeobject.h:698:36: note: expanded from macro 'PyUnicode_AS_UNICODE' 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ^ /usr/include/python3.11/cpython/unicodeobject.h:684:1: note: 'PyUnicode_AS_UNICODE' has been explicitly marked deprecated here 684 | Py_DEPRECATED(3.3) | ^ /usr/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED' 336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) | ^ 5 warnings generated. clang++ -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -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-55rbkslt/tmpamgu493m/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=225794 sha256=f3c3cb01be18ac7c676daf268f246800bf555311499d8b6d3015c62533e183a4 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.uIKVdy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x ++ dirname /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + 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.fc38_clang16_03.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 22.3.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.fc38_clang16_03.s390x/usr/bin ']' + rm -f /builddir/build/BUILD/pyodbc-4.0.39-1.fc38_clang16_03.s390x-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x/usr/lib/python3.11/site-packages ']' + '[' /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.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.fc38_clang16_03.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.fc38_clang16_03.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.fc38_clang16_03.s390x --record /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x/usr/lib64/python3.11/site-packages/pyodbc-4.0.39.dist-info/RECORD --output /builddir/build/BUILD/pyodbc-4.0.39-1.fc38_clang16_03.s390x-pyproject-record + rm -fv /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x/usr/lib64/python3.11/site-packages/pyodbc-4.0.39.dist-info/RECORD removed '/builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x/usr/lib64/python3.11/site-packages/pyodbc-4.0.39.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x/usr/lib64/python3.11/site-packages/pyodbc-4.0.39.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x/usr/lib64/python3.11/site-packages/pyodbc-4.0.39.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/pyodbc-4.0.39-1.fc38_clang16_03.s390x-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x/usr/lib64/python3.11/site-packages/pyodbc.cpython-311-s390x-linux-gnu.so [ 2e] clang version 17.0.0 (Fedora 17.0.0~pre20230701.gb43375bb8195bd-1.fc38) /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x/usr/lib64/python3.11/site-packages/pyodbc.cpython-311-s390x-linux-gnu.so built with clang + /usr/lib/rpm/redhat/brp-llvm-compile-lto-elf -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 Checking for LLVM bitcode artifacts + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 4.0.39-1.fc38_clang16_03 --unique-debug-suffix -4.0.39-1.fc38_clang16_03.s390x --unique-debug-src-base pyodbc-4.0.39-1.fc38_clang16_03.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.fc38_clang16_03.s390x/usr/lib64/python3.11/site-packages/pyodbc.cpython-311-s390x-linux-gnu.so /usr/bin/gdb.minimal original debug info size: 496kB, size after compression: 472kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 730 blocks + /usr/lib/rpm/check-buildroot + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x/usr/lib/debug/usr/lib64/python3.11/site-packages/pyodbc.cpython-311-s390x-linux-gnu.so-4.0.39-1.fc38_clang16_03.s390x.debug [ 2e] clang version 17.0.0 (Fedora 17.0.0~pre20230701.gb43375bb8195bd-1.fc38) /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x/usr/lib/debug/usr/lib64/python3.11/site-packages/pyodbc.cpython-311-s390x-linux-gnu.so-4.0.39-1.fc38_clang16_03.s390x.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x/usr/lib64/python3.11/site-packages/pyodbc.cpython-311-s390x-linux-gnu.so [ 2e] clang version 17.0.0 (Fedora 17.0.0~pre20230701.gb43375bb8195bd-1.fc38) /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x/usr/lib/debug/usr/lib64/python3.11/site-packages/pyodbc.cpython-311-s390x-linux-gnu.so-4.0.39-1.fc38_clang16_03.s390x.debug built with clang + /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.fc38_clang16_03.s390x/usr/lib/debug/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: python3-pyodbc-4.0.39-1.fc38_clang16_03.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KZalzb + umask 022 + cd /builddir/build/BUILD + cd pyodbc-4.0.39 + DOCDIR=/builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.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.fc38_clang16_03.s390x/usr/share/doc/python3-pyodbc + cp -pr README.md /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x/usr/share/doc/python3-pyodbc + cp -pr notes.txt /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x/usr/share/doc/python3-pyodbc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.weBw4q + umask 022 + cd /builddir/build/BUILD + cd pyodbc-4.0.39 + LICENSEDIR=/builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.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.fc38_clang16_03.s390x/usr/share/licenses/python3-pyodbc + cp -pr LICENSE.txt /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x/usr/share/licenses/python3-pyodbc + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pyodbc = 4.0.39-1.fc38_clang16_03 python3-pyodbc = 4.0.39-1.fc38_clang16_03 python3-pyodbc(s390-64) = 4.0.39-1.fc38_clang16_03 python3.11-pyodbc = 4.0.39-1.fc38_clang16_03 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: libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(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) libstdc++.so.6(GLIBCXX_3.4)(64bit) python(abi) = 3.11 rtld(GNU_HASH) Obsoletes: python-pyodbc < 4.0.39-1.fc38_clang16_03 Recommends: (mariadb-connector-odbc if mariadb-server) (postgresql-odbc if postgresql-server) Processing files: pyodbc-debugsource-4.0.39-1.fc38_clang16_03.s390x Provides: pyodbc-debugsource = 4.0.39-1.fc38_clang16_03 pyodbc-debugsource(s390-64) = 4.0.39-1.fc38_clang16_03 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.fc38_clang16_03.s390x Provides: debuginfo(build-id) = ea58320276ee86ca47a70ce75975cd41a8adab8c python-pyodbc-debuginfo = 4.0.39-1.fc38_clang16_03 python3-pyodbc-debuginfo = 4.0.39-1.fc38_clang16_03 python3-pyodbc-debuginfo(s390-64) = 4.0.39-1.fc38_clang16_03 python3.11-pyodbc-debuginfo = 4.0.39-1.fc38_clang16_03 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.fc38_clang16_03 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x Wrote: /builddir/build/SRPMS/pyodbc-4.0.39-1.fc38_clang16_03.src.rpm Wrote: /builddir/build/RPMS/python3-pyodbc-debuginfo-4.0.39-1.fc38_clang16_03.s390x.rpm Wrote: /builddir/build/RPMS/pyodbc-debugsource-4.0.39-1.fc38_clang16_03.s390x.rpm Wrote: /builddir/build/RPMS/python3-pyodbc-4.0.39-1.fc38_clang16_03.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dVIOaz + umask 022 + cd /builddir/build/BUILD + cd pyodbc-4.0.39 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pyodbc-4.0.39-1.fc38_clang16_03.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.iBIAzq + 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