>>> py3-yara: Building testing/py3-yara 4.5.1-r0 (using abuild 3.13.0-r3) started Thu, 30 May 2024 09:21:52 +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/23) Installing libbz2 (1.0.8-r6) (2/23) Installing libffi (3.4.6-r0) (3/23) Installing gdbm (1.23-r1) (4/23) Installing xz-libs (5.6.1-r3) (5/23) Installing mpdecimal (4.0.0-r0) (6/23) Installing libpanelw (6.4_p20240420-r0) (7/23) Installing readline (8.2.10-r0) (8/23) Installing sqlite-libs (3.46.0-r0) (9/23) Installing python3 (3.12.3-r1) (10/23) Installing python3-pycache-pyc0 (3.12.3-r1) (11/23) Installing pyc (3.12.3-r1) (12/23) Installing python3-pyc (3.12.3-r1) (13/23) Installing python3-dev (3.12.3-r1) (14/23) Installing openssl-dev (3.3.0-r2) (15/23) Installing yara (4.5.1-r0) (16/23) Installing yara-dev (4.5.1-r0) (17/23) Installing py3-parsing (3.1.2-r1) (18/23) Installing py3-parsing-pyc (3.1.2-r1) (19/23) Installing py3-packaging (24.0-r1) (20/23) Installing py3-packaging-pyc (24.0-r1) (21/23) Installing py3-setuptools (69.5.1-r0) (22/23) Installing py3-setuptools-pyc (69.5.1-r0) (23/23) Installing .makedepends-py3-yara (20240530.092154) Executing busybox-1.36.1-r28.trigger OK: 521 MiB in 130 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 100 39419 0 39419 0 0 71861 0 --:--:-- --:--:-- --:--:-- 71861 >>> 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/edge/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-x86_64-cpython-312 gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -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-x86_64-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-x86_64-cpython-312 gcc -shared -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt build/temp.linux-x86_64-cpython-312/yara-python.o -L/usr/lib -lyara -lyara -o build/lib.linux-x86_64-cpython-312/yara.cpython-312-x86_64-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-x86_64-cpython-312/yara.cpython-312-x86_64-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-x86_64.so.1 so:libyara.so.10 >>> py3-yara*: Package size: 88.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:21:59 +0000 elapsed time 0h 0m 7s >>> py3-yara: Cleaning up srcdir >>> py3-yara: Cleaning up pkgdir >>> py3-yara: Uninstalling dependencies... (1/23) Purging .makedepends-py3-yara (20240530.092154) (2/23) Purging python3-dev (3.12.3-r1) (3/23) Purging yara-dev (4.5.1-r0) (4/23) Purging yara (4.5.1-r0) (5/23) Purging py3-setuptools-pyc (69.5.1-r0) (6/23) Purging py3-setuptools (69.5.1-r0) (7/23) Purging py3-packaging-pyc (24.0-r1) (8/23) Purging py3-packaging (24.0-r1) (9/23) Purging py3-parsing-pyc (3.1.2-r1) (10/23) Purging py3-parsing (3.1.2-r1) (11/23) Purging python3-pyc (3.12.3-r1) (12/23) Purging python3-pycache-pyc0 (3.12.3-r1) (13/23) Purging pyc (3.12.3-r1) (14/23) Purging python3 (3.12.3-r1) (15/23) Purging gdbm (1.23-r1) (16/23) Purging libbz2 (1.0.8-r6) (17/23) Purging libffi (3.4.6-r0) (18/23) Purging libpanelw (6.4_p20240420-r0) (19/23) Purging mpdecimal (4.0.0-r0) (20/23) Purging openssl-dev (3.3.0-r2) (21/23) Purging readline (8.2.10-r0) (22/23) Purging sqlite-libs (3.46.0-r0) (23/23) Purging xz-libs (5.6.1-r3) Executing busybox-1.36.1-r28.trigger OK: 378 MiB in 107 packages >>> py3-yara: Updating the testing/x86_64 repository index... >>> py3-yara: Signing the index...