Raspbian Package Auto-Building

Build log for pyodbc (4.0.34-1) on armhf

pyodbc4.0.34-1armhf → 2022-10-22 05:57:43

sbuild (Debian sbuild) 0.71.0 (24 Aug 2016) on bm-wb-03

+==============================================================================+
| pyodbc 4.0.34-1 (armhf)                      Sat, 22 Oct 2022 05:45:10 +0000 |
+==============================================================================+

Package: pyodbc
Version: 4.0.34-1
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-3b712b78-df8a-4db9-ae60-f15d20ba0a92' 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.4 MB]
Get:3 http://172.17.4.1/private bookworm-staging/main armhf Packages [14.2 MB]
Fetched 27.6 MB in 28s (980 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 (1904 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/pyodbc-OrRX0V/pyodbc-4.0.34' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/pyodbc-OrRX0V' 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-vX2Jwo/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-vX2Jwo/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-vX2Jwo/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-vX2Jwo/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-vX2Jwo/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-vX2Jwo/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-vX2Jwo/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-vX2Jwo/apt_archive ./ Packages [431 B]
Fetched 2107 B in 1s (2569 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 libldap-common libpam-cap netbase sensible-utils
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 13 not upgraded.
Need to get 848 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-vX2Jwo/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [848 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 848 B in 0s (22.2 kB/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 12907 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-vX2Jwo/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-vX2Jwo/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-vX2Jwo/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-vX2Jwo/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-vX2Jwo/apt_archive ./ Sources [529 B]
Get:5 copy:/<<BUILDDIR>>/resolver-vX2Jwo/apt_archive ./ Packages [610 B]
Fetched 2472 B in 1s (3379 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 libldap-common 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 libicu71 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.10
  libpython3.10-dbg libpython3.10-dev libpython3.10-minimal
  libpython3.10-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.10 python3.10-dbg python3.10-dev python3.10-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.10-venv python3.10-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 libicu71 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.10
  libpython3.10-dbg libpython3.10-dev libpython3.10-minimal
  libpython3.10-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.10 python3.10-dbg python3.10-dev python3.10-minimal
  sbuild-build-depends-pyodbc-dummy unixodbc-common unixodbc-dev zlib1g-dev
0 upgraded, 68 newly installed, 0 to remove and 13 not upgraded.
Need to get 69.0 MB of archives.
After this operation, 211 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-vX2Jwo/apt_archive ./ sbuild-build-depends-pyodbc-dummy 0.invalid.0 [892 B]
Get:2 http://172.17.4.1/private bookworm-staging/main armhf libpython3.10-minimal armhf 3.10.7-2 [769 kB]
Get:3 http://172.17.4.1/private bookworm-staging/main armhf libexpat1 armhf 2.4.9-1 [83.3 kB]
Get:4 http://172.17.4.1/private bookworm-staging/main armhf python3.10-minimal armhf 3.10.7-2 [1477 kB]
Get:5 http://172.17.4.1/private bookworm-staging/main armhf python3-minimal armhf 3.10.6-1 [38.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.10-stdlib armhf 3.10.7-2 [1597 kB]
Get:9 http://172.17.4.1/private bookworm-staging/main armhf python3.10 armhf 3.10.7-2 [502 kB]
Get:10 http://172.17.4.1/private bookworm-staging/main armhf libpython3-stdlib armhf 3.10.6-1 [21.7 kB]
Get:11 http://172.17.4.1/private bookworm-staging/main armhf python3 armhf 3.10.6-1 [38.2 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-8 [793 kB]
Get:14 http://172.17.4.1/private bookworm-staging/main armhf bsdextrautils armhf 2.38.1-1.1 [78.2 kB]
Get:15 http://172.17.4.1/private bookworm-staging/main armhf libpipeline1 armhf 1.5.6-3 [34.3 kB]
Get:16 http://172.17.4.1/private bookworm-staging/main armhf man-db armhf 2.11.0-1 [1299 kB]
Get:17 http://172.17.4.1/private bookworm-staging/main armhf libmagic-mgc armhf 1:5.41-4 [295 kB]
Get:18 http://172.17.4.1/private bookworm-staging/main armhf libmagic1 armhf 1:5.41-4 [120 kB]
Get:19 http://172.17.4.1/private bookworm-staging/main armhf file armhf 1:5.41-4 [65.8 kB]
Get:20 http://172.17.4.1/private bookworm-staging/main armhf gettext-base armhf 0.21-9 [171 kB]
Get:21 http://172.17.4.1/private bookworm-staging/main armhf m4 armhf 1.4.19-1 [260 kB]
Get:22 http://172.17.4.1/private bookworm-staging/main armhf autoconf all 2.71-2 [343 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-9 [510 kB]
Get:26 http://172.17.4.1/private bookworm-staging/main armhf libdebhelper-perl all 13.10 [79.8 kB]
Get:27 http://172.17.4.1/private bookworm-staging/main armhf libtool all 2.4.7-4 [526 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.0-1 [26.6 kB]
Get:32 http://172.17.4.1/private bookworm-staging/main armhf dh-strip-nondeterminism all 1.13.0-1 [15.8 kB]
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.14+20220924-2 [93.1 kB]
Get:35 http://172.17.4.1/private bookworm-staging/main armhf libicu71 armhf 71.1-3 [8855 kB]
Get:36 http://172.17.4.1/private bookworm-staging/main armhf libxml2 armhf 2.9.14+dfsg-1 [591 kB]
Get:37 http://172.17.4.1/private bookworm-staging/main armhf gettext armhf 0.21-9 [1220 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.10 [940 kB]
Get:41 http://172.17.4.1/private bookworm-staging/main armhf python3-lib2to3 all 3.10.7-1 [79.9 kB]
Get:42 http://172.17.4.1/private bookworm-staging/main armhf python3-distutils all 3.10.7-1 [141 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.4.9-1 [136 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-1 [119 kB]
Get:47 http://172.17.4.1/private bookworm-staging/main armhf libjs-sphinxdoc all 4.5.0-4 [142 kB]
Get:48 http://172.17.4.1/private bookworm-staging/main armhf libltdl7 armhf 2.4.7-4 [399 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.10-dbg armhf 3.10.7-2 [12.9 MB]
Get:54 http://172.17.4.1/private bookworm-staging/main armhf libpython3-dbg armhf 3.10.6-1 [22.0 kB]
Get:55 http://172.17.4.1/private bookworm-staging/main armhf libpython3-all-dbg armhf 3.10.6-1 [1068 B]
Get:56 http://172.17.4.1/private bookworm-staging/main armhf libpython3.10 armhf 3.10.7-2 [1457 kB]
Get:57 http://172.17.4.1/private bookworm-staging/main armhf zlib1g-dev armhf 1:1.2.11.dfsg-4.1 [183 kB]
Get:58 http://172.17.4.1/private bookworm-staging/main armhf libpython3.10-dev armhf 3.10.7-2 [2919 kB]
Get:59 http://172.17.4.1/private bookworm-staging/main armhf libpython3-dev armhf 3.10.6-1 [22.0 kB]
Get:60 http://172.17.4.1/private bookworm-staging/main armhf libpython3-all-dev armhf 3.10.6-1 [1068 B]
Get:61 http://172.17.4.1/private bookworm-staging/main armhf python3-all armhf 3.10.6-1 [1060 B]
Get:62 http://172.17.4.1/private bookworm-staging/main armhf python3.10-dbg armhf 3.10.7-2 [26.7 MB]
Get:63 http://172.17.4.1/private bookworm-staging/main armhf python3-dbg armhf 3.10.6-1 [1228 B]
Get:64 http://172.17.4.1/private bookworm-staging/main armhf python3-all-dbg armhf 3.10.6-1 [1068 B]
Get:65 http://172.17.4.1/private bookworm-staging/main armhf python3.10-dev armhf 3.10.7-2 [512 kB]
Get:66 http://172.17.4.1/private bookworm-staging/main armhf python3-dev armhf 3.10.6-1 [25.4 kB]
Get:67 http://172.17.4.1/private bookworm-staging/main armhf python3-all-dev armhf 3.10.6-1 [1068 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 69.0 MB in 7s (10.3 MB/s)
Selecting previously unselected package libpython3.10-minimal:armhf.
(Reading database ... 12907 files and directories currently installed.)
Preparing to unpack .../libpython3.10-minimal_3.10.7-2_armhf.deb ...
Unpacking libpython3.10-minimal:armhf (3.10.7-2) ...
Selecting previously unselected package libexpat1:armhf.
Preparing to unpack .../libexpat1_2.4.9-1_armhf.deb ...
Unpacking libexpat1:armhf (2.4.9-1) ...
Selecting previously unselected package python3.10-minimal.
Preparing to unpack .../python3.10-minimal_3.10.7-2_armhf.deb ...
Unpacking python3.10-minimal (3.10.7-2) ...
Setting up libpython3.10-minimal:armhf (3.10.7-2) ...
Setting up libexpat1:armhf (2.4.9-1) ...
Setting up python3.10-minimal (3.10.7-2) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 13210 files and directories currently installed.)
Preparing to unpack .../0-python3-minimal_3.10.6-1_armhf.deb ...
Unpacking python3-minimal (3.10.6-1) ...
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.10-stdlib:armhf.
Preparing to unpack .../3-libpython3.10-stdlib_3.10.7-2_armhf.deb ...
Unpacking libpython3.10-stdlib:armhf (3.10.7-2) ...
Selecting previously unselected package python3.10.
Preparing to unpack .../4-python3.10_3.10.7-2_armhf.deb ...
Unpacking python3.10 (3.10.7-2) ...
Selecting previously unselected package libpython3-stdlib:armhf.
Preparing to unpack .../5-libpython3-stdlib_3.10.6-1_armhf.deb ...
Unpacking libpython3-stdlib:armhf (3.10.6-1) ...
Setting up python3-minimal (3.10.6-1) ...
Selecting previously unselected package python3.
(Reading database ... 13612 files and directories currently installed.)
Preparing to unpack .../00-python3_3.10.6-1_armhf.deb ...
Unpacking python3 (3.10.6-1) ...
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-8_armhf.deb ...
Unpacking groff-base (1.22.4-8) ...
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../03-bsdextrautils_2.38.1-1.1_armhf.deb ...
Unpacking bsdextrautils (2.38.1-1.1) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../04-libpipeline1_1.5.6-3_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.6-3) ...
Selecting previously unselected package man-db.
Preparing to unpack .../05-man-db_2.11.0-1_armhf.deb ...
Unpacking man-db (2.11.0-1) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../06-libmagic-mgc_1%3a5.41-4_armhf.deb ...
Unpacking libmagic-mgc (1:5.41-4) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../07-libmagic1_1%3a5.41-4_armhf.deb ...
Unpacking libmagic1:armhf (1:5.41-4) ...
Selecting previously unselected package file.
Preparing to unpack .../08-file_1%3a5.41-4_armhf.deb ...
Unpacking file (1:5.41-4) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../09-gettext-base_0.21-9_armhf.deb ...
Unpacking gettext-base (0.21-9) ...
Selecting previously unselected package m4.
Preparing to unpack .../10-m4_1.4.19-1_armhf.deb ...
Unpacking m4 (1.4.19-1) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../11-autoconf_2.71-2_all.deb ...
Unpacking autoconf (2.71-2) ...
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-9_all.deb ...
Unpacking autopoint (0.21-9) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../15-libdebhelper-perl_13.10_all.deb ...
Unpacking libdebhelper-perl (13.10) ...
Selecting previously unselected package libtool.
Preparing to unpack .../16-libtool_2.4.7-4_all.deb ...
Unpacking libtool (2.4.7-4) ...
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.0-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.13.0-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../21-dh-strip-nondeterminism_1.13.0-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.13.0-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.14+20220924-2_armhf.deb ...
Unpacking dwz (0.14+20220924-2) ...
Selecting previously unselected package libicu71:armhf.
Preparing to unpack .../24-libicu71_71.1-3_armhf.deb ...
Unpacking libicu71:armhf (71.1-3) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../25-libxml2_2.9.14+dfsg-1_armhf.deb ...
Unpacking libxml2:armhf (2.9.14+dfsg-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../26-gettext_0.21-9_armhf.deb ...
Unpacking gettext (0.21-9) ...
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.10_all.deb ...
Unpacking debhelper (13.10) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../30-python3-lib2to3_3.10.7-1_all.deb ...
Unpacking python3-lib2to3 (3.10.7-1) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../31-python3-distutils_3.10.7-1_all.deb ...
Unpacking python3-distutils (3.10.7-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.4.9-1_armhf.deb ...
Unpacking libexpat1-dev:armhf (2.4.9-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-1_all.deb ...
Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-1) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../36-libjs-sphinxdoc_4.5.0-4_all.deb ...
Unpacking libjs-sphinxdoc (4.5.0-4) ...
Selecting previously unselected package libltdl7:armhf.
Preparing to unpack .../37-libltdl7_2.4.7-4_armhf.deb ...
Unpacking libltdl7:armhf (2.4.7-4) ...
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.10-dbg:armhf.
Preparing to unpack .../42-libpython3.10-dbg_3.10.7-2_armhf.deb ...
Unpacking libpython3.10-dbg:armhf (3.10.7-2) ...
Selecting previously unselected package libpython3-dbg:armhf.
Preparing to unpack .../43-libpython3-dbg_3.10.6-1_armhf.deb ...
Unpacking libpython3-dbg:armhf (3.10.6-1) ...
Selecting previously unselected package libpython3-all-dbg:armhf.
Preparing to unpack .../44-libpython3-all-dbg_3.10.6-1_armhf.deb ...
Unpacking libpython3-all-dbg:armhf (3.10.6-1) ...
Selecting previously unselected package libpython3.10:armhf.
Preparing to unpack .../45-libpython3.10_3.10.7-2_armhf.deb ...
Unpacking libpython3.10:armhf (3.10.7-2) ...
Selecting previously unselected package zlib1g-dev:armhf.
Preparing to unpack .../46-zlib1g-dev_1%3a1.2.11.dfsg-4.1_armhf.deb ...
Unpacking zlib1g-dev:armhf (1:1.2.11.dfsg-4.1) ...
Selecting previously unselected package libpython3.10-dev:armhf.
Preparing to unpack .../47-libpython3.10-dev_3.10.7-2_armhf.deb ...
Unpacking libpython3.10-dev:armhf (3.10.7-2) ...
Selecting previously unselected package libpython3-dev:armhf.
Preparing to unpack .../48-libpython3-dev_3.10.6-1_armhf.deb ...
Unpacking libpython3-dev:armhf (3.10.6-1) ...
Selecting previously unselected package libpython3-all-dev:armhf.
Preparing to unpack .../49-libpython3-all-dev_3.10.6-1_armhf.deb ...
Unpacking libpython3-all-dev:armhf (3.10.6-1) ...
Selecting previously unselected package python3-all.
Preparing to unpack .../50-python3-all_3.10.6-1_armhf.deb ...
Unpacking python3-all (3.10.6-1) ...
Selecting previously unselected package python3.10-dbg.
Preparing to unpack .../51-python3.10-dbg_3.10.7-2_armhf.deb ...
Unpacking python3.10-dbg (3.10.7-2) ...
Selecting previously unselected package python3-dbg.
Preparing to unpack .../52-python3-dbg_3.10.6-1_armhf.deb ...
Unpacking python3-dbg (3.10.6-1) ...
Selecting previously unselected package python3-all-dbg.
Preparing to unpack .../53-python3-all-dbg_3.10.6-1_armhf.deb ...
Unpacking python3-all-dbg (3.10.6-1) ...
Selecting previously unselected package python3.10-dev.
Preparing to unpack .../54-python3.10-dev_3.10.7-2_armhf.deb ...
Unpacking python3.10-dev (3.10.7-2) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../55-python3-dev_3.10.6-1_armhf.deb ...
Unpacking python3-dev (3.10.6-1) ...
Selecting previously unselected package python3-all-dev.
Preparing to unpack .../56-python3-all-dev_3.10.6-1_armhf.deb ...
Unpacking python3-all-dev (3.10.6-1) ...
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.6-3) ...
Setting up libicu71:armhf (71.1-3) ...
Setting up bsdextrautils (2.38.1-1.1) ...
Setting up libmagic-mgc (1:5.41-4) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libdebhelper-perl (13.10) ...
Setting up libmagic1:armhf (1:5.41-4) ...
Setting up gettext-base (0.21-9) ...
Setting up m4 (1.4.19-1) ...
Setting up file (1:5.41-4) ...
Setting up autotools-dev (20220109.1) ...
Setting up libexpat1-dev:armhf (2.4.9-1) ...
Setting up autopoint (0.21-9) ...
Setting up unixodbc-common (2.3.11-2) ...
Setting up libltdl7:armhf (2.4.7-4) ...
Setting up autoconf (2.71-2) ...
Setting up zlib1g-dev:armhf (1:1.2.11.dfsg-4.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) ...
Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-1) ...
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.0-1) ...
Setting up libodbcinst2:armhf (2.3.11-2) ...
Setting up gettext (0.21-9) ...
Setting up libtool (2.4.7-4) ...
Setting up intltool-debian (0.35.0+20060710.6) ...
Setting up libpython3.10-stdlib:armhf (3.10.7-2) ...
Setting up dh-autoreconf (20) ...
Setting up libjs-sphinxdoc (4.5.0-4) ...
Setting up dh-strip-nondeterminism (1.13.0-1) ...
Setting up dwz (0.14+20220924-2) ...
Setting up groff-base (1.22.4-8) ...
Setting up libpython3.10-dbg:armhf (3.10.7-2) ...
Setting up unixodbc-dev:armhf (2.3.11-2) ...
Setting up libpython3-stdlib:armhf (3.10.6-1) ...
Setting up libpython3.10:armhf (3.10.7-2) ...
Setting up python3.10 (3.10.7-2) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up libpython3-dbg:armhf (3.10.6-1) ...
Setting up python3 (3.10.6-1) ...
Setting up libpython3-all-dbg:armhf (3.10.6-1) ...
Setting up man-db (2.11.0-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libpython3.10-dev:armhf (3.10.7-2) ...
Setting up python3.10-dev (3.10.7-2) ...
Setting up python3-lib2to3 (3.10.7-1) ...
Setting up python3.10-dbg (3.10.7-2) ...
Setting up python3-dbg (3.10.6-1) ...
Setting up python3-distutils (3.10.7-1) ...
Setting up dh-python (5.20220819+rpi1) ...
Setting up libpython3-dev:armhf (3.10.6-1) ...
Setting up python3-all (3.10.6-1) ...
Setting up debhelper (13.10) ...
Setting up libpython3-all-dev:armhf (3.10.6-1) ...
Setting up python3-dev (3.10.6-1) ...
Setting up python3-all-dbg (3.10.6-1) ...
Setting up python3-all-dev (3.10.6-1) ...
Setting up sbuild-build-depends-pyodbc-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.35-2+rpi1) ...
W: No sandbox user '_apt' on the system, can not drop privileges

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

Kernel: Linux 4.9.0-0.bpo.2-armmp armhf (armv7l)
Toolchain package versions: binutils_2.39-6+rpi1 dpkg-dev_1.21.9+rpi1 g++-12_12.2.0-3+rpi1 gcc-12_12.2.0-3+rpi1 libc6-dev_2.35-2+rpi1 libstdc++-12-dev_12.2.0-3+rpi1 libstdc++6_12.2.0-3+rpi1 linux-libc-dev_5.19.6-1+rpi1
Package versions: adduser_3.129 apt_2.5.3 autoconf_2.71-2 automake_1:1.16.5-1.3 autopoint_0.21-9 autotools-dev_20220109.1 base-files_12.3+rpi1 base-passwd_3.6.1 bash_5.2~rc2-2 binutils_2.39-6+rpi1 binutils-arm-linux-gnueabihf_2.39-6+rpi1 binutils-common_2.39-6+rpi1 bsdextrautils_2.38.1-1.1 bsdutils_1:2.38.1-1.1 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-3+rpi1 dash_0.5.11+git20210903+057cd650a4ed-9 debconf_1.5.79 debhelper_13.10 debianutils_5.7-0.3 dh-autoreconf_20 dh-python_5.20220819+rpi1 dh-strip-nondeterminism_1.13.0-1 diffutils_1:3.8-1 dirmngr_2.2.39-1 dpkg_1.21.9+rpi1 dpkg-dev_1.21.9+rpi1 dwz_0.14+20220924-2 e2fsprogs_1.46.6~rc1-1 fakeroot_1.29-1 file_1:5.41-4 findutils_4.9.0-3 g++_4:12.2.0-1+rpi1 g++-12_12.2.0-3+rpi1 gcc_4:12.2.0-1+rpi1 gcc-10-base_10.4.0-5+rpi1 gcc-12_12.2.0-3+rpi1 gcc-12-base_12.2.0-3+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-9 gettext-base_0.21-9 gnupg_2.2.39-1 gnupg-l10n_2.2.39-1 gnupg-utils_2.2.39-1 gpg_2.2.39-1 gpg-agent_2.2.39-1 gpg-wks-client_2.2.39-1 gpg-wks-server_2.2.39-1 gpgconf_2.2.39-1 gpgsm_2.2.39-1 gpgv_2.2.39-1 grep_3.7-1 groff-base_1.22.4-8 gzip_1.12-1 hostname_3.23 init-system-helpers_1.64 intltool-debian_0.35.0+20060710.6 iputils-ping_3:20211215-1 krb5-locales_1.20-1 libacl1_2.3.1-1 libapt-pkg6.0_2.5.3 libarchive-zip-perl_1.68-1 libasan8_12.2.0-3+rpi1 libassuan0_2.5.5-4 libatomic1_12.2.0-3+rpi1 libattr1_1:2.5.1-1 libaudit-common_1:3.0.7-1.1 libaudit1_1:3.0.7-1.1 libbinutils_2.39-6+rpi1 libblkid1_2.38.1-1.1 libbz2-1.0_1.0.8-5+b2 libc-bin_2.35-2+rpi1 libc-dev-bin_2.35-2+rpi1 libc6_2.35-2+rpi1 libc6-dev_2.35-2+rpi1 libcap-ng0_0.8.3-1 libcap2_1:2.44-1 libcap2-bin_1:2.44-1 libcc1-0_12.2.0-3+rpi1 libcom-err2_1.46.6~rc1-1 libcrypt-dev_1:4.4.28-2 libcrypt1_1:4.4.28-2 libctf-nobfd0_2.39-6+rpi1 libctf0_2.39-6+rpi1 libdb5.3_5.3.28+dfsg1-0.10 libdebconfclient0_0.264 libdebhelper-perl_13.10 libdpkg-perl_1.21.9+rpi1 libelf1_0.187-2+rpi2 libexpat1_2.4.9-1 libexpat1-dev_2.4.9-1 libext2fs2_1.46.6~rc1-1 libfakeroot_1.29-1 libffi8_3.4.2-4 libfile-stripnondeterminism-perl_1.13.0-1 libgcc-12-dev_12.2.0-3+rpi1 libgcc-s1_12.2.0-3+rpi1 libgcrypt20_1.10.1-2+b2 libgdbm-compat4_1.23-3 libgdbm6_1.23-3 libgmp10_2:6.2.1+dfsg1-1.1 libgnutls30_3.7.8-2 libgomp1_12.2.0-3+rpi1 libgpg-error0_1.45-2 libgssapi-krb5-2_1.20-1 libhogweed6_3.8.1-2 libicu71_71.1-3 libidn2-0_2.3.3-1 libisl23_0.25-1 libjs-jquery_3.6.1+dfsg+~3.5.14-1 libjs-sphinxdoc_4.5.0-4 libjs-underscore_1.13.4~dfsg+~1.11.4-1 libk5crypto3_1.20-1 libkeyutils1_1.6.3-1 libkrb5-3_1.20-1 libkrb5support0_1.20-1 libksba8_1.6.0-3 libldap-2.4-2_2.4.59+dfsg-1 libldap-2.5-0_2.5.13+dfsg-2+rpi1 libldap-common_2.5.13+dfsg-2+rpi1 liblocale-gettext-perl_1.07-4+b2 libltdl7_2.4.7-4 liblz4-1_1.9.4-1+rpi1 liblzma5_5.2.5-2.1 libmagic-mgc_1:5.41-4 libmagic1_1:5.41-4 libmount1_2.38.1-1.1 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-1+b2 libpcre3_2:8.39-14 libperl5.34_5.34.0-5 libpipeline1_1.5.6-3 libpython3-all-dbg_3.10.6-1 libpython3-all-dev_3.10.6-1 libpython3-dbg_3.10.6-1 libpython3-dev_3.10.6-1 libpython3-stdlib_3.10.6-1 libpython3.10_3.10.7-2 libpython3.10-dbg_3.10.7-2 libpython3.10-dev_3.10.7-2 libpython3.10-minimal_3.10.7-2 libpython3.10-stdlib_3.10.7-2 libreadline8_8.2-1 libsasl2-2_2.1.28+dfsg-8 libsasl2-modules-db_2.1.28+dfsg-8 libseccomp2_2.5.4-1+rpi1 libselinux1_3.4-1 libsemanage-common_3.4-1 libsemanage2_3.4-1 libsepol2_3.4-2 libsmartcols1_2.38.1-1.1 libsqlite3-0_3.39.4-1 libss2_1.46.6~rc1-1 libssl1.1_1.1.1o-1 libssl3_3.0.5-4 libstdc++-12-dev_12.2.0-3+rpi1 libstdc++6_12.2.0-3+rpi1 libsub-override-perl_0.09-4 libsystemd0_251.5-1+rpi1 libtasn1-6_4.19.0-2 libtext-charwidth-perl_0.04-10+b2 libtext-iconv-perl_1.7-7+b2 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-4 libubsan1_12.2.0-3+rpi1 libuchardet0_0.0.7-1 libudev1_251.5-1+rpi1 libunistring2_1.0-2 libuuid1_2.38.1-1.1 libxml2_2.9.14+dfsg-1 libxxhash0_0.8.1-1 libzstd1_1.5.2+dfsg-1 linux-libc-dev_5.19.6-1+rpi1 login_1:4.12.3+dfsg1-1 logsave_1.46.6~rc1-1 lsb-base_11.4+rpi1 m4_1.4.19-1 make_4.3-4.1 man-db_2.11.0-1 mawk_1.3.4.20200120-3.1 media-types_8.0.0 mount_2.38.1-1.1 nano_6.4-1 ncurses-base_6.3+20220423-2 ncurses-bin_6.3+20220423-2 netbase_6.3 passwd_1:4.12.3+dfsg1-1 patch_2.7.6-7 perl_5.34.0-5 perl-base_5.34.0-5 perl-modules-5.34_5.34.0-5 pinentry-curses_1.2.0-2 po-debconf_1.0.21+nmu1 python3_3.10.6-1 python3-all_3.10.6-1 python3-all-dbg_3.10.6-1 python3-all-dev_3.10.6-1 python3-dbg_3.10.6-1 python3-dev_3.10.6-1 python3-distutils_3.10.7-1 python3-lib2to3_3.10.7-1 python3-minimal_3.10.6-1 python3.10_3.10.7-2 python3.10-dbg_3.10.7-2 python3.10-dev_3.10.7-2 python3.10-minimal_3.10.7-2 raspbian-archive-keyring_20120528.2 readline-common_8.2-1 rpcsvc-proto_1.4.2-4 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-6 tar_1.34+dfsg-1 tzdata_2022d-1 unixodbc-common_2.3.11-2 unixodbc-dev_2.3.11-2 util-linux_2.38.1-1.1 util-linux-extra_2.38.1-1.1 xz-utils_5.2.5-2.1 zlib1g_1:1.2.11.dfsg-4.1 zlib1g-dev_1:1.2.11.dfsg-4.1

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


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

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/tmp/dpkg-verify-sig.JntVhBgg/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

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-3b712b78-df8a-4db9-ae60-f15d20ba0a92
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=xterm
USER=buildd

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

dpkg-buildpackage: info: source package pyodbc
dpkg-buildpackage: info: source version 4.0.34-1
dpkg-buildpackage: info: source distribution unstable
 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.10 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.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'
  warnings.warn(msg)
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'include_package_files'
  warnings.warn(msg)
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'python_requires'
  warnings.warn(msg)
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyodbc/build' (and everything under it)
'build/bdist.linux-armhf' does not exist -- can't clean it
'build/scripts-3.10' does not exist -- can't clean it
I: pybuild base:240: python3.10-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.10/subprocess.py:1070: ResourceWarning: subprocess 1418 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.10/subprocess.py:1070: ResourceWarning: subprocess 1420 is still running
  _warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'
  warnings.warn(msg)
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'include_package_files'
  warnings.warn(msg)
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'python_requires'
  warnings.warn(msg)
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_dbg_pyodbc/build' (and everything under it)
'build/bdist.linux-armhf' does not exist -- can't clean it
'build/scripts-3.10' does not exist -- can't clean it
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 encoding='UTF-8'>
   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.10 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.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'
  warnings.warn(msg)
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'include_package_files'
  warnings.warn(msg)
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'python_requires'
  warnings.warn(msg)
running config
I: pybuild base:240: python3.10-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.10/subprocess.py:1070: ResourceWarning: subprocess 1604 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.10/subprocess.py:1070: ResourceWarning: subprocess 1605 is still running
  _warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'
  warnings.warn(msg)
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'include_package_files'
  warnings.warn(msg)
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'python_requires'
  warnings.warn(msg)
/usr/lib/python3.10/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.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'
  warnings.warn(msg)
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'include_package_files'
  warnings.warn(msg)
/usr/lib/python3.10/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.10_pyodbc/build
running build_ext
building 'pyodbc' extension
creating build
creating build/temp.linux-armhf-3.10
creating build/temp.linux-armhf-3.10/src
arm-linux-gnueabihf-gcc -Wno-unused-result -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.10 -c src/buffer.cpp -o build/temp.linux-armhf-3.10/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.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -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.10 -c src/cnxninfo.cpp -o build/temp.linux-armhf-3.10/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.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -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.10 -c src/connection.cpp -o build/temp.linux-armhf-3.10/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.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/connection.cpp: In function 'bool ApplyPreconnAttrs(HDBC, SQLINTEGER, PyObject*, char*)':
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/connection.cpp:189:18: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  189 |         ivalue = PyUnicode_AS_UNICODE(value);
      |                  ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -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.10 -c src/cursor.cpp -o build/temp.linux-armhf-3.10/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.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -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.10 -c src/errors.cpp -o build/temp.linux-armhf-3.10/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.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.10/Python.h:130:
src/errors.cpp: In function 'PyObject* RaiseErrorV(const char*, PyObject*, const char*, ...)':
/usr/include/python3.10/ceval.h:24:34: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations]
   24 |     PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/errors.cpp:91:18: note: in expansion of macro 'PyEval_CallObject'
   91 |         pError = PyEval_CallObject(exc_class, pAttrs);
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/python3.10/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/errors.cpp: In function 'PyObject* GetError(const char*, PyObject*, PyObject*)':
/usr/include/python3.10/ceval.h:24:34: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations]
   24 |     PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/errors.cpp:171:14: note: in expansion of macro 'PyEval_CallObject'
  171 |     pError = PyEval_CallObject(exc_class, pAttrs); // pError will incref pAttrs
      |              ^~~~~~~~~~~~~~~~~
/usr/include/python3.10/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/errors.cpp: In function 'PyObject* GetErrorFromHandle(Connection*, const char*, HDBC, HSTMT)':
src/errors.cpp:328:34: warning: 'Py_ssize_t PyUnicode_GetSize(PyObject*)' is deprecated [-Wdeprecated-declarations]
  328 |     if (!msg || PyUnicode_GetSize(msg.Get()) == 0)
      |                 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
      |                                           ^~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -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.10 -c src/getdata.cpp -o build/temp.linux-armhf-3.10/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.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -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.10 -c src/params.cpp -o build/temp.linux-armhf-3.10/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.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/params.cpp: In function 'int PyToCType(Cursor*, unsigned char**, PyObject*, ParamInfo*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  326 |         Py_ssize_t len = PyUnicode_GET_SIZE(cell);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  326 |         Py_ssize_t len = PyUnicode_GET_SIZE(cell);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  326 |         Py_ssize_t len = PyUnicode_GET_SIZE(cell);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:283:21: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  283 |     ((const char *)(PyUnicode_AS_UNICODE(op)))
      |                     ^~~~~~~~~~~~~~~~~~~~
src/params.cpp:387:33: note: in expansion of macro 'PyUnicode_AS_DATA'
  387 |                 memcpy(*outbuf, PyUnicode_AS_DATA(cell), len);
      |                                 ^~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -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.10 -c src/pyodbccompat.cpp -o build/temp.linux-armhf-3.10/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.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.cpp: In function 'bool Text_EqualsI(PyObject*, const char*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE'
   14 |     Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs);
      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE'
   14 |     Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs);
      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE'
   14 |     Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs);
      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.cpp:19:21: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   19 |     Py_UNICODE* p = PyUnicode_AS_UNICODE(lhs);
      |                     ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -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.10 -c src/pyodbcdbg.cpp -o build/temp.linux-armhf-3.10/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.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -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.10 -c src/pyodbcmodule.cpp -o build/temp.linux-armhf-3.10/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.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp: In function 'void init_locale_info()':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE'
  276 |         if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1)
      |                                       ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE'
  276 |         if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1)
      |                                       ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE'
  276 |         if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1)
      |                                       ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp:277:25: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  277 |             chDecimal = PyUnicode_AS_UNICODE(value)[0];
      |                         ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp: In function 'PyObject* mod_setdecimalsep(PyObject*, PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(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.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_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.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(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.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_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.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp: In function 'PyObject* mod_getdecimalsep(PyObject*)':
src/pyodbcmodule.cpp: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.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -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.10 -c src/row.cpp -o build/temp.linux-armhf-3.10/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.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -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.10 -c src/textenc.cpp -o build/temp.linux-armhf-3.10/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.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
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.10/src/buffer.o build/temp.linux-armhf-3.10/src/cnxninfo.o build/temp.linux-armhf-3.10/src/connection.o build/temp.linux-armhf-3.10/src/cursor.o build/temp.linux-armhf-3.10/src/errors.o build/temp.linux-armhf-3.10/src/getdata.o build/temp.linux-armhf-3.10/src/params.o build/temp.linux-armhf-3.10/src/pyodbccompat.o build/temp.linux-armhf-3.10/src/pyodbcdbg.o build/temp.linux-armhf-3.10/src/pyodbcmodule.o build/temp.linux-armhf-3.10/src/row.o build/temp.linux-armhf-3.10/src/textenc.o -lodbc -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyodbc/build/pyodbc.cpython-310-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.10/subprocess.py:1070: ResourceWarning: subprocess 1760 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.10/subprocess.py:1070: ResourceWarning: subprocess 1761 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.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'
  warnings.warn(msg)
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'include_package_files'
  warnings.warn(msg)
/usr/lib/python3.10/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.10_dbg_pyodbc/build
running build_ext
/usr/lib/python3.10/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.10-pydebug
creating build/temp.linux-armhf-3.10-pydebug/src
arm-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -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.10d -c src/buffer.cpp -o build/temp.linux-armhf-3.10-pydebug/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.10d/unicodeobject.h:1046,
                 from /usr/include/python3.10d/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10d/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -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.10d -c src/cnxninfo.cpp -o build/temp.linux-armhf-3.10-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.10d/unicodeobject.h:1046,
                 from /usr/include/python3.10d/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10d/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -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.10d -c src/connection.cpp -o build/temp.linux-armhf-3.10-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.10d/unicodeobject.h:1046,
                 from /usr/include/python3.10d/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10d/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/connection.cpp: In function 'bool ApplyPreconnAttrs(HDBC, SQLINTEGER, PyObject*, char*)':
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/connection.cpp:189:18: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  189 |         ivalue = PyUnicode_AS_UNICODE(value);
      |                  ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -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.10d -c src/cursor.cpp -o build/temp.linux-armhf-3.10-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.10d/unicodeobject.h:1046,
                 from /usr/include/python3.10d/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10d/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -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.10d -c src/errors.cpp -o build/temp.linux-armhf-3.10-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.10d/unicodeobject.h:1046,
                 from /usr/include/python3.10d/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10d/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.10d/Python.h:130:
src/errors.cpp: In function 'PyObject* RaiseErrorV(const char*, PyObject*, const char*, ...)':
/usr/include/python3.10d/ceval.h:24:34: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations]
   24 |     PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/errors.cpp:91:18: note: in expansion of macro 'PyEval_CallObject'
   91 |         pError = PyEval_CallObject(exc_class, pAttrs);
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/python3.10d/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/errors.cpp: In function 'PyObject* GetError(const char*, PyObject*, PyObject*)':
/usr/include/python3.10d/ceval.h:24:34: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations]
   24 |     PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/errors.cpp:171:14: note: in expansion of macro 'PyEval_CallObject'
  171 |     pError = PyEval_CallObject(exc_class, pAttrs); // pError will incref pAttrs
      |              ^~~~~~~~~~~~~~~~~
/usr/include/python3.10d/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/errors.cpp: In function 'PyObject* GetErrorFromHandle(Connection*, const char*, HDBC, HSTMT)':
src/errors.cpp:328:34: warning: 'Py_ssize_t PyUnicode_GetSize(PyObject*)' is deprecated [-Wdeprecated-declarations]
  328 |     if (!msg || PyUnicode_GetSize(msg.Get()) == 0)
      |                 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/python3.10d/unicodeobject.h:177:43: note: declared here
  177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
      |                                           ^~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -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.10d -c src/getdata.cpp -o build/temp.linux-armhf-3.10-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.10d/unicodeobject.h:1046,
                 from /usr/include/python3.10d/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10d/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -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.10d -c src/params.cpp -o build/temp.linux-armhf-3.10-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.10d/unicodeobject.h:1046,
                 from /usr/include/python3.10d/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10d/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/params.cpp: In function 'int PyToCType(Cursor*, unsigned char**, PyObject*, ParamInfo*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  326 |         Py_ssize_t len = PyUnicode_GET_SIZE(cell);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  326 |         Py_ssize_t len = PyUnicode_GET_SIZE(cell);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  326 |         Py_ssize_t len = PyUnicode_GET_SIZE(cell);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:283:21: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  283 |     ((const char *)(PyUnicode_AS_UNICODE(op)))
      |                     ^~~~~~~~~~~~~~~~~~~~
src/params.cpp:387:33: note: in expansion of macro 'PyUnicode_AS_DATA'
  387 |                 memcpy(*outbuf, PyUnicode_AS_DATA(cell), len);
      |                                 ^~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -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.10d -c src/pyodbccompat.cpp -o build/temp.linux-armhf-3.10-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.10d/unicodeobject.h:1046,
                 from /usr/include/python3.10d/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10d/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.cpp: In function 'bool Text_EqualsI(PyObject*, const char*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE'
   14 |     Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs);
      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE'
   14 |     Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs);
      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE'
   14 |     Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs);
      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.cpp:19:21: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   19 |     Py_UNICODE* p = PyUnicode_AS_UNICODE(lhs);
      |                     ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -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.10d -c src/pyodbcdbg.cpp -o build/temp.linux-armhf-3.10-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.10d/unicodeobject.h:1046,
                 from /usr/include/python3.10d/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10d/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -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.10d -c src/pyodbcmodule.cpp -o build/temp.linux-armhf-3.10-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.10d/unicodeobject.h:1046,
                 from /usr/include/python3.10d/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10d/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp: In function 'void init_locale_info()':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE'
  276 |         if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1)
      |                                       ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE'
  276 |         if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1)
      |                                       ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE'
  276 |         if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1)
      |                                       ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp:277:25: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  277 |             chDecimal = PyUnicode_AS_UNICODE(value)[0];
      |                         ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp: In function 'PyObject* mod_setdecimalsep(PyObject*, PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(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.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_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.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(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.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_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.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp: In function 'PyObject* mod_getdecimalsep(PyObject*)':
src/pyodbcmodule.cpp: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.10d/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -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.10d -c src/row.cpp -o build/temp.linux-armhf-3.10-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.10d/unicodeobject.h:1046,
                 from /usr/include/python3.10d/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10d/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -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.10d -c src/textenc.cpp -o build/temp.linux-armhf-3.10-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.10d/unicodeobject.h:1046,
                 from /usr/include/python3.10d/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10d/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE'
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE'
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)':
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:262:33: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:451:61: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:279:26: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE'
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10d/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
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.10-pydebug/src/buffer.o build/temp.linux-armhf-3.10-pydebug/src/cnxninfo.o build/temp.linux-armhf-3.10-pydebug/src/connection.o build/temp.linux-armhf-3.10-pydebug/src/cursor.o build/temp.linux-armhf-3.10-pydebug/src/errors.o build/temp.linux-armhf-3.10-pydebug/src/getdata.o build/temp.linux-armhf-3.10-pydebug/src/params.o build/temp.linux-armhf-3.10-pydebug/src/pyodbccompat.o build/temp.linux-armhf-3.10-pydebug/src/pyodbcdbg.o build/temp.linux-armhf-3.10-pydebug/src/pyodbcmodule.o build/temp.linux-armhf-3.10-pydebug/src/row.o build/temp.linux-armhf-3.10-pydebug/src/textenc.o -lodbc -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_dbg_pyodbc/build/pyodbc.cpython-310d-arm-linux-gnueabihf.so
   dh_auto_test -a -O--buildsystem=pybuild
I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyodbc/build; python3.10 -m unittest discover -v 

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

OK
I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_dbg_pyodbc/build; python3.10-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.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'
  warnings.warn(msg)
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'include_package_files'
  warnings.warn(msg)
/usr/lib/python3.10/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.10
creating /<<PKGBUILDDIR>>/debian/python3-pyodbc/usr/lib/python3.10/dist-packages
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyodbc/build/pyodbc.pyi -> /<<PKGBUILDDIR>>/debian/python3-pyodbc/usr/lib/python3.10/dist-packages
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyodbc/build/pyodbc.cpython-310-arm-linux-gnueabihf.so -> /<<PKGBUILDDIR>>/debian/python3-pyodbc/usr/lib/python3.10/dist-packages
running install_egg_info
Writing /<<PKGBUILDDIR>>/debian/python3-pyodbc/usr/lib/python3.10/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.10/subprocess.py:1070: ResourceWarning: subprocess 1856 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.10/subprocess.py:1070: ResourceWarning: subprocess 1857 is still running
  _warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'
  warnings.warn(msg)
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'include_package_files'
  warnings.warn(msg)
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'python_requires'
  warnings.warn(msg)
/usr/lib/python3.10/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
running build
running build_py
running build_ext
running install_lib
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_dbg_pyodbc/build/pyodbc.pyi -> /<<PKGBUILDDIR>>/debian/python3-pyodbc/usr/lib/python3.10/dist-packages
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_dbg_pyodbc/build/pyodbc.cpython-310d-arm-linux-gnueabihf.so -> /<<PKGBUILDDIR>>/debian/python3-pyodbc/usr/lib/python3.10/dist-packages
running install_egg_info
Removing /<<PKGBUILDDIR>>/debian/python3-pyodbc/usr/lib/python3.10/dist-packages/pyodbc-4.0.34.egg-info
Writing /<<PKGBUILDDIR>>/debian/python3-pyodbc/usr/lib/python3.10/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_armhf.deb'.
dpkg-deb: building package 'python3-pyodbc-dbgsym' in '../python3-pyodbc-dbgsym_4.0.34-1_armhf.deb'.
 dpkg-genbuildinfo --build=any -O../pyodbc_4.0.34-1_armhf.buildinfo
 dpkg-genchanges --build=any -mRaspbian wandboard test autobuilder <root@raspbian.org> -O../pyodbc_4.0.34-1_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 2022-10-22T05:57:37Z

Finished
--------

I: Built successfully

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


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


pyodbc_4.0.34-1_armhf.changes:
------------------------------

Format: 1.8
Date: Tue, 11 Oct 2022 14:57:55 +0000
Source: pyodbc
Binary: python3-pyodbc python3-pyodbc-dbgsym
Architecture: armhf
Version: 4.0.34-1
Distribution: bookworm-staging
Urgency: low
Maintainer: Raspbian wandboard test autobuilder <root@raspbian.org>
Changed-By: Michael Fladischer <fladi@debian.org>
Description:
 python3-pyodbc - Python3 module for ODBC database access
Changes:
 pyodbc (4.0.34-1) unstable; urgency=low
 .
   * Team upload.
   * New upstream release.
   * Add debian/gbp.conf.
   * Add myself to d/copyright.
   * Bump Standards-Version to 4.6.1.0.
Checksums-Sha1:
 c4447a589390c90799ba77dd116c3c09caff6a87 6226 pyodbc_4.0.34-1_armhf.buildinfo
 567b8545e310e17935b14364d26cc68e4407da3b 328156 python3-pyodbc-dbgsym_4.0.34-1_armhf.deb
 e957805ecd92ec437adc31ae24960a68d984bc36 80620 python3-pyodbc_4.0.34-1_armhf.deb
Checksums-Sha256:
 b92db93951259647458f86fbad6796bae51a54184f928c80d399b9798892d284 6226 pyodbc_4.0.34-1_armhf.buildinfo
 8cdcb2dddc4c7943b76f568b70e11b7963f6b54b9a520ffbc8ed80ae32f075f8 328156 python3-pyodbc-dbgsym_4.0.34-1_armhf.deb
 71ff9ac85014e7638ba3ef2bc78fc785ba99b0a39651791ed0b050f3533dfe01 80620 python3-pyodbc_4.0.34-1_armhf.deb
Files:
 aa49160a4f3aa7ddabf398e6f3ffbd11 6226 python optional pyodbc_4.0.34-1_armhf.buildinfo
 f5207cc61663529a23ff08090b5b5281 328156 debug optional python3-pyodbc-dbgsym_4.0.34-1_armhf.deb
 be576c2bb5ad1a875d6e37bfc4cb8a6d 80620 python optional python3-pyodbc_4.0.34-1_armhf.deb

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


python3-pyodbc-dbgsym_4.0.34-1_armhf.deb
----------------------------------------

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

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/6b/
-rw-r--r-- root/root    164740 2022-10-11 14:57 ./usr/lib/debug/.build-id/6b/29c6de3e2aef482f4a9b339a931bf60fce166a.debug
drwxr-xr-x root/root         0 2022-10-11 14:57 ./usr/lib/debug/.build-id/e4/
-rw-r--r-- root/root    188944 2022-10-11 14:57 ./usr/lib/debug/.build-id/e4/d573634f121b6cdf618ffff434215418d24f3e.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     16520 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_armhf.deb
---------------------------------

 new Debian package, version 2.0.
 size 80620 bytes: control archive=1036 bytes.
     916 bytes,    21 lines      control              
     531 bytes,     6 lines      md5sums              
 Package: python3-pyodbc
 Source: pyodbc
 Version: 4.0.34-1
 Architecture: armhf
 Maintainer: Deepak Tripathi <apenguinlinux@gmail.com>
 Installed-Size: 333
 Depends: python3 (<< 3.11), python3 (>= 3.10~), 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-310-arm-linux-gnueabihf.so
-rw-r--r-- root/root    155212 2022-10-11 14:57 ./usr/lib/python3/dist-packages/pyodbc.cpython-310d-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      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: 6748
Build-Time: 234
Distribution: bookworm-staging
Host Architecture: armhf
Install-Time: 452
Job: pyodbc_4.0.34-1
Machine Architecture: armhf
Package: pyodbc
Package-Time: 747
Source-Version: 4.0.34-1
Space: 6748
Status: successful
Version: 4.0.34-1
--------------------------------------------------------------------------------
Finished at 2022-10-22T05:57:37Z
Build needed 00:12:27, 6748k disc space