>>> py3-pyscard: Building community/py3-pyscard 2.0.8-r1 (using abuild 3.16.0_rc4-r0) started Fri, 24 Oct 2025 17:01:18 +0000 >>> py3-pyscard: Validating /home/buildozer/aports/community/py3-pyscard/APKBUILD... >>> py3-pyscard: Analyzing dependencies... >>> py3-pyscard: Installing for build: build-base pcsc-lite pcsc-lite-dev python3-dev py3-gpep517 py3-setuptools py3-wheel swig py3-pytest ( 1/43) Installing eudev-libs (3.2.14-r5) ( 2/43) Installing pcsc-lite (2.4.0-r1) pcsc-lite-2.4.0-r1.pre-install: Executing script... ( 3/43) Installing pcsc-lite-libs (2.4.0-r1) ( 4/43) Installing eudev-dev (3.2.14-r5) ( 5/43) Installing pcsc-lite-spy-libs (2.4.0-r1) ( 6/43) Installing pcsc-lite-dev (2.4.0-r1) ( 7/43) Installing libbz2 (1.0.8-r6) ( 8/43) Installing libffi (3.5.2-r0) ( 9/43) Installing gdbm (1.26-r0) (10/43) Installing xz-libs (5.8.1-r0) (11/43) Installing mpdecimal (4.0.1-r0) (12/43) Installing libpanelw (6.5_p20251010-r0) (13/43) Installing sqlite-libs (3.50.4-r1) (14/43) Installing python3 (3.12.12-r0) (15/43) Installing python3-pycache-pyc0 (3.12.12-r0) (16/43) Installing pyc (3.12.12-r0) (17/43) Installing python3-pyc (3.12.12-r0) (18/43) Installing python3-dev (3.12.12-r0) (19/43) Installing py3-installer (0.7.0-r2) (20/43) Installing py3-installer-pyc (0.7.0-r2) (21/43) Installing py3-gpep517 (19-r0) (22/43) Installing py3-gpep517-pyc (19-r0) (23/43) Installing py3-parsing (3.2.3-r0) (24/43) Installing py3-parsing-pyc (3.2.3-r0) (25/43) Installing py3-packaging (25.0-r0) (26/43) Installing py3-packaging-pyc (25.0-r0) (27/43) Installing py3-setuptools (80.9.0-r1) (28/43) Installing py3-setuptools-pyc (80.9.0-r1) (29/43) Installing py3-wheel (0.46.1-r0) (30/43) Installing py3-wheel-pyc (0.46.1-r0) (31/43) Installing swig (4.4.0-r0) (32/43) Installing py3-iniconfig (2.3.0-r0) (33/43) Installing py3-iniconfig-pyc (2.3.0-r0) (34/43) Installing py3-pluggy (1.6.0-r0) (35/43) Installing py3-pluggy-pyc (1.6.0-r0) (36/43) Installing py3-py (1.11.0-r4) (37/43) Installing py3-py-pyc (1.11.0-r4) (38/43) Installing py3-pygments (2.19.2-r0) (39/43) Installing py3-pygments-pyc (2.19.2-r0) (40/43) Installing py3-pytest (8.4.2-r1) (41/43) Installing py3-pytest-pyc (8.4.2-r1) (42/43) Installing .makedepends-py3-pyscard (20251024.170202) (43/43) Installing pcsc-lite-openrc (2.4.0-r1) busybox-1.37.0-r24.trigger: Executing script... OK: 515 MiB in 148 packages >>> py3-pyscard: Cleaning up srcdir >>> py3-pyscard: Cleaning up pkgdir >>> py3-pyscard: Cleaning up tmpdir >>> py3-pyscard: Fetching https://distfiles.alpinelinux.org/distfiles/v3.23/pyscard-2.0.8.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.23/pyscard-2.0.8.tar.gz.part' pyscard-2.0.8.tar.gz 100% |********************************| 149k 0:00:00 ETA '/var/cache/distfiles/v3.23/pyscard-2.0.8.tar.gz.part' saved /var/cache/distfiles/v3.23/pyscard-2.0.8.tar.gz: OK >>> py3-pyscard: Fetching https://distfiles.alpinelinux.org/distfiles/v3.23/pyscard-2.0.8.tar.gz /var/cache/distfiles/v3.23/pyscard-2.0.8.tar.gz: OK >>> py3-pyscard: Unpacking /var/cache/distfiles/v3.23/pyscard-2.0.8.tar.gz... 2025-10-24 17:02:04,094 gpep517 INFO Building wheel via backend setuptools.build_meta /usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) /usr/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() 2025-10-24 17:02:04,126 root INFO running bdist_wheel 2025-10-24 17:02:04,149 root INFO running build 2025-10-24 17:02:04,149 root INFO running build_py 2025-10-24 17:02:04,149 root INFO running build_ext 2025-10-24 17:02:04,151 root INFO building 'smartcard.scard._scard' extension 2025-10-24 17:02:04,151 root INFO swigging smartcard/scard/scard.i to smartcard/scard/scard_wrap.c 2025-10-24 17:02:04,151 root INFO swig -python -outdir smartcard/scard -DPCSCLITE -o smartcard/scard/scard_wrap.c smartcard/scard/scard.i 2025-10-24 17:02:04,434 root INFO creating build/temp.linux-i686-cpython-312/smartcard/scard 2025-10-24 17:02:04,436 root INFO cc -Os -fstack-clash-protection -Wformat -Werror=format-security -fPIC -DVER_PRODUCTVERSION=2,0,8,0000 -DVER_PRODUCTVERSION_STR=2.0.8 -DPCSCLITE=1 -Ismartcard/scard/ -I/usr/include/python3.12 -c smartcard/scard/helpers.c -o build/temp.linux-i686-cpython-312/smartcard/scard/helpers.o -I/usr/include/PCSC -pthread 2025-10-24 17:02:04,905 root INFO cc -Os -fstack-clash-protection -Wformat -Werror=format-security -fPIC -DVER_PRODUCTVERSION=2,0,8,0000 -DVER_PRODUCTVERSION_STR=2.0.8 -DPCSCLITE=1 -Ismartcard/scard/ -I/usr/include/python3.12 -c smartcard/scard/scard_wrap.c -o build/temp.linux-i686-cpython-312/smartcard/scard/scard_wrap.o -I/usr/include/PCSC -pthread smartcard/scard/scard_wrap.c: In function '_wrap_SCardIsValidContext': smartcard/scard/scard_wrap.c:4468:5: error: unknown type name '$function'; did you mean 'PyCFunction'? 4468 | $function | ^~~~~~~~~ | PyCFunction smartcard/scard/scard_wrap.c:4469:5: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] 4469 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.12/Python.h:95, from smartcard/scard/scard_wrap.c:203: /usr/include/python3.12/ceval.h:147:33: error: conflicting types for 'PyEval_RestoreThread'; have 'int()' 147 | #define Py_END_ALLOW_THREADS PyEval_RestoreThread(_save); \ | ^~~~~~~~~~~~~~~~~~~~ smartcard/scard/scard_wrap.c:4469:5: note: in expansion of macro 'Py_END_ALLOW_THREADS' 4469 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.12/ceval.h:129:18: note: previous declaration of 'PyEval_RestoreThread' with type 'void(PyThreadState *)' {aka 'void(struct _ts *)'} 129 | PyAPI_FUNC(void) PyEval_RestoreThread(PyThreadState *); | ^~~~~~~~~~~~~~~~~~~~ smartcard/scard/scard_wrap.c: In function '_wrap_SCardGetAttrib': smartcard/scard/scard_wrap.c:4508:5: error: unknown type name '$function'; did you mean 'PyCFunction'? 4508 | $function | ^~~~~~~~~ | PyCFunction smartcard/scard/scard_wrap.c:4509:5: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] 4509 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ smartcard/scard/scard_wrap.c: In function '_wrap_SCardSetAttrib': smartcard/scard/scard_wrap.c:4576:5: error: unknown type name '$function'; did you mean 'PyCFunction'? 4576 | $function | ^~~~~~~~~ | PyCFunction smartcard/scard/scard_wrap.c:4577:5: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] 4577 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ smartcard/scard/scard_wrap.c: In function '_wrap_SCardControl': smartcard/scard/scard_wrap.c:4648:5: error: unknown type name '$function'; did you mean 'PyCFunction'? 4648 | $function | ^~~~~~~~~ | PyCFunction smartcard/scard/scard_wrap.c:4649:5: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] 4649 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ smartcard/scard/scard_wrap.c: In function '_wrap_SCardBeginTransaction': smartcard/scard/scard_wrap.c:4731:5: error: unknown type name '$function'; did you mean 'PyCFunction'? 4731 | $function | ^~~~~~~~~ | PyCFunction smartcard/scard/scard_wrap.c:4732:5: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] 4732 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ smartcard/scard/scard_wrap.c: In function '_wrap_SCardCancel': smartcard/scard/scard_wrap.c:4759:5: error: unknown type name '$function'; did you mean 'PyCFunction'? 4759 | $function | ^~~~~~~~~ | PyCFunction smartcard/scard/scard_wrap.c:4760:5: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] 4760 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ smartcard/scard/scard_wrap.c: In function '_wrap_SCardConnect': smartcard/scard/scard_wrap.c:4817:5: error: unknown type name '$function'; did you mean 'PyCFunction'? 4817 | $function | ^~~~~~~~~ | PyCFunction smartcard/scard/scard_wrap.c:4818:5: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] 4818 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ smartcard/scard/scard_wrap.c: In function '_wrap_SCardDisconnect': smartcard/scard/scard_wrap.c:4858:5: error: unknown type name '$function'; did you mean 'PyCFunction'? 4858 | $function | ^~~~~~~~~ | PyCFunction smartcard/scard/scard_wrap.c:4859:5: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] 4859 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ smartcard/scard/scard_wrap.c: In function '_wrap_SCardEndTransaction': smartcard/scard/scard_wrap.c:4891:5: error: unknown type name '$function'; did you mean 'PyCFunction'? 4891 | $function | ^~~~~~~~~ | PyCFunction smartcard/scard/scard_wrap.c:4892:5: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] 4892 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ smartcard/scard/scard_wrap.c: In function '_wrap_SCardEstablishContext': smartcard/scard/scard_wrap.c:4924:5: error: unknown type name '$function'; did you mean 'PyCFunction'? 4924 | $function | ^~~~~~~~~ | PyCFunction smartcard/scard/scard_wrap.c:4925:5: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] 4925 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ smartcard/scard/scard_wrap.c: In function '_wrap_SCardGetStatusChange': smartcard/scard/scard_wrap.c:4966:5: error: unknown type name '$function'; did you mean 'PyCFunction'? 4966 | $function | ^~~~~~~~~ | PyCFunction smartcard/scard/scard_wrap.c:4967:5: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] 4967 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ smartcard/scard/scard_wrap.c: In function '_wrap_SCardListReaders': smartcard/scard/scard_wrap.c:5054:5: error: unknown type name '$function'; did you mean 'PyCFunction'? 5054 | $function | ^~~~~~~~~ | PyCFunction smartcard/scard/scard_wrap.c:5055:5: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] 5055 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ smartcard/scard/scard_wrap.c: In function '_wrap_SCardListReaderGroups': smartcard/scard/scard_wrap.c:5199:5: error: unknown type name '$function'; did you mean 'PyCFunction'? 5199 | $function | ^~~~~~~~~ | PyCFunction smartcard/scard/scard_wrap.c:5200:5: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] 5200 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ smartcard/scard/scard_wrap.c: In function '_wrap_SCardReconnect': smartcard/scard/scard_wrap.c:5306:5: error: unknown type name '$function'; did you mean 'PyCFunction'? 5306 | $function | ^~~~~~~~~ | PyCFunction smartcard/scard/scard_wrap.c:5307:5: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] 5307 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ smartcard/scard/scard_wrap.c: In function '_wrap_SCardReleaseContext': smartcard/scard/scard_wrap.c:5337:5: error: unknown type name '$function'; did you mean 'PyCFunction'? 5337 | $function | ^~~~~~~~~ | PyCFunction smartcard/scard/scard_wrap.c:5338:5: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] 5338 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ smartcard/scard/scard_wrap.c: In function '_wrap_SCardStatus': smartcard/scard/scard_wrap.c:5388:5: error: unknown type name '$function'; did you mean 'PyCFunction'? 5388 | $function | ^~~~~~~~~ | PyCFunction smartcard/scard/scard_wrap.c:5389:5: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] 5389 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ smartcard/scard/scard_wrap.c: In function '_wrap_SCardTransmit': smartcard/scard/scard_wrap.c:5516:5: error: unknown type name '$function'; did you mean 'PyCFunction'? 5516 | $function | ^~~~~~~~~ | PyCFunction smartcard/scard/scard_wrap.c:5517:5: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] 5517 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ smartcard/scard/scard_wrap.c: In function '_wrap_SCARD_CTL_CODE': smartcard/scard/scard_wrap.c:5601:5: error: unknown type name '$function'; did you mean 'PyCFunction'? 5601 | $function | ^~~~~~~~~ | PyCFunction smartcard/scard/scard_wrap.c:5602:5: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] 5602 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ smartcard/scard/scard_wrap.c: In function '_wrap_SCardGetErrorMessage': smartcard/scard/scard_wrap.c:5629:5: error: unknown type name '$function'; did you mean 'PyCFunction'? 5629 | $function | ^~~~~~~~~ | PyCFunction smartcard/scard/scard_wrap.c:5630:5: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type] 5630 | Py_END_ALLOW_THREADS; | ^~~~~~~~~~~~~~~~~~~~ error: command '/usr/bin/cc' failed with exit code 1 >>> ERROR: py3-pyscard: build failed >>> py3-pyscard: Uninstalling dependencies... ( 1/43) Purging .makedepends-py3-pyscard (20251024.170202) ( 2/43) Purging pcsc-lite-openrc (2.4.0-r1) ( 3/43) Purging pcsc-lite (2.4.0-r1) ( 4/43) Purging pcsc-lite-dev (2.4.0-r1) ( 5/43) Purging eudev-dev (3.2.14-r5) ( 6/43) Purging eudev-libs (3.2.14-r5) ( 7/43) Purging pcsc-lite-libs (2.4.0-r1) ( 8/43) Purging pcsc-lite-spy-libs (2.4.0-r1) ( 9/43) Purging python3-dev (3.12.12-r0) (10/43) Purging py3-gpep517-pyc (19-r0) (11/43) Purging py3-gpep517 (19-r0) (12/43) Purging py3-installer-pyc (0.7.0-r2) (13/43) Purging py3-installer (0.7.0-r2) (14/43) Purging py3-setuptools-pyc (80.9.0-r1) (15/43) Purging py3-setuptools (80.9.0-r1) (16/43) Purging py3-wheel-pyc (0.46.1-r0) (17/43) Purging py3-wheel (0.46.1-r0) (18/43) Purging swig (4.4.0-r0) (19/43) Purging py3-pytest-pyc (8.4.2-r1) (20/43) Purging py3-pytest (8.4.2-r1) (21/43) Purging py3-iniconfig-pyc (2.3.0-r0) (22/43) Purging py3-iniconfig (2.3.0-r0) (23/43) Purging py3-packaging-pyc (25.0-r0) (24/43) Purging py3-packaging (25.0-r0) (25/43) Purging py3-parsing-pyc (3.2.3-r0) (26/43) Purging py3-parsing (3.2.3-r0) (27/43) Purging py3-pluggy-pyc (1.6.0-r0) (28/43) Purging py3-pluggy (1.6.0-r0) (29/43) Purging py3-py-pyc (1.11.0-r4) (30/43) Purging py3-py (1.11.0-r4) (31/43) Purging py3-pygments-pyc (2.19.2-r0) (32/43) Purging py3-pygments (2.19.2-r0) (33/43) Purging python3-pyc (3.12.12-r0) (34/43) Purging python3-pycache-pyc0 (3.12.12-r0) (35/43) Purging pyc (3.12.12-r0) (36/43) Purging python3 (3.12.12-r0) (37/43) Purging gdbm (1.26-r0) (38/43) Purging libbz2 (1.0.8-r6) (39/43) Purging libffi (3.5.2-r0) (40/43) Purging libpanelw (6.5_p20251010-r0) (41/43) Purging mpdecimal (4.0.1-r0) (42/43) Purging sqlite-libs (3.50.4-r1) (43/43) Purging xz-libs (5.8.1-r0) busybox-1.37.0-r24.trigger: Executing script... OK: 426 MiB in 105 packages