Tue Jul 27 09:04:27 UTC 2021 I: starting to build pyodbc/bullseye/arm64 on jenkins on '2021-07-27 09:04' Tue Jul 27 09:04:27 UTC 2021 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/arm64_20/460/console.log Tue Jul 27 09:04:28 UTC 2021 I: Downloading source for bullseye/pyodbc=4.0.30-1 --2021-07-27 09:04:28-- http://cdn-fastly.deb.debian.org/debian/pool/main/p/pyodbc/pyodbc_4.0.30-1.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1713 (1.7K) Saving to: ‘pyodbc_4.0.30-1.dsc’ 0K . 100% 83.9M=0s 2021-07-27 09:04:28 (83.9 MB/s) - ‘pyodbc_4.0.30-1.dsc’ saved [1713/1713] Tue Jul 27 09:04:28 UTC 2021 I: pyodbc_4.0.30-1.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: pyodbc Binary: python3-pyodbc Architecture: any Version: 4.0.30-1 Maintainer: Deepak Tripathi Uploaders: Debian Python Modules Team , Homepage: http://mkleehammer.github.io/pyodbc/ Standards-Version: 4.5.0 Vcs-Browser: https://salsa.debian.org/python-team/modules/pyodbc Vcs-Git: https://salsa.debian.org/python-team/modules/pyodbc.git Testsuite: autopkgtest-pkg-python Build-Depends: debhelper-compat (= 12), dh-python, python3-all-dbg, python3-all-dev, python3-distutils, unixodbc-dev Package-List: python3-pyodbc deb python optional arch=any Checksums-Sha1: 7bc00c28296115fa4e6c40597cadb300088aefc6 266286 pyodbc_4.0.30.orig.tar.gz 46aa4fbfa8144df1263e35aef7232bded56f3214 4028 pyodbc_4.0.30-1.debian.tar.xz Checksums-Sha256: 852b5deeeb3366af8b4408efed993501708be45d221881bce60c9aac54be726a 266286 pyodbc_4.0.30.orig.tar.gz b7462c0d6924ad404ce966fb49778af1a19d818fa0575b0dc951d2f2285771b4 4028 pyodbc_4.0.30-1.debian.tar.xz Files: 056631c35a593d18ff91c7978f397ab9 266286 pyodbc_4.0.30.orig.tar.gz 667ed33cc9f72847e186e38324f8f770 4028 pyodbc_4.0.30-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEqVSlRXW87UkkCnJc/9PIi5l90WoFAl76/AAACgkQ/9PIi5l9 0WpKgwgAvhSCqxfMpbb3l5+1OyzOC8sMMUUseZQ7h1mTSLHyybdhqC9VZ9cKGU4H tKTuUHd5CCfc/qb7t//FQ+l+EwMtFrHeQG79n5KEjACuftDGypODNKoc9X6Ra/iV YMP8ipMu2gcxSUmfC8rHr18x1dWhXfhgHK6+ZwIj2Faigz1m3DOmPxQ3gVk6Dq6k IT9MNFfU58Wf3iyugrn7O5FauR/+3P20+/cGPotyZ29K1cePWmHKebshJYIf0jig BMCx9GOPha31sDqUG5khb/p++TeinmllKQ/8mr6myaH/f2kYQlJRvN1IVYxTEZGN 4YrwpykTZed/76OVJXsi2pRwLVmvmQ== =x13n -----END PGP SIGNATURE----- Tue Jul 27 09:04:28 UTC 2021 I: Checking whether the package is not for us Tue Jul 27 09:04:28 UTC 2021 I: Starting 1st build on remote node codethink13-arm64.debian.net. Tue Jul 27 09:04:28 UTC 2021 I: Preparing to do remote build '1' on codethink13-arm64.debian.net. Tue Jul 27 09:06:05 UTC 2021 I: Deleting $TMPDIR on codethink13-arm64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Mon Aug 29 03:27:30 -12 2022 I: pbuilder-time-stamp: 1661786850 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [pyodbc_4.0.30-1.dsc] I: copying [./pyodbc_4.0.30.orig.tar.gz] I: copying [./pyodbc_4.0.30-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/tmp/dpkg-verify-sig.XcLGqIiT/trustedkeys.kbx': General error gpgv: Signature made Mon Jun 29 20:46:56 2020 -12 gpgv: using RSA key A954A54575BCED49240A725CFFD3C88B997DD16A gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./pyodbc_4.0.30-1.dsc dpkg-source: info: extracting pyodbc in pyodbc-4.0.30 dpkg-source: info: unpacking pyodbc_4.0.30.orig.tar.gz dpkg-source: info: unpacking pyodbc_4.0.30-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-Fix-typos-found-by-lintian.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/19593/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' DISTRIBUTION='' HOME='/var/lib/jenkins' HOST_ARCH='arm64' IFS=' ' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='19593' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.TN2kQBKaUk/pbuilderrc_qLcW --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.TN2kQBKaUk/b1 --logfile b1/build.log pyodbc_4.0.30-1.dsc' SUDO_GID='117' SUDO_UID='110' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' USERNAME='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.16:3128' I: uname -a Linux codethink13-arm64 4.15.0-151-generic #157-Ubuntu SMP Fri Jul 9 21:03:48 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 -rwxr-xr-x 1 root root 1282512 Jun 21 2021 bash -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzcat lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzip2 -rwxr-xr-x 1 root root 14264 Jul 20 2020 bzip2recover lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore -rwxr-xr-x 1 root root 39832 Sep 22 2020 cat -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash -rwxr-xr-x 1 root root 101384 Sep 22 2020 date -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd -rwxr-xr-x 1 root root 89824 Sep 22 2020 df -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir -rwxr-xr-x 1 root root 76152 Feb 7 2021 dmesg lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname -rwxr-xr-x 1 root root 35632 Sep 22 2020 echo -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep -rwxr-xr-x 1 root root 31512 Sep 22 2020 false -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep -rwxr-xr-x 1 root root 64856 Feb 7 2021 findmnt -rwsr-xr-x 1 root root 34824 Feb 26 2021 fusermount -rwxr-xr-x 1 root root 178400 Nov 9 2020 grep -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe -rwxr-xr-x 1 root root 93744 Mar 2 2021 gzip -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln -rwxr-xr-x 1 root root 52720 Feb 7 2020 login -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls -rwxr-xr-x 1 root root 161960 Feb 7 2021 lsblk -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp -rwxr-xr-x 1 root root 51368 Feb 7 2021 more -rwsr-xr-x 1 root root 51360 Feb 7 2021 mount -rwxr-xr-x 1 root root 14496 Feb 7 2021 mountpoint -rwxr-xr-x 1 root root 134808 Sep 22 2020 mv lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd lrwxrwxrwx 1 root root 4 Jun 21 2021 rbash -> bash -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed lrwxrwxrwx 1 root root 4 Aug 27 03:48 sh -> dash -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty -rwsr-xr-x 1 root root 67776 Feb 7 2021 su -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync -rwxr-xr-x 1 root root 535768 Feb 16 2021 tar -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch -rwxr-xr-x 1 root root 31512 Sep 22 2020 true -rwxr-xr-x 1 root root 14264 Feb 26 2021 ulockmgr_server -rwsr-xr-x 1 root root 30880 Feb 7 2021 umount -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir -rwxr-xr-x 1 root root 59584 Feb 7 2021 wdctl lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew I: user script /srv/workspace/pbuilder/19593/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 12), dh-python, python3-all-dbg, python3-all-dev, python3-distutils, unixodbc-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19646 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 12); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-python; however: Package dh-python is not installed. pbuilder-satisfydepends-dummy depends on python3-all-dbg; however: Package python3-all-dbg is not installed. pbuilder-satisfydepends-dummy depends on python3-all-dev; however: Package python3-all-dev is not installed. pbuilder-satisfydepends-dummy depends on python3-distutils; however: Package python3-distutils is not installed. pbuilder-satisfydepends-dummy depends on unixodbc-dev; however: Package unixodbc-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-python{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1{a} libexpat1{a} libexpat1-dev{a} libfile-stripnondeterminism-perl{a} libicu67{a} libjs-jquery{a} libjs-sphinxdoc{a} libjs-underscore{a} libltdl-dev{a} libltdl7{a} libmagic-mgc{a} libmagic1{a} libmpdec3{a} libodbc1{a} libpipeline1{a} libpython3-all-dbg{a} libpython3-all-dev{a} libpython3-dbg{a} libpython3-dev{a} libpython3-stdlib{a} libpython3.9{a} libpython3.9-dbg{a} libpython3.9-dev{a} libpython3.9-minimal{a} libpython3.9-stdlib{a} libreadline8{a} libsigsegv2{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} media-types{a} odbcinst{a} odbcinst1debian2{a} po-debconf{a} python3{a} python3-all{a} python3-all-dbg{a} python3-all-dev{a} python3-dbg{a} python3-dev{a} python3-distutils{a} python3-lib2to3{a} python3-minimal{a} python3.9{a} python3.9-dbg{a} python3.9-dev{a} python3.9-minimal{a} readline-common{a} sensible-utils{a} unixodbc-dev{a} zlib1g-dev{a} The following packages are RECOMMENDED but will NOT be installed: ca-certificates curl gdb gdb-minimal javascript-common libarchive-cpio-perl libmail-sendmail-perl lynx wget 0 packages upgraded, 71 newly installed, 0 to remove and 0 not upgraded. Need to get 66.0 MB of archives. After unpacking 247 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bullseye/main arm64 bsdextrautils arm64 2.36.1-7 [141 kB] Get: 2 http://deb.debian.org/debian bullseye/main arm64 libuchardet0 arm64 0.0.7-1 [67.9 kB] Get: 3 http://deb.debian.org/debian bullseye/main arm64 groff-base arm64 1.22.4-6 [883 kB] Get: 4 http://deb.debian.org/debian bullseye/main arm64 libpipeline1 arm64 1.5.3-1 [33.0 kB] Get: 5 http://deb.debian.org/debian bullseye/main arm64 man-db arm64 2.9.4-2 [1336 kB] Get: 6 http://deb.debian.org/debian bullseye/main arm64 libpython3.9-minimal arm64 3.9.2-1 [797 kB] Get: 7 http://deb.debian.org/debian bullseye/main arm64 libexpat1 arm64 2.2.10-2 [83.1 kB] Get: 8 http://deb.debian.org/debian bullseye/main arm64 python3.9-minimal arm64 3.9.2-1 [1884 kB] Get: 9 http://deb.debian.org/debian bullseye/main arm64 python3-minimal arm64 3.9.2-3 [38.2 kB] Get: 10 http://deb.debian.org/debian bullseye/main arm64 media-types all 4.0.0 [30.3 kB] Get: 11 http://deb.debian.org/debian bullseye/main arm64 libmpdec3 arm64 2.5.1-1 [84.4 kB] Get: 12 http://deb.debian.org/debian bullseye/main arm64 readline-common all 8.1-1 [73.7 kB] Get: 13 http://deb.debian.org/debian bullseye/main arm64 libreadline8 arm64 8.1-1 [160 kB] Get: 14 http://deb.debian.org/debian bullseye/main arm64 libpython3.9-stdlib arm64 3.9.2-1 [1658 kB] Get: 15 http://deb.debian.org/debian bullseye/main arm64 python3.9 arm64 3.9.2-1 [466 kB] Get: 16 http://deb.debian.org/debian bullseye/main arm64 libpython3-stdlib arm64 3.9.2-3 [21.4 kB] Get: 17 http://deb.debian.org/debian bullseye/main arm64 python3 arm64 3.9.2-3 [37.9 kB] Get: 18 http://deb.debian.org/debian bullseye/main arm64 sensible-utils all 0.0.14 [14.8 kB] Get: 19 http://deb.debian.org/debian bullseye/main arm64 libmagic-mgc arm64 1:5.39-3 [273 kB] Get: 20 http://deb.debian.org/debian bullseye/main arm64 libmagic1 arm64 1:5.39-3 [121 kB] Get: 21 http://deb.debian.org/debian bullseye/main arm64 file arm64 1:5.39-3 [69.1 kB] Get: 22 http://deb.debian.org/debian bullseye/main arm64 gettext-base arm64 0.21-4 [173 kB] Get: 23 http://deb.debian.org/debian bullseye/main arm64 libsigsegv2 arm64 2.13-1 [34.7 kB] Get: 24 http://deb.debian.org/debian bullseye/main arm64 m4 arm64 1.4.18-5 [199 kB] Get: 25 http://deb.debian.org/debian bullseye/main arm64 autoconf all 2.69-14 [313 kB] Get: 26 http://deb.debian.org/debian bullseye/main arm64 autotools-dev all 20180224.1+nmu1 [77.1 kB] Get: 27 http://deb.debian.org/debian bullseye/main arm64 automake all 1:1.16.3-2 [814 kB] Get: 28 http://deb.debian.org/debian bullseye/main arm64 autopoint all 0.21-4 [510 kB] Get: 29 http://deb.debian.org/debian bullseye/main arm64 libdebhelper-perl all 13.3.4 [189 kB] Get: 30 http://deb.debian.org/debian bullseye/main arm64 libtool all 2.4.6-15 [513 kB] Get: 31 http://deb.debian.org/debian bullseye/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 32 http://deb.debian.org/debian bullseye/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 33 http://deb.debian.org/debian bullseye/main arm64 libsub-override-perl all 0.09-2 [10.2 kB] Get: 34 http://deb.debian.org/debian bullseye/main arm64 libfile-stripnondeterminism-perl all 1.12.0-1 [26.3 kB] Get: 35 http://deb.debian.org/debian bullseye/main arm64 dh-strip-nondeterminism all 1.12.0-1 [15.4 kB] Get: 36 http://deb.debian.org/debian bullseye/main arm64 libelf1 arm64 0.183-1 [164 kB] Get: 37 http://deb.debian.org/debian bullseye/main arm64 dwz arm64 0.13+20210201-1 [155 kB] Get: 38 http://deb.debian.org/debian bullseye/main arm64 libicu67 arm64 67.1-7 [8467 kB] Get: 39 http://deb.debian.org/debian bullseye/main arm64 libxml2 arm64 2.9.10+dfsg-6.7 [629 kB] Get: 40 http://deb.debian.org/debian bullseye/main arm64 gettext arm64 0.21-4 [1261 kB] Get: 41 http://deb.debian.org/debian bullseye/main arm64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 42 http://deb.debian.org/debian bullseye/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 43 http://deb.debian.org/debian bullseye/main arm64 debhelper all 13.3.4 [1049 kB] Get: 44 http://deb.debian.org/debian bullseye/main arm64 python3-lib2to3 all 3.9.2-1 [77.8 kB] Get: 45 http://deb.debian.org/debian bullseye/main arm64 python3-distutils all 3.9.2-1 [143 kB] Get: 46 http://deb.debian.org/debian bullseye/main arm64 dh-python all 4.20201102+nmu1 [99.4 kB] Get: 47 http://deb.debian.org/debian bullseye/main arm64 libexpat1-dev arm64 2.2.10-2 [126 kB] Get: 48 http://deb.debian.org/debian bullseye/main arm64 libjs-jquery all 3.5.1+dfsg+~3.5.5-7 [315 kB] Get: 49 http://deb.debian.org/debian bullseye/main arm64 libjs-underscore all 1.9.1~dfsg-3 [100 kB] Get: 50 http://deb.debian.org/debian bullseye/main arm64 libjs-sphinxdoc all 3.4.3-2 [127 kB] Get: 51 http://deb.debian.org/debian bullseye/main arm64 libltdl7 arm64 2.4.6-15 [390 kB] Get: 52 http://deb.debian.org/debian bullseye/main arm64 libltdl-dev arm64 2.4.6-15 [162 kB] Get: 53 http://deb.debian.org/debian bullseye/main arm64 libodbc1 arm64 2.3.6-0.1+b1 [202 kB] Get: 54 http://deb.debian.org/debian bullseye/main arm64 libpython3.9-dbg arm64 3.9.2-1 [14.6 MB] Get: 55 http://deb.debian.org/debian bullseye/main arm64 libpython3-dbg arm64 3.9.2-3 [21.6 kB] Get: 56 http://deb.debian.org/debian bullseye/main arm64 libpython3-all-dbg arm64 3.9.2-3 [1064 B] Get: 57 http://deb.debian.org/debian bullseye/main arm64 libpython3.9 arm64 3.9.2-1 [1556 kB] Get: 58 http://deb.debian.org/debian bullseye/main arm64 libpython3.9-dev arm64 3.9.2-1 [3835 kB] Get: 59 http://deb.debian.org/debian bullseye/main arm64 libpython3-dev arm64 3.9.2-3 [21.7 kB] Get: 60 http://deb.debian.org/debian bullseye/main arm64 libpython3-all-dev arm64 3.9.2-3 [1068 B] Get: 61 http://deb.debian.org/debian bullseye/main arm64 odbcinst1debian2 arm64 2.3.6-0.1+b1 [79.8 kB] Get: 62 http://deb.debian.org/debian bullseye/main arm64 odbcinst arm64 2.3.6-0.1+b1 [48.5 kB] Get: 63 http://deb.debian.org/debian bullseye/main arm64 python3-all arm64 3.9.2-3 [1056 B] Get: 64 http://deb.debian.org/debian bullseye/main arm64 python3.9-dbg arm64 3.9.2-1 [19.8 MB] Get: 65 http://deb.debian.org/debian bullseye/main arm64 python3-dbg arm64 3.9.2-3 [1224 B] Get: 66 http://deb.debian.org/debian bullseye/main arm64 python3-all-dbg arm64 3.9.2-3 [1064 B] Get: 67 http://deb.debian.org/debian bullseye/main arm64 zlib1g-dev arm64 1:1.2.11.dfsg-2 [189 kB] Get: 68 http://deb.debian.org/debian bullseye/main arm64 python3.9-dev arm64 3.9.2-1 [515 kB] Get: 69 http://deb.debian.org/debian bullseye/main arm64 python3-dev arm64 3.9.2-3 [24.8 kB] Get: 70 http://deb.debian.org/debian bullseye/main arm64 python3-all-dev arm64 3.9.2-3 [1064 B] Get: 71 http://deb.debian.org/debian bullseye/main arm64 unixodbc-dev arm64 2.3.6-0.1+b1 [247 kB] Fetched 66.0 MB in 5s (14.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19646 files and directories currently installed.) Preparing to unpack .../0-bsdextrautils_2.36.1-7_arm64.deb ... Unpacking bsdextrautils (2.36.1-7) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../1-libuchardet0_0.0.7-1_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../2-groff-base_1.22.4-6_arm64.deb ... Unpacking groff-base (1.22.4-6) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../3-libpipeline1_1.5.3-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.3-1) ... Selecting previously unselected package man-db. Preparing to unpack .../4-man-db_2.9.4-2_arm64.deb ... Unpacking man-db (2.9.4-2) ... Selecting previously unselected package libpython3.9-minimal:arm64. Preparing to unpack .../5-libpython3.9-minimal_3.9.2-1_arm64.deb ... Unpacking libpython3.9-minimal:arm64 (3.9.2-1) ... Selecting previously unselected package libexpat1:arm64. Preparing to unpack .../6-libexpat1_2.2.10-2_arm64.deb ... Unpacking libexpat1:arm64 (2.2.10-2) ... Selecting previously unselected package python3.9-minimal. Preparing to unpack .../7-python3.9-minimal_3.9.2-1_arm64.deb ... Unpacking python3.9-minimal (3.9.2-1) ... Setting up libpython3.9-minimal:arm64 (3.9.2-1) ... Setting up libexpat1:arm64 (2.2.10-2) ... Setting up python3.9-minimal (3.9.2-1) ... Selecting previously unselected package python3-minimal. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20513 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.9.2-3_arm64.deb ... Unpacking python3-minimal (3.9.2-3) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_4.0.0_all.deb ... Unpacking media-types (4.0.0) ... Selecting previously unselected package libmpdec3:arm64. Preparing to unpack .../2-libmpdec3_2.5.1-1_arm64.deb ... Unpacking libmpdec3:arm64 (2.5.1-1) ... Selecting previously unselected package readline-common. Preparing to unpack .../3-readline-common_8.1-1_all.deb ... Unpacking readline-common (8.1-1) ... Selecting previously unselected package libreadline8:arm64. Preparing to unpack .../4-libreadline8_8.1-1_arm64.deb ... Unpacking libreadline8:arm64 (8.1-1) ... Selecting previously unselected package libpython3.9-stdlib:arm64. Preparing to unpack .../5-libpython3.9-stdlib_3.9.2-1_arm64.deb ... Unpacking libpython3.9-stdlib:arm64 (3.9.2-1) ... Selecting previously unselected package python3.9. Preparing to unpack .../6-python3.9_3.9.2-1_arm64.deb ... Unpacking python3.9 (3.9.2-1) ... Selecting previously unselected package libpython3-stdlib:arm64. Preparing to unpack .../7-libpython3-stdlib_3.9.2-3_arm64.deb ... Unpacking libpython3-stdlib:arm64 (3.9.2-3) ... Setting up python3-minimal (3.9.2-3) ... Selecting previously unselected package python3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20934 files and directories currently installed.) Preparing to unpack .../00-python3_3.9.2-3_arm64.deb ... Unpacking python3 (3.9.2-3) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../01-sensible-utils_0.0.14_all.deb ... Unpacking sensible-utils (0.0.14) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../02-libmagic-mgc_1%3a5.39-3_arm64.deb ... Unpacking libmagic-mgc (1:5.39-3) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../03-libmagic1_1%3a5.39-3_arm64.deb ... Unpacking libmagic1:arm64 (1:5.39-3) ... Selecting previously unselected package file. Preparing to unpack .../04-file_1%3a5.39-3_arm64.deb ... Unpacking file (1:5.39-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../05-gettext-base_0.21-4_arm64.deb ... Unpacking gettext-base (0.21-4) ... Selecting previously unselected package libsigsegv2:arm64. Preparing to unpack .../06-libsigsegv2_2.13-1_arm64.deb ... Unpacking libsigsegv2:arm64 (2.13-1) ... Selecting previously unselected package m4. Preparing to unpack .../07-m4_1.4.18-5_arm64.deb ... Unpacking m4 (1.4.18-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../08-autoconf_2.69-14_all.deb ... Unpacking autoconf (2.69-14) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../09-autotools-dev_20180224.1+nmu1_all.deb ... Unpacking autotools-dev (20180224.1+nmu1) ... Selecting previously unselected package automake. Preparing to unpack .../10-automake_1%3a1.16.3-2_all.deb ... Unpacking automake (1:1.16.3-2) ... Selecting previously unselected package autopoint. Preparing to unpack .../11-autopoint_0.21-4_all.deb ... Unpacking autopoint (0.21-4) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../12-libdebhelper-perl_13.3.4_all.deb ... Unpacking libdebhelper-perl (13.3.4) ... Selecting previously unselected package libtool. Preparing to unpack .../13-libtool_2.4.6-15_all.deb ... Unpacking libtool (2.4.6-15) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../14-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../15-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../16-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../17-libfile-stripnondeterminism-perl_1.12.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.12.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../18-dh-strip-nondeterminism_1.12.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.12.0-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../19-libelf1_0.183-1_arm64.deb ... Unpacking libelf1:arm64 (0.183-1) ... Selecting previously unselected package dwz. Preparing to unpack .../20-dwz_0.13+20210201-1_arm64.deb ... Unpacking dwz (0.13+20210201-1) ... Selecting previously unselected package libicu67:arm64. Preparing to unpack .../21-libicu67_67.1-7_arm64.deb ... Unpacking libicu67:arm64 (67.1-7) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../22-libxml2_2.9.10+dfsg-6.7_arm64.deb ... Unpacking libxml2:arm64 (2.9.10+dfsg-6.7) ... Selecting previously unselected package gettext. Preparing to unpack .../23-gettext_0.21-4_arm64.deb ... Unpacking gettext (0.21-4) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../24-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../25-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../26-debhelper_13.3.4_all.deb ... Unpacking debhelper (13.3.4) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../27-python3-lib2to3_3.9.2-1_all.deb ... Unpacking python3-lib2to3 (3.9.2-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../28-python3-distutils_3.9.2-1_all.deb ... Unpacking python3-distutils (3.9.2-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../29-dh-python_4.20201102+nmu1_all.deb ... Unpacking dh-python (4.20201102+nmu1) ... Selecting previously unselected package libexpat1-dev:arm64. Preparing to unpack .../30-libexpat1-dev_2.2.10-2_arm64.deb ... Unpacking libexpat1-dev:arm64 (2.2.10-2) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../31-libjs-jquery_3.5.1+dfsg+~3.5.5-7_all.deb ... Unpacking libjs-jquery (3.5.1+dfsg+~3.5.5-7) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../32-libjs-underscore_1.9.1~dfsg-3_all.deb ... Unpacking libjs-underscore (1.9.1~dfsg-3) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../33-libjs-sphinxdoc_3.4.3-2_all.deb ... Unpacking libjs-sphinxdoc (3.4.3-2) ... Selecting previously unselected package libltdl7:arm64. Preparing to unpack .../34-libltdl7_2.4.6-15_arm64.deb ... Unpacking libltdl7:arm64 (2.4.6-15) ... Selecting previously unselected package libltdl-dev:arm64. Preparing to unpack .../35-libltdl-dev_2.4.6-15_arm64.deb ... Unpacking libltdl-dev:arm64 (2.4.6-15) ... Selecting previously unselected package libodbc1:arm64. Preparing to unpack .../36-libodbc1_2.3.6-0.1+b1_arm64.deb ... Unpacking libodbc1:arm64 (2.3.6-0.1+b1) ... Selecting previously unselected package libpython3.9-dbg:arm64. Preparing to unpack .../37-libpython3.9-dbg_3.9.2-1_arm64.deb ... Unpacking libpython3.9-dbg:arm64 (3.9.2-1) ... Selecting previously unselected package libpython3-dbg:arm64. Preparing to unpack .../38-libpython3-dbg_3.9.2-3_arm64.deb ... Unpacking libpython3-dbg:arm64 (3.9.2-3) ... Selecting previously unselected package libpython3-all-dbg:arm64. Preparing to unpack .../39-libpython3-all-dbg_3.9.2-3_arm64.deb ... Unpacking libpython3-all-dbg:arm64 (3.9.2-3) ... Selecting previously unselected package libpython3.9:arm64. Preparing to unpack .../40-libpython3.9_3.9.2-1_arm64.deb ... Unpacking libpython3.9:arm64 (3.9.2-1) ... Selecting previously unselected package libpython3.9-dev:arm64. Preparing to unpack .../41-libpython3.9-dev_3.9.2-1_arm64.deb ... Unpacking libpython3.9-dev:arm64 (3.9.2-1) ... Selecting previously unselected package libpython3-dev:arm64. Preparing to unpack .../42-libpython3-dev_3.9.2-3_arm64.deb ... Unpacking libpython3-dev:arm64 (3.9.2-3) ... Selecting previously unselected package libpython3-all-dev:arm64. Preparing to unpack .../43-libpython3-all-dev_3.9.2-3_arm64.deb ... Unpacking libpython3-all-dev:arm64 (3.9.2-3) ... Selecting previously unselected package odbcinst1debian2:arm64. Preparing to unpack .../44-odbcinst1debian2_2.3.6-0.1+b1_arm64.deb ... Unpacking odbcinst1debian2:arm64 (2.3.6-0.1+b1) ... Selecting previously unselected package odbcinst. Preparing to unpack .../45-odbcinst_2.3.6-0.1+b1_arm64.deb ... Unpacking odbcinst (2.3.6-0.1+b1) ... Selecting previously unselected package python3-all. Preparing to unpack .../46-python3-all_3.9.2-3_arm64.deb ... Unpacking python3-all (3.9.2-3) ... Selecting previously unselected package python3.9-dbg. Preparing to unpack .../47-python3.9-dbg_3.9.2-1_arm64.deb ... Unpacking python3.9-dbg (3.9.2-1) ... Selecting previously unselected package python3-dbg. Preparing to unpack .../48-python3-dbg_3.9.2-3_arm64.deb ... Unpacking python3-dbg (3.9.2-3) ... Selecting previously unselected package python3-all-dbg. Preparing to unpack .../49-python3-all-dbg_3.9.2-3_arm64.deb ... Unpacking python3-all-dbg (3.9.2-3) ... Selecting previously unselected package zlib1g-dev:arm64. Preparing to unpack .../50-zlib1g-dev_1%3a1.2.11.dfsg-2_arm64.deb ... Unpacking zlib1g-dev:arm64 (1:1.2.11.dfsg-2) ... Selecting previously unselected package python3.9-dev. Preparing to unpack .../51-python3.9-dev_3.9.2-1_arm64.deb ... Unpacking python3.9-dev (3.9.2-1) ... Selecting previously unselected package python3-dev. Preparing to unpack .../52-python3-dev_3.9.2-3_arm64.deb ... Unpacking python3-dev (3.9.2-3) ... Selecting previously unselected package python3-all-dev. Preparing to unpack .../53-python3-all-dev_3.9.2-3_arm64.deb ... Unpacking python3-all-dev (3.9.2-3) ... Selecting previously unselected package unixodbc-dev:arm64. Preparing to unpack .../54-unixodbc-dev_2.3.6-0.1+b1_arm64.deb ... Unpacking unixodbc-dev:arm64 (2.3.6-0.1+b1) ... Setting up media-types (4.0.0) ... Setting up libpipeline1:arm64 (1.5.3-1) ... Setting up bsdextrautils (2.36.1-7) ... update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode Setting up libicu67:arm64 (67.1-7) ... Setting up libmagic-mgc (1:5.39-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.3.4) ... Setting up libmagic1:arm64 (1:5.39-3) ... Setting up gettext-base (0.21-4) ... Setting up file (1:5.39-3) ... Setting up autotools-dev (20180224.1+nmu1) ... Setting up libexpat1-dev:arm64 (2.2.10-2) ... Setting up libsigsegv2:arm64 (2.13-1) ... Setting up autopoint (0.21-4) ... Setting up libltdl7:arm64 (2.4.6-15) ... Setting up zlib1g-dev:arm64 (1:1.2.11.dfsg-2) ... Setting up sensible-utils (0.0.14) ... Setting up libuchardet0:arm64 (0.0.7-1) ... Setting up libmpdec3:arm64 (2.5.1-1) ... Setting up libsub-override-perl (0.09-2) ... Setting up libjs-jquery (3.5.1+dfsg+~3.5.5-7) ... Setting up libelf1:arm64 (0.183-1) ... Setting up readline-common (8.1-1) ... Setting up libxml2:arm64 (2.9.10+dfsg-6.7) ... Setting up libjs-underscore (1.9.1~dfsg-3) ... Setting up libfile-stripnondeterminism-perl (1.12.0-1) ... Setting up gettext (0.21-4) ... Setting up libtool (2.4.6-15) ... Setting up libreadline8:arm64 (8.1-1) ... Setting up m4 (1.4.18-5) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libodbc1:arm64 (2.3.6-0.1+b1) ... Setting up libjs-sphinxdoc (3.4.3-2) ... Setting up autoconf (2.69-14) ... Setting up dh-strip-nondeterminism (1.12.0-1) ... Setting up dwz (0.13+20210201-1) ... Setting up groff-base (1.22.4-6) ... Setting up libpython3.9-stdlib:arm64 (3.9.2-1) ... Setting up libpython3-stdlib:arm64 (3.9.2-3) ... Setting up automake (1:1.16.3-2) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libpython3.9-dbg:arm64 (3.9.2-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libpython3-dbg:arm64 (3.9.2-3) ... Setting up libpython3-all-dbg:arm64 (3.9.2-3) ... Setting up man-db (2.9.4-2) ... Not building database; man-db/auto-update is not 'true'. Setting up dh-autoreconf (20) ... Setting up libltdl-dev:arm64 (2.4.6-15) ... Setting up libpython3.9:arm64 (3.9.2-1) ... Setting up python3.9 (3.9.2-1) ... Setting up libpython3.9-dev:arm64 (3.9.2-1) ... Setting up debhelper (13.3.4) ... Setting up python3 (3.9.2-3) ... Setting up python3.9-dbg (3.9.2-1) ... Setting up python3.9-dev (3.9.2-1) ... Setting up python3-lib2to3 (3.9.2-1) ... Setting up python3-dbg (3.9.2-3) ... Setting up python3-distutils (3.9.2-1) ... Setting up dh-python (4.20201102+nmu1) ... Setting up libpython3-dev:arm64 (3.9.2-3) ... Setting up python3-all (3.9.2-3) ... Setting up libpython3-all-dev:arm64 (3.9.2-3) ... Setting up python3-dev (3.9.2-3) ... Setting up python3-all-dbg (3.9.2-3) ... Setting up python3-all-dev (3.9.2-3) ... Setting up odbcinst (2.3.6-0.1+b1) ... Setting up odbcinst1debian2:arm64 (2.3.6-0.1+b1) ... Setting up unixodbc-dev:arm64 (2.3.6-0.1+b1) ... Processing triggers for libc-bin (2.31-13) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/pyodbc-4.0.30/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../pyodbc_4.0.30-1_source.changes dpkg-buildpackage: info: source package pyodbc dpkg-buildpackage: info: source version 4.0.30-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Michael Fladischer dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean --with python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:232: python3.9 setup.py clean /usr/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running clean removing '/build/pyodbc-4.0.30/.pybuild/cpython3_3.9_pyodbc/build' (and everything under it) 'build/bdist.linux-arm64' does not exist -- can't clean it 'build/scripts-3.9' does not exist -- can't clean it I: pybuild base:232: python3.9-dbg setup.py clean /build/pyodbc-4.0.30/setup.py:285: ResourceWarning: unclosed file <_io.TextIOWrapper name='/build/pyodbc-4.0.30/PKG-INFO' mode='r' encoding='UTF-8'> return name, numbers ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 28759 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/pyodbc-4.0.30/setup.py:212: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 encoding='UTF-8'> cflags = os.popen('odbc_config --cflags 2>/dev/null').read().strip() ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 28760 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/pyodbc-4.0.30/setup.py:215: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 encoding='UTF-8'> ldflags = os.popen('odbc_config --libs 2>/dev/null').read().strip() ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running clean removing '/build/pyodbc-4.0.30/.pybuild/cpython3_3.9_dbg_pyodbc/build' (and everything under it) 'build/bdist.linux-arm64' does not exist -- can't clean it 'build/scripts-3.9' does not exist -- can't clean it dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --with python3 --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:232: python3.9 setup.py config /usr/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running config I: pybuild base:232: python3.9-dbg setup.py config /build/pyodbc-4.0.30/setup.py:285: ResourceWarning: unclosed file <_io.TextIOWrapper name='/build/pyodbc-4.0.30/PKG-INFO' mode='r' encoding='UTF-8'> return name, numbers ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 28884 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/pyodbc-4.0.30/setup.py:212: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 encoding='UTF-8'> cflags = os.popen('odbc_config --cflags 2>/dev/null').read().strip() ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 28886 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/pyodbc-4.0.30/setup.py:215: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 encoding='UTF-8'> ldflags = os.popen('odbc_config --libs 2>/dev/null').read().strip() ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running config dh_auto_build -O--buildsystem=pybuild I: pybuild base:232: /usr/bin/python3 setup.py build /usr/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running build running build_ext building 'pyodbc' extension creating build creating build/temp.linux-arm64-3.9 creating build/temp.linux-arm64-3.9/src aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9 -c src/buffer.cpp -o build/temp.linux-arm64-3.9/src/buffer.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/buffer.cpp:12: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/buffer.cpp:12: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9 -c src/cnxninfo.cpp -o build/temp.linux-arm64-3.9/src/cnxninfo.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/cnxninfo.cpp:7: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/cnxninfo.cpp:7: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/cnxninfo.cpp: In function 'PyObject* GetHash(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/cnxninfo.cpp:45:39: note: in expansion of macro 'PyUnicode_AS_UNICODE' 45 | Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/cnxninfo.cpp:45:64: note: in expansion of macro 'PyUnicode_GET_SIZE' 45 | Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/cnxninfo.cpp:45:64: note: in expansion of macro 'PyUnicode_GET_SIZE' 45 | Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/cnxninfo.cpp:45:64: note: in expansion of macro 'PyUnicode_GET_SIZE' 45 | Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/cnxninfo.cpp:45:88: warning: 'PyObject* PyUnicode_EncodeUTF8(const Py_UNICODE*, Py_ssize_t, const char*)' is deprecated [-Wdeprecated-declarations] 45 | Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/cnxninfo.cpp:7: /usr/include/python3.9/cpython/unicodeobject.h:803:42: note: declared here 803 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF8( | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9 -c src/connection.cpp -o build/temp.linux-arm64-3.9/src/connection.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/connection.cpp:11: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/connection.cpp:11: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/connection.cpp: In function 'bool ApplyPreconnAttrs(HDBC, SQLINTEGER, PyObject*, char*)': /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/connection.cpp:189:18: note: in expansion of macro 'PyUnicode_AS_UNICODE' 189 | ivalue = PyUnicode_AS_UNICODE(value); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9 -c src/cursor.cpp -o build/temp.linux-arm64-3.9/src/cursor.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/cursor.cpp:15: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/cursor.cpp:15: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9 -c src/errors.cpp -o build/temp.linux-arm64-3.9/src/errors.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/errors.cpp:2: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/errors.cpp:2: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:145, from src/pyodbc.h:45, from src/errors.cpp:2: src/errors.cpp: In function 'PyObject* RaiseErrorV(const char*, PyObject*, const char*, ...)': /usr/include/python3.9/ceval.h:24:66: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] 24 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ^ src/errors.cpp:91:18: note: in expansion of macro 'PyEval_CallObject' 91 | pError = PyEval_CallObject(exc_class, pAttrs); | ^~~~~~~~~~~~~~~~~ /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/errors.cpp: In function 'PyObject* GetError(const char*, PyObject*, PyObject*)': /usr/include/python3.9/ceval.h:24:66: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] 24 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ^ src/errors.cpp:171:14: note: in expansion of macro 'PyEval_CallObject' 171 | pError = PyEval_CallObject(exc_class, pAttrs); // pError will incref pAttrs | ^~~~~~~~~~~~~~~~~ /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/errors.cpp: In function 'PyObject* GetErrorFromHandle(Connection*, const char*, HDBC, HSTMT)': src/errors.cpp:331:44: warning: 'Py_ssize_t PyUnicode_GetSize(PyObject*)' is deprecated [-Wdeprecated-declarations] 331 | if (!msg || PyUnicode_GetSize(msg.Get()) == 0) | ^ In file included from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/errors.cpp:2: /usr/include/python3.9/unicodeobject.h:177:43: note: declared here 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize( | ^~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9 -c src/getdata.cpp -o build/temp.linux-arm64-3.9/src/getdata.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/getdata.cpp:5: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/getdata.cpp:5: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9 -c src/params.cpp -o build/temp.linux-arm64-3.9/src/params.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/params.cpp:10: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/params.cpp:10: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/params.cpp: In function 'int PyToCType(Cursor*, unsigned char**, PyObject*, ParamInfo*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 326 | Py_ssize_t len = PyUnicode_GET_SIZE(cell); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 326 | Py_ssize_t len = PyUnicode_GET_SIZE(cell); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 326 | Py_ssize_t len = PyUnicode_GET_SIZE(cell); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ /usr/include/python3.9/cpython/unicodeobject.h:283:21: note: in expansion of macro 'PyUnicode_AS_UNICODE' 283 | ((const char *)(PyUnicode_AS_UNICODE(op))) | ^~~~~~~~~~~~~~~~~~~~ src/params.cpp:387:33: note: in expansion of macro 'PyUnicode_AS_DATA' 387 | memcpy(*outbuf, PyUnicode_AS_DATA(cell), len); | ^~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/params.cpp: In function 'bool ExecuteMulti(Cursor*, PyObject*, PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:268:6: note: in expansion of macro 'PyUnicode_GET_SIZE' 268 | (PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE) | ^~~~~~~~~~~~~~~~~~ src/params.cpp:1924:30: note: in expansion of macro 'PyUnicode_GET_DATA_SIZE' 1924 | int cb = PyUnicode_GET_DATA_SIZE(objCell) / 2; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ /usr/include/python3.9/cpython/unicodeobject.h:268:6: note: in expansion of macro 'PyUnicode_GET_SIZE' 268 | (PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE) | ^~~~~~~~~~~~~~~~~~ src/params.cpp:1924:30: note: in expansion of macro 'PyUnicode_GET_DATA_SIZE' 1924 | int cb = PyUnicode_GET_DATA_SIZE(objCell) / 2; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:268:6: note: in expansion of macro 'PyUnicode_GET_SIZE' 268 | (PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE) | ^~~~~~~~~~~~~~~~~~ src/params.cpp:1924:30: note: in expansion of macro 'PyUnicode_GET_DATA_SIZE' 1924 | int cb = PyUnicode_GET_DATA_SIZE(objCell) / 2; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/params.cpp:1927:48: note: in expansion of macro 'PyUnicode_AS_UNICODE' 1927 | const Py_UNICODE* source = PyUnicode_AS_UNICODE(objCell); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/params.cpp:1932:74: warning: 'PyObject* PyUnicode_EncodeUTF8(const Py_UNICODE*, Py_ssize_t, const char*)' is deprecated [-Wdeprecated-declarations] 1932 | bytes = PyUnicode_EncodeUTF8(source, cb, "strict"); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/params.cpp:10: /usr/include/python3.9/cpython/unicodeobject.h:803:42: note: declared here 803 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF8( | ^~~~~~~~~~~~~~~~~~~~ src/params.cpp:1935:93: warning: 'PyObject* PyUnicode_EncodeUTF16(const Py_UNICODE*, Py_ssize_t, const char*, int)' is deprecated [-Wdeprecated-declarations] 1935 | bytes = PyUnicode_EncodeUTF16(source, cb, "strict", BYTEORDER_NATIVE); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/params.cpp:10: /usr/include/python3.9/cpython/unicodeobject.h:845:42: note: declared here 845 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF16( | ^~~~~~~~~~~~~~~~~~~~~ src/params.cpp:1938:89: warning: 'PyObject* PyUnicode_EncodeUTF16(const Py_UNICODE*, Py_ssize_t, const char*, int)' is deprecated [-Wdeprecated-declarations] 1938 | bytes = PyUnicode_EncodeUTF16(source, cb, "strict", BYTEORDER_LE); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/params.cpp:10: /usr/include/python3.9/cpython/unicodeobject.h:845:42: note: declared here 845 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF16( | ^~~~~~~~~~~~~~~~~~~~~ src/params.cpp:1941:89: warning: 'PyObject* PyUnicode_EncodeUTF16(const Py_UNICODE*, Py_ssize_t, const char*, int)' is deprecated [-Wdeprecated-declarations] 1941 | bytes = PyUnicode_EncodeUTF16(source, cb, "strict", BYTEORDER_BE); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/params.cpp:10: /usr/include/python3.9/cpython/unicodeobject.h:845:42: note: declared here 845 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF16( | ^~~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9 -c src/pyodbccompat.cpp -o build/temp.linux-arm64-3.9/src/pyodbccompat.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/pyodbccompat.cpp:1: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/pyodbccompat.cpp:1: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.cpp: In function 'bool Text_EqualsI(PyObject*, const char*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE' 14 | Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE' 14 | Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE' 14 | Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.cpp:19:21: note: in expansion of macro 'PyUnicode_AS_UNICODE' 19 | Py_UNICODE* p = PyUnicode_AS_UNICODE(lhs); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9 -c src/pyodbcdbg.cpp -o build/temp.linux-arm64-3.9/src/pyodbcdbg.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/pyodbcdbg.cpp:2: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/pyodbcdbg.cpp:2: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9 -c src/pyodbcmodule.cpp -o build/temp.linux-arm64-3.9/src/pyodbcmodule.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/pyodbcmodule.cpp:11: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/pyodbcmodule.cpp:11: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function 'void init_locale_info()': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE' 276 | if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE' 276 | if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE' 276 | if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbcmodule.cpp:277:25: note: in expansion of macro 'PyUnicode_AS_UNICODE' 277 | chDecimal = PyUnicode_AS_UNICODE(value)[0]; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function 'PyObject* mod_setdecimalsep(PyObject*, PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:697:39: note: in expansion of macro 'PyUnicode_GET_SIZE' 697 | if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbcmodule.cpp:697:39: note: in expansion of macro 'PyUnicode_GET_SIZE' 697 | if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:697:39: note: in expansion of macro 'PyUnicode_GET_SIZE' 697 | if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbcmodule.cpp:698:25: note: in expansion of macro 'PyUnicode_AS_UNICODE' 698 | chDecimal = PyUnicode_AS_UNICODE(value)[0]; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function 'PyObject* mod_getdecimalsep(PyObject*)': src/pyodbcmodule.cpp:706:47: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 706 | return PyUnicode_FromUnicode(&chDecimal, 1); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/pyodbcmodule.cpp:11: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function 'PyObject* MakeConnectionString(PyObject*, PyObject*)': src/pyodbcmodule.cpp:1338:55: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 1338 | PyObject* result = PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/pyodbcmodule.cpp:11: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbcmodule.cpp:1342:26: note: in expansion of macro 'PyUnicode_AS_UNICODE' 1342 | Py_UNICODE* buffer = PyUnicode_AS_UNICODE(result); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9 -c src/row.cpp -o build/temp.linux-arm64-3.9/src/row.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/row.cpp:12: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/row.cpp:12: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9 -c src/textenc.cpp -o build/temp.linux-arm64-3.9/src/textenc.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/textenc.cpp:2: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from src/pyodbc.h:45, from src/textenc.cpp:2: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-arm64-3.9/src/buffer.o build/temp.linux-arm64-3.9/src/cnxninfo.o build/temp.linux-arm64-3.9/src/connection.o build/temp.linux-arm64-3.9/src/cursor.o build/temp.linux-arm64-3.9/src/errors.o build/temp.linux-arm64-3.9/src/getdata.o build/temp.linux-arm64-3.9/src/params.o build/temp.linux-arm64-3.9/src/pyodbccompat.o build/temp.linux-arm64-3.9/src/pyodbcdbg.o build/temp.linux-arm64-3.9/src/pyodbcmodule.o build/temp.linux-arm64-3.9/src/row.o build/temp.linux-arm64-3.9/src/textenc.o -L/usr/local/lib -lodbc -o /build/pyodbc-4.0.30/.pybuild/cpython3_3.9_pyodbc/build/pyodbc.cpython-39-aarch64-linux-gnu.so I: pybuild base:232: /usr/bin/python3-dbg setup.py build /build/pyodbc-4.0.30/setup.py:285: ResourceWarning: unclosed file <_io.TextIOWrapper name='/build/pyodbc-4.0.30/PKG-INFO' mode='r' encoding='UTF-8'> return name, numbers ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 5111 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/pyodbc-4.0.30/setup.py:212: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 encoding='UTF-8'> cflags = os.popen('odbc_config --cflags 2>/dev/null').read().strip() ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 5120 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/pyodbc-4.0.30/setup.py:215: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 encoding='UTF-8'> ldflags = os.popen('odbc_config --libs 2>/dev/null').read().strip() ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running build running build_ext building 'pyodbc' extension creating build/temp.linux-arm64-3.9-pydebug creating build/temp.linux-arm64-3.9-pydebug/src aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9d -c src/buffer.cpp -o build/temp.linux-arm64-3.9-pydebug/src/buffer.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/buffer.cpp:12: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9d/unicodeobject.h:1026, from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/buffer.cpp:12: /usr/include/python3.9d/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9d -c src/cnxninfo.cpp -o build/temp.linux-arm64-3.9-pydebug/src/cnxninfo.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/cnxninfo.cpp:7: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9d/unicodeobject.h:1026, from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/cnxninfo.cpp:7: /usr/include/python3.9d/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/cnxninfo.cpp: In function 'PyObject* GetHash(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/cnxninfo.cpp:45:39: note: in expansion of macro 'PyUnicode_AS_UNICODE' 45 | Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/cnxninfo.cpp:45:64: note: in expansion of macro 'PyUnicode_GET_SIZE' 45 | Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/cnxninfo.cpp:45:64: note: in expansion of macro 'PyUnicode_GET_SIZE' 45 | Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/cnxninfo.cpp:45:64: note: in expansion of macro 'PyUnicode_GET_SIZE' 45 | Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/cnxninfo.cpp:45:88: warning: 'PyObject* PyUnicode_EncodeUTF8(const Py_UNICODE*, Py_ssize_t, const char*)' is deprecated [-Wdeprecated-declarations] 45 | Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); | ^ In file included from /usr/include/python3.9d/unicodeobject.h:1026, from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/cnxninfo.cpp:7: /usr/include/python3.9d/cpython/unicodeobject.h:803:42: note: declared here 803 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF8( | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9d -c src/connection.cpp -o build/temp.linux-arm64-3.9-pydebug/src/connection.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/connection.cpp:11: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9d/unicodeobject.h:1026, from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/connection.cpp:11: /usr/include/python3.9d/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/connection.cpp: In function 'bool ApplyPreconnAttrs(HDBC, SQLINTEGER, PyObject*, char*)': /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/connection.cpp:189:18: note: in expansion of macro 'PyUnicode_AS_UNICODE' 189 | ivalue = PyUnicode_AS_UNICODE(value); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9d -c src/cursor.cpp -o build/temp.linux-arm64-3.9-pydebug/src/cursor.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/cursor.cpp:15: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9d/unicodeobject.h:1026, from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/cursor.cpp:15: /usr/include/python3.9d/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9d -c src/errors.cpp -o build/temp.linux-arm64-3.9-pydebug/src/errors.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/errors.cpp:2: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9d/unicodeobject.h:1026, from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/errors.cpp:2: /usr/include/python3.9d/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9d/Python.h:145, from src/pyodbc.h:45, from src/errors.cpp:2: src/errors.cpp: In function 'PyObject* RaiseErrorV(const char*, PyObject*, const char*, ...)': /usr/include/python3.9d/ceval.h:24:66: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] 24 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ^ src/errors.cpp:91:18: note: in expansion of macro 'PyEval_CallObject' 91 | pError = PyEval_CallObject(exc_class, pAttrs); | ^~~~~~~~~~~~~~~~~ /usr/include/python3.9d/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/errors.cpp: In function 'PyObject* GetError(const char*, PyObject*, PyObject*)': /usr/include/python3.9d/ceval.h:24:66: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] 24 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ^ src/errors.cpp:171:14: note: in expansion of macro 'PyEval_CallObject' 171 | pError = PyEval_CallObject(exc_class, pAttrs); // pError will incref pAttrs | ^~~~~~~~~~~~~~~~~ /usr/include/python3.9d/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/errors.cpp: In function 'PyObject* GetErrorFromHandle(Connection*, const char*, HDBC, HSTMT)': src/errors.cpp:331:44: warning: 'Py_ssize_t PyUnicode_GetSize(PyObject*)' is deprecated [-Wdeprecated-declarations] 331 | if (!msg || PyUnicode_GetSize(msg.Get()) == 0) | ^ In file included from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/errors.cpp:2: /usr/include/python3.9d/unicodeobject.h:177:43: note: declared here 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize( | ^~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9d -c src/getdata.cpp -o build/temp.linux-arm64-3.9-pydebug/src/getdata.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/getdata.cpp:5: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9d/unicodeobject.h:1026, from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/getdata.cpp:5: /usr/include/python3.9d/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9d -c src/params.cpp -o build/temp.linux-arm64-3.9-pydebug/src/params.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/params.cpp:10: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9d/unicodeobject.h:1026, from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/params.cpp:10: /usr/include/python3.9d/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/params.cpp: In function 'int PyToCType(Cursor*, unsigned char**, PyObject*, ParamInfo*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 326 | Py_ssize_t len = PyUnicode_GET_SIZE(cell); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 326 | Py_ssize_t len = PyUnicode_GET_SIZE(cell); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 326 | Py_ssize_t len = PyUnicode_GET_SIZE(cell); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:283:21: note: in expansion of macro 'PyUnicode_AS_UNICODE' 283 | ((const char *)(PyUnicode_AS_UNICODE(op))) | ^~~~~~~~~~~~~~~~~~~~ src/params.cpp:387:33: note: in expansion of macro 'PyUnicode_AS_DATA' 387 | memcpy(*outbuf, PyUnicode_AS_DATA(cell), len); | ^~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/params.cpp: In function 'bool ExecuteMulti(Cursor*, PyObject*, PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:268:6: note: in expansion of macro 'PyUnicode_GET_SIZE' 268 | (PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE) | ^~~~~~~~~~~~~~~~~~ src/params.cpp:1924:30: note: in expansion of macro 'PyUnicode_GET_DATA_SIZE' 1924 | int cb = PyUnicode_GET_DATA_SIZE(objCell) / 2; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ /usr/include/python3.9d/cpython/unicodeobject.h:268:6: note: in expansion of macro 'PyUnicode_GET_SIZE' 268 | (PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE) | ^~~~~~~~~~~~~~~~~~ src/params.cpp:1924:30: note: in expansion of macro 'PyUnicode_GET_DATA_SIZE' 1924 | int cb = PyUnicode_GET_DATA_SIZE(objCell) / 2; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:268:6: note: in expansion of macro 'PyUnicode_GET_SIZE' 268 | (PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE) | ^~~~~~~~~~~~~~~~~~ src/params.cpp:1924:30: note: in expansion of macro 'PyUnicode_GET_DATA_SIZE' 1924 | int cb = PyUnicode_GET_DATA_SIZE(objCell) / 2; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/params.cpp:1927:48: note: in expansion of macro 'PyUnicode_AS_UNICODE' 1927 | const Py_UNICODE* source = PyUnicode_AS_UNICODE(objCell); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/params.cpp:1932:74: warning: 'PyObject* PyUnicode_EncodeUTF8(const Py_UNICODE*, Py_ssize_t, const char*)' is deprecated [-Wdeprecated-declarations] 1932 | bytes = PyUnicode_EncodeUTF8(source, cb, "strict"); | ^ In file included from /usr/include/python3.9d/unicodeobject.h:1026, from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/params.cpp:10: /usr/include/python3.9d/cpython/unicodeobject.h:803:42: note: declared here 803 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF8( | ^~~~~~~~~~~~~~~~~~~~ src/params.cpp:1935:93: warning: 'PyObject* PyUnicode_EncodeUTF16(const Py_UNICODE*, Py_ssize_t, const char*, int)' is deprecated [-Wdeprecated-declarations] 1935 | bytes = PyUnicode_EncodeUTF16(source, cb, "strict", BYTEORDER_NATIVE); | ^ In file included from /usr/include/python3.9d/unicodeobject.h:1026, from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/params.cpp:10: /usr/include/python3.9d/cpython/unicodeobject.h:845:42: note: declared here 845 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF16( | ^~~~~~~~~~~~~~~~~~~~~ src/params.cpp:1938:89: warning: 'PyObject* PyUnicode_EncodeUTF16(const Py_UNICODE*, Py_ssize_t, const char*, int)' is deprecated [-Wdeprecated-declarations] 1938 | bytes = PyUnicode_EncodeUTF16(source, cb, "strict", BYTEORDER_LE); | ^ In file included from /usr/include/python3.9d/unicodeobject.h:1026, from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/params.cpp:10: /usr/include/python3.9d/cpython/unicodeobject.h:845:42: note: declared here 845 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF16( | ^~~~~~~~~~~~~~~~~~~~~ src/params.cpp:1941:89: warning: 'PyObject* PyUnicode_EncodeUTF16(const Py_UNICODE*, Py_ssize_t, const char*, int)' is deprecated [-Wdeprecated-declarations] 1941 | bytes = PyUnicode_EncodeUTF16(source, cb, "strict", BYTEORDER_BE); | ^ In file included from /usr/include/python3.9d/unicodeobject.h:1026, from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/params.cpp:10: /usr/include/python3.9d/cpython/unicodeobject.h:845:42: note: declared here 845 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF16( | ^~~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9d -c src/pyodbccompat.cpp -o build/temp.linux-arm64-3.9-pydebug/src/pyodbccompat.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/pyodbccompat.cpp:1: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9d/unicodeobject.h:1026, from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/pyodbccompat.cpp:1: /usr/include/python3.9d/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.cpp: In function 'bool Text_EqualsI(PyObject*, const char*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE' 14 | Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE' 14 | Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE' 14 | Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.cpp:19:21: note: in expansion of macro 'PyUnicode_AS_UNICODE' 19 | Py_UNICODE* p = PyUnicode_AS_UNICODE(lhs); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9d -c src/pyodbcdbg.cpp -o build/temp.linux-arm64-3.9-pydebug/src/pyodbcdbg.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/pyodbcdbg.cpp:2: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9d/unicodeobject.h:1026, from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/pyodbcdbg.cpp:2: /usr/include/python3.9d/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9d -c src/pyodbcmodule.cpp -o build/temp.linux-arm64-3.9-pydebug/src/pyodbcmodule.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/pyodbcmodule.cpp:11: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9d/unicodeobject.h:1026, from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/pyodbcmodule.cpp:11: /usr/include/python3.9d/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function 'void init_locale_info()': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE' 276 | if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE' 276 | if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE' 276 | if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbcmodule.cpp:277:25: note: in expansion of macro 'PyUnicode_AS_UNICODE' 277 | chDecimal = PyUnicode_AS_UNICODE(value)[0]; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function 'PyObject* mod_setdecimalsep(PyObject*, PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:697:39: note: in expansion of macro 'PyUnicode_GET_SIZE' 697 | if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbcmodule.cpp:697:39: note: in expansion of macro 'PyUnicode_GET_SIZE' 697 | if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:697:39: note: in expansion of macro 'PyUnicode_GET_SIZE' 697 | if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbcmodule.cpp:698:25: note: in expansion of macro 'PyUnicode_AS_UNICODE' 698 | chDecimal = PyUnicode_AS_UNICODE(value)[0]; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function 'PyObject* mod_getdecimalsep(PyObject*)': src/pyodbcmodule.cpp:706:47: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 706 | return PyUnicode_FromUnicode(&chDecimal, 1); | ^ In file included from /usr/include/python3.9d/unicodeobject.h:1026, from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/pyodbcmodule.cpp:11: /usr/include/python3.9d/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function 'PyObject* MakeConnectionString(PyObject*, PyObject*)': src/pyodbcmodule.cpp:1338:55: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 1338 | PyObject* result = PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9d/unicodeobject.h:1026, from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/pyodbcmodule.cpp:11: /usr/include/python3.9d/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbcmodule.cpp:1342:26: note: in expansion of macro 'PyUnicode_AS_UNICODE' 1342 | Py_UNICODE* buffer = PyUnicode_AS_UNICODE(result); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9d -c src/row.cpp -o build/temp.linux-arm64-3.9-pydebug/src/row.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/row.cpp:12: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9d/unicodeobject.h:1026, from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/row.cpp:12: /usr/include/python3.9d/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -Og -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/include/python3.9d -c src/textenc.cpp -o build/temp.linux-arm64-3.9-pydebug/src/textenc.o -Wno-write-strings In file included from src/pyodbc.h:160, from src/textenc.cpp:2: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ^ In file included from /usr/include/python3.9d/unicodeobject.h:1026, from /usr/include/python3.9d/Python.h:97, from src/pyodbc.h:45, from src/textenc.cpp:2: /usr/include/python3.9d/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] 279 | PyUnicode_AsUnicode(_PyObject_CAST(op))) | ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9d/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/build/pyodbc-4.0.30=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-arm64-3.9-pydebug/src/buffer.o build/temp.linux-arm64-3.9-pydebug/src/cnxninfo.o build/temp.linux-arm64-3.9-pydebug/src/connection.o build/temp.linux-arm64-3.9-pydebug/src/cursor.o build/temp.linux-arm64-3.9-pydebug/src/errors.o build/temp.linux-arm64-3.9-pydebug/src/getdata.o build/temp.linux-arm64-3.9-pydebug/src/params.o build/temp.linux-arm64-3.9-pydebug/src/pyodbccompat.o build/temp.linux-arm64-3.9-pydebug/src/pyodbcdbg.o build/temp.linux-arm64-3.9-pydebug/src/pyodbcmodule.o build/temp.linux-arm64-3.9-pydebug/src/row.o build/temp.linux-arm64-3.9-pydebug/src/textenc.o -L/usr/local/lib -lodbc -o /build/pyodbc-4.0.30/.pybuild/cpython3_3.9_dbg_pyodbc/build/pyodbc.cpython-39d-aarch64-linux-gnu.so dh_auto_test -O--buildsystem=pybuild I: pybuild base:232: cd /build/pyodbc-4.0.30/.pybuild/cpython3_3.9_pyodbc/build; python3.9 -m unittest discover -v ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK I: pybuild base:232: cd /build/pyodbc-4.0.30/.pybuild/cpython3_3.9_dbg_pyodbc/build; python3.9-dbg -m unittest discover -v ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=pybuild dh_prep -O--buildsystem=pybuild dh_auto_install -O--buildsystem=pybuild I: pybuild base:232: /usr/bin/python3 setup.py install --root /build/pyodbc-4.0.30/debian/python3-pyodbc /usr/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running install running build running build_ext running install_lib creating /build/pyodbc-4.0.30/debian/python3-pyodbc/usr creating /build/pyodbc-4.0.30/debian/python3-pyodbc/usr/lib creating /build/pyodbc-4.0.30/debian/python3-pyodbc/usr/lib/python3.9 creating /build/pyodbc-4.0.30/debian/python3-pyodbc/usr/lib/python3.9/dist-packages copying /build/pyodbc-4.0.30/.pybuild/cpython3_3.9_pyodbc/build/pyodbc.cpython-39-aarch64-linux-gnu.so -> /build/pyodbc-4.0.30/debian/python3-pyodbc/usr/lib/python3.9/dist-packages running install_egg_info Writing /build/pyodbc-4.0.30/debian/python3-pyodbc/usr/lib/python3.9/dist-packages/pyodbc-4.0.30.egg-info I: pybuild base:232: /usr/bin/python3-dbg setup.py install --root /build/pyodbc-4.0.30/debian/python3-pyodbc /build/pyodbc-4.0.30/setup.py:285: ResourceWarning: unclosed file <_io.TextIOWrapper name='/build/pyodbc-4.0.30/PKG-INFO' mode='r' encoding='UTF-8'> return name, numbers ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 13211 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/pyodbc-4.0.30/setup.py:212: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 encoding='UTF-8'> cflags = os.popen('odbc_config --cflags 2>/dev/null').read().strip() ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 13216 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/pyodbc-4.0.30/setup.py:215: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 encoding='UTF-8'> ldflags = os.popen('odbc_config --libs 2>/dev/null').read().strip() ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running install running build running build_ext running install_lib copying /build/pyodbc-4.0.30/.pybuild/cpython3_3.9_dbg_pyodbc/build/pyodbc.cpython-39d-aarch64-linux-gnu.so -> /build/pyodbc-4.0.30/debian/python3-pyodbc/usr/lib/python3.9/dist-packages running install_egg_info Removing /build/pyodbc-4.0.30/debian/python3-pyodbc/usr/lib/python3.9/dist-packages/pyodbc-4.0.30.egg-info Writing /build/pyodbc-4.0.30/debian/python3-pyodbc/usr/lib/python3.9/dist-packages/pyodbc-4.0.30.egg-info dh_installdocs -O--buildsystem=pybuild dh_installchangelogs -O--buildsystem=pybuild dh_python3 -O--buildsystem=pybuild dh_installinit -O--buildsystem=pybuild dh_installsystemduser -O--buildsystem=pybuild dh_perl -O--buildsystem=pybuild dh_link -O--buildsystem=pybuild dh_strip_nondeterminism -O--buildsystem=pybuild dh_compress -O--buildsystem=pybuild dh_fixperms -O--buildsystem=pybuild dh_missing -O--buildsystem=pybuild dh_dwz -O--buildsystem=pybuild dh_strip -O--buildsystem=pybuild dh_makeshlibs -O--buildsystem=pybuild dh_shlibdeps -O--buildsystem=pybuild dh_installdeb -O--buildsystem=pybuild dh_gencontrol -O--buildsystem=pybuild dpkg-gencontrol: warning: package python3-pyodbc: substitution variable ${python3:Versions} unused, but is defined dpkg-gencontrol: warning: package python3-pyodbc: substitution variable ${python3:Versions} unused, but is defined dh_md5sums -O--buildsystem=pybuild dh_builddeb -O--buildsystem=pybuild dpkg-deb: building package 'python3-pyodbc-dbgsym' in '../python3-pyodbc-dbgsym_4.0.30-1_arm64.deb'. dpkg-deb: building package 'python3-pyodbc' in '../python3-pyodbc_4.0.30-1_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../pyodbc_4.0.30-1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/19593 and its subdirectories I: Current time: Mon Aug 29 03:29:04 -12 2022 I: pbuilder-time-stamp: 1661786944 Tue Jul 27 09:06:05 UTC 2021 I: 1st build successful. Starting 2nd build on remote node codethink16-arm64.debian.net. Tue Jul 27 09:06:05 UTC 2021 I: Preparing to do remote build '2' on codethink16-arm64.debian.net. Tue Jul 27 09:07:41 UTC 2021 I: Deleting $TMPDIR on codethink16-arm64.debian.net. Tue Jul 27 09:07:42 UTC 2021 I: pyodbc_4.0.30-1_arm64.changes: Format: 1.8 Date: Tue, 30 Jun 2020 10:42:49 +0200 Source: pyodbc Binary: python3-pyodbc python3-pyodbc-dbgsym Architecture: arm64 Version: 4.0.30-1 Distribution: unstable Urgency: low Maintainer: Deepak Tripathi Changed-By: Michael Fladischer Description: python3-pyodbc - Python3 module for ODBC database access Changes: pyodbc (4.0.30-1) unstable; urgency=low . * Team upload. * New upstream release. * Switch from cdbs to dh. * Bump debhelper compatibility and version to 12 and switch to debhelper-compat. * Bump Standards-Version to 4.5.0. * Run wrap-and-sort -bast to reduce diff size of future changes. * Set Rules-Requires-Root: no. * Remove debian/python3-pyodbc.install. * Enable hardening build options. * Remove python3-pyodbc-dbg in favour of python3-pyodbc-dbgsym. * Convert d/copyright to DEP5. * Add patch to fix typos found by lintian. * Enable autopkgtest-pkg-python testsuite. Checksums-Sha1: f835cde99aa3cc3a964240655041cb16d921f20a 6163 pyodbc_4.0.30-1_arm64.buildinfo 7ae892712ebec29e6b7c6744cef3f853cc4800e2 337312 python3-pyodbc-dbgsym_4.0.30-1_arm64.deb 5c7300666fcbd11c4d294fe41ded7d861f9ac716 82808 python3-pyodbc_4.0.30-1_arm64.deb Checksums-Sha256: 910b3b77502e2c037941b7fc797918833868e1345d5b8da93c8e9d38a3f26b52 6163 pyodbc_4.0.30-1_arm64.buildinfo 3107715f83868ff1abc62e6e7cdaa33331766645894f1ea2edabfbf5dbe73cf8 337312 python3-pyodbc-dbgsym_4.0.30-1_arm64.deb 9c7720e54d445f2ef444126d9a2956c142233cca4f250957b768d90a2c8aa346 82808 python3-pyodbc_4.0.30-1_arm64.deb Files: 34e5e29d4df0ef8e8d24213d4e8d429d 6163 python optional pyodbc_4.0.30-1_arm64.buildinfo 9cf3a8942fb4b76275f79c39bd8c4352 337312 debug optional python3-pyodbc-dbgsym_4.0.30-1_arm64.deb 5d82ecf2a455038badd2f53c8f67c3e4 82808 python optional python3-pyodbc_4.0.30-1_arm64.deb Tue Jul 27 09:07:43 UTC 2021 I: diffoscope 177 will be used to compare the two builds: # Profiling output for: /usr/bin/diffoscope --html /srv/reproducible-results/rbuild-debian/tmp.TN2kQBKaUk/pyodbc_4.0.30-1.diffoscope.html --text /srv/reproducible-results/rbuild-debian/tmp.TN2kQBKaUk/pyodbc_4.0.30-1.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/tmp.TN2kQBKaUk/pyodbc_4.0.30-1.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/tmp.TN2kQBKaUk/b1/pyodbc_4.0.30-1_arm64.changes /srv/reproducible-results/rbuild-debian/tmp.TN2kQBKaUk/b2/pyodbc_4.0.30-1_arm64.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call abc.DotChangesFile ## main (total time: 0.329s) 0.329s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.024s) 0.023s 10 calls diffoscope.comparators.binary.FilesystemFile 0.000s 8 calls abc.DotChangesFile Tue Jul 27 09:07:45 UTC 2021 I: diffoscope 177 found no differences in the changes files, and a .buildinfo file also exists. Tue Jul 27 09:07:45 UTC 2021 I: pyodbc from bullseye built successfully and reproducibly on arm64. Tue Jul 27 09:07:47 UTC 2021 I: Submitting .buildinfo files to external archives: Tue Jul 27 09:07:47 UTC 2021 I: Submitting 8.0K b1/pyodbc_4.0.30-1_arm64.buildinfo.asc Tue Jul 27 09:07:49 UTC 2021 I: Submitting 8.0K b2/pyodbc_4.0.30-1_arm64.buildinfo.asc Tue Jul 27 09:07:49 UTC 2021 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Tue Jul 27 09:07:49 UTC 2021 I: Done submitting .buildinfo files. Tue Jul 27 09:07:49 UTC 2021 I: Removing signed pyodbc_4.0.30-1_arm64.buildinfo.asc files: removed './b1/pyodbc_4.0.30-1_arm64.buildinfo.asc' removed './b2/pyodbc_4.0.30-1_arm64.buildinfo.asc'