>>> py3-pillow_heif: Building testing/py3-pillow_heif 0.17.0-r0 (using abuild 3.13.0-r5) started Fri, 27 Sep 2024 03:47:42 +0000 >>> py3-pillow_heif: Checking sanity of /home/buildozer/aports/testing/py3-pillow_heif/APKBUILD... >>> py3-pillow_heif: Analyzing dependencies... >>> py3-pillow_heif: Installing for build: build-base py3-gpep517 py3-setuptools py3-wheel libheif-dev python3-dev py3-pytest py3-pillow (1/62) Installing libbz2 (1.0.8-r6) (2/62) Installing libffi (3.4.6-r0) (3/62) Installing gdbm (1.24-r0) (4/62) Installing xz-libs (5.6.2-r0) (5/62) Installing mpdecimal (4.0.0-r0) (6/62) Installing libpanelw (6.5_p20240601-r1) (7/62) Installing sqlite-libs (3.46.1-r0) (8/62) Installing python3 (3.12.6-r0) (9/62) Installing python3-pycache-pyc0 (3.12.6-r0) (10/62) Installing pyc (3.12.6-r0) (11/62) Installing py3-installer-pyc (0.7.0-r2) (12/62) Installing py3-gpep517-pyc (16-r0) (13/62) Installing python3-pyc (3.12.6-r0) (14/62) Installing py3-installer (0.7.0-r2) (15/62) Installing py3-gpep517 (16-r0) (16/62) Installing py3-parsing (3.1.4-r0) (17/62) Installing py3-parsing-pyc (3.1.4-r0) (18/62) Installing py3-packaging (24.1-r0) (19/62) Installing py3-packaging-pyc (24.1-r0) (20/62) Installing py3-setuptools (70.3.0-r0) (21/62) Installing py3-setuptools-pyc (70.3.0-r0) (22/62) Installing py3-wheel (0.43.0-r0) (23/62) Installing py3-wheel-pyc (0.43.0-r0) (24/62) Installing libde265 (1.0.15-r0) (25/62) Installing libde265-dev (1.0.15-r0) (26/62) Installing numactl (2.0.18-r0) (27/62) Installing x265-libs (3.6-r0) (28/62) Installing x265-dev (3.6-r0) (29/62) Installing aom-libs (3.10.0-r0) (30/62) Installing libsharpyuv (1.4.0-r0) (31/62) Installing libheif (1.18.2-r0) (32/62) Installing aom-dev (3.10.0-r0) (33/62) Installing libwebp (1.4.0-r0) (34/62) Installing libwebpdecoder (1.4.0-r0) (35/62) Installing libwebpdemux (1.4.0-r0) (36/62) Installing libwebpmux (1.4.0-r0) (37/62) Installing libwebp-dev (1.4.0-r0) (38/62) Installing libheif-dev (1.18.2-r0) (39/62) Installing python3-dev (3.12.6-r0) (40/62) Installing py3-iniconfig (2.0.0-r1) (41/62) Installing py3-iniconfig-pyc (2.0.0-r1) (42/62) Installing py3-pluggy (1.5.0-r0) (43/62) Installing py3-pluggy-pyc (1.5.0-r0) (44/62) Installing py3-py (1.11.0-r4) (45/62) Installing py3-py-pyc (1.11.0-r4) (46/62) Installing py3-pytest (8.3.3-r0) (47/62) Installing py3-pytest-pyc (8.3.3-r0) (48/62) Installing libpng (1.6.44-r0) (49/62) Installing freetype (2.13.3-r0) (50/62) Installing libimagequant (4.2.2-r0) (51/62) Installing libjpeg-turbo (3.0.4-r0) (52/62) Installing lcms2 (2.16-r0) (53/62) Installing openjpeg (2.5.2-r0) (54/62) Installing tiff (4.6.0t-r0) (55/62) Installing libxau (1.0.11-r4) (56/62) Installing libmd (1.1.0-r0) (57/62) Installing libbsd (0.12.2-r0) (58/62) Installing libxdmcp (1.1.5-r1) (59/62) Installing libxcb (1.16.1-r0) (60/62) Installing py3-pillow (10.4.0-r0) (61/62) Installing py3-pillow-pyc (10.4.0-r0) (62/62) Installing .makedepends-py3-pillow_heif (20240927.034745) Executing busybox-1.36.1-r32.trigger OK: 574 MiB in 167 packages >>> py3-pillow_heif: Cleaning up srcdir >>> py3-pillow_heif: Cleaning up pkgdir >>> py3-pillow_heif: Cleaning up tmpdir >>> py3-pillow_heif: Fetching https://distfiles.alpinelinux.org/distfiles/edge/pillow_heif-0.17.0.tar.gz >>> py3-pillow_heif: Fetching https://distfiles.alpinelinux.org/distfiles/edge/pillow_heif-0.17.0.tar.gz >>> py3-pillow_heif: Checking sha512sums... pillow_heif-0.17.0.tar.gz: OK >>> py3-pillow_heif: Unpacking /var/cache/distfiles/pillow_heif-0.17.0.tar.gz... 2024-09-27 03:47:49,051 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ 2024-09-27 03:47:49,099 root INFO running bdist_wheel 2024-09-27 03:47:49,115 root INFO running build 2024-09-27 03:47:49,115 root INFO running build_py 2024-09-27 03:47:49,119 root INFO creating build 2024-09-27 03:47:49,120 root INFO creating build/lib.linux-loongarch64-cpython-312 2024-09-27 03:47:49,120 root INFO creating build/lib.linux-loongarch64-cpython-312/pillow_heif 2024-09-27 03:47:49,120 root INFO copying pillow_heif/as_plugin.py -> build/lib.linux-loongarch64-cpython-312/pillow_heif 2024-09-27 03:47:49,120 root INFO copying pillow_heif/constants.py -> build/lib.linux-loongarch64-cpython-312/pillow_heif 2024-09-27 03:47:49,121 root INFO copying pillow_heif/options.py -> build/lib.linux-loongarch64-cpython-312/pillow_heif 2024-09-27 03:47:49,121 root INFO copying pillow_heif/misc.py -> build/lib.linux-loongarch64-cpython-312/pillow_heif 2024-09-27 03:47:49,121 root INFO copying pillow_heif/HeifImagePlugin.py -> build/lib.linux-loongarch64-cpython-312/pillow_heif 2024-09-27 03:47:49,122 root INFO copying pillow_heif/heif.py -> build/lib.linux-loongarch64-cpython-312/pillow_heif 2024-09-27 03:47:49,122 root INFO copying pillow_heif/__init__.py -> build/lib.linux-loongarch64-cpython-312/pillow_heif 2024-09-27 03:47:49,122 root INFO copying pillow_heif/_lib_info.py -> build/lib.linux-loongarch64-cpython-312/pillow_heif 2024-09-27 03:47:49,123 root INFO copying pillow_heif/_version.py -> build/lib.linux-loongarch64-cpython-312/pillow_heif 2024-09-27 03:47:49,123 root INFO copying pillow_heif/_deffered_error.py -> build/lib.linux-loongarch64-cpython-312/pillow_heif 2024-09-27 03:47:49,123 root INFO copying pillow_heif/AvifImagePlugin.py -> build/lib.linux-loongarch64-cpython-312/pillow_heif 2024-09-27 03:47:49,124 root INFO running build_ext 2024-09-27 03:47:49,132 root INFO building '_pillow_heif' extension 2024-09-27 03:47:49,133 root INFO creating build/temp.linux-loongarch64-cpython-312 2024-09-27 03:47:49,133 root INFO creating build/temp.linux-loongarch64-cpython-312/pillow_heif 2024-09-27 03:47:49,133 root INFO gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -fPIC -I/usr/include -I/usr/include/webp -I/usr/include/python3.12 -c pillow_heif/_pillow_heif.c -o build/temp.linux-loongarch64-cpython-312/pillow_heif/_pillow_heif.o -Ofast -Werror 2024-09-27 03:47:51,299 root INFO gcc -shared -Wl,--as-needed,-O1,--sort-common -Os -fstack-clash-protection -Wformat -Werror=format-security build/temp.linux-loongarch64-cpython-312/pillow_heif/_pillow_heif.o -L/usr/lib -L/usr/local/lib -L/lib -L/usr/lib -lheif -o build/lib.linux-loongarch64-cpython-312/_pillow_heif.cpython-312-loongarch64-linux-musl.so 2024-09-27 03:47:51,354 root INFO installing to build/bdist.linux-loongarch64/wheel 2024-09-27 03:47:51,354 root INFO running install 2024-09-27 03:47:51,367 root INFO running install_lib 2024-09-27 03:47:51,370 root INFO creating build/bdist.linux-loongarch64 2024-09-27 03:47:51,371 root INFO creating build/bdist.linux-loongarch64/wheel 2024-09-27 03:47:51,371 root INFO copying build/lib.linux-loongarch64-cpython-312/_pillow_heif.cpython-312-loongarch64-linux-musl.so -> build/bdist.linux-loongarch64/wheel 2024-09-27 03:47:51,371 root INFO creating build/bdist.linux-loongarch64/wheel/pillow_heif 2024-09-27 03:47:51,372 root INFO copying build/lib.linux-loongarch64-cpython-312/pillow_heif/as_plugin.py -> build/bdist.linux-loongarch64/wheel/pillow_heif 2024-09-27 03:47:51,372 root INFO copying build/lib.linux-loongarch64-cpython-312/pillow_heif/constants.py -> build/bdist.linux-loongarch64/wheel/pillow_heif 2024-09-27 03:47:51,372 root INFO copying build/lib.linux-loongarch64-cpython-312/pillow_heif/options.py -> build/bdist.linux-loongarch64/wheel/pillow_heif 2024-09-27 03:47:51,373 root INFO copying build/lib.linux-loongarch64-cpython-312/pillow_heif/misc.py -> build/bdist.linux-loongarch64/wheel/pillow_heif 2024-09-27 03:47:51,373 root INFO copying build/lib.linux-loongarch64-cpython-312/pillow_heif/HeifImagePlugin.py -> build/bdist.linux-loongarch64/wheel/pillow_heif 2024-09-27 03:47:51,373 root INFO copying build/lib.linux-loongarch64-cpython-312/pillow_heif/heif.py -> build/bdist.linux-loongarch64/wheel/pillow_heif 2024-09-27 03:47:51,374 root INFO copying build/lib.linux-loongarch64-cpython-312/pillow_heif/__init__.py -> build/bdist.linux-loongarch64/wheel/pillow_heif 2024-09-27 03:47:51,374 root INFO copying build/lib.linux-loongarch64-cpython-312/pillow_heif/_lib_info.py -> build/bdist.linux-loongarch64/wheel/pillow_heif 2024-09-27 03:47:51,374 root INFO copying build/lib.linux-loongarch64-cpython-312/pillow_heif/_version.py -> build/bdist.linux-loongarch64/wheel/pillow_heif 2024-09-27 03:47:51,374 root INFO copying build/lib.linux-loongarch64-cpython-312/pillow_heif/_deffered_error.py -> build/bdist.linux-loongarch64/wheel/pillow_heif 2024-09-27 03:47:51,375 root INFO copying build/lib.linux-loongarch64-cpython-312/pillow_heif/AvifImagePlugin.py -> build/bdist.linux-loongarch64/wheel/pillow_heif 2024-09-27 03:47:51,375 root INFO running install_egg_info 2024-09-27 03:47:51,378 root INFO running egg_info 2024-09-27 03:47:51,378 root INFO creating pillow_heif.egg-info 2024-09-27 03:47:51,381 root INFO writing pillow_heif.egg-info/PKG-INFO 2024-09-27 03:47:51,386 root INFO writing dependency_links to pillow_heif.egg-info/dependency_links.txt 2024-09-27 03:47:51,388 root INFO writing requirements to pillow_heif.egg-info/requires.txt 2024-09-27 03:47:51,388 root INFO writing top-level names to pillow_heif.egg-info/top_level.txt 2024-09-27 03:47:51,388 root INFO writing manifest file 'pillow_heif.egg-info/SOURCES.txt' 2024-09-27 03:47:51,392 root INFO reading manifest file 'pillow_heif.egg-info/SOURCES.txt' 2024-09-27 03:47:51,392 root INFO reading manifest template 'MANIFEST.in' 2024-09-27 03:47:51,396 root WARNING warning: no previously-included files found matching '*.yaml' 2024-09-27 03:47:51,397 root WARNING warning: no previously-included files found matching '*.yml' 2024-09-27 03:47:51,397 root WARNING warning: no previously-included files found matching '.cirrus.star' 2024-09-27 03:47:51,397 root WARNING no previously-included directories found matching 'ci' 2024-09-27 03:47:51,397 root WARNING no previously-included directories found matching 'docs' 2024-09-27 03:47:51,398 root WARNING no previously-included directories found matching 'docker' 2024-09-27 03:47:51,398 root WARNING no previously-included directories found matching 'benchmarks' 2024-09-27 03:47:51,398 root WARNING warning: no previously-included files matching '*' found under directory '**/__pycache__' 2024-09-27 03:47:51,398 root WARNING warning: no previously-included files matching '*' found under directory 'pi-heif' 2024-09-27 03:47:51,399 root INFO adding license file 'LICENSE.txt' 2024-09-27 03:47:51,399 root INFO adding license file 'LICENSES_bundled.txt' 2024-09-27 03:47:51,401 root INFO writing manifest file 'pillow_heif.egg-info/SOURCES.txt' 2024-09-27 03:47:51,402 root INFO Copying pillow_heif.egg-info to build/bdist.linux-loongarch64/wheel/pillow_heif-0.17.0-py3.12.egg-info 2024-09-27 03:47:51,403 root INFO running install_scripts 2024-09-27 03:47:51,416 root INFO creating build/bdist.linux-loongarch64/wheel/pillow_heif-0.17.0.dist-info/WHEEL 2024-09-27 03:47:51,417 wheel INFO creating '/home/buildozer/aports/testing/py3-pillow_heif/src/pillow_heif-0.17.0/.dist/.tmp-0u2vpaye/pillow_heif-0.17.0-cp312-cp312-linux_loongarch64.whl' and adding 'build/bdist.linux-loongarch64/wheel' to it 2024-09-27 03:47:51,417 wheel INFO adding '_pillow_heif.cpython-312-loongarch64-linux-musl.so' 2024-09-27 03:47:51,419 wheel INFO adding 'pillow_heif/AvifImagePlugin.py' 2024-09-27 03:47:51,420 wheel INFO adding 'pillow_heif/HeifImagePlugin.py' 2024-09-27 03:47:51,420 wheel INFO adding 'pillow_heif/__init__.py' 2024-09-27 03:47:51,420 wheel INFO adding 'pillow_heif/_deffered_error.py' 2024-09-27 03:47:51,420 wheel INFO adding 'pillow_heif/_lib_info.py' 2024-09-27 03:47:51,421 wheel INFO adding 'pillow_heif/_version.py' 2024-09-27 03:47:51,421 wheel INFO adding 'pillow_heif/as_plugin.py' 2024-09-27 03:47:51,421 wheel INFO adding 'pillow_heif/constants.py' 2024-09-27 03:47:51,422 wheel INFO adding 'pillow_heif/heif.py' 2024-09-27 03:47:51,422 wheel INFO adding 'pillow_heif/misc.py' 2024-09-27 03:47:51,423 wheel INFO adding 'pillow_heif/options.py' 2024-09-27 03:47:51,423 wheel INFO adding 'pillow_heif-0.17.0.dist-info/LICENSE.txt' 2024-09-27 03:47:51,423 wheel INFO adding 'pillow_heif-0.17.0.dist-info/LICENSES_bundled.txt' 2024-09-27 03:47:51,424 wheel INFO adding 'pillow_heif-0.17.0.dist-info/METADATA' 2024-09-27 03:47:51,424 wheel INFO adding 'pillow_heif-0.17.0.dist-info/WHEEL' 2024-09-27 03:47:51,424 wheel INFO adding 'pillow_heif-0.17.0.dist-info/top_level.txt' 2024-09-27 03:47:51,424 wheel INFO adding 'pillow_heif-0.17.0.dist-info/zip-safe' 2024-09-27 03:47:51,425 wheel INFO adding 'pillow_heif-0.17.0.dist-info/RECORD' 2024-09-27 03:47:51,425 root INFO removing build/bdist.linux-loongarch64/wheel 2024-09-27 03:47:51,426 gpep517 INFO The backend produced .dist/pillow_heif-0.17.0-cp312-cp312-linux_loongarch64.whl pillow_heif-0.17.0-cp312-cp312-linux_loongarch64.whl Looking for `libheif` using pkg-config. Checking for include file 'heif.h' in '/usr/include' Checking for include file 'heif.h' in '/usr/include/libheif' Found 'heif.h' in '/usr/include/libheif' ============================= test session starts ============================== platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 rootdir: /home/buildozer/aports/testing/py3-pillow_heif/src/pillow_heif-0.17.0 configfile: pyproject.toml testpaths: tests collected 607 items / 7 skipped tests/basic_test.py Fs.................................................. [ 8%] ........................................................................ [ 20%] ........................sss [ 24%] tests/metadata_etc_test.py ............ [ 26%] tests/metadata_exif_test.py ............................ [ 31%] tests/options_test.py ......... [ 32%] tests/orientation_test.py .............................................. [ 40%] .......................... [ 44%] tests/read_test.py ................F.................................... [ 53%] ........................................................................ [ 65%] ........................................................................ [ 77%] ........................................................................ [ 89%] .......................................s [ 95%] tests/thumbnails_test.py .......................... [100%] =================================== FAILURES =================================== ______________________________ test_libheif_info _______________________________ def test_libheif_info(): info = pillow_heif.libheif_info() for key in ("HEIF", "AVIF", "encoders", "decoders"): assert key in info > assert pillow_heif.libheif_version() in ( "1.17.1", "1.17.3", "1.17.4", "1.17.5", "1.17.6", ) E AssertionError: assert '1.18.2' in ('1.17.1', '1.17.3', '1.17.4', '1.17.5', '1.17.6') E + where '1.18.2' = () E + where = pillow_heif.libheif_version /home/buildozer/aports/testing/py3-pillow_heif/src/pillow_heif-0.17.0/tests/basic_test.py:18: AssertionError ____________________ test_pillow_corrupted_open[img_path0] _____________________ img_path = PosixPath('images/heif_corrupted/corrupted.avif') @pytest.mark.parametrize("img_path", dataset.CORRUPTED_DATASET) def test_pillow_corrupted_open(img_path): for input_type in [BytesIO(img_path.read_bytes()), img_path, builtins.open(img_path, "rb")]: > with pytest.raises(UnidentifiedImageError): E Failed: DID NOT RAISE  /home/buildozer/aports/testing/py3-pillow_heif/src/pillow_heif-0.17.0/tests/read_test.py:102: Failed =============================== warnings summary =============================== tests/read_test.py: 68 warnings /usr/lib/python3.12/site-packages/PIL/Image.py:1509: UserWarning: XMP data cannot be read without defusedxml dependency warnings.warn("XMP data cannot be read without defusedxml dependency") -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ SKIPPED [1] tests/import_error_test.py:8: Skipped SKIPPED [1] tests/leaks_test.py:14: `pympler` not installed SKIPPED [1] tests/metadata_xmp_test.py:11: defusedxml not installed SKIPPED [1] tests/modes_test.py:11: NumPy not installed SKIPPED [1] tests/numpy_test.py:12: NumPy not installed SKIPPED [1] tests/opencv_test.py:16: NumPy not installed SKIPPED [1] tests/write_test.py:15: NumPy not installed SKIPPED [1] tests/basic_test.py:27: Only when AVIF support missing. SKIPPED [1] tests/basic_test.py:104: Only when building full release SKIPPED [1] tests/basic_test.py:116: Only when building light release SKIPPED [1] tests/basic_test.py:127: Only when plugins present SKIPPED [1] tests/read_test.py:502: Requires DAV1D AVIF decoder. =========== 2 failed, 600 passed, 12 skipped, 68 warnings in 34.66s ============ >>> ERROR: py3-pillow_heif: check failed >>> py3-pillow_heif: Uninstalling dependencies... (1/62) Purging .makedepends-py3-pillow_heif (20240927.034745) (2/62) Purging py3-gpep517-pyc (16-r0) (3/62) Purging py3-gpep517 (16-r0) (4/62) Purging py3-installer-pyc (0.7.0-r2) (5/62) Purging py3-installer (0.7.0-r2) (6/62) Purging py3-setuptools-pyc (70.3.0-r0) (7/62) Purging py3-setuptools (70.3.0-r0) (8/62) Purging py3-wheel-pyc (0.43.0-r0) (9/62) Purging py3-wheel (0.43.0-r0) (10/62) Purging libheif-dev (1.18.2-r0) (11/62) Purging libheif (1.18.2-r0) (12/62) Purging python3-dev (3.12.6-r0) (13/62) Purging py3-pytest-pyc (8.3.3-r0) (14/62) Purging py3-pytest (8.3.3-r0) (15/62) Purging py3-iniconfig-pyc (2.0.0-r1) (16/62) Purging py3-iniconfig (2.0.0-r1) (17/62) Purging py3-packaging-pyc (24.1-r0) (18/62) Purging py3-packaging (24.1-r0) (19/62) Purging py3-parsing-pyc (3.1.4-r0) (20/62) Purging py3-parsing (3.1.4-r0) (21/62) Purging py3-pluggy-pyc (1.5.0-r0) (22/62) Purging py3-pluggy (1.5.0-r0) (23/62) Purging py3-py-pyc (1.11.0-r4) (24/62) Purging py3-py (1.11.0-r4) (25/62) Purging py3-pillow-pyc (10.4.0-r0) (26/62) Purging py3-pillow (10.4.0-r0) (27/62) Purging python3-pyc (3.12.6-r0) (28/62) Purging python3-pycache-pyc0 (3.12.6-r0) (29/62) Purging pyc (3.12.6-r0) (30/62) Purging python3 (3.12.6-r0) (31/62) Purging aom-dev (3.10.0-r0) (32/62) Purging aom-libs (3.10.0-r0) (33/62) Purging freetype (2.13.3-r0) (34/62) Purging gdbm (1.24-r0) (35/62) Purging lcms2 (2.16-r0) (36/62) Purging libbz2 (1.0.8-r6) (37/62) Purging libde265-dev (1.0.15-r0) (38/62) Purging libde265 (1.0.15-r0) (39/62) Purging libffi (3.4.6-r0) (40/62) Purging libimagequant (4.2.2-r0) (41/62) Purging libpanelw (6.5_p20240601-r1) (42/62) Purging libpng (1.6.44-r0) (43/62) Purging libwebp-dev (1.4.0-r0) (44/62) Purging libwebpdecoder (1.4.0-r0) (45/62) Purging libwebpdemux (1.4.0-r0) (46/62) Purging libwebpmux (1.4.0-r0) (47/62) Purging libxcb (1.16.1-r0) (48/62) Purging libxdmcp (1.1.5-r1) (49/62) Purging mpdecimal (4.0.0-r0) (50/62) Purging openjpeg (2.5.2-r0) (51/62) Purging sqlite-libs (3.46.1-r0) (52/62) Purging tiff (4.6.0t-r0) (53/62) Purging x265-dev (3.6-r0) (54/62) Purging x265-libs (3.6-r0) (55/62) Purging xz-libs (5.6.2-r0) (56/62) Purging libbsd (0.12.2-r0) (57/62) Purging libjpeg-turbo (3.0.4-r0) (58/62) Purging libmd (1.1.0-r0) (59/62) Purging libwebp (1.4.0-r0) (60/62) Purging libsharpyuv (1.4.0-r0) (61/62) Purging libxau (1.0.11-r4) (62/62) Purging numactl (2.0.18-r0) Executing busybox-1.36.1-r32.trigger OK: 251 MiB in 105 packages