>>> py3-yara: Building testing/py3-yara 4.5.1-r0 (using abuild 3.13.0-r3) started Thu, 30 May 2024 09:26:15 +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/21) Installing libffi (3.4.6-r0) (2/21) Installing gdbm (1.23-r1) (3/21) Installing mpdecimal (4.0.0-r0) (4/21) Installing libpanelw (6.4_p20240420-r0) (5/21) Installing readline (8.2.10-r0) (6/21) Installing sqlite-libs (3.46.0-r0) (7/21) Installing python3 (3.12.3-r1) (8/21) Installing python3-pycache-pyc0 (3.12.3-r1) (9/21) Installing pyc (3.12.3-r1) (10/21) Installing python3-pyc (3.12.3-r1) (11/21) Installing python3-dev (3.12.3-r1) (12/21) Installing openssl-dev (3.3.0-r2) (13/21) Installing yara (4.5.1-r0) (14/21) Installing yara-dev (4.5.1-r0) (15/21) Installing py3-parsing (3.1.2-r1) (16/21) Installing py3-parsing-pyc (3.1.2-r1) (17/21) Installing py3-packaging (24.0-r1) (18/21) Installing py3-packaging-pyc (24.0-r1) (19/21) Installing py3-setuptools (69.5.1-r0) (20/21) Installing py3-setuptools-pyc (69.5.1-r0) (21/21) Installing .makedepends-py3-yara (20240530.092617) Executing busybox-1.36.1-r28.trigger OK: 434 MiB in 131 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> py3-yara: Fetching py3-yara-4.5.1.tar.gz::https://github.com/VirusTotal/yara-python/archive/v4.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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 39419 100 39419 0 0 22758 0 0:00:01 0:00:01 --:--:-- 22758 100 39419 100 39419 0 0 22752 0 0:00:01 0:00:01 --:--:-- 0 >>> 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-ppc64le-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-ppc64le-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-ppc64le-cpython-312 gcc -shared -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -Os -fstack-clash-protection -Wformat -Werror=format-security build/temp.linux-ppc64le-cpython-312/yara-python.o -L/usr/lib -lyara -lyara -o build/lib.linux-ppc64le-cpython-312/yara.cpython-312-powerpc64le-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-ppc64le-cpython-312/yara.cpython-312-powerpc64le-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-ppc64le.so.1 so:libyara.so.10 >>> py3-yara*: Package size: 116.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 Thu, 30 May 2024 09:26:22 +0000 elapsed time 0h 0m 7s >>> py3-yara: Cleaning up srcdir >>> py3-yara: Cleaning up pkgdir >>> py3-yara: Uninstalling dependencies... (1/21) Purging .makedepends-py3-yara (20240530.092617) (2/21) Purging python3-dev (3.12.3-r1) (3/21) Purging yara-dev (4.5.1-r0) (4/21) Purging yara (4.5.1-r0) (5/21) Purging py3-setuptools-pyc (69.5.1-r0) (6/21) Purging py3-setuptools (69.5.1-r0) (7/21) Purging py3-packaging-pyc (24.0-r1) (8/21) Purging py3-packaging (24.0-r1) (9/21) Purging py3-parsing-pyc (3.1.2-r1) (10/21) Purging py3-parsing (3.1.2-r1) (11/21) Purging python3-pyc (3.12.3-r1) (12/21) Purging python3-pycache-pyc0 (3.12.3-r1) (13/21) Purging pyc (3.12.3-r1) (14/21) Purging python3 (3.12.3-r1) (15/21) Purging gdbm (1.23-r1) (16/21) Purging libffi (3.4.6-r0) (17/21) Purging libpanelw (6.4_p20240420-r0) (18/21) Purging mpdecimal (4.0.0-r0) (19/21) Purging openssl-dev (3.3.0-r2) (20/21) Purging readline (8.2.10-r0) (21/21) Purging sqlite-libs (3.46.0-r0) Executing busybox-1.36.1-r28.trigger OK: 264 MiB in 110 packages >>> py3-yara: Updating the testing/ppc64le repository index... >>> py3-yara: Signing the index...