==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: python-tpm2-pytss 2.3.0-3 (Thu Dec 26 10:17:03 2024)
==> Retrieving sources...
  -> Cloning tpm2-pytss git repo...
Cloning into bare repository '/home/leming/work/python-tpm2-pytss/tpm2-pytss'...
  -> Found adjust-tpm-pt-revision-to-fix-test.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    tpm2-pytss ... Skipped
    adjust-tpm-pt-revision-to-fix-test.patch ... Passed
==> Making package: python-tpm2-pytss 2.3.0-3 (Thu Dec 26 10:17:31 2024)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (7) libyaml-0.2.5-3  python-pycparser-2.22-3
             python-asn1crypto-1.5.1-5  python-cffi-1.17.1-2
             python-cryptography-44.0.0-1  python-packaging-24.2-3
             python-yaml-6.0.2-2

Total Download Size:    0.20 MiB
Total Installed Size:  10.74 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 python-asn1crypto-1.5.1-5-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing python-asn1crypto...
installing python-pycparser...
installing python-cffi...
Optional dependencies for python-cffi
    python-setuptools: "limited api" version checking in cffi.setuptools_ext
installing python-cryptography...
installing python-packaging...
installing libyaml...
installing python-yaml...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (18) perl-error-0.17029-7  perl-mailtools-2.22-1  perl-timedate-2.33-7
              python-autocommand-2.2.2-7  python-jaraco.collections-5.0.1-2
              python-jaraco.context-5.3.0-3  python-jaraco.functools-4.1.0-1
              python-jaraco.text-4.0.0-2  python-more-itertools-10.5.0-1
              python-platformdirs-4.3.6-2  python-pyproject-hooks-1.2.0-3
              git-2.47.1-1  python-build-1.2.2-3  python-installer-0.7.0-10
              python-pkgconfig-1.5.5-7  python-setuptools-1:75.2.0-4
              python-setuptools-scm-8.1.0-3  python-wheel-0.45.0-3

Total Download Size:    0.09 MiB
Total Installed Size:  49.92 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 python-setuptools-scm-8.1.0-3-any downloading...
 python-pkgconfig-1.5.5-7-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing git...
Optional dependencies for git
    tk: gitk and git gui
    openssh: ssh transport and crypto
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-io-socket-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-mediawiki-api: git mediawiki support
    perl-datetime-format-iso8601: git mediawiki support
    perl-lwp-protocol-https: git mediawiki https support
    perl-cgi: gitweb (web interface) support
    python: git svn & git p4 [installed]
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
installing python-pyproject-hooks...
installing python-build...
Optional dependencies for python-build
    python-pip: to use as the Python package installer (default)
    python-uv: to use as the Python package installer
    python-virtualenv: to use virtualenv for build isolation
installing python-installer...
installing python-pkgconfig...
installing python-more-itertools...
installing python-jaraco.functools...
installing python-jaraco.context...
installing python-autocommand...
installing python-jaraco.text...
Optional dependencies for python-jaraco.text
    python-inflect: for show-newlines script
installing python-jaraco.collections...
installing python-platformdirs...
installing python-wheel...
Optional dependencies for python-wheel
    python-keyring: for wheel.signatures
    python-xdg: for wheel.signatures
    python-setuptools: for legacy bdist_wheel subcommand [pending]
installing python-setuptools...
installing python-setuptools-scm...
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group 'git' with GID 971.
Creating user 'git' (git daemon user) with UID 971 and GID 971.
(2/4) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/4) Arming ConditionNeedsUpdate...
(4/4) Warn about old perl modules
[?25h==> Retrieving sources...
  -> Found adjust-tpm-pt-revision-to-fix-test.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of tpm2-pytss git repo...
Cloning into 'tpm2-pytss'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
patching file test/test_encoding.py
==> Starting build()...
* Getting build dependencies for wheel...
* Building wheel...
adding path: /build/python-tpm2-pytss/src/tpm2-pytss/scripts
/build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:27: SyntaxWarning: invalid escape sequence '\('
  s = re.sub("#define TSS2_RC_LAYER\(level\).*", "", s)
/build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:28: SyntaxWarning: invalid escape sequence '\('
  s = re.sub("(#define.*)TSS2_RC_LAYER\(0xff\)", "\g<1>0xff0000", s)
/build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:28: SyntaxWarning: invalid escape sequence '\g'
  s = re.sub("(#define.*)TSS2_RC_LAYER\(0xff\)", "\g<1>0xff0000", s)
/build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:31: SyntaxWarning: invalid escape sequence '\*'
  s = re.sub("/\*.*?\*/", "", s, flags=re.MULTILINE)
/build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:34: SyntaxWarning: invalid escape sequence '\('
  s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\) \(.*?\)\)", "\g<1>...", s)
/build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:34: SyntaxWarning: invalid escape sequence '\g'
  s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\) \(.*?\)\)", "\g<1>...", s)
/build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:35: SyntaxWarning: invalid escape sequence '\('
  s = re.sub("(#define [A-Za-z0-9_]+) +\(\(\(.*?\) .*\)", "\g<1>...", s)
/build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:35: SyntaxWarning: invalid escape sequence '\g'
  s = re.sub("(#define [A-Za-z0-9_]+) +\(\(\(.*?\) .*\)", "\g<1>...", s)
/build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:36: SyntaxWarning: invalid escape sequence '\('
  s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\).*?\) ", "\g<1>...", s)
/build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:36: SyntaxWarning: invalid escape sequence '\g'
  s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\).*?\) ", "\g<1>...", s)
/build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:38: SyntaxWarning: invalid escape sequence '\)'
  "(#define [A-Za-z0-9_]+) .*\n.*?.*\)\)", "\g<1>...", s, flags=re.MULTILINE
/build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:38: SyntaxWarning: invalid escape sequence '\g'
  "(#define [A-Za-z0-9_]+) .*\n.*?.*\)\)", "\g<1>...", s, flags=re.MULTILINE
/build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:40: SyntaxWarning: invalid escape sequence '\g'
  s = re.sub("(#define [A-Za-z0-9_]+) .*", "\g<1>...", s)
/build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:43: SyntaxWarning: invalid escape sequence '\['
  s = re.sub("\[.+?\]", "[...]", s)
/build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:78: SyntaxWarning: invalid escape sequence '\)'
  "#define TPM2_MAX_TAGGED_POLICIES.*\n.*TPMS_TAGGED_POLICY\)\)",
/build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:271: SyntaxWarning: invalid escape sequence '\s'
  "TSS2_RC\s+Tss2_MU_BYTE_Marshal\(.+?\);", s, re.DOTALL | re.MULTILINE
/build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:275: SyntaxWarning: invalid escape sequence '\s'
  "TSS2_RC\s+Tss2_MU_BYTE_Marshal\(.+?\);", "", s, 1, re.DOTALL | re.MULTILINE
/build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:279: SyntaxWarning: invalid escape sequence '\s'
  "TSS2_RC\s+Tss2_MU_BYTE_Unmarshal\(.+?\);", s, re.DOTALL | re.MULTILINE
/build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:283: SyntaxWarning: invalid escape sequence '\s'
  "TSS2_RC\s+Tss2_MU_BYTE_Unmarshal\(.+?\);",
running bdist_wheel
running build
running build_py
creating build/lib.linux-armv7l-cpython-313/tpm2_pytss
copying src/tpm2_pytss/TCTILdr.py -> build/lib.linux-armv7l-cpython-313/tpm2_pytss
copying src/tpm2_pytss/fapi_info.py -> build/lib.linux-armv7l-cpython-313/tpm2_pytss
copying src/tpm2_pytss/TCTISPIHelper.py -> build/lib.linux-armv7l-cpython-313/tpm2_pytss
copying src/tpm2_pytss/FAPI.py -> build/lib.linux-armv7l-cpython-313/tpm2_pytss
copying src/tpm2_pytss/cryptography.py -> build/lib.linux-armv7l-cpython-313/tpm2_pytss
copying src/tpm2_pytss/utils.py -> build/lib.linux-armv7l-cpython-313/tpm2_pytss
copying src/tpm2_pytss/types.py -> build/lib.linux-armv7l-cpython-313/tpm2_pytss
copying src/tpm2_pytss/__init__.py -> build/lib.linux-armv7l-cpython-313/tpm2_pytss
copying src/tpm2_pytss/policy.py -> build/lib.linux-armv7l-cpython-313/tpm2_pytss
copying src/tpm2_pytss/TCTI.py -> build/lib.linux-armv7l-cpython-313/tpm2_pytss
copying src/tpm2_pytss/TSS2_Exception.py -> build/lib.linux-armv7l-cpython-313/tpm2_pytss
copying src/tpm2_pytss/constants.py -> build/lib.linux-armv7l-cpython-313/tpm2_pytss
copying src/tpm2_pytss/ESAPI.py -> build/lib.linux-armv7l-cpython-313/tpm2_pytss
copying src/tpm2_pytss/tsskey.py -> build/lib.linux-armv7l-cpython-313/tpm2_pytss
copying src/tpm2_pytss/encoding.py -> build/lib.linux-armv7l-cpython-313/tpm2_pytss
creating build/lib.linux-armv7l-cpython-313/tpm2_pytss/internal
copying src/tpm2_pytss/internal/templates.py -> build/lib.linux-armv7l-cpython-313/tpm2_pytss/internal
copying src/tpm2_pytss/internal/crypto.py -> build/lib.linux-armv7l-cpython-313/tpm2_pytss/internal
copying src/tpm2_pytss/internal/utils.py -> build/lib.linux-armv7l-cpython-313/tpm2_pytss/internal
copying src/tpm2_pytss/internal/__init__.py -> build/lib.linux-armv7l-cpython-313/tpm2_pytss/internal
running build_ext
generating cffi module 'build/temp.linux-armv7l-cpython-313/tpm2_pytss._libtpm2_pytss.c'
creating build/temp.linux-armv7l-cpython-313
building 'tpm2_pytss._libtpm2_pytss' extension
creating build/temp.linux-armv7l-cpython-313/build/temp.linux-armv7l-cpython-313
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -I/usr/include -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid -I/usr/include/tss -I/usr/include/python3.13 -c build/temp.linux-armv7l-cpython-313/tpm2_pytss._libtpm2_pytss.c -o build/temp.linux-armv7l-cpython-313/build/temp.linux-armv7l-cpython-313/tpm2_pytss._libtpm2_pytss.o
gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection build/temp.linux-armv7l-cpython-313/build/temp.linux-armv7l-cpython-313/tpm2_pytss._libtpm2_pytss.o -L/usr/lib -ltss2-rc -ltss2-fapi -ltss2-esys -ltss2-mu -ltss2-tctildr -ltss2-policy -ltss2-tcti-spi-helper -o build/lib.linux-armv7l-cpython-313/tpm2_pytss/_libtpm2_pytss.abi3.so
generated _type_map with 62 mappings in build/lib.linux-armv7l-cpython-313/tpm2_pytss/internal/type_mapping.py and /build/python-tpm2-pytss/src/tpm2-pytss/src/tpm2_pytss/internal/type_mapping.py
generated _element_type_map with 5 mappings
generated _versions with 4 versions
installing to build/bdist.linux-armv7l/wheel
running install
running install_lib
creating build/bdist.linux-armv7l/wheel
creating build/bdist.linux-armv7l/wheel/tpm2_pytss
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/TCTILdr.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/fapi_info.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/TCTISPIHelper.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/FAPI.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/cryptography.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/utils.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/types.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/__init__.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/policy.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/TCTI.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/TSS2_Exception.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/constants.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/ESAPI.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/tsskey.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/_libtpm2_pytss.abi3.so -> build/bdist.linux-armv7l/wheel/./tpm2_pytss
creating build/bdist.linux-armv7l/wheel/tpm2_pytss/internal
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/internal/templates.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss/internal
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/internal/type_mapping.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss/internal
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/internal/versions.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss/internal
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/internal/crypto.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss/internal
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/internal/utils.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss/internal
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/internal/__init__.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss/internal
copying build/lib.linux-armv7l-cpython-313/tpm2_pytss/encoding.py -> build/bdist.linux-armv7l/wheel/./tpm2_pytss
running install_egg_info
running egg_info
creating src/tpm2_pytss.egg-info
writing src/tpm2_pytss.egg-info/PKG-INFO
writing dependency_links to src/tpm2_pytss.egg-info/dependency_links.txt
writing requirements to src/tpm2_pytss.egg-info/requires.txt
writing top-level names to src/tpm2_pytss.egg-info/top_level.txt
writing manifest file 'src/tpm2_pytss.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'src/tpm2_pytss/version'
warning: no files found matching 'src/tpm2_pytss/config.json'
warning: no files found matching '*' under directory 'src/tpm2_pytss/swig'
warning: no files found matching '*' under directory 'tests'
warning: no files found matching '*' under directory 'examples'
warning: no previously-included files found matching 'src/tpm2_pytss/internal/type_mapping.py'
adding license file 'LICENSE'
writing manifest file 'src/tpm2_pytss.egg-info/SOURCES.txt'
Copying src/tpm2_pytss.egg-info to build/bdist.linux-armv7l/wheel/./tpm2_pytss-2.3.1.dev0+g930cee2.d20241226-py3.13.egg-info
running install_scripts
creating build/bdist.linux-armv7l/wheel/tpm2_pytss-2.3.1.dev0+g930cee2.d20241226.dist-info/WHEEL
creating '/build/python-tpm2-pytss/src/tpm2-pytss/dist/.tmp-mklyx1ne/tpm2_pytss-2.3.1.dev0+g930cee2.d20241226-cp313-cp313-linux_armv7l.whl' and adding 'build/bdist.linux-armv7l/wheel' to it
adding 'tpm2_pytss/ESAPI.py'
adding 'tpm2_pytss/FAPI.py'
adding 'tpm2_pytss/TCTI.py'
adding 'tpm2_pytss/TCTILdr.py'
adding 'tpm2_pytss/TCTISPIHelper.py'
adding 'tpm2_pytss/TSS2_Exception.py'
adding 'tpm2_pytss/__init__.py'
adding 'tpm2_pytss/_libtpm2_pytss.abi3.so'
adding 'tpm2_pytss/constants.py'
adding 'tpm2_pytss/cryptography.py'
adding 'tpm2_pytss/encoding.py'
adding 'tpm2_pytss/fapi_info.py'
adding 'tpm2_pytss/policy.py'
adding 'tpm2_pytss/tsskey.py'
adding 'tpm2_pytss/types.py'
adding 'tpm2_pytss/utils.py'
adding 'tpm2_pytss/internal/__init__.py'
adding 'tpm2_pytss/internal/crypto.py'
adding 'tpm2_pytss/internal/templates.py'
adding 'tpm2_pytss/internal/type_mapping.py'
adding 'tpm2_pytss/internal/utils.py'
adding 'tpm2_pytss/internal/versions.py'
adding 'tpm2_pytss-2.3.1.dev0+g930cee2.d20241226.dist-info/LICENSE'
adding 'tpm2_pytss-2.3.1.dev0+g930cee2.d20241226.dist-info/METADATA'
adding 'tpm2_pytss-2.3.1.dev0+g930cee2.d20241226.dist-info/WHEEL'
adding 'tpm2_pytss-2.3.1.dev0+g930cee2.d20241226.dist-info/top_level.txt'
adding 'tpm2_pytss-2.3.1.dev0+g930cee2.d20241226.dist-info/RECORD'
removing build/bdist.linux-armv7l/wheel
Successfully built tpm2_pytss-2.3.1.dev0+g930cee2.d20241226-cp313-cp313-linux_armv7l.whl
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "python-tpm2-pytss"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: python-tpm2-pytss 2.3.0-3 (Thu Dec 26 10:18:25 2024)
==> Cleaning up...