Sun Jun 4 21:58:51 UTC 2023 I: starting to build pyodbc/bookworm/arm64 on jenkins on '2023-06-04 21:58' Sun Jun 4 21:58:51 UTC 2023 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/arm64_1/2522/console.log Sun Jun 4 21:58:51 UTC 2023 I: Downloading source for bookworm/pyodbc=4.0.34-1 --2023-06-04 21:58:51-- http://cdn-fastly.deb.debian.org/debian/pool/main/p/pyodbc/pyodbc_4.0.34-1.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1697 (1.7K) [text/prs.lines.tag] Saving to: ‘pyodbc_4.0.34-1.dsc’ 0K . 100% 102M=0s 2023-06-04 21:58:52 (102 MB/s) - ‘pyodbc_4.0.34-1.dsc’ saved [1697/1697] Sun Jun 4 21:58:52 UTC 2023 I: pyodbc_4.0.34-1.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: pyodbc Binary: python3-pyodbc Architecture: any Version: 4.0.34-1 Maintainer: Deepak Tripathi Uploaders: Debian Python Team , Homepage: https://mkleehammer.github.io/pyodbc/ Standards-Version: 4.6.1.0 Vcs-Browser: https://salsa.debian.org/python-team/packages/pyodbc Vcs-Git: https://salsa.debian.org/python-team/packages/pyodbc.git Testsuite: autopkgtest-pkg-python Build-Depends: debhelper-compat (= 13), dh-python, python3-all-dbg, python3-all-dev, python3-distutils, unixodbc-dev Package-List: python3-pyodbc deb python optional arch=any Checksums-Sha1: d831a912a5584286ee25d54a9d84926f8476763f 271337 pyodbc_4.0.34.orig.tar.gz cd8e03504fde1c227cf456ad873cfb2c0b7bff9d 4216 pyodbc_4.0.34-1.debian.tar.xz Checksums-Sha256: 7ea7869532b96b8d529b1f08ea85765f94df7e4a58e968b2f8d455346a03e45c 271337 pyodbc_4.0.34.orig.tar.gz 00db8af865389aa927259c99b3b07267f7d619a151b7d8b658a64a3891fb393b 4216 pyodbc_4.0.34-1.debian.tar.xz Files: 12fd23a5b621eb44ba3fb41b3a60bea2 271337 pyodbc_4.0.34.orig.tar.gz 2f0547e67adb5616043c9c97d1c4f23f 4216 pyodbc_4.0.34-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEqVSlRXW87UkkCnJc/9PIi5l90WoFAmNFhcIACgkQ/9PIi5l9 0WoMBQf+LLU9y+g/q5EZJ+fwAOjLJURegkSdPo98/Y0nOJMpBcm/HKDQraO/dV6A Rj/lXPcxxoQ+AYubFYSpRtS12qAbigAw6YhYuGkUCOMuaBWlzchBQuHSMXlo/5b7 yaGvoyEaLqm/6IwJvR8D+q1Z8CH6cMKrTrCS+2qnUPH4/1QZd2JkVtNHllJH27v3 WzAeACK/ddMEXbq/1PVv9NTO5A5RXS9yyw1Gt7sG/bR5q6HE0pamTiNxEQPO8Agz RqwdCoy94v2RqDmr5hv/AzjAjl2kF69+lGxwHfMm+oH120jSvmACePBvUxClLDUL JyJt587eUMeEtVTk/Fs0oqO4lu5bMg== =CAyY -----END PGP SIGNATURE----- Sun Jun 4 21:58:52 UTC 2023 I: Checking whether the package is not for us Sun Jun 4 21:58:52 UTC 2023 I: Starting 1st build on remote node codethink9-arm64.debian.net. Sun Jun 4 21:58:52 UTC 2023 I: Preparing to do remote build '1' on codethink9-arm64.debian.net. Sun Jun 4 22:01:25 UTC 2023 I: Deleting $TMPDIR on codethink9-arm64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Sat Jul 6 16:21:54 -12 2024 I: pbuilder-time-stamp: 1720326114 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. 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.34-1.dsc] I: copying [./pyodbc_4.0.34.orig.tar.gz] I: copying [./pyodbc_4.0.34-1.debian.tar.xz] I: Extracting source gpgv: Signature made Tue Oct 11 03:03:30 2022 -12 gpgv: using RSA key A954A54575BCED49240A725CFFD3C88B997DD16A gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./pyodbc_4.0.34-1.dsc: no acceptable signature found dpkg-source: info: extracting pyodbc in pyodbc-4.0.34 dpkg-source: info: unpacking pyodbc_4.0.34.orig.tar.gz dpkg-source: info: unpacking pyodbc_4.0.34-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-Fix-stub-file-installation-location.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/9846/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 parallel=8 ' DISTRIBUTION='bookworm' 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='9846' 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/r-b-build.83y37Jt7/pbuilderrc_LlD6 --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.83y37Jt7/b1 --logfile b1/build.log pyodbc_4.0.34-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 codethink9-arm64 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:17 UTC 2023 aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Jul 5 04:49 /bin -> usr/bin I: user script /srv/workspace/pbuilder/9846/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 (= 13), 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 ... 19611 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 (= 13); 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} libicu72{a} libjs-jquery{a} libjs-sphinxdoc{a} libjs-underscore{a} libltdl7{a} libmagic-mgc{a} libmagic1{a} libodbc2{a} libodbccr2{a} libodbcinst2{a} libpipeline1{a} libpython3-all-dbg{a} libpython3-all-dev{a} libpython3-dbg{a} libpython3-dev{a} libpython3-stdlib{a} libpython3.11{a} libpython3.11-dbg{a} libpython3.11-dev{a} libpython3.11-minimal{a} libpython3.11-stdlib{a} libreadline8{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} media-types{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.11{a} python3.11-dbg{a} python3.11-dev{a} python3.11-minimal{a} readline-common{a} sensible-utils{a} unixodbc-common{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 libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 69 newly installed, 0 to remove and 0 not upgraded. Need to get 85.6 MB of archives. After unpacking 286 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main arm64 libpython3.11-minimal arm64 3.11.2-6 [806 kB] Get: 2 http://deb.debian.org/debian bookworm/main arm64 libexpat1 arm64 2.5.0-1 [84.8 kB] Get: 3 http://deb.debian.org/debian bookworm/main arm64 python3.11-minimal arm64 3.11.2-6 [1858 kB] Get: 4 http://deb.debian.org/debian bookworm/main arm64 python3-minimal arm64 3.11.2-1+b1 [26.3 kB] Get: 5 http://deb.debian.org/debian bookworm/main arm64 media-types all 10.0.0 [26.1 kB] Get: 6 http://deb.debian.org/debian bookworm/main arm64 readline-common all 8.2-1.3 [69.0 kB] Get: 7 http://deb.debian.org/debian bookworm/main arm64 libreadline8 arm64 8.2-1.3 [155 kB] Get: 8 http://deb.debian.org/debian bookworm/main arm64 libpython3.11-stdlib arm64 3.11.2-6 [1747 kB] Get: 9 http://deb.debian.org/debian bookworm/main arm64 python3.11 arm64 3.11.2-6 [572 kB] Get: 10 http://deb.debian.org/debian bookworm/main arm64 libpython3-stdlib arm64 3.11.2-1+b1 [9296 B] Get: 11 http://deb.debian.org/debian bookworm/main arm64 python3 arm64 3.11.2-1+b1 [26.3 kB] Get: 12 http://deb.debian.org/debian bookworm/main arm64 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 13 http://deb.debian.org/debian bookworm/main arm64 libmagic-mgc arm64 1:5.44-3 [305 kB] Get: 14 http://deb.debian.org/debian bookworm/main arm64 libmagic1 arm64 1:5.44-3 [98.5 kB] Get: 15 http://deb.debian.org/debian bookworm/main arm64 file arm64 1:5.44-3 [42.5 kB] Get: 16 http://deb.debian.org/debian bookworm/main arm64 gettext-base arm64 0.21-12 [159 kB] Get: 17 http://deb.debian.org/debian bookworm/main arm64 libuchardet0 arm64 0.0.7-1 [67.9 kB] Get: 18 http://deb.debian.org/debian bookworm/main arm64 groff-base arm64 1.22.4-10 [861 kB] Get: 19 http://deb.debian.org/debian bookworm/main arm64 bsdextrautils arm64 2.38.1-5+b1 [86.9 kB] Get: 20 http://deb.debian.org/debian bookworm/main arm64 libpipeline1 arm64 1.5.7-1 [36.4 kB] Get: 21 http://deb.debian.org/debian bookworm/main arm64 man-db arm64 2.11.2-2 [1369 kB] Get: 22 http://deb.debian.org/debian bookworm/main arm64 m4 arm64 1.4.19-3 [276 kB] Get: 23 http://deb.debian.org/debian bookworm/main arm64 autoconf all 2.71-3 [332 kB] Get: 24 http://deb.debian.org/debian bookworm/main arm64 autotools-dev all 20220109.1 [51.6 kB] Get: 25 http://deb.debian.org/debian bookworm/main arm64 automake all 1:1.16.5-1.3 [823 kB] Get: 26 http://deb.debian.org/debian bookworm/main arm64 autopoint all 0.21-12 [495 kB] Get: 27 http://deb.debian.org/debian bookworm/main arm64 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 28 http://deb.debian.org/debian bookworm/main arm64 libtool all 2.4.7-5 [517 kB] Get: 29 http://deb.debian.org/debian bookworm/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 30 http://deb.debian.org/debian bookworm/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 31 http://deb.debian.org/debian bookworm/main arm64 libsub-override-perl all 0.09-4 [9304 B] Get: 32 http://deb.debian.org/debian bookworm/main arm64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 33 http://deb.debian.org/debian bookworm/main arm64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 34 http://deb.debian.org/debian bookworm/main arm64 libelf1 arm64 0.188-2.1 [173 kB] Get: 35 http://deb.debian.org/debian bookworm/main arm64 dwz arm64 0.15-1 [101 kB] Get: 36 http://deb.debian.org/debian bookworm/main arm64 libicu72 arm64 72.1-3 [9204 kB] Get: 37 http://deb.debian.org/debian bookworm/main arm64 libxml2 arm64 2.9.14+dfsg-1.2 [620 kB] Get: 38 http://deb.debian.org/debian bookworm/main arm64 gettext arm64 0.21-12 [1248 kB] Get: 39 http://deb.debian.org/debian bookworm/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 40 http://deb.debian.org/debian bookworm/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 41 http://deb.debian.org/debian bookworm/main arm64 debhelper all 13.11.4 [942 kB] Get: 42 http://deb.debian.org/debian bookworm/main arm64 python3-lib2to3 all 3.11.2-3 [76.3 kB] Get: 43 http://deb.debian.org/debian bookworm/main arm64 python3-distutils all 3.11.2-3 [131 kB] Get: 44 http://deb.debian.org/debian bookworm/main arm64 dh-python all 5.20230130 [104 kB] Get: 45 http://deb.debian.org/debian bookworm/main arm64 libexpat1-dev arm64 2.5.0-1 [135 kB] Get: 46 http://deb.debian.org/debian bookworm/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 47 http://deb.debian.org/debian bookworm/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB] Get: 48 http://deb.debian.org/debian bookworm/main arm64 libjs-sphinxdoc all 5.3.0-4 [130 kB] Get: 49 http://deb.debian.org/debian bookworm/main arm64 libltdl7 arm64 2.4.7-5 [392 kB] Get: 50 http://deb.debian.org/debian bookworm/main arm64 libodbc2 arm64 2.3.11-2 [143 kB] Get: 51 http://deb.debian.org/debian bookworm/main arm64 libodbccr2 arm64 2.3.11-2 [26.9 kB] Get: 52 http://deb.debian.org/debian bookworm/main arm64 unixodbc-common all 2.3.11-2 [18.7 kB] Get: 53 http://deb.debian.org/debian bookworm/main arm64 libodbcinst2 arm64 2.3.11-2 [46.2 kB] Get: 54 http://deb.debian.org/debian bookworm/main arm64 libpython3.11-dbg arm64 3.11.2-6 [16.5 MB] Get: 55 http://deb.debian.org/debian bookworm/main arm64 libpython3-dbg arm64 3.11.2-1+b1 [9536 B] Get: 56 http://deb.debian.org/debian bookworm/main arm64 libpython3-all-dbg arm64 3.11.2-1+b1 [1064 B] Get: 57 http://deb.debian.org/debian bookworm/main arm64 libpython3.11 arm64 3.11.2-6 [1841 kB] Get: 58 http://deb.debian.org/debian bookworm/main arm64 zlib1g-dev arm64 1:1.2.13.dfsg-1 [913 kB] Get: 59 http://deb.debian.org/debian bookworm/main arm64 libpython3.11-dev arm64 3.11.2-6 [4395 kB] Get: 60 http://deb.debian.org/debian bookworm/main arm64 libpython3-dev arm64 3.11.2-1+b1 [9564 B] Get: 61 http://deb.debian.org/debian bookworm/main arm64 libpython3-all-dev arm64 3.11.2-1+b1 [1068 B] Get: 62 http://deb.debian.org/debian bookworm/main arm64 python3-all arm64 3.11.2-1+b1 [1064 B] Get: 63 http://deb.debian.org/debian bookworm/main arm64 python3.11-dbg arm64 3.11.2-6 [35.7 MB] Get: 64 http://deb.debian.org/debian bookworm/main arm64 python3-dbg arm64 3.11.2-1+b1 [1236 B] Get: 65 http://deb.debian.org/debian bookworm/main arm64 python3-all-dbg arm64 3.11.2-1+b1 [1072 B] Get: 66 http://deb.debian.org/debian bookworm/main arm64 python3.11-dev arm64 3.11.2-6 [617 kB] Get: 67 http://deb.debian.org/debian bookworm/main arm64 python3-dev arm64 3.11.2-1+b1 [26.2 kB] Get: 68 http://deb.debian.org/debian bookworm/main arm64 python3-all-dev arm64 3.11.2-1+b1 [1076 B] Get: 69 http://deb.debian.org/debian bookworm/main arm64 unixodbc-dev arm64 2.3.11-2 [224 kB] Fetched 85.6 MB in 7s (12.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (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 ... 19611 files and directories currently installed.) Preparing to unpack .../libpython3.11-minimal_3.11.2-6_arm64.deb ... Unpacking libpython3.11-minimal:arm64 (3.11.2-6) ... Selecting previously unselected package libexpat1:arm64. Preparing to unpack .../libexpat1_2.5.0-1_arm64.deb ... Unpacking libexpat1:arm64 (2.5.0-1) ... Selecting previously unselected package python3.11-minimal. Preparing to unpack .../python3.11-minimal_3.11.2-6_arm64.deb ... Unpacking python3.11-minimal (3.11.2-6) ... Setting up libpython3.11-minimal:arm64 (3.11.2-6) ... Setting up libexpat1:arm64 (2.5.0-1) ... Setting up python3.11-minimal (3.11.2-6) ... 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 ... 19927 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.11.2-1+b1_arm64.deb ... Unpacking python3-minimal (3.11.2-1+b1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_10.0.0_all.deb ... Unpacking media-types (10.0.0) ... Selecting previously unselected package readline-common. Preparing to unpack .../2-readline-common_8.2-1.3_all.deb ... Unpacking readline-common (8.2-1.3) ... Selecting previously unselected package libreadline8:arm64. Preparing to unpack .../3-libreadline8_8.2-1.3_arm64.deb ... Unpacking libreadline8:arm64 (8.2-1.3) ... Selecting previously unselected package libpython3.11-stdlib:arm64. Preparing to unpack .../4-libpython3.11-stdlib_3.11.2-6_arm64.deb ... Unpacking libpython3.11-stdlib:arm64 (3.11.2-6) ... Selecting previously unselected package python3.11. Preparing to unpack .../5-python3.11_3.11.2-6_arm64.deb ... Unpacking python3.11 (3.11.2-6) ... Selecting previously unselected package libpython3-stdlib:arm64. Preparing to unpack .../6-libpython3-stdlib_3.11.2-1+b1_arm64.deb ... Unpacking libpython3-stdlib:arm64 (3.11.2-1+b1) ... Setting up python3-minimal (3.11.2-1+b1) ... 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 ... 20361 files and directories currently installed.) Preparing to unpack .../00-python3_3.11.2-1+b1_arm64.deb ... Unpacking python3 (3.11.2-1+b1) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../01-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../02-libmagic-mgc_1%3a5.44-3_arm64.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../03-libmagic1_1%3a5.44-3_arm64.deb ... Unpacking libmagic1:arm64 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../04-file_1%3a5.44-3_arm64.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../05-gettext-base_0.21-12_arm64.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../06-libuchardet0_0.0.7-1_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../07-groff-base_1.22.4-10_arm64.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../08-bsdextrautils_2.38.1-5+b1_arm64.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../09-libpipeline1_1.5.7-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../10-man-db_2.11.2-2_arm64.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.19-3_arm64.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../16-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-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 .../20-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../23-libelf1_0.188-2.1_arm64.deb ... Unpacking libelf1:arm64 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.15-1_arm64.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:arm64. Preparing to unpack .../25-libicu72_72.1-3_arm64.deb ... Unpacking libicu72:arm64 (72.1-3) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../26-libxml2_2.9.14+dfsg-1.2_arm64.deb ... Unpacking libxml2:arm64 (2.9.14+dfsg-1.2) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.21-12_arm64.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../29-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../31-python3-lib2to3_3.11.2-3_all.deb ... Unpacking python3-lib2to3 (3.11.2-3) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../32-python3-distutils_3.11.2-3_all.deb ... Unpacking python3-distutils (3.11.2-3) ... Selecting previously unselected package dh-python. Preparing to unpack .../33-dh-python_5.20230130_all.deb ... Unpacking dh-python (5.20230130) ... Selecting previously unselected package libexpat1-dev:arm64. Preparing to unpack .../34-libexpat1-dev_2.5.0-1_arm64.deb ... Unpacking libexpat1-dev:arm64 (2.5.0-1) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../35-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../36-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../37-libjs-sphinxdoc_5.3.0-4_all.deb ... Unpacking libjs-sphinxdoc (5.3.0-4) ... Selecting previously unselected package libltdl7:arm64. Preparing to unpack .../38-libltdl7_2.4.7-5_arm64.deb ... Unpacking libltdl7:arm64 (2.4.7-5) ... Selecting previously unselected package libodbc2:arm64. Preparing to unpack .../39-libodbc2_2.3.11-2_arm64.deb ... Unpacking libodbc2:arm64 (2.3.11-2) ... Selecting previously unselected package libodbccr2:arm64. Preparing to unpack .../40-libodbccr2_2.3.11-2_arm64.deb ... Unpacking libodbccr2:arm64 (2.3.11-2) ... Selecting previously unselected package unixodbc-common. Preparing to unpack .../41-unixodbc-common_2.3.11-2_all.deb ... Unpacking unixodbc-common (2.3.11-2) ... Selecting previously unselected package libodbcinst2:arm64. Preparing to unpack .../42-libodbcinst2_2.3.11-2_arm64.deb ... Unpacking libodbcinst2:arm64 (2.3.11-2) ... Selecting previously unselected package libpython3.11-dbg:arm64. Preparing to unpack .../43-libpython3.11-dbg_3.11.2-6_arm64.deb ... Unpacking libpython3.11-dbg:arm64 (3.11.2-6) ... Selecting previously unselected package libpython3-dbg:arm64. Preparing to unpack .../44-libpython3-dbg_3.11.2-1+b1_arm64.deb ... Unpacking libpython3-dbg:arm64 (3.11.2-1+b1) ... Selecting previously unselected package libpython3-all-dbg:arm64. Preparing to unpack .../45-libpython3-all-dbg_3.11.2-1+b1_arm64.deb ... Unpacking libpython3-all-dbg:arm64 (3.11.2-1+b1) ... Selecting previously unselected package libpython3.11:arm64. Preparing to unpack .../46-libpython3.11_3.11.2-6_arm64.deb ... Unpacking libpython3.11:arm64 (3.11.2-6) ... Selecting previously unselected package zlib1g-dev:arm64. Preparing to unpack .../47-zlib1g-dev_1%3a1.2.13.dfsg-1_arm64.deb ... Unpacking zlib1g-dev:arm64 (1:1.2.13.dfsg-1) ... Selecting previously unselected package libpython3.11-dev:arm64. Preparing to unpack .../48-libpython3.11-dev_3.11.2-6_arm64.deb ... Unpacking libpython3.11-dev:arm64 (3.11.2-6) ... Selecting previously unselected package libpython3-dev:arm64. Preparing to unpack .../49-libpython3-dev_3.11.2-1+b1_arm64.deb ... Unpacking libpython3-dev:arm64 (3.11.2-1+b1) ... Selecting previously unselected package libpython3-all-dev:arm64. Preparing to unpack .../50-libpython3-all-dev_3.11.2-1+b1_arm64.deb ... Unpacking libpython3-all-dev:arm64 (3.11.2-1+b1) ... Selecting previously unselected package python3-all. Preparing to unpack .../51-python3-all_3.11.2-1+b1_arm64.deb ... Unpacking python3-all (3.11.2-1+b1) ... Selecting previously unselected package python3.11-dbg. Preparing to unpack .../52-python3.11-dbg_3.11.2-6_arm64.deb ... Unpacking python3.11-dbg (3.11.2-6) ... Selecting previously unselected package python3-dbg. Preparing to unpack .../53-python3-dbg_3.11.2-1+b1_arm64.deb ... Unpacking python3-dbg (3.11.2-1+b1) ... Selecting previously unselected package python3-all-dbg. Preparing to unpack .../54-python3-all-dbg_3.11.2-1+b1_arm64.deb ... Unpacking python3-all-dbg (3.11.2-1+b1) ... Selecting previously unselected package python3.11-dev. Preparing to unpack .../55-python3.11-dev_3.11.2-6_arm64.deb ... Unpacking python3.11-dev (3.11.2-6) ... Selecting previously unselected package python3-dev. Preparing to unpack .../56-python3-dev_3.11.2-1+b1_arm64.deb ... Unpacking python3-dev (3.11.2-1+b1) ... Selecting previously unselected package python3-all-dev. Preparing to unpack .../57-python3-all-dev_3.11.2-1+b1_arm64.deb ... Unpacking python3-all-dev (3.11.2-1+b1) ... Selecting previously unselected package unixodbc-dev:arm64. Preparing to unpack .../58-unixodbc-dev_2.3.11-2_arm64.deb ... Unpacking unixodbc-dev:arm64 (2.3.11-2) ... Setting up media-types (10.0.0) ... Setting up libpipeline1:arm64 (1.5.7-1) ... Setting up libicu72:arm64 (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up libmagic1:arm64 (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up autotools-dev (20220109.1) ... Setting up libexpat1-dev:arm64 (2.5.0-1) ... Setting up autopoint (0.21-12) ... Setting up unixodbc-common (2.3.11-2) ... Setting up libltdl7:arm64 (2.4.7-5) ... Setting up autoconf (2.71-3) ... Setting up zlib1g-dev:arm64 (1:1.2.13.dfsg-1) ... Setting up libodbc2:arm64 (2.3.11-2) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:arm64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up libelf1:arm64 (0.188-2.1) ... Setting up readline-common (8.2-1.3) ... Setting up libxml2:arm64 (2.9.14+dfsg-1.2) ... Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Setting up libodbccr2:arm64 (2.3.11-2) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up libodbcinst2:arm64 (2.3.11-2) ... Setting up gettext (0.21-12) ... Setting up libtool (2.4.7-5) ... Setting up libreadline8:arm64 (8.2-1.3) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libjs-sphinxdoc (5.3.0-4) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up unixodbc-dev:arm64 (2.3.11-2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libpython3.11-stdlib:arm64 (3.11.2-6) ... Setting up libpython3.11-dbg:arm64 (3.11.2-6) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libpython3-stdlib:arm64 (3.11.2-1+b1) ... Setting up python3.11 (3.11.2-6) ... Setting up libpython3.11:arm64 (3.11.2-6) ... Setting up debhelper (13.11.4) ... Setting up libpython3-dbg:arm64 (3.11.2-1+b1) ... Setting up python3 (3.11.2-1+b1) ... Setting up libpython3-all-dbg:arm64 (3.11.2-1+b1) ... Setting up libpython3.11-dev:arm64 (3.11.2-6) ... Setting up python3.11-dbg (3.11.2-6) ... Setting up python3-lib2to3 (3.11.2-3) ... Setting up python3-dbg (3.11.2-1+b1) ... Setting up python3-distutils (3.11.2-3) ... Setting up dh-python (5.20230130) ... Setting up libpython3-dev:arm64 (3.11.2-1+b1) ... Setting up python3.11-dev (3.11.2-6) ... Setting up python3-all (3.11.2-1+b1) ... Setting up libpython3-all-dev:arm64 (3.11.2-1+b1) ... Setting up python3-dev (3.11.2-1+b1) ... Setting up python3-all-dbg (3.11.2-1+b1) ... Setting up python3-all-dev (3.11.2-1+b1) ... Processing triggers for libc-bin (2.36-9) ... 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.34/ && 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.34-1_source.changes dpkg-buildpackage: info: source package pyodbc dpkg-buildpackage: info: source version 4.0.34-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:240: python3.11 setup.py clean /build/pyodbc-4.0.34/setup.py:10: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Command /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'include_package_files' warnings.warn(msg) /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'python_requires' warnings.warn(msg) running clean removing '/build/pyodbc-4.0.34/.pybuild/cpython3_3.11_pyodbc/build' (and everything under it) 'build/bdist.linux-arm64' does not exist -- can't clean it 'build/scripts-3.11' does not exist -- can't clean it I: pybuild base:240: python3.11-dbg setup.py clean /build/pyodbc-4.0.34/setup.py:10: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Command /build/pyodbc-4.0.34/setup.py:301: ResourceWarning: unclosed file <_io.TextIOWrapper name='/build/pyodbc-4.0.34/PKG-INFO' mode='r' encoding='utf-8'> return name, numbers ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.11/subprocess.py:1125: ResourceWarning: subprocess 15002 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/pyodbc-4.0.34/setup.py:228: 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.11/subprocess.py:1125: ResourceWarning: subprocess 15003 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/pyodbc-4.0.34/setup.py:231: 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.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'include_package_files' warnings.warn(msg) /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'python_requires' warnings.warn(msg) running clean removing '/build/pyodbc-4.0.34/.pybuild/cpython3_3.11_dbg_pyodbc/build' (and everything under it) 'build/bdist.linux-arm64' does not exist -- can't clean it 'build/scripts-3.11' 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:240: python3.11 setup.py config /build/pyodbc-4.0.34/setup.py:10: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Command /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'include_package_files' warnings.warn(msg) /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'python_requires' warnings.warn(msg) running config I: pybuild base:240: python3.11-dbg setup.py config /build/pyodbc-4.0.34/setup.py:10: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Command /build/pyodbc-4.0.34/setup.py:301: ResourceWarning: unclosed file <_io.TextIOWrapper name='/build/pyodbc-4.0.34/PKG-INFO' mode='r' encoding='utf-8'> return name, numbers ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.11/subprocess.py:1125: ResourceWarning: subprocess 15282 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/pyodbc-4.0.34/setup.py:228: 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.11/subprocess.py:1125: ResourceWarning: subprocess 15283 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'include_package_files' warnings.warn(msg) /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'python_requires' warnings.warn(msg) /usr/lib/python3.11/distutils/command/config.py:16: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead from distutils.sysconfig import customize_compiler running config sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 encoding='utf-8'> dh_auto_build -O--buildsystem=pybuild I: pybuild base:240: /usr/bin/python3 setup.py build /build/pyodbc-4.0.34/setup.py:10: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Command /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'include_package_files' warnings.warn(msg) /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'python_requires' warnings.warn(msg) running build running build_py copying src/pyodbc.pyi -> /build/pyodbc-4.0.34/.pybuild/cpython3_3.11_pyodbc/build running build_ext building 'pyodbc' extension creating build creating build/temp.linux-arm64-3.11 creating build/temp.linux-arm64-3.11/src aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11 -c src/buffer.cpp -o build/temp.linux-arm64-3.11/src/buffer.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/buffer.cpp:12: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11 -c src/cnxninfo.cpp -o build/temp.linux-arm64-3.11/src/cnxninfo.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/cnxninfo.cpp:7: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11 -c src/connection.cpp -o build/temp.linux-arm64-3.11/src/connection.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/connection.cpp:11: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/connection.cpp: In function 'bool ApplyPreconnAttrs(HDBC, SQLINTEGER, PyObject*, char*)': /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/connection.cpp:189:18: note: in expansion of macro 'PyUnicode_AS_UNICODE' 189 | ivalue = PyUnicode_AS_UNICODE(value); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11 -c src/cursor.cpp -o build/temp.linux-arm64-3.11/src/cursor.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/cursor.cpp:15: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11 -c src/errors.cpp -o build/temp.linux-arm64-3.11/src/errors.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/errors.cpp:2: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.11/Python.h:95: src/errors.cpp: In function 'PyObject* RaiseErrorV(const char*, PyObject*, const char*, ...)': /usr/include/python3.11/ceval.h:34:34: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/errors.cpp:91:18: note: in expansion of macro 'PyEval_CallObject' 91 | pError = PyEval_CallObject(exc_class, pAttrs); | ^~~~~~~~~~~~~~~~~ /usr/include/python3.11/ceval.h:27:43: note: declared here 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/errors.cpp: In function 'PyObject* GetError(const char*, PyObject*, PyObject*)': /usr/include/python3.11/ceval.h:34:34: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/errors.cpp:171:14: note: in expansion of macro 'PyEval_CallObject' 171 | pError = PyEval_CallObject(exc_class, pAttrs); // pError will incref pAttrs | ^~~~~~~~~~~~~~~~~ /usr/include/python3.11/ceval.h:27:43: note: declared here 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/errors.cpp: In function 'PyObject* GetErrorFromHandle(Connection*, const char*, HDBC, HSTMT)': src/errors.cpp:328:34: warning: 'Py_ssize_t PyUnicode_GetSize(PyObject*)' is deprecated [-Wdeprecated-declarations] 328 | if (!msg || PyUnicode_GetSize(msg.Get()) == 0) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/python3.11/unicodeobject.h:177:43: note: declared here 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize( | ^~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11 -c src/getdata.cpp -o build/temp.linux-arm64-3.11/src/getdata.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/getdata.cpp:5: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11 -c src/params.cpp -o build/temp.linux-arm64-3.11/src/params.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/params.cpp:10: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/params.cpp: In function 'int PyToCType(Cursor*, unsigned char**, PyObject*, ParamInfo*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 326 | Py_ssize_t len = PyUnicode_GET_SIZE(cell); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:712:50: warning: 'const char* PyUnicode_AS_DATA(PyObject*)' is deprecated [-Wdeprecated-declarations] 712 | # define PyUnicode_AS_DATA(op) PyUnicode_AS_DATA(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/params.cpp:387:33: note: in expansion of macro 'PyUnicode_AS_DATA' 387 | memcpy(*outbuf, PyUnicode_AS_DATA(cell), len); | ^~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:702:27: note: declared here 702 | static inline const char* PyUnicode_AS_DATA(PyObject *op) | ^~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11 -c src/pyodbccompat.cpp -o build/temp.linux-arm64-3.11/src/pyodbccompat.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/pyodbccompat.cpp:1: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.cpp: In function 'bool Text_EqualsI(PyObject*, const char*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE' 14 | Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.cpp:19:21: note: in expansion of macro 'PyUnicode_AS_UNICODE' 19 | Py_UNICODE* p = PyUnicode_AS_UNICODE(lhs); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11 -c src/pyodbcdbg.cpp -o build/temp.linux-arm64-3.11/src/pyodbcdbg.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/pyodbcdbg.cpp:2: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11 -c src/pyodbcmodule.cpp -o build/temp.linux-arm64-3.11/src/pyodbcmodule.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/pyodbcmodule.cpp:11: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function 'void init_locale_info()': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE' 276 | if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:277:25: note: in expansion of macro 'PyUnicode_AS_UNICODE' 277 | chDecimal = PyUnicode_AS_UNICODE(value)[0]; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function 'PyObject* mod_setdecimalsep(PyObject*, PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:719:39: note: in expansion of macro 'PyUnicode_GET_SIZE' 719 | if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:720:25: note: in expansion of macro 'PyUnicode_AS_UNICODE' 720 | chDecimal = PyUnicode_AS_UNICODE(value)[0]; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function 'PyObject* mod_getdecimalsep(PyObject*)': src/pyodbcmodule.cpp:728:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 728 | return PyUnicode_FromUnicode(&chDecimal, 1); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11 -c src/row.cpp -o build/temp.linux-arm64-3.11/src/row.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/row.cpp:12: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11 -c src/textenc.cpp -o build/temp.linux-arm64-3.11/src/textenc.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/textenc.cpp:2: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11/unicodeobject.h:1042, from /usr/include/python3.11/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-arm64-3.11/src/buffer.o build/temp.linux-arm64-3.11/src/cnxninfo.o build/temp.linux-arm64-3.11/src/connection.o build/temp.linux-arm64-3.11/src/cursor.o build/temp.linux-arm64-3.11/src/errors.o build/temp.linux-arm64-3.11/src/getdata.o build/temp.linux-arm64-3.11/src/params.o build/temp.linux-arm64-3.11/src/pyodbccompat.o build/temp.linux-arm64-3.11/src/pyodbcdbg.o build/temp.linux-arm64-3.11/src/pyodbcmodule.o build/temp.linux-arm64-3.11/src/row.o build/temp.linux-arm64-3.11/src/textenc.o -lodbc -o /build/pyodbc-4.0.34/.pybuild/cpython3_3.11_pyodbc/build/pyodbc.cpython-311-aarch64-linux-gnu.so I: pybuild base:240: /usr/bin/python3-dbg setup.py build /build/pyodbc-4.0.34/setup.py:10: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Command /build/pyodbc-4.0.34/setup.py:301: ResourceWarning: unclosed file <_io.TextIOWrapper name='/build/pyodbc-4.0.34/PKG-INFO' mode='r' encoding='utf-8'> return name, numbers ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.11/subprocess.py:1125: ResourceWarning: subprocess 19961 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/pyodbc-4.0.34/setup.py:228: 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.11/subprocess.py:1125: ResourceWarning: subprocess 19963 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'include_package_files' warnings.warn(msg) /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'python_requires' warnings.warn(msg) running build running build_py copying src/pyodbc.pyi -> /build/pyodbc-4.0.34/.pybuild/cpython3_3.11_dbg_pyodbc/build running build_ext /usr/lib/python3.11/distutils/command/build_ext.py:13: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead from distutils.sysconfig import customize_compiler, get_python_version building 'pyodbc' extension creating build/temp.linux-arm64-3.11-pydebug creating build/temp.linux-arm64-3.11-pydebug/src aarch64-linux-gnu-gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11d -c src/buffer.cpp -o build/temp.linux-arm64-3.11-pydebug/src/buffer.o -Wno-write-strings /usr/lib/python3.11/subprocess.py:822: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 encoding='utf-8'> _cleanup() ResourceWarning: Enable tracemalloc to get the object allocation traceback In file included from src/pyodbc.h:172, from src/buffer.cpp:12: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11d/unicodeobject.h:1042, from /usr/include/python3.11d/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11d/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11d -c src/cnxninfo.cpp -o build/temp.linux-arm64-3.11-pydebug/src/cnxninfo.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/cnxninfo.cpp:7: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11d/unicodeobject.h:1042, from /usr/include/python3.11d/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11d/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11d -c src/connection.cpp -o build/temp.linux-arm64-3.11-pydebug/src/connection.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/connection.cpp:11: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11d/unicodeobject.h:1042, from /usr/include/python3.11d/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11d/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/connection.cpp: In function 'bool ApplyPreconnAttrs(HDBC, SQLINTEGER, PyObject*, char*)': /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/connection.cpp:189:18: note: in expansion of macro 'PyUnicode_AS_UNICODE' 189 | ivalue = PyUnicode_AS_UNICODE(value); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11d -c src/cursor.cpp -o build/temp.linux-arm64-3.11-pydebug/src/cursor.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/cursor.cpp:15: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11d/unicodeobject.h:1042, from /usr/include/python3.11d/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11d/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11d -c src/errors.cpp -o build/temp.linux-arm64-3.11-pydebug/src/errors.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/errors.cpp:2: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11d/unicodeobject.h:1042, from /usr/include/python3.11d/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11d/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.11d/Python.h:95: src/errors.cpp: In function 'PyObject* RaiseErrorV(const char*, PyObject*, const char*, ...)': /usr/include/python3.11d/ceval.h:34:34: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/errors.cpp:91:18: note: in expansion of macro 'PyEval_CallObject' 91 | pError = PyEval_CallObject(exc_class, pAttrs); | ^~~~~~~~~~~~~~~~~ /usr/include/python3.11d/ceval.h:27:43: note: declared here 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/errors.cpp: In function 'PyObject* GetError(const char*, PyObject*, PyObject*)': /usr/include/python3.11d/ceval.h:34:34: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/errors.cpp:171:14: note: in expansion of macro 'PyEval_CallObject' 171 | pError = PyEval_CallObject(exc_class, pAttrs); // pError will incref pAttrs | ^~~~~~~~~~~~~~~~~ /usr/include/python3.11d/ceval.h:27:43: note: declared here 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/errors.cpp: In function 'PyObject* GetErrorFromHandle(Connection*, const char*, HDBC, HSTMT)': src/errors.cpp:328:34: warning: 'Py_ssize_t PyUnicode_GetSize(PyObject*)' is deprecated [-Wdeprecated-declarations] 328 | if (!msg || PyUnicode_GetSize(msg.Get()) == 0) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/python3.11d/unicodeobject.h:177:43: note: declared here 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize( | ^~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11d -c src/getdata.cpp -o build/temp.linux-arm64-3.11-pydebug/src/getdata.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/getdata.cpp:5: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11d/unicodeobject.h:1042, from /usr/include/python3.11d/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11d/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11d -c src/params.cpp -o build/temp.linux-arm64-3.11-pydebug/src/params.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/params.cpp:10: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11d/unicodeobject.h:1042, from /usr/include/python3.11d/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11d/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/params.cpp: In function 'int PyToCType(Cursor*, unsigned char**, PyObject*, ParamInfo*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 326 | Py_ssize_t len = PyUnicode_GET_SIZE(cell); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:712:50: warning: 'const char* PyUnicode_AS_DATA(PyObject*)' is deprecated [-Wdeprecated-declarations] 712 | # define PyUnicode_AS_DATA(op) PyUnicode_AS_DATA(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/params.cpp:387:33: note: in expansion of macro 'PyUnicode_AS_DATA' 387 | memcpy(*outbuf, PyUnicode_AS_DATA(cell), len); | ^~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:702:27: note: declared here 702 | static inline const char* PyUnicode_AS_DATA(PyObject *op) | ^~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11d -c src/pyodbccompat.cpp -o build/temp.linux-arm64-3.11-pydebug/src/pyodbccompat.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/pyodbccompat.cpp:1: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11d/unicodeobject.h:1042, from /usr/include/python3.11d/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11d/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.cpp: In function 'bool Text_EqualsI(PyObject*, const char*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE' 14 | Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.cpp:19:21: note: in expansion of macro 'PyUnicode_AS_UNICODE' 19 | Py_UNICODE* p = PyUnicode_AS_UNICODE(lhs); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11d -c src/pyodbcdbg.cpp -o build/temp.linux-arm64-3.11-pydebug/src/pyodbcdbg.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/pyodbcdbg.cpp:2: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11d/unicodeobject.h:1042, from /usr/include/python3.11d/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11d/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11d -c src/pyodbcmodule.cpp -o build/temp.linux-arm64-3.11-pydebug/src/pyodbcmodule.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/pyodbcmodule.cpp:11: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11d/unicodeobject.h:1042, from /usr/include/python3.11d/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11d/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function 'void init_locale_info()': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE' 276 | if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:277:25: note: in expansion of macro 'PyUnicode_AS_UNICODE' 277 | chDecimal = PyUnicode_AS_UNICODE(value)[0]; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function 'PyObject* mod_setdecimalsep(PyObject*, PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:719:39: note: in expansion of macro 'PyUnicode_GET_SIZE' 719 | if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:720:25: note: in expansion of macro 'PyUnicode_AS_UNICODE' 720 | chDecimal = PyUnicode_AS_UNICODE(value)[0]; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function 'PyObject* mod_getdecimalsep(PyObject*)': src/pyodbcmodule.cpp:728:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 728 | return PyUnicode_FromUnicode(&chDecimal, 1); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11d -c src/row.cpp -o build/temp.linux-arm64-3.11-pydebug/src/row.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/row.cpp:12: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11d/unicodeobject.h:1042, from /usr/include/python3.11d/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11d/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.34 -I/usr/include/python3.11d -c src/textenc.cpp -o build/temp.linux-arm64-3.11-pydebug/src/textenc.o -Wno-write-strings In file included from src/pyodbc.h:172, from src/textenc.cpp:2: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:33: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] 75 | return PyUnicode_FromUnicode(0, length); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/python3.11d/unicodeobject.h:1042, from /usr/include/python3.11d/Python.h:51, from src/pyodbc.h:45: /usr/include/python3.11d/cpython/unicodeobject.h:600:42: note: declared here 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' 86 | return PyUnicode_AS_UNICODE(o); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' 126 | return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/include/python3.11d/cpython/unicodeobject.h:664:52: warning: 'Py_ssize_t PyUnicode_GET_SIZE(PyObject*)' is deprecated [-Wdeprecated-declarations] 664 | # define PyUnicode_GET_SIZE(op) PyUnicode_GET_SIZE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' 146 | Py_ssize_t cch = PyUnicode_GET_SIZE(o); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:652:26: note: declared here 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op) | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:698:56: warning: 'Py_UNICODE* PyUnicode_AS_UNICODE(PyObject*)' is deprecated [-Wdeprecated-declarations] 698 | # define PyUnicode_AS_UNICODE(op) PyUnicode_AS_UNICODE(_PyObject_CAST(op)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' 147 | memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11d/cpython/unicodeobject.h:685:27: note: declared here 685 | static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op) | ^~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/build/pyodbc-4.0.34=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-arm64-3.11-pydebug/src/buffer.o build/temp.linux-arm64-3.11-pydebug/src/cnxninfo.o build/temp.linux-arm64-3.11-pydebug/src/connection.o build/temp.linux-arm64-3.11-pydebug/src/cursor.o build/temp.linux-arm64-3.11-pydebug/src/errors.o build/temp.linux-arm64-3.11-pydebug/src/getdata.o build/temp.linux-arm64-3.11-pydebug/src/params.o build/temp.linux-arm64-3.11-pydebug/src/pyodbccompat.o build/temp.linux-arm64-3.11-pydebug/src/pyodbcdbg.o build/temp.linux-arm64-3.11-pydebug/src/pyodbcmodule.o build/temp.linux-arm64-3.11-pydebug/src/row.o build/temp.linux-arm64-3.11-pydebug/src/textenc.o -lodbc -o /build/pyodbc-4.0.34/.pybuild/cpython3_3.11_dbg_pyodbc/build/pyodbc.cpython-311d-aarch64-linux-gnu.so dh_auto_test -O--buildsystem=pybuild I: pybuild base:240: cd /build/pyodbc-4.0.34/.pybuild/cpython3_3.11_pyodbc/build; python3.11 -m unittest discover -v ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK I: pybuild base:240: cd /build/pyodbc-4.0.34/.pybuild/cpython3_3.11_dbg_pyodbc/build; python3.11-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 --destdir=debian/python3-pyodbc/ -O--buildsystem=pybuild I: pybuild base:240: /usr/bin/python3 setup.py install --root /build/pyodbc-4.0.34/debian/python3-pyodbc /build/pyodbc-4.0.34/setup.py:10: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Command /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'include_package_files' warnings.warn(msg) /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'python_requires' warnings.warn(msg) running install running build running build_py running build_ext running install_lib creating /build/pyodbc-4.0.34/debian/python3-pyodbc/usr creating /build/pyodbc-4.0.34/debian/python3-pyodbc/usr/lib creating /build/pyodbc-4.0.34/debian/python3-pyodbc/usr/lib/python3.11 creating /build/pyodbc-4.0.34/debian/python3-pyodbc/usr/lib/python3.11/dist-packages copying /build/pyodbc-4.0.34/.pybuild/cpython3_3.11_pyodbc/build/pyodbc.cpython-311-aarch64-linux-gnu.so -> /build/pyodbc-4.0.34/debian/python3-pyodbc/usr/lib/python3.11/dist-packages copying /build/pyodbc-4.0.34/.pybuild/cpython3_3.11_pyodbc/build/pyodbc.pyi -> /build/pyodbc-4.0.34/debian/python3-pyodbc/usr/lib/python3.11/dist-packages running install_egg_info Writing /build/pyodbc-4.0.34/debian/python3-pyodbc/usr/lib/python3.11/dist-packages/pyodbc-4.0.34.egg-info I: pybuild base:240: /usr/bin/python3-dbg setup.py install --root /build/pyodbc-4.0.34/debian/python3-pyodbc /build/pyodbc-4.0.34/setup.py:10: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Command /build/pyodbc-4.0.34/setup.py:301: ResourceWarning: unclosed file <_io.TextIOWrapper name='/build/pyodbc-4.0.34/PKG-INFO' mode='r' encoding='utf-8'> return name, numbers ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.11/subprocess.py:1125: ResourceWarning: subprocess 26536 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/pyodbc-4.0.34/setup.py:228: 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.11/subprocess.py:1125: ResourceWarning: subprocess 26537 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/pyodbc-4.0.34/setup.py:231: 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.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'include_package_files' warnings.warn(msg) /usr/lib/python3.11/distutils/dist.py:274: UserWarning: Unknown distribution option: 'python_requires' warnings.warn(msg) /usr/lib/python3.11/distutils/command/install.py:13: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead from distutils.sysconfig import get_config_vars, is_virtual_environment running install /usr/lib/python3.11/distutils/command/install.py:358: DeprecationWarning: check_home argument is deprecated and ignored. if sysconfig.is_python_build(True): running build running build_py running build_ext running install_lib copying /build/pyodbc-4.0.34/.pybuild/cpython3_3.11_dbg_pyodbc/build/pyodbc.cpython-311d-aarch64-linux-gnu.so -> /build/pyodbc-4.0.34/debian/python3-pyodbc/usr/lib/python3.11/dist-packages copying /build/pyodbc-4.0.34/.pybuild/cpython3_3.11_dbg_pyodbc/build/pyodbc.pyi -> /build/pyodbc-4.0.34/debian/python3-pyodbc/usr/lib/python3.11/dist-packages running install_egg_info Removing /build/pyodbc-4.0.34/debian/python3-pyodbc/usr/lib/python3.11/dist-packages/pyodbc-4.0.34.egg-info Writing /build/pyodbc-4.0.34/debian/python3-pyodbc/usr/lib/python3.11/dist-packages/pyodbc-4.0.34.egg-info dh_installdocs -O--buildsystem=pybuild dh_installchangelogs -O--buildsystem=pybuild dh_python3 -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 -a -O--buildsystem=pybuild dh_strip -a -O--buildsystem=pybuild dh_makeshlibs -a -O--buildsystem=pybuild dh_shlibdeps -a -O--buildsystem=pybuild dh_installdeb -O--buildsystem=pybuild dh_gencontrol -O--buildsystem=pybuild dpkg-gencontrol: warning: Provides field of package python3-pyodbc: substitution variable ${python3:Provides} used, but is not defined dpkg-gencontrol: warning: Provides field of package python3-pyodbc: substitution variable ${python3:Provides} used, but is not defined dh_md5sums -O--buildsystem=pybuild dh_builddeb -O--buildsystem=pybuild dpkg-deb: building package 'python3-pyodbc' in '../python3-pyodbc_4.0.34-1_arm64.deb'. dpkg-deb: building package 'python3-pyodbc-dbgsym' in '../python3-pyodbc-dbgsym_4.0.34-1_arm64.deb'. dpkg-genbuildinfo --build=binary -O../pyodbc_4.0.34-1_arm64.buildinfo dpkg-genchanges --build=binary -O../pyodbc_4.0.34-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/9846 and its subdirectories I: Current time: Sat Jul 6 16:24:22 -12 2024 I: pbuilder-time-stamp: 1720326262 Sun Jun 4 22:01:26 UTC 2023 I: 1st build successful. Starting 2nd build on remote node codethink10-arm64.debian.net. Sun Jun 4 22:01:26 UTC 2023 I: Preparing to do remote build '2' on codethink10-arm64.debian.net. Sun Jun 4 22:03:26 UTC 2023 I: Deleting $TMPDIR on codethink10-arm64.debian.net. Sun Jun 4 22:03:27 UTC 2023 I: pyodbc_4.0.34-1_arm64.changes: Format: 1.8 Date: Tue, 11 Oct 2022 14:57:55 +0000 Source: pyodbc Binary: python3-pyodbc python3-pyodbc-dbgsym Architecture: arm64 Version: 4.0.34-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.34-1) unstable; urgency=low . * Team upload. * New upstream release. * Add debian/gbp.conf. * Add myself to d/copyright. * Bump Standards-Version to 4.6.1.0. Checksums-Sha1: f71f82fb7957d74ea154f24db3f2c98ba50901f9 6456 pyodbc_4.0.34-1_arm64.buildinfo 3c5d4aa6b1ba1d3facb1fc97979d7857e03eab28 357812 python3-pyodbc-dbgsym_4.0.34-1_arm64.deb 37b7d84f5300075b695ca664ddd44f51883ceac5 86552 python3-pyodbc_4.0.34-1_arm64.deb Checksums-Sha256: bda6018a391b2b2de2ef963a11f1eca60c52de8f9dd759b883ff2cb859d341c7 6456 pyodbc_4.0.34-1_arm64.buildinfo 77aec3701f9b14ecf736ca878aadb70c00536ea969cc7ffad9f0a711a618deb3 357812 python3-pyodbc-dbgsym_4.0.34-1_arm64.deb 0ee753e3b5448a73f373de5076547f73281291156f9f2fa6d04410f4e59e9616 86552 python3-pyodbc_4.0.34-1_arm64.deb Files: 499fd07d177df0104b4f842b442e05e9 6456 python optional pyodbc_4.0.34-1_arm64.buildinfo 5a28ca7f5e3f5ab76bb3ea9e6e81f167 357812 debug optional python3-pyodbc-dbgsym_4.0.34-1_arm64.deb 06806fc336113f88e060bae03280ecda 86552 python optional python3-pyodbc_4.0.34-1_arm64.deb Sun Jun 4 22:03:28 UTC 2023 I: diffoscope 242 will be used to compare the two builds: # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.83y37Jt7/pyodbc_4.0.34-1.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.83y37Jt7/pyodbc_4.0.34-1.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.83y37Jt7/pyodbc_4.0.34-1.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.83y37Jt7/b1/pyodbc_4.0.34-1_arm64.changes /srv/reproducible-results/rbuild-debian/r-b-build.83y37Jt7/b2/pyodbc_4.0.34-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.410s) 0.410s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.028s) 0.027s 12 calls diffoscope.comparators.binary.FilesystemFile 0.000s 10 calls abc.DotChangesFile ## specialize (total time: 0.001s) 0.001s 1 call specialize Sun Jun 4 22:03:29 UTC 2023 I: diffoscope 242 found no differences in the changes files, and a .buildinfo file also exists. Sun Jun 4 22:03:29 UTC 2023 I: pyodbc from bookworm built successfully and reproducibly on arm64. Sun Jun 4 22:03:31 UTC 2023 I: Submitting .buildinfo files to external archives: Sun Jun 4 22:03:31 UTC 2023 I: Submitting 8.0K b1/pyodbc_4.0.34-1_arm64.buildinfo.asc Sun Jun 4 22:03:32 UTC 2023 I: Submitting 8.0K b2/pyodbc_4.0.34-1_arm64.buildinfo.asc Sun Jun 4 22:03:33 UTC 2023 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Sun Jun 4 22:03:33 UTC 2023 I: Done submitting .buildinfo files. Sun Jun 4 22:03:33 UTC 2023 I: Removing signed pyodbc_4.0.34-1_arm64.buildinfo.asc files: removed './b1/pyodbc_4.0.34-1_arm64.buildinfo.asc' removed './b2/pyodbc_4.0.34-1_arm64.buildinfo.asc'