Raspbian Package Auto-Building

Build log for pyodbc (4.0.34-1+b1) on armhf

pyodbc4.0.34-1+b1armhf → 2023-01-31 01:09:57

sbuild (Debian sbuild) 0.71.0 (24 Aug 2016) on testwandboard

+==============================================================================+
| pyodbc 4.0.34-1+b1 (armhf)                   Tue, 31 Jan 2023 00:55:38 +0000 |
+==============================================================================+

Package: pyodbc
Version: 4.0.34-1+b1
Source Version: 4.0.34-1
Distribution: bookworm-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/bookworm-staging-armhf-sbuild-2db22588-1b86-4ddd-b634-500c227dc59d' with '<<CHROOT>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Get:1 http://172.17.4.1/private bookworm-staging InRelease [11.3 kB]
Get:2 http://172.17.4.1/private bookworm-staging/main Sources [13.6 MB]
Get:3 http://172.17.4.1/private bookworm-staging/main armhf Packages [14.4 MB]
Fetched 28.1 MB in 31s (914 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
W: http://172.17.4.1/private/dists/bookworm-staging/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Check APT
---------

Checking available source versions...

Download source files with APT
------------------------------

Reading package lists...
NOTICE: 'pyodbc' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/python-team/packages/pyodbc.git
Please use:
git clone https://salsa.debian.org/python-team/packages/pyodbc.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 277 kB of source archives.
Get:1 http://172.17.4.1/private bookworm-staging/main pyodbc 4.0.34-1 (dsc) [1697 B]
Get:2 http://172.17.4.1/private bookworm-staging/main pyodbc 4.0.34-1 (tar) [271 kB]
Get:3 http://172.17.4.1/private bookworm-staging/main pyodbc 4.0.34-1 (diff) [4216 B]
Fetched 277 kB in 0s (1351 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/pyodbc-6M0dG5/pyodbc-4.0.34' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/pyodbc-6M0dG5' with '<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install build-essential                                                      |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<<BUILDDIR>>/resolver-ePTmHU/apt_archive/sbuild-build-depends-core-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
gpg: keybox '/<<BUILDDIR>>/resolver-ePTmHU/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-ePTmHU/gpg/trustdb.gpg: trustdb created
gpg: key 35506D9A48F77B2E: public key "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: key 35506D9A48F77B2E: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 35506D9A48F77B2E: secret key imported
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-ePTmHU/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-ePTmHU/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-ePTmHU/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-ePTmHU/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-ePTmHU/apt_archive ./ Packages [431 B]
Fetched 2107 B in 1s (2831 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install core build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  krb5-locales libpam-cap netbase
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 90 not upgraded.
Need to get 852 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-ePTmHU/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [852 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 852 B in 0s (23.2 kB/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 12958 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (armhf included in any)

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: debhelper-compat (= 13), dh-python, python3-all-dbg, python3-all-dev, python3-distutils, unixodbc-dev
Filtered Build-Depends: debhelper-compat (= 13), dh-python, python3-all-dbg, python3-all-dev, python3-distutils, unixodbc-dev
dpkg-deb: building package 'sbuild-build-depends-pyodbc-dummy' in '/<<BUILDDIR>>/resolver-ePTmHU/apt_archive/sbuild-build-depends-pyodbc-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy sbuild-build-depends-pyodbc-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-ePTmHU/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-ePTmHU/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-ePTmHU/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-ePTmHU/apt_archive ./ Sources [529 B]
Get:5 copy:/<<BUILDDIR>>/resolver-ePTmHU/apt_archive ./ Packages [611 B]
Fetched 2473 B in 1s (3369 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install pyodbc build dependencies (apt-based resolver)
------------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  krb5-locales libpam-cap netbase
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils debhelper
  dh-autoreconf dh-python dh-strip-nondeterminism dwz file gettext
  gettext-base groff-base intltool-debian libarchive-zip-perl
  libdebhelper-perl libelf1 libexpat1 libexpat1-dev
  libfile-stripnondeterminism-perl libicu72 libjs-jquery libjs-sphinxdoc
  libjs-underscore libltdl7 libmagic-mgc libmagic1 libmpdec3 libodbc2
  libodbccr2 libodbcinst2 libpipeline1 libpython3-all-dbg libpython3-all-dev
  libpython3-dbg libpython3-dev libpython3-stdlib libpython3.11
  libpython3.11-dbg libpython3.11-dev libpython3.11-minimal
  libpython3.11-stdlib libsub-override-perl libtool libuchardet0 libxml2 m4
  man-db media-types po-debconf python3 python3-all python3-all-dbg
  python3-all-dev python3-dbg python3-dev python3-distutils python3-lib2to3
  python3-minimal python3.11 python3.11-dbg python3.11-dev python3.11-minimal
  unixodbc-common unixodbc-dev zlib1g-dev
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc dh-make flit python3-build
  python3-tomli python3-installer gettext-doc libasprintf-dev libgettextpo-dev
  groff odbc-postgresql tdsodbc libtool-doc gfortran | fortran95-compiler
  gcj-jdk m4-doc apparmor less www-browser libmail-box-perl python3-doc
  python3-tk python3-venv python3.11-venv python3.11-doc python3-gdbm-dbg
  python3-tk-dbg binfmt-support
Recommended packages:
  curl | wget | lynx libarchive-cpio-perl javascript-common libltdl-dev
  libmail-sendmail-perl gdb
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils debhelper
  dh-autoreconf dh-python dh-strip-nondeterminism dwz file gettext
  gettext-base groff-base intltool-debian libarchive-zip-perl
  libdebhelper-perl libelf1 libexpat1 libexpat1-dev
  libfile-stripnondeterminism-perl libicu72 libjs-jquery libjs-sphinxdoc
  libjs-underscore libltdl7 libmagic-mgc libmagic1 libmpdec3 libodbc2
  libodbccr2 libodbcinst2 libpipeline1 libpython3-all-dbg libpython3-all-dev
  libpython3-dbg libpython3-dev libpython3-stdlib libpython3.11
  libpython3.11-dbg libpython3.11-dev libpython3.11-minimal
  libpython3.11-stdlib libsub-override-perl libtool libuchardet0 libxml2 m4
  man-db media-types po-debconf python3 python3-all python3-all-dbg
  python3-all-dev python3-dbg python3-dev python3-distutils python3-lib2to3
  python3-minimal python3.11 python3.11-dbg python3.11-dev python3.11-minimal
  sbuild-build-depends-pyodbc-dummy unixodbc-common unixodbc-dev zlib1g-dev
0 upgraded, 68 newly installed, 0 to remove and 90 not upgraded.
Need to get 81.6 MB of archives.
After this operation, 248 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-ePTmHU/apt_archive ./ sbuild-build-depends-pyodbc-dummy 0.invalid.0 [896 B]
Get:2 http://172.17.4.1/private bookworm-staging/main armhf libpython3.11-minimal armhf 3.11.1-2 [796 kB]
Get:3 http://172.17.4.1/private bookworm-staging/main armhf libexpat1 armhf 2.5.0-1 [77.2 kB]
Get:4 http://172.17.4.1/private bookworm-staging/main armhf python3.11-minimal armhf 3.11.1-2 [1678 kB]
Get:5 http://172.17.4.1/private bookworm-staging/main armhf python3-minimal armhf 3.11.1-2 [25.7 kB]
Get:6 http://172.17.4.1/private bookworm-staging/main armhf media-types all 8.0.0 [33.4 kB]
Get:7 http://172.17.4.1/private bookworm-staging/main armhf libmpdec3 armhf 2.5.1-2+rpi1 [73.5 kB]
Get:8 http://172.17.4.1/private bookworm-staging/main armhf libpython3.11-stdlib armhf 3.11.1-2 [1622 kB]
Get:9 http://172.17.4.1/private bookworm-staging/main armhf python3.11 armhf 3.11.1-2 [567 kB]
Get:10 http://172.17.4.1/private bookworm-staging/main armhf libpython3-stdlib armhf 3.11.1-2 [8704 B]
Get:11 http://172.17.4.1/private bookworm-staging/main armhf python3 armhf 3.11.1-2 [25.4 kB]
Get:12 http://172.17.4.1/private bookworm-staging/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB]
Get:13 http://172.17.4.1/private bookworm-staging/main armhf groff-base armhf 1.22.4-9 [774 kB]
Get:14 http://172.17.4.1/private bookworm-staging/main armhf bsdextrautils armhf 2.38.1-4 [78.8 kB]
Get:15 http://172.17.4.1/private bookworm-staging/main armhf libpipeline1 armhf 1.5.7-1 [33.4 kB]
Get:16 http://172.17.4.1/private bookworm-staging/main armhf man-db armhf 2.11.2-1 [1342 kB]
Get:17 http://172.17.4.1/private bookworm-staging/main armhf libmagic-mgc armhf 1:5.44-2 [305 kB]
Get:18 http://172.17.4.1/private bookworm-staging/main armhf libmagic1 armhf 1:5.44-2 [95.3 kB]
Get:19 http://172.17.4.1/private bookworm-staging/main armhf file armhf 1:5.44-2 [41.4 kB]
Get:20 http://172.17.4.1/private bookworm-staging/main armhf gettext-base armhf 0.21-10 [156 kB]
Get:21 http://172.17.4.1/private bookworm-staging/main armhf m4 armhf 1.4.19-2 [256 kB]
Get:22 http://172.17.4.1/private bookworm-staging/main armhf autoconf all 2.71-3 [332 kB]
Get:23 http://172.17.4.1/private bookworm-staging/main armhf autotools-dev all 20220109.1 [51.6 kB]
Get:24 http://172.17.4.1/private bookworm-staging/main armhf automake all 1:1.16.5-1.3 [823 kB]
Get:25 http://172.17.4.1/private bookworm-staging/main armhf autopoint all 0.21-10 [495 kB]
Get:26 http://172.17.4.1/private bookworm-staging/main armhf libdebhelper-perl all 13.11.4 [81.2 kB]
Get:27 http://172.17.4.1/private bookworm-staging/main armhf libtool all 2.4.7-5 [517 kB]
Get:28 http://172.17.4.1/private bookworm-staging/main armhf dh-autoreconf all 20 [17.1 kB]
Get:29 http://172.17.4.1/private bookworm-staging/main armhf libarchive-zip-perl all 1.68-1 [104 kB]
Get:30 http://172.17.4.1/private bookworm-staging/main armhf libsub-override-perl all 0.09-4 [9304 B]
Get:31 http://172.17.4.1/private bookworm-staging/main armhf libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB]
Get:32 http://172.17.4.1/private bookworm-staging/main armhf dh-strip-nondeterminism all 1.13.1-1 [8620 B]
Get:33 http://172.17.4.1/private bookworm-staging/main armhf libelf1 armhf 0.187-2+rpi2 [177 kB]
Get:34 http://172.17.4.1/private bookworm-staging/main armhf dwz armhf 0.15-1 [92.4 kB]
Get:35 http://172.17.4.1/private bookworm-staging/main armhf libicu72 armhf 72.1-3 [9009 kB]
Get:36 http://172.17.4.1/private bookworm-staging/main armhf libxml2 armhf 2.9.14+dfsg-1.1+b1 [571 kB]
Get:37 http://172.17.4.1/private bookworm-staging/main armhf gettext armhf 0.21-10 [1203 kB]
Get:38 http://172.17.4.1/private bookworm-staging/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB]
Get:39 http://172.17.4.1/private bookworm-staging/main armhf po-debconf all 1.0.21+nmu1 [248 kB]
Get:40 http://172.17.4.1/private bookworm-staging/main armhf debhelper all 13.11.4 [942 kB]
Get:41 http://172.17.4.1/private bookworm-staging/main armhf python3-lib2to3 all 3.10.8-1 [77.3 kB]
Get:42 http://172.17.4.1/private bookworm-staging/main armhf python3-distutils all 3.10.8-1 [139 kB]
Get:43 http://172.17.4.1/private bookworm-staging/main armhf dh-python all 5.20220819+rpi1 [114 kB]
Get:44 http://172.17.4.1/private bookworm-staging/main armhf libexpat1-dev armhf 2.5.0-1 [130 kB]
Get:45 http://172.17.4.1/private bookworm-staging/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB]
Get:46 http://172.17.4.1/private bookworm-staging/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB]
Get:47 http://172.17.4.1/private bookworm-staging/main armhf libjs-sphinxdoc all 5.3.0-3 [130 kB]
Get:48 http://172.17.4.1/private bookworm-staging/main armhf libltdl7 armhf 2.4.7-5 [390 kB]
Get:49 http://172.17.4.1/private bookworm-staging/main armhf libodbc2 armhf 2.3.11-2 [134 kB]
Get:50 http://172.17.4.1/private bookworm-staging/main armhf libodbccr2 armhf 2.3.11-2 [25.4 kB]
Get:51 http://172.17.4.1/private bookworm-staging/main armhf unixodbc-common all 2.3.11-2 [18.7 kB]
Get:52 http://172.17.4.1/private bookworm-staging/main armhf libodbcinst2 armhf 2.3.11-2 [38.3 kB]
Get:53 http://172.17.4.1/private bookworm-staging/main armhf libpython3.11-dbg armhf 3.11.1-2 [15.6 MB]
Get:54 http://172.17.4.1/private bookworm-staging/main armhf libpython3-dbg armhf 3.11.1-2 [8956 B]
Get:55 http://172.17.4.1/private bookworm-staging/main armhf libpython3-all-dbg armhf 3.11.1-2 [1068 B]
Get:56 http://172.17.4.1/private bookworm-staging/main armhf libpython3.11 armhf 3.11.1-2 [1666 kB]
Get:57 http://172.17.4.1/private bookworm-staging/main armhf zlib1g-dev armhf 1:1.2.13.dfsg-1 [901 kB]
Get:58 http://172.17.4.1/private bookworm-staging/main armhf libpython3.11-dev armhf 3.11.1-2 [3375 kB]
Get:59 http://172.17.4.1/private bookworm-staging/main armhf libpython3-dev armhf 3.11.1-2 [8936 B]
Get:60 http://172.17.4.1/private bookworm-staging/main armhf libpython3-all-dev armhf 3.11.1-2 [1068 B]
Get:61 http://172.17.4.1/private bookworm-staging/main armhf python3-all armhf 3.11.1-2 [1064 B]
Get:62 http://172.17.4.1/private bookworm-staging/main armhf python3.11-dbg armhf 3.11.1-2 [34.8 MB]
Get:63 http://172.17.4.1/private bookworm-staging/main armhf python3-dbg armhf 3.11.1-2 [1228 B]
Get:64 http://172.17.4.1/private bookworm-staging/main armhf python3-all-dbg armhf 3.11.1-2 [1068 B]
Get:65 http://172.17.4.1/private bookworm-staging/main armhf python3.11-dev armhf 3.11.1-2 [618 kB]
Get:66 http://172.17.4.1/private bookworm-staging/main armhf python3-dev armhf 3.11.1-2 [26.2 kB]
Get:67 http://172.17.4.1/private bookworm-staging/main armhf python3-all-dev armhf 3.11.1-2 [1064 B]
Get:68 http://172.17.4.1/private bookworm-staging/main armhf unixodbc-dev armhf 2.3.11-2 [211 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 81.6 MB in 18s (4418 kB/s)
Selecting previously unselected package libpython3.11-minimal:armhf.
(Reading database ... 12958 files and directories currently installed.)
Preparing to unpack .../libpython3.11-minimal_3.11.1-2_armhf.deb ...
Unpacking libpython3.11-minimal:armhf (3.11.1-2) ...
Selecting previously unselected package libexpat1:armhf.
Preparing to unpack .../libexpat1_2.5.0-1_armhf.deb ...
Unpacking libexpat1:armhf (2.5.0-1) ...
Selecting previously unselected package python3.11-minimal.
Preparing to unpack .../python3.11-minimal_3.11.1-2_armhf.deb ...
Unpacking python3.11-minimal (3.11.1-2) ...
Setting up libpython3.11-minimal:armhf (3.11.1-2) ...
Setting up libexpat1:armhf (2.5.0-1) ...
Setting up python3.11-minimal (3.11.1-2) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 13274 files and directories currently installed.)
Preparing to unpack .../0-python3-minimal_3.11.1-2_armhf.deb ...
Unpacking python3-minimal (3.11.1-2) ...
Selecting previously unselected package media-types.
Preparing to unpack .../1-media-types_8.0.0_all.deb ...
Unpacking media-types (8.0.0) ...
Selecting previously unselected package libmpdec3:armhf.
Preparing to unpack .../2-libmpdec3_2.5.1-2+rpi1_armhf.deb ...
Unpacking libmpdec3:armhf (2.5.1-2+rpi1) ...
Selecting previously unselected package libpython3.11-stdlib:armhf.
Preparing to unpack .../3-libpython3.11-stdlib_3.11.1-2_armhf.deb ...
Unpacking libpython3.11-stdlib:armhf (3.11.1-2) ...
Selecting previously unselected package python3.11.
Preparing to unpack .../4-python3.11_3.11.1-2_armhf.deb ...
Unpacking python3.11 (3.11.1-2) ...
Selecting previously unselected package libpython3-stdlib:armhf.
Preparing to unpack .../5-libpython3-stdlib_3.11.1-2_armhf.deb ...
Unpacking libpython3-stdlib:armhf (3.11.1-2) ...
Setting up python3-minimal (3.11.1-2) ...
Selecting previously unselected package python3.
(Reading database ... 13687 files and directories currently installed.)
Preparing to unpack .../00-python3_3.11.1-2_armhf.deb ...
Unpacking python3 (3.11.1-2) ...
Selecting previously unselected package libuchardet0:armhf.
Preparing to unpack .../01-libuchardet0_0.0.7-1_armhf.deb ...
Unpacking libuchardet0:armhf (0.0.7-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../02-groff-base_1.22.4-9_armhf.deb ...
Unpacking groff-base (1.22.4-9) ...
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../03-bsdextrautils_2.38.1-4_armhf.deb ...
Unpacking bsdextrautils (2.38.1-4) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../04-libpipeline1_1.5.7-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.7-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../05-man-db_2.11.2-1_armhf.deb ...
Unpacking man-db (2.11.2-1) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../06-libmagic-mgc_1%3a5.44-2_armhf.deb ...
Unpacking libmagic-mgc (1:5.44-2) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../07-libmagic1_1%3a5.44-2_armhf.deb ...
Unpacking libmagic1:armhf (1:5.44-2) ...
Selecting previously unselected package file.
Preparing to unpack .../08-file_1%3a5.44-2_armhf.deb ...
Unpacking file (1:5.44-2) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../09-gettext-base_0.21-10_armhf.deb ...
Unpacking gettext-base (0.21-10) ...
Selecting previously unselected package m4.
Preparing to unpack .../10-m4_1.4.19-2_armhf.deb ...
Unpacking m4 (1.4.19-2) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../11-autoconf_2.71-3_all.deb ...
Unpacking autoconf (2.71-3) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ...
Unpacking autotools-dev (20220109.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../13-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 .../14-autopoint_0.21-10_all.deb ...
Unpacking autopoint (0.21-10) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../15-libdebhelper-perl_13.11.4_all.deb ...
Unpacking libdebhelper-perl (13.11.4) ...
Selecting previously unselected package libtool.
Preparing to unpack .../16-libtool_2.4.7-5_all.deb ...
Unpacking libtool (2.4.7-5) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../17-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../18-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 .../19-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 .../20-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 .../21-dh-strip-nondeterminism_1.13.1-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.13.1-1) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../22-libelf1_0.187-2+rpi2_armhf.deb ...
Unpacking libelf1:armhf (0.187-2+rpi2) ...
Selecting previously unselected package dwz.
Preparing to unpack .../23-dwz_0.15-1_armhf.deb ...
Unpacking dwz (0.15-1) ...
Selecting previously unselected package libicu72:armhf.
Preparing to unpack .../24-libicu72_72.1-3_armhf.deb ...
Unpacking libicu72:armhf (72.1-3) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../25-libxml2_2.9.14+dfsg-1.1+b1_armhf.deb ...
Unpacking libxml2:armhf (2.9.14+dfsg-1.1+b1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../26-gettext_0.21-10_armhf.deb ...
Unpacking gettext (0.21-10) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../27-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 .../28-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../29-debhelper_13.11.4_all.deb ...
Unpacking debhelper (13.11.4) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../30-python3-lib2to3_3.10.8-1_all.deb ...
Unpacking python3-lib2to3 (3.10.8-1) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../31-python3-distutils_3.10.8-1_all.deb ...
Unpacking python3-distutils (3.10.8-1) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../32-dh-python_5.20220819+rpi1_all.deb ...
Unpacking dh-python (5.20220819+rpi1) ...
Selecting previously unselected package libexpat1-dev:armhf.
Preparing to unpack .../33-libexpat1-dev_2.5.0-1_armhf.deb ...
Unpacking libexpat1-dev:armhf (2.5.0-1) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../34-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 .../35-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 .../36-libjs-sphinxdoc_5.3.0-3_all.deb ...
Unpacking libjs-sphinxdoc (5.3.0-3) ...
Selecting previously unselected package libltdl7:armhf.
Preparing to unpack .../37-libltdl7_2.4.7-5_armhf.deb ...
Unpacking libltdl7:armhf (2.4.7-5) ...
Selecting previously unselected package libodbc2:armhf.
Preparing to unpack .../38-libodbc2_2.3.11-2_armhf.deb ...
Unpacking libodbc2:armhf (2.3.11-2) ...
Selecting previously unselected package libodbccr2:armhf.
Preparing to unpack .../39-libodbccr2_2.3.11-2_armhf.deb ...
Unpacking libodbccr2:armhf (2.3.11-2) ...
Selecting previously unselected package unixodbc-common.
Preparing to unpack .../40-unixodbc-common_2.3.11-2_all.deb ...
Unpacking unixodbc-common (2.3.11-2) ...
Selecting previously unselected package libodbcinst2:armhf.
Preparing to unpack .../41-libodbcinst2_2.3.11-2_armhf.deb ...
Unpacking libodbcinst2:armhf (2.3.11-2) ...
Selecting previously unselected package libpython3.11-dbg:armhf.
Preparing to unpack .../42-libpython3.11-dbg_3.11.1-2_armhf.deb ...
Unpacking libpython3.11-dbg:armhf (3.11.1-2) ...
Selecting previously unselected package libpython3-dbg:armhf.
Preparing to unpack .../43-libpython3-dbg_3.11.1-2_armhf.deb ...
Unpacking libpython3-dbg:armhf (3.11.1-2) ...
Selecting previously unselected package libpython3-all-dbg:armhf.
Preparing to unpack .../44-libpython3-all-dbg_3.11.1-2_armhf.deb ...
Unpacking libpython3-all-dbg:armhf (3.11.1-2) ...
Selecting previously unselected package libpython3.11:armhf.
Preparing to unpack .../45-libpython3.11_3.11.1-2_armhf.deb ...
Unpacking libpython3.11:armhf (3.11.1-2) ...
Selecting previously unselected package zlib1g-dev:armhf.
Preparing to unpack .../46-zlib1g-dev_1%3a1.2.13.dfsg-1_armhf.deb ...
Unpacking zlib1g-dev:armhf (1:1.2.13.dfsg-1) ...
Selecting previously unselected package libpython3.11-dev:armhf.
Preparing to unpack .../47-libpython3.11-dev_3.11.1-2_armhf.deb ...
Unpacking libpython3.11-dev:armhf (3.11.1-2) ...
Selecting previously unselected package libpython3-dev:armhf.
Preparing to unpack .../48-libpython3-dev_3.11.1-2_armhf.deb ...
Unpacking libpython3-dev:armhf (3.11.1-2) ...
Selecting previously unselected package libpython3-all-dev:armhf.
Preparing to unpack .../49-libpython3-all-dev_3.11.1-2_armhf.deb ...
Unpacking libpython3-all-dev:armhf (3.11.1-2) ...
Selecting previously unselected package python3-all.
Preparing to unpack .../50-python3-all_3.11.1-2_armhf.deb ...
Unpacking python3-all (3.11.1-2) ...
Selecting previously unselected package python3.11-dbg.
Preparing to unpack .../51-python3.11-dbg_3.11.1-2_armhf.deb ...
Unpacking python3.11-dbg (3.11.1-2) ...
Selecting previously unselected package python3-dbg.
Preparing to unpack .../52-python3-dbg_3.11.1-2_armhf.deb ...
Unpacking python3-dbg (3.11.1-2) ...
Selecting previously unselected package python3-all-dbg.
Preparing to unpack .../53-python3-all-dbg_3.11.1-2_armhf.deb ...
Unpacking python3-all-dbg (3.11.1-2) ...
Selecting previously unselected package python3.11-dev.
Preparing to unpack .../54-python3.11-dev_3.11.1-2_armhf.deb ...
Unpacking python3.11-dev (3.11.1-2) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../55-python3-dev_3.11.1-2_armhf.deb ...
Unpacking python3-dev (3.11.1-2) ...
Selecting previously unselected package python3-all-dev.
Preparing to unpack .../56-python3-all-dev_3.11.1-2_armhf.deb ...
Unpacking python3-all-dev (3.11.1-2) ...
Selecting previously unselected package unixodbc-dev:armhf.
Preparing to unpack .../57-unixodbc-dev_2.3.11-2_armhf.deb ...
Unpacking unixodbc-dev:armhf (2.3.11-2) ...
Selecting previously unselected package sbuild-build-depends-pyodbc-dummy.
Preparing to unpack .../58-sbuild-build-depends-pyodbc-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-pyodbc-dummy (0.invalid.0) ...
Setting up media-types (8.0.0) ...
Setting up libpipeline1:armhf (1.5.7-1) ...
Setting up libicu72:armhf (72.1-3) ...
Setting up bsdextrautils (2.38.1-4) ...
Setting up libmagic-mgc (1:5.44-2) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libdebhelper-perl (13.11.4) ...
Setting up libmagic1:armhf (1:5.44-2) ...
Setting up gettext-base (0.21-10) ...
Setting up m4 (1.4.19-2) ...
Setting up file (1:5.44-2) ...
Setting up autotools-dev (20220109.1) ...
Setting up libexpat1-dev:armhf (2.5.0-1) ...
Setting up autopoint (0.21-10) ...
Setting up unixodbc-common (2.3.11-2) ...
Setting up libltdl7:armhf (2.4.7-5) ...
Setting up autoconf (2.71-3) ...
Setting up zlib1g-dev:armhf (1:1.2.13.dfsg-1) ...
Setting up libodbc2:armhf (2.3.11-2) ...
Setting up libuchardet0:armhf (0.0.7-1) ...
Setting up libmpdec3:armhf (2.5.1-2+rpi1) ...
Setting up libsub-override-perl (0.09-4) ...
Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
Setting up libelf1:armhf (0.187-2+rpi2) ...
Setting up libxml2:armhf (2.9.14+dfsg-1.1+b1) ...
Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ...
Setting up libodbccr2:armhf (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:armhf (2.3.11-2) ...
Setting up gettext (0.21-10) ...
Setting up libtool (2.4.7-5) ...
Setting up libpython3.11-stdlib:armhf (3.11.1-2) ...
Setting up libpython3.11-dbg:armhf (3.11.1-2) ...
Setting up intltool-debian (0.35.0+20060710.6) ...
Setting up dh-autoreconf (20) ...
Setting up libjs-sphinxdoc (5.3.0-3) ...
Setting up dh-strip-nondeterminism (1.13.1-1) ...
Setting up dwz (0.15-1) ...
Setting up groff-base (1.22.4-9) ...
Setting up unixodbc-dev:armhf (2.3.11-2) ...
Setting up libpython3-stdlib:armhf (3.11.1-2) ...
Setting up python3.11 (3.11.1-2) ...
Setting up libpython3.11:armhf (3.11.1-2) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up libpython3-dbg:armhf (3.11.1-2) ...
Setting up python3 (3.11.1-2) ...
Setting up libpython3-all-dbg:armhf (3.11.1-2) ...
Setting up man-db (2.11.2-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libpython3.11-dev:armhf (3.11.1-2) ...
Setting up python3.11-dbg (3.11.1-2) ...
Setting up python3-lib2to3 (3.10.8-1) ...
Setting up python3-dbg (3.11.1-2) ...
Setting up python3-distutils (3.10.8-1) ...
Setting up dh-python (5.20220819+rpi1) ...
Setting up libpython3-dev:armhf (3.11.1-2) ...
Setting up python3.11-dev (3.11.1-2) ...
Setting up python3-all (3.11.1-2) ...
Setting up debhelper (13.11.4) ...
Setting up libpython3-all-dev:armhf (3.11.1-2) ...
Setting up python3-dev (3.11.1-2) ...
Setting up python3-all-dbg (3.11.1-2) ...
Setting up python3-all-dev (3.11.1-2) ...
Setting up sbuild-build-depends-pyodbc-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.36-6+rpi1) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 4.9.0-0.bpo.6-armmp armhf (armv7l)
Toolchain package versions: binutils_2.39.50.20221208-5+rpi1 dpkg-dev_1.21.9+rpi1 g++-12_12.2.0-10+rpi1 gcc-12_12.2.0-10+rpi1 libc6-dev_2.36-6+rpi1 libstdc++-12-dev_12.2.0-10+rpi1 libstdc++6_12.2.0-10+rpi1 linux-libc-dev_6.0.12-1+rpi1
Package versions: adduser_3.129 apt_2.5.4 autoconf_2.71-3 automake_1:1.16.5-1.3 autopoint_0.21-10 autotools-dev_20220109.1 base-files_12.3+rpi1 base-passwd_3.6.1 bash_5.2-2 binutils_2.39.50.20221208-5+rpi1 binutils-arm-linux-gnueabihf_2.39.50.20221208-5+rpi1 binutils-common_2.39.50.20221208-5+rpi1 bsdextrautils_2.38.1-4 bsdutils_1:2.38.1-4 build-essential_12.9 bzip2_1.0.8-5+b2 coreutils_9.1-1 cpp_4:12.2.0-1+rpi1 cpp-12_12.2.0-10+rpi1 dash_0.5.11+git20210903+057cd650a4ed-9 debconf_1.5.80 debhelper_13.11.4 debianutils_5.7-0.4 dh-autoreconf_20 dh-python_5.20220819+rpi1 dh-strip-nondeterminism_1.13.1-1 diffutils_1:3.8-1 dirmngr_2.2.40-1 dpkg_1.21.9+rpi1 dpkg-dev_1.21.9+rpi1 dwz_0.15-1 e2fsprogs_1.46.6~rc1-1 fakeroot_1.29-1 file_1:5.44-2 findutils_4.9.0-3 g++_4:12.2.0-1+rpi1 g++-12_12.2.0-10+rpi1 gcc_4:12.2.0-1+rpi1 gcc-12_12.2.0-10+rpi1 gcc-12-base_12.2.0-10+rpi1 gcc-7-base_7.5.0-6+rpi1+b2 gcc-8-base_8.4.0-7+rpi1 gcc-9-base_9.4.0-2+rpi1 gettext_0.21-10 gettext-base_0.21-10 gnupg_2.2.40-1 gnupg-l10n_2.2.40-1 gnupg-utils_2.2.40-1 gpg_2.2.40-1 gpg-agent_2.2.40-1 gpg-wks-client_2.2.40-1 gpg-wks-server_2.2.40-1 gpgconf_2.2.40-1 gpgsm_2.2.40-1 gpgv_2.2.40-1 grep_3.8-3 groff-base_1.22.4-9 gzip_1.12-1 hostname_3.23 init-system-helpers_1.64 intltool-debian_0.35.0+20060710.6 iputils-ping_3:20221126-1 krb5-locales_1.20.1-1 libacl1_2.3.1-2 libapt-pkg6.0_2.5.4 libarchive-zip-perl_1.68-1 libasan8_12.2.0-10+rpi1 libassuan0_2.5.5-5 libatomic1_12.2.0-10+rpi1 libattr1_1:2.5.1-3 libaudit-common_1:3.0.7-1.1 libaudit1_1:3.0.7-1.1 libbinutils_2.39.50.20221208-5+rpi1 libblkid1_2.38.1-4 libbz2-1.0_1.0.8-5+b2 libc-bin_2.36-6+rpi1 libc-dev-bin_2.36-6+rpi1 libc6_2.36-6+rpi1 libc6-dev_2.36-6+rpi1 libcap-ng0_0.8.3-1 libcap2_1:2.44-1 libcap2-bin_1:2.44-1 libcc1-0_12.2.0-10+rpi1 libcom-err2_1.46.6~rc1-1 libcrypt-dev_1:4.4.33-1 libcrypt1_1:4.4.33-1 libctf-nobfd0_2.39.50.20221208-5+rpi1 libctf0_2.39.50.20221208-5+rpi1 libdb5.3_5.3.28+dfsg1-0.10 libdebconfclient0_0.265 libdebhelper-perl_13.11.4 libdpkg-perl_1.21.9+rpi1 libelf1_0.187-2+rpi2 libexpat1_2.5.0-1 libexpat1-dev_2.5.0-1 libext2fs2_1.46.6~rc1-1 libfakeroot_1.29-1 libffi8_3.4.4-1 libfile-stripnondeterminism-perl_1.13.1-1 libgcc-12-dev_12.2.0-10+rpi1 libgcc-s1_12.2.0-10+rpi1 libgcrypt20_1.10.1-3 libgdbm-compat4_1.23-3 libgdbm6_1.23-3 libgmp10_2:6.2.1+dfsg1-1.1 libgnutls30_3.7.8-4 libgomp1_12.2.0-10+rpi1 libgpg-error0_1.46-1 libgssapi-krb5-2_1.20.1-1 libhogweed6_3.8.1-2 libicu72_72.1-3 libidn2-0_2.3.3-1 libisl23_0.25-1 libjansson4_2.14-2 libjs-jquery_3.6.1+dfsg+~3.5.14-1 libjs-sphinxdoc_5.3.0-3 libjs-underscore_1.13.4~dfsg+~1.11.4-3 libk5crypto3_1.20.1-1 libkeyutils1_1.6.3-1 libkrb5-3_1.20.1-1 libkrb5support0_1.20.1-1 libksba8_1.6.2-4 libldap-2.5-0_2.5.13+dfsg-2+rpi1+b1 libltdl7_2.4.7-5 liblz4-1_1.9.4-1+rpi1 liblzma5_5.4.0-0.1 libmagic-mgc_1:5.44-2 libmagic1_1:5.44-2 libmount1_2.38.1-4 libmpc3_1.2.1-2 libmpdec3_2.5.1-2+rpi1 libmpfr6_4.1.0-3 libncursesw6_6.3+20220423-2 libnettle8_3.8.1-2 libnpth0_1.6-3 libnsl-dev_1.3.0-2 libnsl2_1.3.0-2 libodbc2_2.3.11-2 libodbccr2_2.3.11-2 libodbcinst2_2.3.11-2 libp11-kit0_0.24.1-1 libpam-cap_1:2.44-1 libpam-modules_1.5.2-5 libpam-modules-bin_1.5.2-5 libpam-runtime_1.5.2-5 libpam0g_1.5.2-5 libpcre2-8-0_10.40-3 libpcre3_2:8.39-14 libperl5.36_5.36.0-6 libpipeline1_1.5.7-1 libpython3-all-dbg_3.11.1-2 libpython3-all-dev_3.11.1-2 libpython3-dbg_3.11.1-2 libpython3-dev_3.11.1-2 libpython3-stdlib_3.11.1-2 libpython3.11_3.11.1-2 libpython3.11-dbg_3.11.1-2 libpython3.11-dev_3.11.1-2 libpython3.11-minimal_3.11.1-2 libpython3.11-stdlib_3.11.1-2 libreadline8_8.2-1.2 libsasl2-2_2.1.28+dfsg-10 libsasl2-modules-db_2.1.28+dfsg-10 libseccomp2_2.5.4-1+rpi1 libselinux1_3.4-1 libsemanage-common_3.4-1 libsemanage2_3.4-1 libsepol1_3.1-1 libsepol2_3.4-2 libsmartcols1_2.38.1-4 libsqlite3-0_3.40.0-1 libss2_1.46.6~rc1-1 libssl1.1_1.1.1o-1 libssl3_3.0.7-1 libstdc++-12-dev_12.2.0-10+rpi1 libstdc++6_12.2.0-10+rpi1 libsub-override-perl_0.09-4 libsystemd0_252.2-1+rpi1 libtasn1-6_4.19.0-2 libtinfo6_6.3+20220423-2 libtirpc-common_1.3.3+ds-1 libtirpc-dev_1.3.3+ds-1 libtirpc3_1.3.3+ds-1 libtool_2.4.7-5 libubsan1_12.2.0-10+rpi1 libuchardet0_0.0.7-1 libudev1_252.2-1+rpi1 libunistring2_1.0-2 libuuid1_2.38.1-4 libxml2_2.9.14+dfsg-1.1+b1 libxxhash0_0.8.1-1 libzstd1_1.5.2+dfsg-1 linux-libc-dev_6.0.12-1+rpi1 login_1:4.13+dfsg1-1 logsave_1.46.6~rc1-1 lsb-base_11.4+rpi1 m4_1.4.19-2 make_4.3-4.1 man-db_2.11.2-1 mawk_1.3.4.20200120-3.1 media-types_8.0.0 mount_2.38.1-4 nano_7.1-1 ncurses-base_6.3+20220423-2 ncurses-bin_6.3+20220423-2 netbase_6.4 passwd_1:4.13+dfsg1-1 patch_2.7.6-7 perl_5.36.0-6 perl-base_5.36.0-6 perl-modules-5.36_5.36.0-6 pinentry-curses_1.2.1-1 po-debconf_1.0.21+nmu1 python3_3.11.1-2 python3-all_3.11.1-2 python3-all-dbg_3.11.1-2 python3-all-dev_3.11.1-2 python3-dbg_3.11.1-2 python3-dev_3.11.1-2 python3-distutils_3.10.8-1 python3-lib2to3_3.10.8-1 python3-minimal_3.11.1-2 python3.11_3.11.1-2 python3.11-dbg_3.11.1-2 python3.11-dev_3.11.1-2 python3.11-minimal_3.11.1-2 raspbian-archive-keyring_20120528.2 readline-common_8.2-1.2 rpcsvc-proto_1.4.3-1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-pyodbc-dummy_0.invalid.0 sed_4.8-1 sensible-utils_0.0.17 sgml-base_1.31 sysvinit-utils_3.05-7 tar_1.34+dfsg-1 tzdata_2022f-1 unixodbc-common_2.3.11-2 unixodbc-dev_2.3.11-2 util-linux_2.38.1-4 util-linux-extra_2.38.1-4 xz-utils_5.4.0-0.1 zlib1g_1:1.2.13.dfsg-1 zlib1g-dev_1:1.2.13.dfsg-1

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/tmp/dpkg-verify-sig.oZ1l_tm8/trustedkeys.kbx': General error
gpgv: Signature made Tue Oct 11 15:03:30 2022 UTC
gpgv:                using RSA key A954A54575BCED49240A725CFFD3C88B997DD16A
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify signature ./pyodbc_4.0.34-1.dsc
dpkg-source: info: extracting pyodbc in /<<PKGBUILDDIR>>
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

Check disc space
----------------

Sufficient free space for build

Hack binNMU version
-------------------

Created changelog entry for binNMU version 4.0.34-1+b1

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=bookworm-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=bookworm-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=bookworm-staging-armhf-sbuild-2db22588-1b86-4ddd-b634-500c227dc59d
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=linux
USER=buildd

dpkg-buildpackage
-----------------

dpkg-buildpackage: info: source package pyodbc
dpkg-buildpackage: info: source version 4.0.34-1+b1
dpkg-buildpackage: info: source distribution bookworm-staging
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture armhf
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:240: python3.11 setup.py clean 
/<<PKGBUILDDIR>>/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 '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyodbc/build' (and everything under it)
'build/bdist.linux-armhf' 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 
/<<PKGBUILDDIR>>/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
/<<PKGBUILDDIR>>/setup.py:301: ResourceWarning: unclosed file <_io.TextIOWrapper name='/<<PKGBUILDDIR>>/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 8839 is still running
  _warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/<<PKGBUILDDIR>>/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 8840 is still running
  _warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/<<PKGBUILDDIR>>/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 '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dbg_pyodbc/build' (and everything under it)
'build/bdist.linux-armhf' 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-arch
dh binary-arch --with python3 --buildsystem=pybuild
   dh_update_autotools_config -a -O--buildsystem=pybuild
   dh_autoreconf -a -O--buildsystem=pybuild
   dh_auto_configure -a -O--buildsystem=pybuild
I: pybuild base:240: python3.11 setup.py config 
/<<PKGBUILDDIR>>/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 
/<<PKGBUILDDIR>>/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
/<<PKGBUILDDIR>>/setup.py:301: ResourceWarning: unclosed file <_io.TextIOWrapper name='/<<PKGBUILDDIR>>/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 8884 is still running
  _warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/<<PKGBUILDDIR>>/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 8885 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 -a -O--buildsystem=pybuild
I: pybuild base:240: /usr/bin/python3 setup.py build 
/<<PKGBUILDDIR>>/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 -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyodbc/build
running build_ext
building 'pyodbc' extension
creating build
creating build/temp.linux-armhf-3.11
creating build/temp.linux-armhf-3.11/src
arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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-armhf-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(
      |                                           ^~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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-armhf-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(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-3.11/src/buffer.o build/temp.linux-armhf-3.11/src/cnxninfo.o build/temp.linux-armhf-3.11/src/connection.o build/temp.linux-armhf-3.11/src/cursor.o build/temp.linux-armhf-3.11/src/errors.o build/temp.linux-armhf-3.11/src/getdata.o build/temp.linux-armhf-3.11/src/params.o build/temp.linux-armhf-3.11/src/pyodbccompat.o build/temp.linux-armhf-3.11/src/pyodbcdbg.o build/temp.linux-armhf-3.11/src/pyodbcmodule.o build/temp.linux-armhf-3.11/src/row.o build/temp.linux-armhf-3.11/src/textenc.o -lodbc -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyodbc/build/pyodbc.cpython-311-arm-linux-gnueabihf.so
I: pybuild base:240: /usr/bin/python3-dbg setup.py build 
/<<PKGBUILDDIR>>/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
/<<PKGBUILDDIR>>/setup.py:301: ResourceWarning: unclosed file <_io.TextIOWrapper name='/<<PKGBUILDDIR>>/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 8953 is still running
  _warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/<<PKGBUILDDIR>>/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 8954 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 -> /<<PKGBUILDDIR>>/.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-armhf-3.11-pydebug
creating build/temp.linux-armhf-3.11-pydebug/src
arm-linux-gnueabihf-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=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-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=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-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=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-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=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-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=/<<PKGBUILDDIR>>=. -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-armhf-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(
      |                                           ^~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-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=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-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=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-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=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-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=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-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=/<<PKGBUILDDIR>>=. -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-armhf-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(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-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=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-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=/<<PKGBUILDDIR>>=. -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-armhf-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)
      |                           ^~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-3.11-pydebug/src/buffer.o build/temp.linux-armhf-3.11-pydebug/src/cnxninfo.o build/temp.linux-armhf-3.11-pydebug/src/connection.o build/temp.linux-armhf-3.11-pydebug/src/cursor.o build/temp.linux-armhf-3.11-pydebug/src/errors.o build/temp.linux-armhf-3.11-pydebug/src/getdata.o build/temp.linux-armhf-3.11-pydebug/src/params.o build/temp.linux-armhf-3.11-pydebug/src/pyodbccompat.o build/temp.linux-armhf-3.11-pydebug/src/pyodbcdbg.o build/temp.linux-armhf-3.11-pydebug/src/pyodbcmodule.o build/temp.linux-armhf-3.11-pydebug/src/row.o build/temp.linux-armhf-3.11-pydebug/src/textenc.o -lodbc -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dbg_pyodbc/build/pyodbc.cpython-311d-arm-linux-gnueabihf.so
   dh_auto_test -a -O--buildsystem=pybuild
I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyodbc/build; python3.11 -m unittest discover -v 

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
I: pybuild base:240: cd /<<PKGBUILDDIR>>/.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 -a -O--buildsystem=pybuild
   dh_prep -a -O--buildsystem=pybuild
   dh_auto_install --destdir=debian/python3-pyodbc/ -a -O--buildsystem=pybuild
I: pybuild base:240: /usr/bin/python3 setup.py install --root /<<PKGBUILDDIR>>/debian/python3-pyodbc 
/<<PKGBUILDDIR>>/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 /<<PKGBUILDDIR>>/debian/python3-pyodbc/usr
creating /<<PKGBUILDDIR>>/debian/python3-pyodbc/usr/lib
creating /<<PKGBUILDDIR>>/debian/python3-pyodbc/usr/lib/python3.11
creating /<<PKGBUILDDIR>>/debian/python3-pyodbc/usr/lib/python3.11/dist-packages
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyodbc/build/pyodbc.pyi -> /<<PKGBUILDDIR>>/debian/python3-pyodbc/usr/lib/python3.11/dist-packages
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyodbc/build/pyodbc.cpython-311-arm-linux-gnueabihf.so -> /<<PKGBUILDDIR>>/debian/python3-pyodbc/usr/lib/python3.11/dist-packages
running install_egg_info
Writing /<<PKGBUILDDIR>>/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 /<<PKGBUILDDIR>>/debian/python3-pyodbc 
/<<PKGBUILDDIR>>/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
/<<PKGBUILDDIR>>/setup.py:301: ResourceWarning: unclosed file <_io.TextIOWrapper name='/<<PKGBUILDDIR>>/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 9078 is still running
  _warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/<<PKGBUILDDIR>>/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 9079 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/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 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dbg_pyodbc/build/pyodbc.pyi -> /<<PKGBUILDDIR>>/debian/python3-pyodbc/usr/lib/python3.11/dist-packages
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dbg_pyodbc/build/pyodbc.cpython-311d-arm-linux-gnueabihf.so -> /<<PKGBUILDDIR>>/debian/python3-pyodbc/usr/lib/python3.11/dist-packages
running install_egg_info
Removing /<<PKGBUILDDIR>>/debian/python3-pyodbc/usr/lib/python3.11/dist-packages/pyodbc-4.0.34.egg-info
Writing /<<PKGBUILDDIR>>/debian/python3-pyodbc/usr/lib/python3.11/dist-packages/pyodbc-4.0.34.egg-info
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 encoding='utf-8'>
   dh_installdocs -a -O--buildsystem=pybuild
   dh_installchangelogs -a -O--buildsystem=pybuild
   dh_python3 -a -O--buildsystem=pybuild
   dh_installsystemduser -a -O--buildsystem=pybuild
   dh_perl -a -O--buildsystem=pybuild
   dh_link -a -O--buildsystem=pybuild
   dh_strip_nondeterminism -a -O--buildsystem=pybuild
   dh_compress -a -O--buildsystem=pybuild
   dh_fixperms -a -O--buildsystem=pybuild
   dh_missing -a -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 -a -O--buildsystem=pybuild
   dh_gencontrol -a -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 -a -O--buildsystem=pybuild
   dh_builddeb -a -O--buildsystem=pybuild
dpkg-deb: building package 'python3-pyodbc' in '../python3-pyodbc_4.0.34-1+b1_armhf.deb'.
dpkg-deb: building package 'python3-pyodbc-dbgsym' in '../python3-pyodbc-dbgsym_4.0.34-1+b1_armhf.deb'.
 dpkg-genbuildinfo --build=any -O../pyodbc_4.0.34-1+b1_armhf.buildinfo
 dpkg-genchanges --build=any -mRaspbian wandboard test autobuilder <root@raspbian.org> -O../pyodbc_4.0.34-1+b1_armhf.changes
dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
--------------------------------------------------------------------------------
Build finished at 2023-01-31T01:09:51Z

Finished
--------

I: Built successfully

+------------------------------------------------------------------------------+
| Post Build Chroot                                                            |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Changes                                                                      |
+------------------------------------------------------------------------------+


pyodbc_4.0.34-1+b1_armhf.changes:
---------------------------------

Format: 1.8
Date: Tue, 11 Oct 2022 14:57:55 +0000
Source: pyodbc (4.0.34-1)
Binary: python3-pyodbc python3-pyodbc-dbgsym
Binary-Only: yes
Architecture: armhf
Version: 4.0.34-1+b1
Distribution: bookworm-staging
Urgency: low
Maintainer: Raspbian wandboard test autobuilder <root@raspbian.org>
Changed-By: Raspbian wandboard test autobuilder <root@raspbian.org>
Description:
 python3-pyodbc - Python3 module for ODBC database access
Changes:
 pyodbc (4.0.34-1+b1) bookworm-staging; urgency=low, binary-only=yes
 .
   * Binary-only non-maintainer upload for armhf; no source changes.
   * rebuild due to debcheck failure
Checksums-Sha1:
 9e4055cdefdbe960fdc7132ada3a02b210d157f0 6622 pyodbc_4.0.34-1+b1_armhf.buildinfo
 fa96f8556095de74682acef14c73f178bd989a96 344660 python3-pyodbc-dbgsym_4.0.34-1+b1_armhf.deb
 d9936161819ec9f8c9246bb26e2c05effafaf91a 80336 python3-pyodbc_4.0.34-1+b1_armhf.deb
Checksums-Sha256:
 da71ec649afd7d39a51695e41d0679a7842a0ac6b5444b22a8eb144976277eae 6622 pyodbc_4.0.34-1+b1_armhf.buildinfo
 c2feb8cda819f1a05457188574c6f8b18b5bae6c7cae3a8c1287ab8f98158b5b 344660 python3-pyodbc-dbgsym_4.0.34-1+b1_armhf.deb
 b9dde673d663b5cdd12f4eb9fae9f01b84a3d96beba501acc08e87febd2fbab9 80336 python3-pyodbc_4.0.34-1+b1_armhf.deb
Files:
 4ed8cb91f3a55ae81e213f2c37ac9d12 6622 python optional pyodbc_4.0.34-1+b1_armhf.buildinfo
 67e2c025e6c220995a3e8deeb05fa77d 344660 debug optional python3-pyodbc-dbgsym_4.0.34-1+b1_armhf.deb
 61890cf8da3524cbea48031dea1b0232 80336 python optional python3-pyodbc_4.0.34-1+b1_armhf.deb

+------------------------------------------------------------------------------+
| Package contents                                                             |
+------------------------------------------------------------------------------+


python3-pyodbc-dbgsym_4.0.34-1+b1_armhf.deb
-------------------------------------------

 new Debian package, version 2.0.
 size 344660 bytes: control archive=660 bytes.
     436 bytes,    13 lines      control              
     306 bytes,     3 lines      md5sums              
 Package: python3-pyodbc-dbgsym
 Source: pyodbc (4.0.34-1)
 Version: 4.0.34-1+b1
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Deepak Tripathi <apenguinlinux@gmail.com>
 Installed-Size: 393
 Depends: python3-pyodbc (= 4.0.34-1+b1)
 Section: debug
 Priority: optional
 Multi-Arch: same
 Description: debug symbols for python3-pyodbc
 Build-Ids: 6ab6501fe38e32395239a63643af7eb142aac18d ac376b10a572664d37c475e3423173bd9dbb59cf

drwxr-xr-x root/root         0 2022-10-11 14:57 ./
drwxr-xr-x root/root         0 2022-10-11 14:57 ./usr/
drwxr-xr-x root/root         0 2022-10-11 14:57 ./usr/lib/
drwxr-xr-x root/root         0 2022-10-11 14:57 ./usr/lib/debug/
drwxr-xr-x root/root         0 2022-10-11 14:57 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2022-10-11 14:57 ./usr/lib/debug/.build-id/6a/
-rw-r--r-- root/root    198820 2022-10-11 14:57 ./usr/lib/debug/.build-id/6a/b6501fe38e32395239a63643af7eb142aac18d.debug
drwxr-xr-x root/root         0 2022-10-11 14:57 ./usr/lib/debug/.build-id/ac/
-rw-r--r-- root/root    171112 2022-10-11 14:57 ./usr/lib/debug/.build-id/ac/376b10a572664d37c475e3423173bd9dbb59cf.debug
drwxr-xr-x root/root         0 2022-10-11 14:57 ./usr/lib/debug/.dwz/
drwxr-xr-x root/root         0 2022-10-11 14:57 ./usr/lib/debug/.dwz/arm-linux-gnueabihf/
-rw-r--r-- root/root     17008 2022-10-11 14:57 ./usr/lib/debug/.dwz/arm-linux-gnueabihf/python3-pyodbc.debug
drwxr-xr-x root/root         0 2022-10-11 14:57 ./usr/share/
drwxr-xr-x root/root         0 2022-10-11 14:57 ./usr/share/doc/
lrwxrwxrwx root/root         0 2022-10-11 14:57 ./usr/share/doc/python3-pyodbc-dbgsym -> python3-pyodbc


python3-pyodbc_4.0.34-1+b1_armhf.deb
------------------------------------

 new Debian package, version 2.0.
 size 80336 bytes: control archive=1072 bytes.
     930 bytes,    21 lines      control              
     620 bytes,     7 lines      md5sums              
 Package: python3-pyodbc
 Source: pyodbc (4.0.34-1)
 Version: 4.0.34-1+b1
 Architecture: armhf
 Maintainer: Deepak Tripathi <apenguinlinux@gmail.com>
 Installed-Size: 334
 Depends: python3 (<< 3.12), python3 (>= 3.11~), libc6 (>= 2.29), libgcc-s1 (>= 3.5), libodbc2 (>= 2.3.1), libstdc++6 (>= 4.1.1)
 Section: python
 Priority: optional
 Multi-Arch: same
 Homepage: https://mkleehammer.github.io/pyodbc/
 Description: Python3 module for ODBC database access
  A Python3 DB API 2 module for ODBC. No 3rd party libraries are required.
  Only native Python datatypes are used, such as decimal and datetime.
  It implements the Python Database API Specification v2.0.
  For example:
    import pyodbc
  Next, create a connection by passing an ODBC connection string to the
  connect method. This step causes ODBC to load the database driver (the SQL
  Server driver in this example) and connect to the database.
    cnxn = pyodbc.connect('DSN=northwind')

drwxr-xr-x root/root         0 2022-10-11 14:57 ./
drwxr-xr-x root/root         0 2022-10-11 14:57 ./usr/
drwxr-xr-x root/root         0 2022-10-11 14:57 ./usr/lib/
drwxr-xr-x root/root         0 2022-10-11 14:57 ./usr/lib/python3/
drwxr-xr-x root/root         0 2022-10-11 14:57 ./usr/lib/python3/dist-packages/
-rw-r--r-- root/root      2819 2022-10-11 14:57 ./usr/lib/python3/dist-packages/pyodbc-4.0.34.egg-info
-rw-r--r-- root/root    155212 2022-10-11 14:57 ./usr/lib/python3/dist-packages/pyodbc.cpython-311-arm-linux-gnueabihf.so
-rw-r--r-- root/root    155212 2022-10-11 14:57 ./usr/lib/python3/dist-packages/pyodbc.cpython-311d-arm-linux-gnueabihf.so
-rw-r--r-- root/root     13127 2022-07-14 14:45 ./usr/lib/python3/dist-packages/pyodbc.pyi
drwxr-xr-x root/root         0 2022-10-11 14:57 ./usr/share/
drwxr-xr-x root/root         0 2022-10-11 14:57 ./usr/share/doc/
drwxr-xr-x root/root         0 2022-10-11 14:57 ./usr/share/doc/python3-pyodbc/
-rw-r--r-- root/root       221 2022-10-11 14:57 ./usr/share/doc/python3-pyodbc/changelog.Debian.armhf.gz
-rw-r--r-- root/root      1011 2022-10-11 14:57 ./usr/share/doc/python3-pyodbc/changelog.Debian.gz
-rw-r--r-- root/root      2112 2022-10-11 14:57 ./usr/share/doc/python3-pyodbc/copyright


+------------------------------------------------------------------------------+
| Post Build                                                                   |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: armhf
Build-Space: 6900
Build-Time: 237
Distribution: bookworm-staging
Host Architecture: armhf
Install-Time: 558
Job: pyodbc_4.0.34-1
Machine Architecture: armhf
Package: pyodbc
Package-Time: 853
Source-Version: 4.0.34-1
Space: 6900
Status: successful
Version: 4.0.34-1+b1
--------------------------------------------------------------------------------
Finished at 2023-01-31T01:09:51Z
Build needed 00:14:13, 6900k disc space