Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target x86_64 --nodeps /builddir/build/SPECS/mingw-python-psycopg2.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674278846.033205/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f4be4a3ef10>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qyemxkr7:/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.qyemxkr7:/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', '045bcd44520a45298e845e162f1ef57e', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674278846.033205/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qyemxkr7:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target x86_64 --nodeps /builddir/build/SPECS/mingw-python-psycopg2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1674086400
Wrote: /builddir/build/SRPMS/mingw-python-psycopg2-2.9.3-5.fc38.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb  --target x86_64 --nodeps /builddir/build/SPECS/mingw-python-psycopg2.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674278846.033205/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f4be4a3ef10>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qyemxkr7:/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.qyemxkr7:/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', '6790479cb2684f48a8b6036aebdcdd26', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674278846.033205/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qyemxkr7:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb  --target x86_64 --nodeps /builddir/build/SPECS/mingw-python-psycopg2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1674086400
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MkXmpN
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf psycopg2-2.9.3
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/psycopg2-2.9.3.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd psycopg2-2.9.3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/psycopg2_mingw.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.epqovR
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd psycopg2-2.9.3
++ /usr/bin/env
++ grep -E '^(w+)=(.*)$'
++ grep -Evw 'PWD|USER|LANG'
++ /usr/bin/cut -d= -f1
+ unset
+ test -z ''
+ PATH_ORIG=/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
+ export PATH_ORIG
+ PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
+ export PATH
+ HOST_CC=gcc
+ export HOST_CC
+ unset PKG_CONFIG_PATH
+ _PREFIX=/usr/bin/i686-w64-mingw32-
++ grep -v gcc-
++ ls -1 /usr/bin/i686-w64-mingw32-addr2line /usr/bin/i686-w64-mingw32-ar /usr/bin/i686-w64-mingw32-as /usr/bin/i686-w64-mingw32-c++ /usr/bin/i686-w64-mingw32-c++filt /usr/bin/i686-w64-mingw32-cpp /usr/bin/i686-w64-mingw32-dlltool /usr/bin/i686-w64-mingw32-dllwrap /usr/bin/i686-w64-mingw32-elfedit /usr/bin/i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-12.2.1 /usr/bin/i686-w64-mingw32-gcc-ar /usr/bin/i686-w64-mingw32-gcc-nm /usr/bin/i686-w64-mingw32-gcc-ranlib /usr/bin/i686-w64-mingw32-gcov /usr/bin/i686-w64-mingw32-gcov-dump /usr/bin/i686-w64-mingw32-gcov-tool /usr/bin/i686-w64-mingw32-gprof /usr/bin/i686-w64-mingw32-ld /usr/bin/i686-w64-mingw32-ld.bfd /usr/bin/i686-w64-mingw32-lto-dump /usr/bin/i686-w64-mingw32-nm /usr/bin/i686-w64-mingw32-objcopy /usr/bin/i686-w64-mingw32-objdump /usr/bin/i686-w64-mingw32-pkg-config /usr/bin/i686-w64-mingw32-ranlib /usr/bin/i686-w64-mingw32-readelf /usr/bin/i686-w64-mingw32-size /usr/bin/i686-w64-mingw32-strings /usr/bin/i686-w64-mingw32-strip /usr/bin/i686-w64-mingw32-windmc /usr/bin/i686-w64-mingw32-windres
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-addr2line
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=ADDR2LINE
+ declare -x ADDR2LINE=/usr/bin/i686-w64-mingw32-addr2line
+ export ADDR2LINE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-ar
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=AR
+ declare -x AR=/usr/bin/i686-w64-mingw32-ar
+ export AR
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-as
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=AS
+ declare -x AS=/usr/bin/i686-w64-mingw32-as
+ export AS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ echo /usr/bin/i686-w64-mingw32-c++
++ tr a-z+-. A-ZX__
+ x=CXX
+ declare -x CXX=/usr/bin/i686-w64-mingw32-c++
+ export CXX
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ echo /usr/bin/i686-w64-mingw32-c++filt
++ tr a-z+-. A-ZX__
+ x=CXXFILT
+ declare -x CXXFILT=/usr/bin/i686-w64-mingw32-c++filt
+ export CXXFILT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-cpp
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=CPP
+ declare -x CPP=/usr/bin/i686-w64-mingw32-cpp
+ export CPP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-dlltool
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=DLLTOOL
+ declare -x DLLTOOL=/usr/bin/i686-w64-mingw32-dlltool
+ export DLLTOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ echo /usr/bin/i686-w64-mingw32-dllwrap
+ x=DLLWRAP
+ declare -x DLLWRAP=/usr/bin/i686-w64-mingw32-dllwrap
+ export DLLWRAP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-elfedit
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=ELFEDIT
+ declare -x ELFEDIT=/usr/bin/i686-w64-mingw32-elfedit
+ export ELFEDIT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-g++
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GXX
+ declare -x GXX=/usr/bin/i686-w64-mingw32-g++
+ export GXX
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ echo /usr/bin/i686-w64-mingw32-gcc
++ tr a-z+-. A-ZX__
+ x=GCC
+ declare -x GCC=/usr/bin/i686-w64-mingw32-gcc
+ export GCC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gcov
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV
+ declare -x GCOV=/usr/bin/i686-w64-mingw32-gcov
+ export GCOV
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gcov-dump
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV_DUMP
+ declare -x GCOV_DUMP=/usr/bin/i686-w64-mingw32-gcov-dump
+ export GCOV_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ echo /usr/bin/i686-w64-mingw32-gcov-tool
++ tr a-z+-. A-ZX__
+ x=GCOV_TOOL
+ declare -x GCOV_TOOL=/usr/bin/i686-w64-mingw32-gcov-tool
+ export GCOV_TOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gprof
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
+ x=GPROF
+ declare -x GPROF=/usr/bin/i686-w64-mingw32-gprof
+ export GPROF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-ld
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LD
+ declare -x LD=/usr/bin/i686-w64-mingw32-ld
+ export LD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-ld.bfd
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
+ x=LD_BFD
+ declare -x LD_BFD=/usr/bin/i686-w64-mingw32-ld.bfd
+ export LD_BFD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-lto-dump
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LTO_DUMP
+ declare -x LTO_DUMP=/usr/bin/i686-w64-mingw32-lto-dump
+ export LTO_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ echo /usr/bin/i686-w64-mingw32-nm
++ tr a-z+-. A-ZX__
+ x=NM
+ declare -x NM=/usr/bin/i686-w64-mingw32-nm
+ export NM
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-objcopy
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=OBJCOPY
+ declare -x OBJCOPY=/usr/bin/i686-w64-mingw32-objcopy
+ export OBJCOPY
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-objdump
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=OBJDUMP
+ declare -x OBJDUMP=/usr/bin/i686-w64-mingw32-objdump
+ export OBJDUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-pkg-config
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
+ x=PKG_CONFIG
+ declare -x PKG_CONFIG=/usr/bin/i686-w64-mingw32-pkg-config
+ export PKG_CONFIG
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
++ echo /usr/bin/i686-w64-mingw32-ranlib
+ x=RANLIB
+ declare -x RANLIB=/usr/bin/i686-w64-mingw32-ranlib
+ export RANLIB
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ echo /usr/bin/i686-w64-mingw32-readelf
++ tr a-z+-. A-ZX__
+ x=READELF
+ declare -x READELF=/usr/bin/i686-w64-mingw32-readelf
+ export READELF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ echo /usr/bin/i686-w64-mingw32-size
+ x=SIZE
+ declare -x SIZE=/usr/bin/i686-w64-mingw32-size
+ export SIZE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ echo /usr/bin/i686-w64-mingw32-strings
+ x=STRINGS
+ declare -x STRINGS=/usr/bin/i686-w64-mingw32-strings
+ export STRINGS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ echo /usr/bin/i686-w64-mingw32-strip
+ x=STRIP
+ declare -x STRIP=/usr/bin/i686-w64-mingw32-strip
+ export STRIP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
++ echo /usr/bin/i686-w64-mingw32-windmc
+ x=WINDMC
+ declare -x WINDMC=/usr/bin/i686-w64-mingw32-windmc
+ export WINDMC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-windres
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=WINDRES
+ declare -x WINDRES=/usr/bin/i686-w64-mingw32-windres
+ export WINDRES
+ unset _PREFIX
+ CC=i686-w64-mingw32-gcc
+ export CC
+ CFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export CFLAGS
+ CPPFLAGS=
+ export CPPFLAGS
+ '[' -x /usr/bin/i686-w64-mingw32-g++ ']'
+ CXX=i686-w64-mingw32-g++
+ export CXX
+ CXXFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FCFLAGS
+ LDFLAGS='-fstack-protector -lssp'
+ export LDFLAGS
++ grep -- '-config$'
++ ls /usr/i686-w64-mingw32/sys-root/mingw/bin/2to3-3.11 /usr/i686-w64-mingw32/sys-root/mingw/bin/autopoint /usr/i686-w64-mingw32/sys-root/mingw/bin/bunzip2.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/bzcat.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/bzcmp /usr/i686-w64-mingw32/sys-root/mingw/bin/bzdiff /usr/i686-w64-mingw32/sys-root/mingw/bin/bzegrep /usr/i686-w64-mingw32/sys-root/mingw/bin/bzfgrep /usr/i686-w64-mingw32/sys-root/mingw/bin/bzgrep /usr/i686-w64-mingw32/sys-root/mingw/bin/bzip2.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/bzip2recover.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/bzless /usr/i686-w64-mingw32/sys-root/mingw/bin/bzmore /usr/i686-w64-mingw32/sys-root/mingw/bin/c_rehash /usr/i686-w64-mingw32/sys-root/mingw/bin/envsubst.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gettext.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gettext.sh /usr/i686-w64-mingw32/sys-root/mingw/bin/gettextize /usr/i686-w64-mingw32/sys-root/mingw/bin/iconv.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libasprintf-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libatomic-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libbz2-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libcrypto-3.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libdl.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libecpg.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libecpg_compat.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libexpat-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libffi-8.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgcc_s_dw2-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgettextlib-0-21-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgettextpo-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgettextsrc-0-21-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libintl-8.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libpgtypes.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libpq.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libpython3.11.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libsqlite3-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libssl-3.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libssp-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libstdc++-6.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libtermcap-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libtextstyle-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/make-dummy-cert /usr/i686-w64-mingw32/sys-root/mingw/bin/msgattrib.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgcat.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgcmp.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgcomm.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgconv.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgen.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgexec.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgfilter.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgfmt.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msggrep.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msginit.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgmerge.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgunfmt.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msguniq.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/ngettext.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/openssl.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/pydoc3 /usr/i686-w64-mingw32/sys-root/mingw/bin/pydoc3.11 /usr/i686-w64-mingw32/sys-root/mingw/bin/pyproject-build /usr/i686-w64-mingw32/sys-root/mingw/bin/python3-config /usr/i686-w64-mingw32/sys-root/mingw/bin/python3.11-config /usr/i686-w64-mingw32/sys-root/mingw/bin/python3.11.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/python3.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/python3w.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/recode-sr-latin.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/renew-dummy-cert /usr/i686-w64-mingw32/sys-root/mingw/bin/sqlite3.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/wheel /usr/i686-w64-mingw32/sys-root/mingw/bin/xgettext.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/xmlwf.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/zlib1.dll
+ for i in `ls /usr/i686-w64-mingw32/sys-root/mingw/bin/*|grep -- "-config$"`
++ basename /usr/i686-w64-mingw32/sys-root/mingw/bin/python3-config
++ tr a-z+-. A-ZX_
+ x=PYTHON3_CONFIG
+ declare -x PYTHON3_CONFIG=/usr/i686-w64-mingw32/sys-root/mingw/bin/python3-config
+ export PYTHON3_CONFIG
+ for i in `ls /usr/i686-w64-mingw32/sys-root/mingw/bin/*|grep -- "-config$"`
++ basename /usr/i686-w64-mingw32/sys-root/mingw/bin/python3.11-config
++ tr a-z+-. A-ZX_
+ x=PYTHON3_11_CONFIG
+ declare -x PYTHON3_11_CONFIG=/usr/i686-w64-mingw32/sys-root/mingw/bin/python3.11-config
+ export PYTHON3_11_CONFIG
+ unset x i
++ /usr/bin/python3.11 -c 'import sysconfig; import os; print(os.path.join(sysconfig.get_path("stdlib"), "lib-dynload"))'
+ pylibdynload=/usr/lib64/python3.11/lib-dynload
+ _PYTHON_HOST_PLATFORM=mingw32
+ _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__win32_
+ PYTHONHOME=/usr/i686-w64-mingw32/sys-root/mingw
+ PYTHONPATH=:/usr/i686-w64-mingw32/lib/python3.11:/usr/i686-w64-mingw32/lib/python3.11/site-packages:/usr/lib64/python3.11/lib-dynload:/usr/i686-w64-mingw32/sys-root/mingw/lib/python3.11:/usr/i686-w64-mingw32/sys-root/mingw/lib/python3.11/site-packages
+ PYTHONPLATLIBDIR=lib
+ /usr/bin/python3.11 -m build -n -w -o dist_win32
* Getting build dependencies for wheel...
/usr/i686-w64-mingw32/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
running egg_info
writing psycopg2.egg-info/PKG-INFO
writing dependency_links to psycopg2.egg-info/dependency_links.txt
writing top-level names to psycopg2.egg-info/top_level.txt
reading manifest file 'psycopg2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'psycopg2.egg-info/SOURCES.txt'
* Building wheel...
/usr/i686-w64-mingw32/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.mingw32-cpython-311
creating build/lib.mingw32-cpython-311/psycopg2
copying lib/tz.py -> build/lib.mingw32-cpython-311/psycopg2
copying lib/sql.py -> build/lib.mingw32-cpython-311/psycopg2
copying lib/pool.py -> build/lib.mingw32-cpython-311/psycopg2
copying lib/extras.py -> build/lib.mingw32-cpython-311/psycopg2
copying lib/extensions.py -> build/lib.mingw32-cpython-311/psycopg2
copying lib/errors.py -> build/lib.mingw32-cpython-311/psycopg2
copying lib/errorcodes.py -> build/lib.mingw32-cpython-311/psycopg2
copying lib/_range.py -> build/lib.mingw32-cpython-311/psycopg2
copying lib/_json.py -> build/lib.mingw32-cpython-311/psycopg2
copying lib/_ipaddress.py -> build/lib.mingw32-cpython-311/psycopg2
copying lib/__init__.py -> build/lib.mingw32-cpython-311/psycopg2
running build_ext
building 'psycopg2._psycopg' extension
creating build/temp.mingw32-cpython-311
creating build/temp.mingw32-cpython-311/psycopg
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/adapter_asis.c -o build/temp.mingw32-cpython-311/psycopg/adapter_asis.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/adapter_asis.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/adapter_binary.c -o build/temp.mingw32-cpython-311/psycopg/adapter_binary.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/adapter_binary.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/adapter_datetime.c -o build/temp.mingw32-cpython-311/psycopg/adapter_datetime.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/adapter_datetime.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/adapter_list.c -o build/temp.mingw32-cpython-311/psycopg/adapter_list.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/adapter_list.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/adapter_pboolean.c -o build/temp.mingw32-cpython-311/psycopg/adapter_pboolean.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/adapter_pboolean.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/adapter_pdecimal.c -o build/temp.mingw32-cpython-311/psycopg/adapter_pdecimal.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/adapter_pdecimal.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/adapter_pfloat.c -o build/temp.mingw32-cpython-311/psycopg/adapter_pfloat.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/adapter_pfloat.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/adapter_pint.c -o build/temp.mingw32-cpython-311/psycopg/adapter_pint.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/adapter_pint.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/adapter_qstring.c -o build/temp.mingw32-cpython-311/psycopg/adapter_qstring.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/adapter_qstring.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/aix_support.c -o build/temp.mingw32-cpython-311/psycopg/aix_support.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/aix_support.c:29:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/bytes_format.c -o build/temp.mingw32-cpython-311/psycopg/bytes_format.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/bytes_format.c:82:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/column_type.c -o build/temp.mingw32-cpython-311/psycopg/column_type.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/column_type.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/connection_int.c -o build/temp.mingw32-cpython-311/psycopg/connection_int.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/connection_int.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/connection_type.c -o build/temp.mingw32-cpython-311/psycopg/connection_type.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/connection_type.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/conninfo_type.c -o build/temp.mingw32-cpython-311/psycopg/conninfo_type.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/conninfo_type.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/cursor_int.c -o build/temp.mingw32-cpython-311/psycopg/cursor_int.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/cursor_int.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/cursor_type.c -o build/temp.mingw32-cpython-311/psycopg/cursor_type.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/cursor_type.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/diagnostics_type.c -o build/temp.mingw32-cpython-311/psycopg/diagnostics_type.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/diagnostics_type.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/error_type.c -o build/temp.mingw32-cpython-311/psycopg/error_type.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/error_type.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/green.c -o build/temp.mingw32-cpython-311/psycopg/green.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/green.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/libpq_support.c -o build/temp.mingw32-cpython-311/psycopg/libpq_support.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/libpq_support.c:30:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/lobject_int.c -o build/temp.mingw32-cpython-311/psycopg/lobject_int.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/lobject_int.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/lobject_type.c -o build/temp.mingw32-cpython-311/psycopg/lobject_type.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/lobject_type.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/microprotocols.c -o build/temp.mingw32-cpython-311/psycopg/microprotocols.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/microprotocols.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/microprotocols_proto.c -o build/temp.mingw32-cpython-311/psycopg/microprotocols_proto.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/microprotocols_proto.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/notify_type.c -o build/temp.mingw32-cpython-311/psycopg/notify_type.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/notify_type.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/pqpath.c -o build/temp.mingw32-cpython-311/psycopg/pqpath.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/pqpath.c:34:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/psycopgmodule.c -o build/temp.mingw32-cpython-311/psycopg/psycopgmodule.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/psycopgmodule.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/replication_connection_type.c -o build/temp.mingw32-cpython-311/psycopg/replication_connection_type.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/replication_connection_type.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/replication_cursor_type.c -o build/temp.mingw32-cpython-311/psycopg/replication_cursor_type.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/replication_cursor_type.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/replication_message_type.c -o build/temp.mingw32-cpython-311/psycopg/replication_message_type.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/replication_message_type.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/solaris_support.c -o build/temp.mingw32-cpython-311/psycopg/solaris_support.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/solaris_support.c:29:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/typecast.c -o build/temp.mingw32-cpython-311/psycopg/typecast.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/typecast.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/utils.c -o build/temp.mingw32-cpython-311/psycopg/utils.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/utils.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/win32_support.c -o build/temp.mingw32-cpython-311/psycopg/win32_support.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/win32_support.c:28:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
i686-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/i686-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/xid_type.c -o build/temp.mingw32-cpython-311/psycopg/xid_type.o -Wdeclaration-after-statement
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/xid_type.c:29:
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/i686-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
writing build/temp.mingw32-cpython-311/psycopg/_psycopg.cpython-311.def
i686-w64-mingw32-gcc -shared -Wl,--enable-auto-image-base -fstack-protector -lssp -fstack-protector -lssp -fstack-protector -lssp -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 build/temp.mingw32-cpython-311/psycopg/adapter_asis.o build/temp.mingw32-cpython-311/psycopg/adapter_binary.o build/temp.mingw32-cpython-311/psycopg/adapter_datetime.o build/temp.mingw32-cpython-311/psycopg/adapter_list.o build/temp.mingw32-cpython-311/psycopg/adapter_pboolean.o build/temp.mingw32-cpython-311/psycopg/adapter_pdecimal.o build/temp.mingw32-cpython-311/psycopg/adapter_pfloat.o build/temp.mingw32-cpython-311/psycopg/adapter_pint.o build/temp.mingw32-cpython-311/psycopg/adapter_qstring.o build/temp.mingw32-cpython-311/psycopg/aix_support.o build/temp.mingw32-cpython-311/psycopg/bytes_format.o build/temp.mingw32-cpython-311/psycopg/column_type.o build/temp.mingw32-cpython-311/psycopg/connection_int.o build/temp.mingw32-cpython-311/psycopg/connection_type.o build/temp.mingw32-cpython-311/psycopg/conninfo_type.o build/temp.mingw32-cpython-311/psycopg/cursor_int.o build/temp.mingw32-cpython-311/psycopg/cursor_type.o build/temp.mingw32-cpython-311/psycopg/diagnostics_type.o build/temp.mingw32-cpython-311/psycopg/error_type.o build/temp.mingw32-cpython-311/psycopg/green.o build/temp.mingw32-cpython-311/psycopg/libpq_support.o build/temp.mingw32-cpython-311/psycopg/lobject_int.o build/temp.mingw32-cpython-311/psycopg/lobject_type.o build/temp.mingw32-cpython-311/psycopg/microprotocols.o build/temp.mingw32-cpython-311/psycopg/microprotocols_proto.o build/temp.mingw32-cpython-311/psycopg/notify_type.o build/temp.mingw32-cpython-311/psycopg/pqpath.o build/temp.mingw32-cpython-311/psycopg/psycopgmodule.o build/temp.mingw32-cpython-311/psycopg/replication_connection_type.o build/temp.mingw32-cpython-311/psycopg/replication_cursor_type.o build/temp.mingw32-cpython-311/psycopg/replication_message_type.o build/temp.mingw32-cpython-311/psycopg/solaris_support.o build/temp.mingw32-cpython-311/psycopg/typecast.o build/temp.mingw32-cpython-311/psycopg/utils.o build/temp.mingw32-cpython-311/psycopg/win32_support.o build/temp.mingw32-cpython-311/psycopg/xid_type.o build/temp.mingw32-cpython-311/psycopg/_psycopg.cpython-311.def -L/usr/i686-w64-mingw32/sys-root/mingw/lib -L/usr/i686-w64-mingw32/sys-root/mingw/lib -lpython3.11 -ldl -lpthread -lversion -lshlwapi -lpathcch -lbcrypt -lpq -lws2_32 -o build/lib.mingw32-cpython-311/psycopg2/_psycopg.cpython-311.dll
installing to build/bdist.mingw32/wheel
running install
running install_lib
creating build/bdist.mingw32
creating build/bdist.mingw32/wheel
creating build/bdist.mingw32/wheel/psycopg2
copying build/lib.mingw32-cpython-311/psycopg2/_psycopg.cpython-311.dll -> build/bdist.mingw32/wheel/psycopg2
copying build/lib.mingw32-cpython-311/psycopg2/__init__.py -> build/bdist.mingw32/wheel/psycopg2
copying build/lib.mingw32-cpython-311/psycopg2/_ipaddress.py -> build/bdist.mingw32/wheel/psycopg2
copying build/lib.mingw32-cpython-311/psycopg2/_json.py -> build/bdist.mingw32/wheel/psycopg2
copying build/lib.mingw32-cpython-311/psycopg2/_range.py -> build/bdist.mingw32/wheel/psycopg2
copying build/lib.mingw32-cpython-311/psycopg2/errorcodes.py -> build/bdist.mingw32/wheel/psycopg2
copying build/lib.mingw32-cpython-311/psycopg2/errors.py -> build/bdist.mingw32/wheel/psycopg2
copying build/lib.mingw32-cpython-311/psycopg2/extensions.py -> build/bdist.mingw32/wheel/psycopg2
copying build/lib.mingw32-cpython-311/psycopg2/extras.py -> build/bdist.mingw32/wheel/psycopg2
copying build/lib.mingw32-cpython-311/psycopg2/pool.py -> build/bdist.mingw32/wheel/psycopg2
copying build/lib.mingw32-cpython-311/psycopg2/sql.py -> build/bdist.mingw32/wheel/psycopg2
copying build/lib.mingw32-cpython-311/psycopg2/tz.py -> build/bdist.mingw32/wheel/psycopg2
running install_egg_info
running egg_info
writing psycopg2.egg-info/PKG-INFO
writing dependency_links to psycopg2.egg-info/dependency_links.txt
writing top-level names to psycopg2.egg-info/top_level.txt
reading manifest file 'psycopg2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'psycopg2.egg-info/SOURCES.txt'
Copying psycopg2.egg-info to build/bdist.mingw32/wheel/psycopg2-2.9.3-py3.11.egg-info
running install_scripts
creating build/bdist.mingw32/wheel/psycopg2-2.9.3.dist-info/WHEEL
creating '/builddir/build/BUILD/psycopg2-2.9.3/dist_win32/tmpbi8eqwld/psycopg2-2.9.3-cp311-cp311-mingw32.whl' and adding 'build/bdist.mingw32/wheel' to it
adding 'psycopg2/__init__.py'
adding 'psycopg2/_ipaddress.py'
adding 'psycopg2/_json.py'
adding 'psycopg2/_psycopg.cpython-311.dll'
adding 'psycopg2/_range.py'
adding 'psycopg2/errorcodes.py'
adding 'psycopg2/errors.py'
adding 'psycopg2/extensions.py'
adding 'psycopg2/extras.py'
adding 'psycopg2/pool.py'
adding 'psycopg2/sql.py'
adding 'psycopg2/tz.py'
adding 'psycopg2-2.9.3.dist-info/LICENSE'
adding 'psycopg2-2.9.3.dist-info/METADATA'
adding 'psycopg2-2.9.3.dist-info/WHEEL'
adding 'psycopg2-2.9.3.dist-info/top_level.txt'
adding 'psycopg2-2.9.3.dist-info/RECORD'
removing build/bdist.mingw32/wheel
Successfully built psycopg2-2.9.3-cp311-cp311-mingw32.whl
++ /usr/bin/env
++ /usr/bin/cut -d= -f1
++ grep -Evw 'PWD|USER|LANG'
++ grep -E '^(w+)=(.*)$'
+ unset
+ test -z /builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
+ PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
+ export PATH
+ HOST_CC=gcc
+ export HOST_CC
+ unset PKG_CONFIG_PATH
+ _PREFIX=/usr/bin/x86_64-w64-mingw32-
++ grep -v gcc-
++ ls -1 /usr/bin/x86_64-w64-mingw32-addr2line /usr/bin/x86_64-w64-mingw32-ar /usr/bin/x86_64-w64-mingw32-as /usr/bin/x86_64-w64-mingw32-c++ /usr/bin/x86_64-w64-mingw32-c++filt /usr/bin/x86_64-w64-mingw32-cpp /usr/bin/x86_64-w64-mingw32-dlltool /usr/bin/x86_64-w64-mingw32-dllwrap /usr/bin/x86_64-w64-mingw32-elfedit /usr/bin/x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-12.2.1 /usr/bin/x86_64-w64-mingw32-gcc-ar /usr/bin/x86_64-w64-mingw32-gcc-nm /usr/bin/x86_64-w64-mingw32-gcc-ranlib /usr/bin/x86_64-w64-mingw32-gcov /usr/bin/x86_64-w64-mingw32-gcov-dump /usr/bin/x86_64-w64-mingw32-gcov-tool /usr/bin/x86_64-w64-mingw32-gprof /usr/bin/x86_64-w64-mingw32-ld /usr/bin/x86_64-w64-mingw32-ld.bfd /usr/bin/x86_64-w64-mingw32-lto-dump /usr/bin/x86_64-w64-mingw32-nm /usr/bin/x86_64-w64-mingw32-objcopy /usr/bin/x86_64-w64-mingw32-objdump /usr/bin/x86_64-w64-mingw32-pkg-config /usr/bin/x86_64-w64-mingw32-ranlib /usr/bin/x86_64-w64-mingw32-readelf /usr/bin/x86_64-w64-mingw32-size /usr/bin/x86_64-w64-mingw32-strings /usr/bin/x86_64-w64-mingw32-strip /usr/bin/x86_64-w64-mingw32-windmc /usr/bin/x86_64-w64-mingw32-windres
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-addr2line
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
+ x=ADDR2LINE
+ declare -x ADDR2LINE=/usr/bin/x86_64-w64-mingw32-addr2line
+ export ADDR2LINE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ tr a-z+-. A-ZX__
++ echo /usr/bin/x86_64-w64-mingw32-ar
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
+ x=AR
+ declare -x AR=/usr/bin/x86_64-w64-mingw32-ar
+ export AR
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-as
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
+ x=AS
+ declare -x AS=/usr/bin/x86_64-w64-mingw32-as
+ export AS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-c++
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
+ x=CXX
+ declare -x CXX=/usr/bin/x86_64-w64-mingw32-c++
+ export CXX
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-c++filt
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=CXXFILT
+ declare -x CXXFILT=/usr/bin/x86_64-w64-mingw32-c++filt
+ export CXXFILT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-cpp
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
+ x=CPP
+ declare -x CPP=/usr/bin/x86_64-w64-mingw32-cpp
+ export CPP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-dlltool
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
+ x=DLLTOOL
+ declare -x DLLTOOL=/usr/bin/x86_64-w64-mingw32-dlltool
+ export DLLTOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-dllwrap
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=DLLWRAP
+ declare -x DLLWRAP=/usr/bin/x86_64-w64-mingw32-dllwrap
+ export DLLWRAP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ echo /usr/bin/x86_64-w64-mingw32-elfedit
++ tr a-z+-. A-ZX__
+ x=ELFEDIT
+ declare -x ELFEDIT=/usr/bin/x86_64-w64-mingw32-elfedit
+ export ELFEDIT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-g++
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GXX
+ declare -x GXX=/usr/bin/x86_64-w64-mingw32-g++
+ export GXX
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gcc
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCC
+ declare -x GCC=/usr/bin/x86_64-w64-mingw32-gcc
+ export GCC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gcov
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV
+ declare -x GCOV=/usr/bin/x86_64-w64-mingw32-gcov
+ export GCOV
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gcov-dump
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV_DUMP
+ declare -x GCOV_DUMP=/usr/bin/x86_64-w64-mingw32-gcov-dump
+ export GCOV_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ echo /usr/bin/x86_64-w64-mingw32-gcov-tool
++ tr a-z+-. A-ZX__
+ x=GCOV_TOOL
+ declare -x GCOV_TOOL=/usr/bin/x86_64-w64-mingw32-gcov-tool
+ export GCOV_TOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ echo /usr/bin/x86_64-w64-mingw32-gprof
++ tr a-z+-. A-ZX__
+ x=GPROF
+ declare -x GPROF=/usr/bin/x86_64-w64-mingw32-gprof
+ export GPROF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ echo /usr/bin/x86_64-w64-mingw32-ld
++ tr a-z+-. A-ZX__
+ x=LD
+ declare -x LD=/usr/bin/x86_64-w64-mingw32-ld
+ export LD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ echo /usr/bin/x86_64-w64-mingw32-ld.bfd
+ x=LD_BFD
+ declare -x LD_BFD=/usr/bin/x86_64-w64-mingw32-ld.bfd
+ export LD_BFD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
++ echo /usr/bin/x86_64-w64-mingw32-lto-dump
+ x=LTO_DUMP
+ declare -x LTO_DUMP=/usr/bin/x86_64-w64-mingw32-lto-dump
+ export LTO_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ echo /usr/bin/x86_64-w64-mingw32-nm
+ x=NM
+ declare -x NM=/usr/bin/x86_64-w64-mingw32-nm
+ export NM
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ echo /usr/bin/x86_64-w64-mingw32-objcopy
++ tr a-z+-. A-ZX__
+ x=OBJCOPY
+ declare -x OBJCOPY=/usr/bin/x86_64-w64-mingw32-objcopy
+ export OBJCOPY
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ echo /usr/bin/x86_64-w64-mingw32-objdump
++ tr a-z+-. A-ZX__
+ x=OBJDUMP
+ declare -x OBJDUMP=/usr/bin/x86_64-w64-mingw32-objdump
+ export OBJDUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ echo /usr/bin/x86_64-w64-mingw32-pkg-config
++ tr a-z+-. A-ZX__
+ x=PKG_CONFIG
+ declare -x PKG_CONFIG=/usr/bin/x86_64-w64-mingw32-pkg-config
+ export PKG_CONFIG
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ echo /usr/bin/x86_64-w64-mingw32-ranlib
++ tr a-z+-. A-ZX__
+ x=RANLIB
+ declare -x RANLIB=/usr/bin/x86_64-w64-mingw32-ranlib
+ export RANLIB
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ echo /usr/bin/x86_64-w64-mingw32-readelf
++ tr a-z+-. A-ZX__
+ x=READELF
+ declare -x READELF=/usr/bin/x86_64-w64-mingw32-readelf
+ export READELF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ echo /usr/bin/x86_64-w64-mingw32-size
++ tr a-z+-. A-ZX__
+ x=SIZE
+ declare -x SIZE=/usr/bin/x86_64-w64-mingw32-size
+ export SIZE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ echo /usr/bin/x86_64-w64-mingw32-strings
++ tr a-z+-. A-ZX__
+ x=STRINGS
+ declare -x STRINGS=/usr/bin/x86_64-w64-mingw32-strings
+ export STRINGS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ echo /usr/bin/x86_64-w64-mingw32-strip
++ tr a-z+-. A-ZX__
+ x=STRIP
+ declare -x STRIP=/usr/bin/x86_64-w64-mingw32-strip
+ export STRIP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ echo /usr/bin/x86_64-w64-mingw32-windmc
++ tr a-z+-. A-ZX__
+ x=WINDMC
+ declare -x WINDMC=/usr/bin/x86_64-w64-mingw32-windmc
+ export WINDMC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ echo /usr/bin/x86_64-w64-mingw32-windres
++ tr a-z+-. A-ZX__
+ x=WINDRES
+ declare -x WINDRES=/usr/bin/x86_64-w64-mingw32-windres
+ export WINDRES
+ unset _PREFIX
+ CC=x86_64-w64-mingw32-gcc
+ export CC
+ CFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export CFLAGS
+ CPPFLAGS=
+ export CPPFLAGS
+ '[' -x /usr/bin/x86_64-w64-mingw32-g++ ']'
+ CXX=x86_64-w64-mingw32-g++
+ export CXX
+ CXXFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FCFLAGS
+ LDFLAGS='-fstack-protector -lssp'
+ export LDFLAGS
++ ls /usr/x86_64-w64-mingw32/sys-root/mingw/bin/2to3-3.11 /usr/x86_64-w64-mingw32/sys-root/mingw/bin/autopoint /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bunzip2.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzcat.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzcmp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzdiff /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzegrep /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzfgrep /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzgrep /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzip2.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzip2recover.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzless /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzmore /usr/x86_64-w64-mingw32/sys-root/mingw/bin/c_rehash /usr/x86_64-w64-mingw32/sys-root/mingw/bin/envsubst.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gettext.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gettext.sh /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gettextize /usr/x86_64-w64-mingw32/sys-root/mingw/bin/iconv.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libasprintf-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libatomic-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libbz2-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libcrypto-3-x64.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libdl.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libecpg.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libecpg_compat.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libexpat-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libffi-8.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgcc_s_seh-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgettextlib-0-21-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgettextpo-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgettextsrc-0-21-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libintl-8.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libpgtypes.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libpq.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libpython3.11.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libsqlite3-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libssl-3-x64.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libssp-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libstdc++-6.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libtermcap-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libtextstyle-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/make-dummy-cert /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgattrib.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgcat.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgcmp.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgcomm.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgconv.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgen.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgexec.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgfilter.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgfmt.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msggrep.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msginit.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgmerge.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgunfmt.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msguniq.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/ngettext.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/openssl.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/pydoc3 /usr/x86_64-w64-mingw32/sys-root/mingw/bin/pydoc3.11 /usr/x86_64-w64-mingw32/sys-root/mingw/bin/pyproject-build /usr/x86_64-w64-mingw32/sys-root/mingw/bin/python3-config /usr/x86_64-w64-mingw32/sys-root/mingw/bin/python3.11-config /usr/x86_64-w64-mingw32/sys-root/mingw/bin/python3.11.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/python3.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/python3w.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/recode-sr-latin.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/renew-dummy-cert /usr/x86_64-w64-mingw32/sys-root/mingw/bin/sqlite3.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/wheel /usr/x86_64-w64-mingw32/sys-root/mingw++ grep -- '-config$'
/bin/xgettext.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/xmlwf.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/zlib1.dll
+ for i in `ls /usr/x86_64-w64-mingw32/sys-root/mingw/bin/*|grep -- "-config$"`
++ tr a-z+-. A-ZX_
++ basename /usr/x86_64-w64-mingw32/sys-root/mingw/bin/python3-config
+ x=PYTHON3_CONFIG
+ declare -x PYTHON3_CONFIG=/usr/x86_64-w64-mingw32/sys-root/mingw/bin/python3-config
+ export PYTHON3_CONFIG
+ for i in `ls /usr/x86_64-w64-mingw32/sys-root/mingw/bin/*|grep -- "-config$"`
++ tr a-z+-. A-ZX_
++ basename /usr/x86_64-w64-mingw32/sys-root/mingw/bin/python3.11-config
+ x=PYTHON3_11_CONFIG
+ declare -x PYTHON3_11_CONFIG=/usr/x86_64-w64-mingw32/sys-root/mingw/bin/python3.11-config
+ export PYTHON3_11_CONFIG
+ unset x i
++ /usr/bin/python3.11 -c 'import sysconfig; import os; print(os.path.join(sysconfig.get_path("stdlib"), "lib-dynload"))'
+ pylibdynload=/usr/lib64/python3.11/lib-dynload
+ _PYTHON_HOST_PLATFORM=mingw64
+ _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__win32_
+ PYTHONHOME=/usr/x86_64-w64-mingw32/sys-root/mingw
+ PYTHONPATH=:/usr/x86_64-w64-mingw32/lib/python3.11:/usr/x86_64-w64-mingw32/lib/python3.11/site-packages:/usr/lib64/python3.11/lib-dynload:/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.11:/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.11/site-packages
+ PYTHONPLATLIBDIR=lib
+ /usr/bin/python3.11 -m build -n -w -o dist_win64
* Getting build dependencies for wheel...
/usr/x86_64-w64-mingw32/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
running egg_info
writing psycopg2.egg-info/PKG-INFO
writing dependency_links to psycopg2.egg-info/dependency_links.txt
writing top-level names to psycopg2.egg-info/top_level.txt
reading manifest file 'psycopg2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'psycopg2.egg-info/SOURCES.txt'
* Building wheel...
/usr/x86_64-w64-mingw32/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
running bdist_wheel
running build
running build_py
creating build/lib.mingw64-cpython-311
creating build/lib.mingw64-cpython-311/psycopg2
copying lib/tz.py -> build/lib.mingw64-cpython-311/psycopg2
copying lib/sql.py -> build/lib.mingw64-cpython-311/psycopg2
copying lib/pool.py -> build/lib.mingw64-cpython-311/psycopg2
copying lib/extras.py -> build/lib.mingw64-cpython-311/psycopg2
copying lib/extensions.py -> build/lib.mingw64-cpython-311/psycopg2
copying lib/errors.py -> build/lib.mingw64-cpython-311/psycopg2
copying lib/errorcodes.py -> build/lib.mingw64-cpython-311/psycopg2
copying lib/_range.py -> build/lib.mingw64-cpython-311/psycopg2
copying lib/_json.py -> build/lib.mingw64-cpython-311/psycopg2
copying lib/_ipaddress.py -> build/lib.mingw64-cpython-311/psycopg2
copying lib/__init__.py -> build/lib.mingw64-cpython-311/psycopg2
running build_ext
building 'psycopg2._psycopg' extension
creating build/temp.mingw64-cpython-311
creating build/temp.mingw64-cpython-311/psycopg
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/adapter_asis.c -o build/temp.mingw64-cpython-311/psycopg/adapter_asis.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/adapter_asis.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/adapter_binary.c -o build/temp.mingw64-cpython-311/psycopg/adapter_binary.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/adapter_binary.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/adapter_datetime.c -o build/temp.mingw64-cpython-311/psycopg/adapter_datetime.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/adapter_datetime.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/adapter_list.c -o build/temp.mingw64-cpython-311/psycopg/adapter_list.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/adapter_list.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/adapter_pboolean.c -o build/temp.mingw64-cpython-311/psycopg/adapter_pboolean.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/adapter_pboolean.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/adapter_pdecimal.c -o build/temp.mingw64-cpython-311/psycopg/adapter_pdecimal.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/adapter_pdecimal.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/adapter_pfloat.c -o build/temp.mingw64-cpython-311/psycopg/adapter_pfloat.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/adapter_pfloat.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/adapter_pint.c -o build/temp.mingw64-cpython-311/psycopg/adapter_pint.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/adapter_pint.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/adapter_qstring.c -o build/temp.mingw64-cpython-311/psycopg/adapter_qstring.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/adapter_qstring.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/aix_support.c -o build/temp.mingw64-cpython-311/psycopg/aix_support.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/aix_support.c:29:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/bytes_format.c -o build/temp.mingw64-cpython-311/psycopg/bytes_format.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/bytes_format.c:82:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/column_type.c -o build/temp.mingw64-cpython-311/psycopg/column_type.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/column_type.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/connection_int.c -o build/temp.mingw64-cpython-311/psycopg/connection_int.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/connection_int.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/connection_type.c -o build/temp.mingw64-cpython-311/psycopg/connection_type.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/connection_type.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/conninfo_type.c -o build/temp.mingw64-cpython-311/psycopg/conninfo_type.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/conninfo_type.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/cursor_int.c -o build/temp.mingw64-cpython-311/psycopg/cursor_int.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/cursor_int.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/cursor_type.c -o build/temp.mingw64-cpython-311/psycopg/cursor_type.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/cursor_type.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/diagnostics_type.c -o build/temp.mingw64-cpython-311/psycopg/diagnostics_type.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/diagnostics_type.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/error_type.c -o build/temp.mingw64-cpython-311/psycopg/error_type.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/error_type.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/green.c -o build/temp.mingw64-cpython-311/psycopg/green.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/green.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/libpq_support.c -o build/temp.mingw64-cpython-311/psycopg/libpq_support.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/libpq_support.c:30:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/lobject_int.c -o build/temp.mingw64-cpython-311/psycopg/lobject_int.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/lobject_int.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/lobject_type.c -o build/temp.mingw64-cpython-311/psycopg/lobject_type.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/lobject_type.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/microprotocols.c -o build/temp.mingw64-cpython-311/psycopg/microprotocols.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/microprotocols.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/microprotocols_proto.c -o build/temp.mingw64-cpython-311/psycopg/microprotocols_proto.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/microprotocols_proto.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/notify_type.c -o build/temp.mingw64-cpython-311/psycopg/notify_type.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/notify_type.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/pqpath.c -o build/temp.mingw64-cpython-311/psycopg/pqpath.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/pqpath.c:34:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/psycopgmodule.c -o build/temp.mingw64-cpython-311/psycopg/psycopgmodule.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/psycopgmodule.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/replication_connection_type.c -o build/temp.mingw64-cpython-311/psycopg/replication_connection_type.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/replication_connection_type.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/replication_cursor_type.c -o build/temp.mingw64-cpython-311/psycopg/replication_cursor_type.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/replication_cursor_type.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/replication_message_type.c -o build/temp.mingw64-cpython-311/psycopg/replication_message_type.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/replication_message_type.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/solaris_support.c -o build/temp.mingw64-cpython-311/psycopg/solaris_support.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/solaris_support.c:29:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/typecast.c -o build/temp.mingw64-cpython-311/psycopg/typecast.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/typecast.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/utils.c -o build/temp.mingw64-cpython-311/psycopg/utils.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/utils.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/win32_support.c -o build/temp.mingw64-cpython-311/psycopg/win32_support.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/win32_support.c:28:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -DMS_WINDOWS -DMS_WIN32 -DMS_WIN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "-DPSYCOPG_VERSION=2.9.3 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -D__CRT__NO_INLINE=1 -DPG_VERSION_NUM=150001 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11 -I. -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/postgresql/server -c psycopg/xid_type.c -o build/temp.mingw64-cpython-311/psycopg/xid_type.o -Wdeclaration-after-statement
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/unicodeobject.h:1042,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/Python.h:51,
                 from ./psycopg/psycopg.h:35,
                 from psycopg/xid_type.c:29:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:657:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  657 |         (void)PyUnicode_AsUnicode(op);
      |         ^
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:660:5: warning: 'PyUnicode_WSTR_LENGTH' is deprecated [-Wdeprecated-declarations]
  660 |     return PyUnicode_WSTR_LENGTH(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:633:26: note: declared here
  633 | static inline Py_ssize_t PyUnicode_WSTR_LENGTH(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:672:5: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  672 |     return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
      |                          ^~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_UNICODE':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:694:5: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
  694 |     return PyUnicode_AsUnicode(op);
      |     ^~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:609:45: note: declared here
  609 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_AS_DATA':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:706:5: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  706 |     Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
      |     ^~~~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here
  685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
      |                           ^~~~~~~~~~~~~~~~~~~~
writing build/temp.mingw64-cpython-311/psycopg/_psycopg.cpython-311.def
x86_64-w64-mingw32-gcc -shared -Wl,--enable-auto-image-base -fstack-protector -lssp -fstack-protector -lssp -fstack-protector -lssp -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 build/temp.mingw64-cpython-311/psycopg/adapter_asis.o build/temp.mingw64-cpython-311/psycopg/adapter_binary.o build/temp.mingw64-cpython-311/psycopg/adapter_datetime.o build/temp.mingw64-cpython-311/psycopg/adapter_list.o build/temp.mingw64-cpython-311/psycopg/adapter_pboolean.o build/temp.mingw64-cpython-311/psycopg/adapter_pdecimal.o build/temp.mingw64-cpython-311/psycopg/adapter_pfloat.o build/temp.mingw64-cpython-311/psycopg/adapter_pint.o build/temp.mingw64-cpython-311/psycopg/adapter_qstring.o build/temp.mingw64-cpython-311/psycopg/aix_support.o build/temp.mingw64-cpython-311/psycopg/bytes_format.o build/temp.mingw64-cpython-311/psycopg/column_type.o build/temp.mingw64-cpython-311/psycopg/connection_int.o build/temp.mingw64-cpython-311/psycopg/connection_type.o build/temp.mingw64-cpython-311/psycopg/conninfo_type.o build/temp.mingw64-cpython-311/psycopg/cursor_int.o build/temp.mingw64-cpython-311/psycopg/cursor_type.o build/temp.mingw64-cpython-311/psycopg/diagnostics_type.o build/temp.mingw64-cpython-311/psycopg/error_type.o build/temp.mingw64-cpython-311/psycopg/green.o build/temp.mingw64-cpython-311/psycopg/libpq_support.o build/temp.mingw64-cpython-311/psycopg/lobject_int.o build/temp.mingw64-cpython-311/psycopg/lobject_type.o build/temp.mingw64-cpython-311/psycopg/microprotocols.o build/temp.mingw64-cpython-311/psycopg/microprotocols_proto.o build/temp.mingw64-cpython-311/psycopg/notify_type.o build/temp.mingw64-cpython-311/psycopg/pqpath.o build/temp.mingw64-cpython-311/psycopg/psycopgmodule.o build/temp.mingw64-cpython-311/psycopg/replication_connection_type.o build/temp.mingw64-cpython-311/psycopg/replication_cursor_type.o build/temp.mingw64-cpython-311/psycopg/replication_message_type.o build/temp.mingw64-cpython-311/psycopg/solaris_support.o build/temp.mingw64-cpython-311/psycopg/typecast.o build/temp.mingw64-cpython-311/psycopg/utils.o build/temp.mingw64-cpython-311/psycopg/win32_support.o build/temp.mingw64-cpython-311/psycopg/xid_type.o build/temp.mingw64-cpython-311/psycopg/_psycopg.cpython-311.def -L/usr/x86_64-w64-mingw32/sys-root/mingw/lib -L/usr/x86_64-w64-mingw32/sys-root/mingw/lib -lpython3.11 -ldl -lpthread -lversion -lshlwapi -lpathcch -lbcrypt -lpq -lws2_32 -o build/lib.mingw64-cpython-311/psycopg2/_psycopg.cpython-311.dll
installing to build/bdist.mingw64/wheel
running install
running install_lib
creating build/bdist.mingw64
creating build/bdist.mingw64/wheel
creating build/bdist.mingw64/wheel/psycopg2
copying build/lib.mingw64-cpython-311/psycopg2/_psycopg.cpython-311.dll -> build/bdist.mingw64/wheel/psycopg2
copying build/lib.mingw64-cpython-311/psycopg2/__init__.py -> build/bdist.mingw64/wheel/psycopg2
copying build/lib.mingw64-cpython-311/psycopg2/_ipaddress.py -> build/bdist.mingw64/wheel/psycopg2
copying build/lib.mingw64-cpython-311/psycopg2/_json.py -> build/bdist.mingw64/wheel/psycopg2
copying build/lib.mingw64-cpython-311/psycopg2/_range.py -> build/bdist.mingw64/wheel/psycopg2
copying build/lib.mingw64-cpython-311/psycopg2/errorcodes.py -> build/bdist.mingw64/wheel/psycopg2
copying build/lib.mingw64-cpython-311/psycopg2/errors.py -> build/bdist.mingw64/wheel/psycopg2
copying build/lib.mingw64-cpython-311/psycopg2/extensions.py -> build/bdist.mingw64/wheel/psycopg2
copying build/lib.mingw64-cpython-311/psycopg2/extras.py -> build/bdist.mingw64/wheel/psycopg2
copying build/lib.mingw64-cpython-311/psycopg2/pool.py -> build/bdist.mingw64/wheel/psycopg2
copying build/lib.mingw64-cpython-311/psycopg2/sql.py -> build/bdist.mingw64/wheel/psycopg2
copying build/lib.mingw64-cpython-311/psycopg2/tz.py -> build/bdist.mingw64/wheel/psycopg2
running install_egg_info
running egg_info
writing psycopg2.egg-info/PKG-INFO
writing dependency_links to psycopg2.egg-info/dependency_links.txt
writing top-level names to psycopg2.egg-info/top_level.txt
reading manifest file 'psycopg2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'psycopg2.egg-info/SOURCES.txt'
Copying psycopg2.egg-info to build/bdist.mingw64/wheel/psycopg2-2.9.3-py3.11.egg-info
running install_scripts
creating build/bdist.mingw64/wheel/psycopg2-2.9.3.dist-info/WHEEL
creating '/builddir/build/BUILD/psycopg2-2.9.3/dist_win64/tmp1eboil3y/psycopg2-2.9.3-cp311-cp311-mingw64.whl' and adding 'build/bdist.mingw64/wheel' to it
adding 'psycopg2/__init__.py'
adding 'psycopg2/_ipaddress.py'
adding 'psycopg2/_json.py'
adding 'psycopg2/_psycopg.cpython-311.dll'
adding 'psycopg2/_range.py'
adding 'psycopg2/errorcodes.py'
adding 'psycopg2/errors.py'
adding 'psycopg2/extensions.py'
adding 'psycopg2/extras.py'
adding 'psycopg2/pool.py'
adding 'psycopg2/sql.py'
adding 'psycopg2/tz.py'
adding 'psycopg2-2.9.3.dist-info/LICENSE'
adding 'psycopg2-2.9.3.dist-info/METADATA'
adding 'psycopg2-2.9.3.dist-info/WHEEL'
adding 'psycopg2-2.9.3.dist-info/top_level.txt'
adding 'psycopg2-2.9.3.dist-info/RECORD'
removing build/bdist.mingw64/wheel
Successfully built psycopg2-2.9.3-cp311-cp311-mingw64.whl
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7uSoFk
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/mingw-python-psycopg2-2.9.3-5.fc38.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/mingw-python-psycopg2-2.9.3-5.fc38.x86_64
++ dirname /builddir/build/BUILDROOT/mingw-python-psycopg2-2.9.3-5.fc38.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/mingw-python-psycopg2-2.9.3-5.fc38.x86_64
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd psycopg2-2.9.3
++ grep -E '^(w+)=(.*)$'
++ /usr/bin/env
++ grep -Evw 'PWD|USER|LANG'
++ /usr/bin/cut -d= -f1
+ unset
+ test -z ''
+ PATH_ORIG=/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
+ export PATH_ORIG
+ PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
+ export PATH
+ HOST_CC=gcc
+ export HOST_CC
+ unset PKG_CONFIG_PATH
+ _PREFIX=/usr/bin/i686-w64-mingw32-
++ grep -v gcc-
++ ls -1 /usr/bin/i686-w64-mingw32-addr2line /usr/bin/i686-w64-mingw32-ar /usr/bin/i686-w64-mingw32-as /usr/bin/i686-w64-mingw32-c++ /usr/bin/i686-w64-mingw32-c++filt /usr/bin/i686-w64-mingw32-cpp /usr/bin/i686-w64-mingw32-dlltool /usr/bin/i686-w64-mingw32-dllwrap /usr/bin/i686-w64-mingw32-elfedit /usr/bin/i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-12.2.1 /usr/bin/i686-w64-mingw32-gcc-ar /usr/bin/i686-w64-mingw32-gcc-nm /usr/bin/i686-w64-mingw32-gcc-ranlib /usr/bin/i686-w64-mingw32-gcov /usr/bin/i686-w64-mingw32-gcov-dump /usr/bin/i686-w64-mingw32-gcov-tool /usr/bin/i686-w64-mingw32-gprof /usr/bin/i686-w64-mingw32-ld /usr/bin/i686-w64-mingw32-ld.bfd /usr/bin/i686-w64-mingw32-lto-dump /usr/bin/i686-w64-mingw32-nm /usr/bin/i686-w64-mingw32-objcopy /usr/bin/i686-w64-mingw32-objdump /usr/bin/i686-w64-mingw32-pkg-config /usr/bin/i686-w64-mingw32-ranlib /usr/bin/i686-w64-mingw32-readelf /usr/bin/i686-w64-mingw32-size /usr/bin/i686-w64-mingw32-strings /usr/bin/i686-w64-mingw32-strip /usr/bin/i686-w64-mingw32-windmc /usr/bin/i686-w64-mingw32-windres
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-addr2line
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
+ x=ADDR2LINE
+ declare -x ADDR2LINE=/usr/bin/i686-w64-mingw32-addr2line
+ export ADDR2LINE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-ar
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
+ x=AR
+ declare -x AR=/usr/bin/i686-w64-mingw32-ar
+ export AR
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ echo /usr/bin/i686-w64-mingw32-as
++ tr a-z+-. A-ZX__
+ x=AS
+ declare -x AS=/usr/bin/i686-w64-mingw32-as
+ export AS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-c++
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
+ x=CXX
+ declare -x CXX=/usr/bin/i686-w64-mingw32-c++
+ export CXX
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-c++filt
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=CXXFILT
+ declare -x CXXFILT=/usr/bin/i686-w64-mingw32-c++filt
+ export CXXFILT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-cpp
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
+ x=CPP
+ declare -x CPP=/usr/bin/i686-w64-mingw32-cpp
+ export CPP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-dlltool
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=DLLTOOL
+ declare -x DLLTOOL=/usr/bin/i686-w64-mingw32-dlltool
+ export DLLTOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-dllwrap
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
+ x=DLLWRAP
+ declare -x DLLWRAP=/usr/bin/i686-w64-mingw32-dllwrap
+ export DLLWRAP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-elfedit
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
+ x=ELFEDIT
+ declare -x ELFEDIT=/usr/bin/i686-w64-mingw32-elfedit
+ export ELFEDIT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-g++
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
+ x=GXX
+ declare -x GXX=/usr/bin/i686-w64-mingw32-g++
+ export GXX
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gcc
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
+ x=GCC
+ declare -x GCC=/usr/bin/i686-w64-mingw32-gcc
+ export GCC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gcov
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
+ x=GCOV
+ declare -x GCOV=/usr/bin/i686-w64-mingw32-gcov
+ export GCOV
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gcov-dump
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
+ x=GCOV_DUMP
+ declare -x GCOV_DUMP=/usr/bin/i686-w64-mingw32-gcov-dump
+ export GCOV_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-gcov-tool
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV_TOOL
+ declare -x GCOV_TOOL=/usr/bin/i686-w64-mingw32-gcov-tool
+ export GCOV_TOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ echo /usr/bin/i686-w64-mingw32-gprof
+ x=GPROF
+ declare -x GPROF=/usr/bin/i686-w64-mingw32-gprof
+ export GPROF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-ld
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LD
+ declare -x LD=/usr/bin/i686-w64-mingw32-ld
+ export LD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-ld.bfd
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
+ x=LD_BFD
+ declare -x LD_BFD=/usr/bin/i686-w64-mingw32-ld.bfd
+ export LD_BFD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-lto-dump
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
+ x=LTO_DUMP
+ declare -x LTO_DUMP=/usr/bin/i686-w64-mingw32-lto-dump
+ export LTO_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-nm
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=NM
+ declare -x NM=/usr/bin/i686-w64-mingw32-nm
+ export NM
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-objcopy
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
+ x=OBJCOPY
+ declare -x OBJCOPY=/usr/bin/i686-w64-mingw32-objcopy
+ export OBJCOPY
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-objdump
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
+ x=OBJDUMP
+ declare -x OBJDUMP=/usr/bin/i686-w64-mingw32-objdump
+ export OBJDUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-pkg-config
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
+ x=PKG_CONFIG
+ declare -x PKG_CONFIG=/usr/bin/i686-w64-mingw32-pkg-config
+ export PKG_CONFIG
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-ranlib
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=RANLIB
+ declare -x RANLIB=/usr/bin/i686-w64-mingw32-ranlib
+ export RANLIB
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-readelf
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=READELF
+ declare -x READELF=/usr/bin/i686-w64-mingw32-readelf
+ export READELF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
++ echo /usr/bin/i686-w64-mingw32-size
+ x=SIZE
+ declare -x SIZE=/usr/bin/i686-w64-mingw32-size
+ export SIZE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-strings
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=STRINGS
+ declare -x STRINGS=/usr/bin/i686-w64-mingw32-strings
+ export STRINGS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-strip
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=STRIP
+ declare -x STRIP=/usr/bin/i686-w64-mingw32-strip
+ export STRIP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-windmc
++ sed s,/usr/bin/i686-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=WINDMC
+ declare -x WINDMC=/usr/bin/i686-w64-mingw32-windmc
+ export WINDMC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/i686-w64-mingw32-windres
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/i686-w64-mingw32-,,
+ x=WINDRES
+ declare -x WINDRES=/usr/bin/i686-w64-mingw32-windres
+ export WINDRES
+ unset _PREFIX
+ CC=i686-w64-mingw32-gcc
+ export CC
+ CFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export CFLAGS
+ CPPFLAGS=
+ export CPPFLAGS
+ '[' -x /usr/bin/i686-w64-mingw32-g++ ']'
+ CXX=i686-w64-mingw32-g++
+ export CXX
+ CXXFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FCFLAGS
+ LDFLAGS='-fstack-protector -lssp'
+ export LDFLAGS
++ grep -- '-config$'
++ ls /usr/i686-w64-mingw32/sys-root/mingw/bin/2to3-3.11 /usr/i686-w64-mingw32/sys-root/mingw/bin/autopoint /usr/i686-w64-mingw32/sys-root/mingw/bin/bunzip2.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/bzcat.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/bzcmp /usr/i686-w64-mingw32/sys-root/mingw/bin/bzdiff /usr/i686-w64-mingw32/sys-root/mingw/bin/bzegrep /usr/i686-w64-mingw32/sys-root/mingw/bin/bzfgrep /usr/i686-w64-mingw32/sys-root/mingw/bin/bzgrep /usr/i686-w64-mingw32/sys-root/mingw/bin/bzip2.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/bzip2recover.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/bzless /usr/i686-w64-mingw32/sys-root/mingw/bin/bzmore /usr/i686-w64-mingw32/sys-root/mingw/bin/c_rehash /usr/i686-w64-mingw32/sys-root/mingw/bin/envsubst.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gettext.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gettext.sh /usr/i686-w64-mingw32/sys-root/mingw/bin/gettextize /usr/i686-w64-mingw32/sys-root/mingw/bin/iconv.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libasprintf-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libatomic-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libbz2-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libcrypto-3.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libdl.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libecpg.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libecpg_compat.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libexpat-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libffi-8.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgcc_s_dw2-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgettextlib-0-21-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgettextpo-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgettextsrc-0-21-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libintl-8.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libpgtypes.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libpq.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libpython3.11.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libsqlite3-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libssl-3.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libssp-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libstdc++-6.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libtermcap-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libtextstyle-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/make-dummy-cert /usr/i686-w64-mingw32/sys-root/mingw/bin/msgattrib.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgcat.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgcmp.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgcomm.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgconv.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgen.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgexec.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgfilter.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgfmt.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msggrep.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msginit.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgmerge.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgunfmt.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msguniq.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/ngettext.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/openssl.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/pydoc3 /usr/i686-w64-mingw32/sys-root/mingw/bin/pydoc3.11 /usr/i686-w64-mingw32/sys-root/mingw/bin/pyproject-build /usr/i686-w64-mingw32/sys-root/mingw/bin/python3-config /usr/i686-w64-mingw32/sys-root/mingw/bin/python3.11-config /usr/i686-w64-mingw32/sys-root/mingw/bin/python3.11.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/python3.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/python3w.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/recode-sr-latin.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/renew-dummy-cert /usr/i686-w64-mingw32/sys-root/mingw/bin/sqlite3.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/wheel /usr/i686-w64-mingw32/sys-root/mingw/bin/xgettext.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/xmlwf.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/zlib1.dll
+ for i in `ls /usr/i686-w64-mingw32/sys-root/mingw/bin/*|grep -- "-config$"`
++ basename /usr/i686-w64-mingw32/sys-root/mingw/bin/python3-config
++ tr a-z+-. A-ZX_
+ x=PYTHON3_CONFIG
+ declare -x PYTHON3_CONFIG=/usr/i686-w64-mingw32/sys-root/mingw/bin/python3-config
+ export PYTHON3_CONFIG
+ for i in `ls /usr/i686-w64-mingw32/sys-root/mingw/bin/*|grep -- "-config$"`
++ tr a-z+-. A-ZX_
++ basename /usr/i686-w64-mingw32/sys-root/mingw/bin/python3.11-config
+ x=PYTHON3_11_CONFIG
+ declare -x PYTHON3_11_CONFIG=/usr/i686-w64-mingw32/sys-root/mingw/bin/python3.11-config
+ export PYTHON3_11_CONFIG
+ unset x i
++ /usr/bin/python3.11 -c 'import sysconfig; import os; print(os.path.join(sysconfig.get_path("stdlib"), "lib-dynload"))'
+ pylibdynload=/usr/lib64/python3.11/lib-dynload
+ _PYTHON_HOST_PLATFORM=mingw32
+ _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__win32_
+ PYTHONHOME=/usr/i686-w64-mingw32/sys-root/mingw
+ PYTHONPATH=:/usr/i686-w64-mingw32/lib/python3.11:/usr/i686-w64-mingw32/lib/python3.11/site-packages:/usr/lib64/python3.11/lib-dynload:/usr/i686-w64-mingw32/sys-root/mingw/lib/python3.11:/usr/i686-w64-mingw32/sys-root/mingw/lib/python3.11/site-packages
+ PYTHONPLATLIBDIR=lib
+ /usr/bin/python3.11 -m installer --destdir /builddir/build/BUILDROOT/mingw-python-psycopg2-2.9.3-5.fc38.x86_64 dist_win32/psycopg2-2.9.3-cp311-cp311-mingw32.whl
++ /usr/bin/env
++ /usr/bin/cut -d= -f1
++ grep -Evw 'PWD|USER|LANG'
++ grep -E '^(w+)=(.*)$'
+ unset
+ test -z /builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
+ PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
+ export PATH
+ HOST_CC=gcc
+ export HOST_CC
+ unset PKG_CONFIG_PATH
+ _PREFIX=/usr/bin/x86_64-w64-mingw32-
++ grep -v gcc-
++ ls -1 /usr/bin/x86_64-w64-mingw32-addr2line /usr/bin/x86_64-w64-mingw32-ar /usr/bin/x86_64-w64-mingw32-as /usr/bin/x86_64-w64-mingw32-c++ /usr/bin/x86_64-w64-mingw32-c++filt /usr/bin/x86_64-w64-mingw32-cpp /usr/bin/x86_64-w64-mingw32-dlltool /usr/bin/x86_64-w64-mingw32-dllwrap /usr/bin/x86_64-w64-mingw32-elfedit /usr/bin/x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-12.2.1 /usr/bin/x86_64-w64-mingw32-gcc-ar /usr/bin/x86_64-w64-mingw32-gcc-nm /usr/bin/x86_64-w64-mingw32-gcc-ranlib /usr/bin/x86_64-w64-mingw32-gcov /usr/bin/x86_64-w64-mingw32-gcov-dump /usr/bin/x86_64-w64-mingw32-gcov-tool /usr/bin/x86_64-w64-mingw32-gprof /usr/bin/x86_64-w64-mingw32-ld /usr/bin/x86_64-w64-mingw32-ld.bfd /usr/bin/x86_64-w64-mingw32-lto-dump /usr/bin/x86_64-w64-mingw32-nm /usr/bin/x86_64-w64-mingw32-objcopy /usr/bin/x86_64-w64-mingw32-objdump /usr/bin/x86_64-w64-mingw32-pkg-config /usr/bin/x86_64-w64-mingw32-ranlib /usr/bin/x86_64-w64-mingw32-readelf /usr/bin/x86_64-w64-mingw32-size /usr/bin/x86_64-w64-mingw32-strings /usr/bin/x86_64-w64-mingw32-strip /usr/bin/x86_64-w64-mingw32-windmc /usr/bin/x86_64-w64-mingw32-windres
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-addr2line
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
+ x=ADDR2LINE
+ declare -x ADDR2LINE=/usr/bin/x86_64-w64-mingw32-addr2line
+ export ADDR2LINE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-ar
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
+ x=AR
+ declare -x AR=/usr/bin/x86_64-w64-mingw32-ar
+ export AR
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ echo /usr/bin/x86_64-w64-mingw32-as
+ x=AS
+ declare -x AS=/usr/bin/x86_64-w64-mingw32-as
+ export AS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-c++
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
+ x=CXX
+ declare -x CXX=/usr/bin/x86_64-w64-mingw32-c++
+ export CXX
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-c++filt
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=CXXFILT
+ declare -x CXXFILT=/usr/bin/x86_64-w64-mingw32-c++filt
+ export CXXFILT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-cpp
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=CPP
+ declare -x CPP=/usr/bin/x86_64-w64-mingw32-cpp
+ export CPP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-dlltool
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
+ x=DLLTOOL
+ declare -x DLLTOOL=/usr/bin/x86_64-w64-mingw32-dlltool
+ export DLLTOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-dllwrap
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=DLLWRAP
+ declare -x DLLWRAP=/usr/bin/x86_64-w64-mingw32-dllwrap
+ export DLLWRAP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-elfedit
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
+ x=ELFEDIT
+ declare -x ELFEDIT=/usr/bin/x86_64-w64-mingw32-elfedit
+ export ELFEDIT
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-g++
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
+ x=GXX
+ declare -x GXX=/usr/bin/x86_64-w64-mingw32-g++
+ export GXX
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gcc
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCC
+ declare -x GCC=/usr/bin/x86_64-w64-mingw32-gcc
+ export GCC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gcov
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
+ x=GCOV
+ declare -x GCOV=/usr/bin/x86_64-w64-mingw32-gcov
+ export GCOV
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gcov-dump
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV_DUMP
+ declare -x GCOV_DUMP=/usr/bin/x86_64-w64-mingw32-gcov-dump
+ export GCOV_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-gcov-tool
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=GCOV_TOOL
+ declare -x GCOV_TOOL=/usr/bin/x86_64-w64-mingw32-gcov-tool
+ export GCOV_TOOL
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ echo /usr/bin/x86_64-w64-mingw32-gprof
+ x=GPROF
+ declare -x GPROF=/usr/bin/x86_64-w64-mingw32-gprof
+ export GPROF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-ld
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LD
+ declare -x LD=/usr/bin/x86_64-w64-mingw32-ld
+ export LD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-ld.bfd
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LD_BFD
+ declare -x LD_BFD=/usr/bin/x86_64-w64-mingw32-ld.bfd
+ export LD_BFD
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-lto-dump
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=LTO_DUMP
+ declare -x LTO_DUMP=/usr/bin/x86_64-w64-mingw32-lto-dump
+ export LTO_DUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ tr a-z+-. A-ZX__
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ echo /usr/bin/x86_64-w64-mingw32-nm
+ x=NM
+ declare -x NM=/usr/bin/x86_64-w64-mingw32-nm
+ export NM
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-objcopy
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=OBJCOPY
+ declare -x OBJCOPY=/usr/bin/x86_64-w64-mingw32-objcopy
+ export OBJCOPY
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-objdump
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=OBJDUMP
+ declare -x OBJDUMP=/usr/bin/x86_64-w64-mingw32-objdump
+ export OBJDUMP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-pkg-config
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=PKG_CONFIG
+ declare -x PKG_CONFIG=/usr/bin/x86_64-w64-mingw32-pkg-config
+ export PKG_CONFIG
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-ranlib
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=RANLIB
+ declare -x RANLIB=/usr/bin/x86_64-w64-mingw32-ranlib
+ export RANLIB
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-readelf
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=READELF
+ declare -x READELF=/usr/bin/x86_64-w64-mingw32-readelf
+ export READELF
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-size
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=SIZE
+ declare -x SIZE=/usr/bin/x86_64-w64-mingw32-size
+ export SIZE
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-strings
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=STRINGS
+ declare -x STRINGS=/usr/bin/x86_64-w64-mingw32-strings
+ export STRINGS
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-strip
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=STRIP
+ declare -x STRIP=/usr/bin/x86_64-w64-mingw32-strip
+ export STRIP
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-windmc
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=WINDMC
+ declare -x WINDMC=/usr/bin/x86_64-w64-mingw32-windmc
+ export WINDMC
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`
++ echo /usr/bin/x86_64-w64-mingw32-windres
++ sed s,/usr/bin/x86_64-w64-mingw32-,,
++ tr a-z+-. A-ZX__
+ x=WINDRES
+ declare -x WINDRES=/usr/bin/x86_64-w64-mingw32-windres
+ export WINDRES
+ unset _PREFIX
+ CC=x86_64-w64-mingw32-gcc
+ export CC
+ CFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export CFLAGS
+ CPPFLAGS=
+ export CPPFLAGS
+ '[' -x /usr/bin/x86_64-w64-mingw32-g++ ']'
+ CXX=x86_64-w64-mingw32-g++
+ export CXX
+ CXXFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4'
+ export FCFLAGS
+ LDFLAGS='-fstack-protector -lssp'
+ export LDFLAGS
++ grep -- '-config$'
++ ls /usr/x86_64-w64-mingw32/sys-root/mingw/bin/2to3-3.11 /usr/x86_64-w64-mingw32/sys-root/mingw/bin/autopoint /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bunzip2.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzcat.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzcmp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzdiff /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzegrep /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzfgrep /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzgrep /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzip2.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzip2recover.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzless /usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzmore /usr/x86_64-w64-mingw32/sys-root/mingw/bin/c_rehash /usr/x86_64-w64-mingw32/sys-root/mingw/bin/envsubst.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gettext.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gettext.sh /usr/x86_64-w64-mingw32/sys-root/mingw/bin/gettextize /usr/x86_64-w64-mingw32/sys-root/mingw/bin/iconv.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libasprintf-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libatomic-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libbz2-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libcrypto-3-x64.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libdl.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libecpg.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libecpg_compat.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libexpat-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libffi-8.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgcc_s_seh-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgettextlib-0-21-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgettextpo-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgettextsrc-0-21-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libintl-8.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libpgtypes.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libpq.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libpython3.11.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libsqlite3-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libssl-3-x64.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libssp-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libstdc++-6.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libtermcap-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libtextstyle-0.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/bin/make-dummy-cert /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgattrib.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgcat.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgcmp.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgcomm.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgconv.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgen.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgexec.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgfilter.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgfmt.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msggrep.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msginit.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgmerge.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msgunfmt.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/msguniq.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/ngettext.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/openssl.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/pydoc3 /usr/x86_64-w64-mingw32/sys-root/mingw/bin/pydoc3.11 /usr/x86_64-w64-mingw32/sys-root/mingw/bin/pyproject-build /usr/x86_64-w64-mingw32/sys-root/mingw/bin/python3-config /usr/x86_64-w64-mingw32/sys-root/mingw/bin/python3.11-config /usr/x86_64-w64-mingw32/sys-root/mingw/bin/python3.11.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/python3.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/python3w.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/recode-sr-latin.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/renew-dummy-cert /usr/x86_64-w64-mingw32/sys-root/mingw/bin/sqlite3.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/wheel /usr/x86_64-w64-mingw32/sys-root/mingw/bin/xgettext.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/xmlwf.exe /usr/x86_64-w64-mingw32/sys-root/mingw/bin/zlib1.dll
+ for i in `ls /usr/x86_64-w64-mingw32/sys-root/mingw/bin/*|grep -- "-config$"`
++ basename /usr/x86_64-w64-mingw32/sys-root/mingw/bin/python3-config
++ tr a-z+-. A-ZX_
+ x=PYTHON3_CONFIG
+ declare -x PYTHON3_CONFIG=/usr/x86_64-w64-mingw32/sys-root/mingw/bin/python3-config
+ export PYTHON3_CONFIG
+ for i in `ls /usr/x86_64-w64-mingw32/sys-root/mingw/bin/*|grep -- "-config$"`
++ basename /usr/x86_64-w64-mingw32/sys-root/mingw/bin/python3.11-config
++ tr a-z+-. A-ZX_
+ x=PYTHON3_11_CONFIG
+ declare -x PYTHON3_11_CONFIG=/usr/x86_64-w64-mingw32/sys-root/mingw/bin/python3.11-config
+ export PYTHON3_11_CONFIG
+ unset x i
++ /usr/bin/python3.11 -c 'import sysconfig; import os; print(os.path.join(sysconfig.get_path("stdlib"), "lib-dynload"))'
+ pylibdynload=/usr/lib64/python3.11/lib-dynload
+ _PYTHON_HOST_PLATFORM=mingw64
+ _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__win32_
+ PYTHONHOME=/usr/x86_64-w64-mingw32/sys-root/mingw
+ PYTHONPATH=:/usr/x86_64-w64-mingw32/lib/python3.11:/usr/x86_64-w64-mingw32/lib/python3.11/site-packages:/usr/lib64/python3.11/lib-dynload:/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.11:/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.11/site-packages
+ PYTHONPLATLIBDIR=lib
+ /usr/bin/python3.11 -m installer --destdir /builddir/build/BUILDROOT/mingw-python-psycopg2-2.9.3-5.fc38.x86_64 dist_win64/psycopg2-2.9.3-cp311-cp311-mingw64.whl
+ /usr/lib/rpm/mingw-find-debuginfo.sh /builddir/build/BUILD/psycopg2-2.9.3 mingw32 mingw64 ucrt64
extracting debug info from /builddir/build/BUILDROOT/mingw-python-psycopg2-2.9.3-5.fc38.x86_64/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.11/site-packages/psycopg2/_psycopg.cpython-311.dll
~/build/BUILDROOT/mingw-python-psycopg2-2.9.3-5.fc38.x86_64/usr/lib/debug/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.11/site-packages/psycopg2 ~/build/BUILD/psycopg2-2.9.3
~/build/BUILD/psycopg2-2.9.3
extracting debug info from /builddir/build/BUILDROOT/mingw-python-psycopg2-2.9.3-5.fc38.x86_64/usr/i686-w64-mingw32/sys-root/mingw/lib/python3.11/site-packages/psycopg2/_psycopg.cpython-311.dll
~/build/BUILDROOT/mingw-python-psycopg2-2.9.3-5.fc38.x86_64/usr/lib/debug/usr/i686-w64-mingw32/sys-root/mingw/lib/python3.11/site-packages/psycopg2 ~/build/BUILD/psycopg2-2.9.3
~/build/BUILD/psycopg2-2.9.3
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-lto mingw-strip
+ /usr/lib/rpm/brp-strip-static-archive mingw-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
+ /usr/lib/rpm/redhat/brp-python-hardlink
Processing files: mingw32-python3-psycopg2-2.9.3-5.fc38.noarch
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.0hjeHP
+ umask 022
+ cd /builddir/build/BUILD
+ cd psycopg2-2.9.3
+ LICENSEDIR=/builddir/build/BUILDROOT/mingw-python-psycopg2-2.9.3-5.fc38.x86_64/usr/share/licenses/mingw32-python3-psycopg2
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/mingw-python-psycopg2-2.9.3-5.fc38.x86_64/usr/share/licenses/mingw32-python3-psycopg2
+ cp -pr LICENSE /builddir/build/BUILDROOT/mingw-python-psycopg2-2.9.3-5.fc38.x86_64/usr/share/licenses/mingw32-python3-psycopg2
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: mingw32(_psycopg.cpython-311.dll) mingw32(python3.11dist(psycopg2)) = 2.9.3 mingw32(python3dist(psycopg2)) = 2.9.3 mingw32-python3-psycopg2 = 2.9.3-5.fc38
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: mingw32(kernel32.dll) mingw32(libgcc_s_dw2-1.dll) mingw32(libpq.dll) mingw32(libpython3.11.dll) mingw32(libssp-0.dll) mingw32(libwinpthread-1.dll) mingw32(msvcrt.dll) mingw32(python(abi)) = 3.11 mingw32(ws2_32.dll) mingw32-crt mingw32-filesystem >= 95
Processing files: mingw64-python3-psycopg2-2.9.3-5.fc38.noarch
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.eMt1k6
+ umask 022
+ cd /builddir/build/BUILD
+ cd psycopg2-2.9.3
+ LICENSEDIR=/builddir/build/BUILDROOT/mingw-python-psycopg2-2.9.3-5.fc38.x86_64/usr/share/licenses/mingw64-python3-psycopg2
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/mingw-python-psycopg2-2.9.3-5.fc38.x86_64/usr/share/licenses/mingw64-python3-psycopg2
+ cp -pr LICENSE /builddir/build/BUILDROOT/mingw-python-psycopg2-2.9.3-5.fc38.x86_64/usr/share/licenses/mingw64-python3-psycopg2
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: mingw64(_psycopg.cpython-311.dll) mingw64(python3.11dist(psycopg2)) = 2.9.3 mingw64(python3dist(psycopg2)) = 2.9.3 mingw64-python3-psycopg2 = 2.9.3-5.fc38
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: mingw64(kernel32.dll) mingw64(libpq.dll) mingw64(libpython3.11.dll) mingw64(libssp-0.dll) mingw64(libwinpthread-1.dll) mingw64(msvcrt.dll) mingw64(python(abi)) = 3.11 mingw64(ws2_32.dll) mingw64-crt mingw64-filesystem >= 95
Processing files: mingw32-python-psycopg2-debuginfo-2.9.3-5.fc38.noarch
Provides: mingw32-python-psycopg2-debuginfo = 2.9.3-5.fc38
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: mingw64-python-psycopg2-debuginfo-2.9.3-5.fc38.noarch
Provides: mingw64-python-psycopg2-debuginfo = 2.9.3-5.fc38
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mingw-python-psycopg2-2.9.3-5.fc38.x86_64
Wrote: /builddir/build/RPMS/mingw32-python-psycopg2-debuginfo-2.9.3-5.fc38.noarch.rpm
Wrote: /builddir/build/RPMS/mingw64-python-psycopg2-debuginfo-2.9.3-5.fc38.noarch.rpm
Wrote: /builddir/build/RPMS/mingw32-python3-psycopg2-2.9.3-5.fc38.noarch.rpm
Wrote: /builddir/build/RPMS/mingw64-python3-psycopg2-2.9.3-5.fc38.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rfUTws
+ umask 022
+ cd /builddir/build/BUILD
+ cd psycopg2-2.9.3
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/mingw-python-psycopg2-2.9.3-5.fc38.x86_64
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.iEMLG0
+ umask 022
+ cd /builddir/build/BUILD
+ rm -rf psycopg2-2.9.3 psycopg2-2.9.3.gemspec
+ RPM_EC=0
++ jobs -p
+ exit 0
Child return code was: 0