>>> py3-yara: Building testing/py3-yara 4.5.1-r0 (using abuild 3.13.0-r5) started Sat, 21 Sep 2024 10:16:29 +0000 >>> py3-yara: Checking sanity of /home/buildozer/aports/testing/py3-yara/APKBUILD... >>> py3-yara: Analyzing dependencies... >>> py3-yara: Installing for build: build-base python3 python3-dev yara-dev py3-setuptools (1/22) Installing libbz2 (1.0.8-r6) (2/22) Installing libffi (3.4.6-r0) (3/22) Installing gdbm (1.24-r0) (4/22) Installing xz-libs (5.6.2-r0) (5/22) Installing mpdecimal (4.0.0-r0) (6/22) Installing libpanelw (6.5_p20240601-r1) (7/22) Installing sqlite-libs (3.46.1-r0) (8/22) Installing python3 (3.12.6-r0) (9/22) Installing python3-pycache-pyc0 (3.12.6-r0) (10/22) Installing pyc (3.12.6-r0) (11/22) Installing python3-pyc (3.12.6-r0) (12/22) Installing python3-dev (3.12.6-r0) (13/22) Installing openssl-dev (3.3.2-r1) (14/22) Installing yara (4.5.2-r0) (15/22) Installing yara-dev (4.5.2-r0) (16/22) Installing py3-parsing (3.1.4-r0) (17/22) Installing py3-parsing-pyc (3.1.4-r0) (18/22) Installing py3-packaging (24.1-r0) (19/22) Installing py3-packaging-pyc (24.1-r0) (20/22) Installing py3-setuptools (70.3.0-r0) (21/22) Installing py3-setuptools-pyc (70.3.0-r0) (22/22) Installing .makedepends-py3-yara (20240921.101633) Executing busybox-1.36.1-r32.trigger OK: 541 MiB in 125 packages >>> py3-yara: Cleaning up srcdir >>> py3-yara: Cleaning up pkgdir >>> py3-yara: Cleaning up tmpdir >>> py3-yara: Fetching https://distfiles.alpinelinux.org/distfiles/edge/py3-yara-4.5.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 39419 100 39419 0 0 413k 0 --:--:-- --:--:-- --:--:-- 418k >>> py3-yara: Fetching https://distfiles.alpinelinux.org/distfiles/edge/py3-yara-4.5.1.tar.gz >>> py3-yara: Checking sha512sums... py3-yara-4.5.1.tar.gz: OK use-system-yara.patch: OK >>> py3-yara: Unpacking /var/cache/distfiles/py3-yara-4.5.1.tar.gz... >>> py3-yara: use-system-yara.patch patching file setup.py Hunk #1 succeeded at 414 (offset 22 lines). running build running build_ext building 'yara' extension creating build creating build/temp.linux-loongarch64-cpython-312 gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -I/usr/include/python3.12 -c yara-python.c -o build/temp.linux-loongarch64-cpython-312/yara-python.o -std=c99 yara-python.c: In function 'convert_object_to_python': yara-python.c:704:27: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long long unsigned int' [-Wsign-compare] 704 | if (object->value.i != YR_UNDEFINED) | ^~ yara-python.c: In function 'process_compile_externals': yara-python.c:1525:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1525 | identifier = PY_STRING_TO_C(key); | ^ yara-python.c:52:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | #define PY_STRING_TO_C(x) PyUnicode_AsUTF8(x) | ^~~~~~~~~~~~~~~~ yara-python.c:1554:19: note: in expansion of macro 'PY_STRING_TO_C' 1554 | char* str = PY_STRING_TO_C(value); | ^~~~~~~~~~~~~~ yara-python.c: In function 'process_match_externals': yara-python.c:1595:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1595 | identifier = PY_STRING_TO_C(key); | ^ yara-python.c:52:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | #define PY_STRING_TO_C(x) PyUnicode_AsUTF8(x) | ^~~~~~~~~~~~~~~~ yara-python.c:1624:19: note: in expansion of macro 'PY_STRING_TO_C' 1624 | char* str = PY_STRING_TO_C(value); | ^~~~~~~~~~~~~~ yara-python.c: In function 'StringMatchInstance_plaintext': yara-python.c:1944:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'Py_ssize_t' {aka 'long int'} [-Wsign-compare] 1944 | for (size_t i = 0; i < length; i++) { | ^ yara-python.c: In function 'Rules_next': yara-python.c:2048:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2048 | else | ^~~~ yara-python.c:2051:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2051 | PyDict_SetItemString(meta_list, meta->identifier, object); | ^~~~~~~~~~~~~~~~~~~~ yara-python.c: In function 'Rules_match': yara-python.c:2189:48: warning: comparison between pointer and integer 2189 | if (callback_data.allow_duplicate_metadata == NULL) | ^~ yara-python.c: In function 'yara_compile': yara-python.c:2842:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2842 | source = PY_STRING_TO_C(value); | ^ yara-python.c:2843:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2843 | ns = PY_STRING_TO_C(key); | ^ yara-python.c:2877:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2877 | filepath = PY_STRING_TO_C(value); | ^ yara-python.c:2878:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2878 | ns = PY_STRING_TO_C(key); | ^ creating build/lib.linux-loongarch64-cpython-312 gcc -shared -Wl,--as-needed,-O1,--sort-common -Os -fstack-clash-protection -Wformat -Werror=format-security build/temp.linux-loongarch64-cpython-312/yara-python.o -L/usr/lib -lyara -lyara -o build/lib.linux-loongarch64-cpython-312/yara.cpython-312-loongarch64-linux-musl.so running check >>> py3-yara: Entering fakeroot... running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /home/buildozer/aports/testing/py3-yara/pkg creating /home/buildozer/aports/testing/py3-yara/pkg/py3-yara creating /home/buildozer/aports/testing/py3-yara/pkg/py3-yara/usr creating /home/buildozer/aports/testing/py3-yara/pkg/py3-yara/usr/lib creating /home/buildozer/aports/testing/py3-yara/pkg/py3-yara/usr/lib/python3.12 creating /home/buildozer/aports/testing/py3-yara/pkg/py3-yara/usr/lib/python3.12/site-packages copying build/lib.linux-loongarch64-cpython-312/yara.cpython-312-loongarch64-linux-musl.so -> /home/buildozer/aports/testing/py3-yara/pkg/py3-yara/usr/lib/python3.12/site-packages running install_egg_info running egg_info creating yara_python.egg-info writing yara_python.egg-info/PKG-INFO writing dependency_links to yara_python.egg-info/dependency_links.txt writing top-level names to yara_python.egg-info/top_level.txt writing manifest file 'yara_python.egg-info/SOURCES.txt' reading manifest file 'yara_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'yara/libyara/modules/module_list' warning: no files found matching '*.c' under directory 'yara' warning: no files found matching '*.h' under directory 'yara' adding license file 'LICENSE' writing manifest file 'yara_python.egg-info/SOURCES.txt' Copying yara_python.egg-info to /home/buildozer/aports/testing/py3-yara/pkg/py3-yara/usr/lib/python3.12/site-packages/yara_python-4.5.1-py3.12.egg-info running install_scripts >>> py3-yara*: Running postcheck for py3-yara >>> py3-yara*: Preparing package py3-yara... >>> py3-yara*: Stripping binaries >>> py3-yara*: Scanning shared objects >>> py3-yara*: Tracing dependencies... python3 python3~3.12 so:libc.musl-loongarch64.so.1 so:libyara.so.10 >>> py3-yara*: Package size: 100.0 KB >>> py3-yara*: Compressing data... >>> py3-yara*: Create checksum... >>> py3-yara*: Create py3-yara-4.5.1-r0.apk >>> py3-yara: Build complete at Sat, 21 Sep 2024 10:16:38 +0000 elapsed time 0h 0m 9s >>> py3-yara: Cleaning up srcdir >>> py3-yara: Cleaning up pkgdir >>> py3-yara: Uninstalling dependencies... (1/22) Purging .makedepends-py3-yara (20240921.101633) (2/22) Purging python3-dev (3.12.6-r0) (3/22) Purging yara-dev (4.5.2-r0) (4/22) Purging yara (4.5.2-r0) (5/22) Purging py3-setuptools-pyc (70.3.0-r0) (6/22) Purging py3-setuptools (70.3.0-r0) (7/22) Purging py3-packaging-pyc (24.1-r0) (8/22) Purging py3-packaging (24.1-r0) (9/22) Purging py3-parsing-pyc (3.1.4-r0) (10/22) Purging py3-parsing (3.1.4-r0) (11/22) Purging python3-pyc (3.12.6-r0) (12/22) Purging python3-pycache-pyc0 (3.12.6-r0) (13/22) Purging pyc (3.12.6-r0) (14/22) Purging python3 (3.12.6-r0) (15/22) Purging gdbm (1.24-r0) (16/22) Purging libbz2 (1.0.8-r6) (17/22) Purging libffi (3.4.6-r0) (18/22) Purging libpanelw (6.5_p20240601-r1) (19/22) Purging mpdecimal (4.0.0-r0) (20/22) Purging openssl-dev (3.3.2-r1) (21/22) Purging sqlite-libs (3.46.1-r0) (22/22) Purging xz-libs (5.6.2-r0) Executing busybox-1.36.1-r32.trigger OK: 251 MiB in 103 packages >>> py3-yara: Updating the testing/loongarch64 repository index... >>> py3-yara: Signing the index...