>>> py3-tpm2-pytss: Building testing/py3-tpm2-pytss 2.2.1-r0 (using abuild 3.13.0-r3) started Thu, 11 Jul 2024 15:19:43 +0000 >>> py3-tpm2-pytss: Checking sanity of /home/buildozer/aports/testing/py3-tpm2-pytss/APKBUILD... >>> py3-tpm2-pytss: Analyzing dependencies... >>> py3-tpm2-pytss: Installing for build: build-base py3-asn1crypto py3-cparser py3-cryptography py3-yaml python3 py3-gpep517 py3-pkgconfig py3-setuptools py3-setuptools_scm py3-wheel python3-dev tpm2-tss-dev (1/98) Installing libbz2 (1.0.8-r6) (2/98) Installing libffi (3.4.6-r0) (3/98) Installing gdbm (1.24-r0) (4/98) Installing xz-libs (5.6.2-r0) (5/98) Installing mpdecimal (4.0.0-r0) (6/98) Installing libpanelw (6.5_p20240601-r0) (7/98) Installing readline (8.2.10-r0) (8/98) Installing sqlite-libs (3.46.0-r0) (9/98) Installing python3 (3.12.3-r1) (10/98) Installing python3-pycache-pyc0 (3.12.3-r1) (11/98) Installing pyc (3.12.3-r1) (12/98) Installing py3-asn1crypto-pyc (1.5.1_git20231103-r1) (13/98) Installing python3-pyc (3.12.3-r1) (14/98) Installing py3-asn1crypto (1.5.1_git20231103-r1) (15/98) Installing py3-cparser (2.22-r1) (16/98) Installing py3-cparser-pyc (2.22-r1) (17/98) Installing py3-cffi (1.16.0-r1) (18/98) Installing py3-cffi-pyc (1.16.0-r1) (19/98) Installing py3-cryptography (42.0.8-r0) (20/98) Installing py3-cryptography-pyc (42.0.8-r0) (21/98) Installing yaml (0.2.5-r2) (22/98) Installing py3-yaml (6.0.1-r3) (23/98) Installing py3-yaml-pyc (6.0.1-r3) (24/98) Installing py3-installer (0.7.0-r2) (25/98) Installing py3-installer-pyc (0.7.0-r2) (26/98) Installing py3-gpep517 (16-r0) (27/98) Installing py3-gpep517-pyc (16-r0) (28/98) Installing py3-pkgconfig (1.5.5-r4) (29/98) Installing py3-pkgconfig-pyc (1.5.5-r4) (30/98) Installing py3-parsing (3.1.2-r1) (31/98) Installing py3-parsing-pyc (3.1.2-r1) (32/98) Installing py3-packaging (24.1-r0) (33/98) Installing py3-packaging-pyc (24.1-r0) (34/98) Installing py3-setuptools (70.3.0-r0) (35/98) Installing py3-setuptools-pyc (70.3.0-r0) (36/98) Installing py3-setuptools_scm (8.1.0-r0) (37/98) Installing py3-setuptools_scm-pyc (8.1.0-r0) (38/98) Installing py3-wheel (0.42.0-r1) (39/98) Installing py3-wheel-pyc (0.42.0-r1) (40/98) Installing python3-dev (3.12.3-r1) (41/98) Installing json-c (0.17-r0) (42/98) Installing json-c-dev (0.17-r0) (43/98) Installing openssl-dev (3.3.1-r3) (44/98) Installing brotli (1.1.0-r2) (45/98) Installing brotli-dev (1.1.0-r2) (46/98) Installing c-ares-dev (1.32.1-r0) (47/98) Installing libidn2-dev (2.3.7-r0) (48/98) Installing libpsl-utils (0.21.5-r2) (49/98) Installing libpsl-dev (0.21.5-r2) (50/98) Installing nghttp2-dev (1.62.1-r0) (51/98) Installing zlib-dev (1.3.1-r1) (52/98) Installing zstd (1.5.6-r0) (53/98) Installing zstd-dev (1.5.6-r0) (54/98) Installing curl-dev (8.8.0-r1) (55/98) Installing libeconf (0.6.3-r0) (56/98) Installing libblkid (2.40.1-r1) (57/98) Installing libuuid (2.40.1-r1) (58/98) Installing libfdisk (2.40.1-r1) (59/98) Installing libmount (2.40.1-r1) (60/98) Installing libsmartcols (2.40.1-r1) (61/98) Installing sqlite (3.46.0-r0) (62/98) Installing sqlite-dev (3.46.0-r0) (63/98) Installing util-linux (2.40.1-r1) (64/98) Installing dmesg (2.40.1-r1) (65/98) Installing setarch (2.40.1-r1) (66/98) Installing util-linux-misc (2.40.1-r1) (67/98) Installing skalibs (2.14.2.0-r0) (68/98) Installing utmps-libs (0.1.2.2-r1) (69/98) Installing linux-pam (1.6.0-r0) (70/98) Installing runuser (2.40.1-r1) (71/98) Installing mount (2.40.1-r1) (72/98) Installing losetup (2.40.1-r1) (73/98) Installing hexdump (2.40.1-r1) (74/98) Installing uuidgen (2.40.1-r1) (75/98) Installing blkid (2.40.1-r1) (76/98) Installing sfdisk (2.40.1-r1) (77/98) Installing mcookie (2.40.1-r1) (78/98) Installing agetty (2.40.1-r1) (79/98) Installing wipefs (2.40.1-r1) (80/98) Installing cfdisk (2.40.1-r1) (81/98) Installing umount (2.40.1-r1) (82/98) Installing flock (2.40.1-r1) (83/98) Installing eudev-libs (3.2.14-r2) (84/98) Installing lsblk (2.40.1-r1) (85/98) Installing libcap-ng (0.8.5-r0) (86/98) Installing setpriv (2.40.1-r1) (87/98) Installing logger (2.40.1-r1) (88/98) Installing partx (2.40.1-r1) (89/98) Installing fstrim (2.40.1-r1) (90/98) Installing findmnt (2.40.1-r1) (91/98) Installing util-linux-dev (2.40.1-r1) (92/98) Installing tpm2-tss-mu (4.1.2-r0) (93/98) Installing tpm2-tss-tcti-spi-helper (4.1.2-r0) (94/98) Installing tpm2-tss (4.1.2-r0) (95/98) Installing tpm2-tss-dev (4.1.2-r0) (96/98) Installing .makedepends-py3-tpm2-pytss (20240711.151946) (97/98) Installing util-linux-openrc (2.40.1-r1) (98/98) Installing agetty-openrc (0.54.2-r0) Executing busybox-1.36.1-r31.trigger OK: 487 MiB in 197 packages >>> py3-tpm2-pytss: Cleaning up srcdir >>> py3-tpm2-pytss: Cleaning up pkgdir >>> py3-tpm2-pytss: Cleaning up tmpdir >>> py3-tpm2-pytss: Fetching https://distfiles.alpinelinux.org/distfiles/edge/tpm2-pytss-2.2.1.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/tpm2-pytss-2.2.1.tar.gz.part' tpm2-pytss-2.2.1.tar 39% |************ | 81674 0:00:01 ETA tpm2-pytss-2.2.1.tar 100% |********************************| 199k 0:00:00 ETA '/var/cache/distfiles/tpm2-pytss-2.2.1.tar.gz.part' saved >>> py3-tpm2-pytss: Fetching https://distfiles.alpinelinux.org/distfiles/edge/tpm2-pytss-2.2.1.tar.gz >>> py3-tpm2-pytss: Checking sha512sums... tpm2-pytss-2.2.1.tar.gz: OK >>> py3-tpm2-pytss: Unpacking /var/cache/distfiles/tpm2-pytss-2.2.1.tar.gz... 2024-07-11 15:19:51,366 gpep517 INFO Building wheel via backend setuptools.build_meta /home/buildozer/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:27: SyntaxWarning: invalid escape sequence '\(' s = re.sub("#define TSS2_RC_LAYER\(level\).*", "", s) /home/buildozer/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:28: SyntaxWarning: invalid escape sequence '\(' s = re.sub("(#define.*)TSS2_RC_LAYER\(0xff\)", "\g<1>0xff0000", s) /home/buildozer/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:28: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define.*)TSS2_RC_LAYER\(0xff\)", "\g<1>0xff0000", s) /home/buildozer/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:31: SyntaxWarning: invalid escape sequence '\*' s = re.sub("/\*.*?\*/", "", s, flags=re.MULTILINE) /home/buildozer/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:34: SyntaxWarning: invalid escape sequence '\(' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\) \(.*?\)\)", "\g<1>...", s) /home/buildozer/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:34: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\) \(.*?\)\)", "\g<1>...", s) /home/buildozer/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:35: SyntaxWarning: invalid escape sequence '\(' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\).*?\) ", "\g<1>...", s) /home/buildozer/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:35: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\).*?\) ", "\g<1>...", s) /home/buildozer/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:37: SyntaxWarning: invalid escape sequence '\)' "(#define [A-Za-z0-9_]+) .*\n.*?.*\)\)", "\g<1>...", s, flags=re.MULTILINE /home/buildozer/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:37: SyntaxWarning: invalid escape sequence '\g' "(#define [A-Za-z0-9_]+) .*\n.*?.*\)\)", "\g<1>...", s, flags=re.MULTILINE /home/buildozer/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:39: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define [A-Za-z0-9_]+) .*", "\g<1>...", s) /home/buildozer/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:42: SyntaxWarning: invalid escape sequence '\[' s = re.sub("\[.+?\]", "[...]", s) /home/buildozer/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:77: SyntaxWarning: invalid escape sequence '\)' "#define TPM2_MAX_TAGGED_POLICIES.*\n.*TPMS_TAGGED_POLICY\)\)", /home/buildozer/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:270: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Marshal\(.+?\);", s, re.DOTALL | re.MULTILINE /home/buildozer/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:274: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Marshal\(.+?\);", "", s, 1, re.DOTALL | re.MULTILINE /home/buildozer/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:278: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Unmarshal\(.+?\);", s, re.DOTALL | re.MULTILINE /home/buildozer/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:282: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Unmarshal\(.+?\);", adding path: /home/buildozer/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts Traceback (most recent call last): File "/usr/bin/gpep517", line 6, in sys.exit(main()) ^^^^^^ File "/usr/lib/python3.12/site-packages/gpep517/__main__.py", line 439, in main return func(args) ^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/gpep517/__main__.py", line 229, in build_wheel print(build_wheel_impl(args, args.wheel_dir), file=out) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/gpep517/__main__.py", line 221, in build_wheel_impl wheel_name = backend.build_wheel(str(wheel_dir), args.config_json) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 415, in build_wheel return self._build_with_temp_dir( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 397, in _build_with_temp_dir self.run_setup() File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 313, in run_setup exec(code, locals()) File "", line 285, in File "/usr/lib/python3.12/site-packages/setuptools/__init__.py", line 103, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 146, in setup _setup_distribution = dist = klass(attrs) ^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/setuptools/dist.py", line 307, in __init__ _Distribution.__init__(self, dist_attrs) File "/usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 286, in __init__ self.finalize_options() File "/usr/lib/python3.12/site-packages/setuptools/dist.py", line 659, in finalize_options ep(self) File "/usr/lib/python3.12/site-packages/setuptools/dist.py", line 679, in _finalize_setup_keywords ep.load()(self, ep.name, value) File "/usr/lib/python3.12/site-packages/cffi/setuptools_ext.py", line 216, in cffi_modules add_cffi_module(dist, cffi_module) File "/usr/lib/python3.12/site-packages/cffi/setuptools_ext.py", line 49, in add_cffi_module execfile(build_file_name, mod_vars) File "/usr/lib/python3.12/site-packages/cffi/setuptools_ext.py", line 25, in execfile exec(code, glob, glob) File "scripts/libtss2_build.py", line 69, in ffibuilder.cdef(open("libesys.h").read()) File "/usr/lib/python3.12/site-packages/cffi/api.py", line 112, in cdef self._cdef(csource, override=override, packed=packed, pack=pack) File "/usr/lib/python3.12/site-packages/cffi/api.py", line 126, in _cdef self._parser.parse(csource, override=override, **options) File "/usr/lib/python3.12/site-packages/cffi/cparser.py", line 389, in parse self._internal_parse(csource) File "/usr/lib/python3.12/site-packages/cffi/cparser.py", line 396, in _internal_parse self._process_macros(macros) File "/usr/lib/python3.12/site-packages/cffi/cparser.py", line 479, in _process_macros raise CDefError( cffi.CDefError: only supports one of the following syntax: #define TPM2_HR_PCR ... (literally dot-dot-dot) #define TPM2_HR_PCR NUMBER (with NUMBER an integer constant, decimal/hex/octal) got: #define TPM2_HR_PCR ...<< TPM2_HR_SHIFT) >>> ERROR: py3-tpm2-pytss: build failed >>> py3-tpm2-pytss: Uninstalling dependencies... (1/98) Purging .makedepends-py3-tpm2-pytss (20240711.151946) (2/98) Purging py3-asn1crypto-pyc (1.5.1_git20231103-r1) (3/98) Purging py3-asn1crypto (1.5.1_git20231103-r1) (4/98) Purging py3-cryptography-pyc (42.0.8-r0) (5/98) Purging py3-cryptography (42.0.8-r0) (6/98) Purging py3-cffi-pyc (1.16.0-r1) (7/98) Purging py3-cffi (1.16.0-r1) (8/98) Purging py3-cparser-pyc (2.22-r1) (9/98) Purging py3-cparser (2.22-r1) (10/98) Purging py3-yaml-pyc (6.0.1-r3) (11/98) Purging py3-yaml (6.0.1-r3) (12/98) Purging py3-gpep517-pyc (16-r0) (13/98) Purging py3-gpep517 (16-r0) (14/98) Purging py3-installer-pyc (0.7.0-r2) (15/98) Purging py3-installer (0.7.0-r2) (16/98) Purging py3-pkgconfig-pyc (1.5.5-r4) (17/98) Purging py3-pkgconfig (1.5.5-r4) (18/98) Purging py3-setuptools_scm-pyc (8.1.0-r0) (19/98) Purging py3-setuptools_scm (8.1.0-r0) (20/98) Purging py3-setuptools-pyc (70.3.0-r0) (21/98) Purging py3-setuptools (70.3.0-r0) (22/98) Purging py3-wheel-pyc (0.42.0-r1) (23/98) Purging py3-wheel (0.42.0-r1) (24/98) Purging py3-packaging-pyc (24.1-r0) (25/98) Purging py3-packaging (24.1-r0) (26/98) Purging py3-parsing-pyc (3.1.2-r1) (27/98) Purging py3-parsing (3.1.2-r1) (28/98) Purging python3-dev (3.12.3-r1) (29/98) Purging tpm2-tss-dev (4.1.2-r0) (30/98) Purging tpm2-tss (4.1.2-r0) (31/98) Purging agetty-openrc (0.54.2-r0) (32/98) Purging agetty (2.40.1-r1) (33/98) Purging blkid (2.40.1-r1) (34/98) Purging cfdisk (2.40.1-r1) (35/98) Purging curl-dev (8.8.0-r1) (36/98) Purging brotli-dev (1.1.0-r2) (37/98) Purging brotli (1.1.0-r2) (38/98) Purging c-ares-dev (1.32.1-r0) (39/98) Purging libpsl-dev (0.21.5-r2) (40/98) Purging libpsl-utils (0.21.5-r2) (41/98) Purging nghttp2-dev (1.62.1-r0) (42/98) Purging openssl-dev (3.3.1-r3) (43/98) Purging zlib-dev (1.3.1-r1) (44/98) Purging zstd-dev (1.5.6-r0) (45/98) Purging zstd (1.5.6-r0) (46/98) Purging dmesg (2.40.1-r1) (47/98) Purging findmnt (2.40.1-r1) (48/98) Purging flock (2.40.1-r1) (49/98) Purging fstrim (2.40.1-r1) (50/98) Purging hexdump (2.40.1-r1) (51/98) Purging json-c-dev (0.17-r0) (52/98) Purging json-c (0.17-r0) (53/98) Purging libidn2-dev (2.3.7-r0) (54/98) Purging logger (2.40.1-r1) (55/98) Purging losetup (2.40.1-r1) (56/98) Purging lsblk (2.40.1-r1) (57/98) Purging mcookie (2.40.1-r1) (58/98) Purging mount (2.40.1-r1) (59/98) Purging partx (2.40.1-r1) (60/98) Purging python3-pyc (3.12.3-r1) (61/98) Purging python3-pycache-pyc0 (3.12.3-r1) (62/98) Purging pyc (3.12.3-r1) (63/98) Purging runuser (2.40.1-r1) (64/98) Purging setpriv (2.40.1-r1) (65/98) Purging sfdisk (2.40.1-r1) (66/98) Purging tpm2-tss-tcti-spi-helper (4.1.2-r0) (67/98) Purging umount (2.40.1-r1) (68/98) Purging util-linux-dev (2.40.1-r1) (69/98) Purging util-linux-misc (2.40.1-r1) (70/98) Purging setarch (2.40.1-r1) (71/98) Purging util-linux-openrc (2.40.1-r1) (72/98) Purging uuidgen (2.40.1-r1) (73/98) Purging wipefs (2.40.1-r1) (74/98) Purging yaml (0.2.5-r2) (75/98) Purging eudev-libs (3.2.14-r2) (76/98) Purging python3 (3.12.3-r1) (77/98) Purging gdbm (1.24-r0) (78/98) Purging libfdisk (2.40.1-r1) (79/98) Purging libmount (2.40.1-r1) (80/98) Purging libblkid (2.40.1-r1) (81/98) Purging libbz2 (1.0.8-r6) (82/98) Purging libcap-ng (0.8.5-r0) (83/98) Purging libeconf (0.6.3-r0) (84/98) Purging libffi (3.4.6-r0) (85/98) Purging libpanelw (6.5_p20240601-r0) (86/98) Purging libsmartcols (2.40.1-r1) (87/98) Purging libuuid (2.40.1-r1) (88/98) Purging linux-pam (1.6.0-r0) (89/98) Purging mpdecimal (4.0.0-r0) (90/98) Purging sqlite-dev (3.46.0-r0) (91/98) Purging sqlite (3.46.0-r0) (92/98) Purging readline (8.2.10-r0) (93/98) Purging utmps-libs (0.1.2.2-r1) (94/98) Purging skalibs (2.14.2.0-r0) (95/98) Purging util-linux (2.40.1-r1) (96/98) Purging sqlite-libs (3.46.0-r0) (97/98) Purging tpm2-tss-mu (4.1.2-r0) (98/98) Purging xz-libs (5.6.2-r0) Executing busybox-1.36.1-r31.trigger OK: 213 MiB in 99 packages