>>> capstone: Building community/capstone 5.0.1-r3 (using abuild 3.12.0-r4) started Mon, 18 Mar 2024 09:33:41 +0000 >>> capstone: Checking sanity of /home/buildozer/aports/community/capstone/APKBUILD... >>> capstone: Analyzing dependencies... >>> capstone: Installing for build: build-base bash py3-setuptools cython python3-dev (1/23) Installing readline (8.2.10-r0) (2/23) Installing bash (5.2.26-r0) Executing bash-5.2.26-r0.post-install (3/23) Installing libbz2 (1.0.8-r6) (4/23) Installing libffi (3.4.6-r0) (5/23) Installing gdbm (1.23-r1) (6/23) Installing xz-libs (5.6.1-r1) (7/23) Installing mpdecimal (4.0.0-r0) (8/23) Installing libpanelw (6.4_p20231125-r0) (9/23) Installing sqlite-libs (3.45.2-r0) (10/23) Installing python3 (3.11.8-r0) (11/23) Installing python3-pycache-pyc0 (3.11.8-r0) (12/23) Installing pyc (3.11.8-r0) (13/23) Installing py3-setuptools-pyc (69.2.0-r0) (14/23) Installing py3-parsing (3.1.2-r0) (15/23) Installing py3-parsing-pyc (3.1.2-r0) (16/23) Installing py3-packaging-pyc (24.0-r0) (17/23) Installing python3-pyc (3.11.8-r0) (18/23) Installing py3-packaging (24.0-r0) (19/23) Installing py3-setuptools (69.2.0-r0) (20/23) Installing cython (0.29.37-r0) (21/23) Installing cython-pyc (0.29.37-r0) (22/23) Installing python3-dev (3.11.8-r0) (23/23) Installing .makedepends-capstone (20240318.093343) Executing busybox-1.36.1-r21.trigger OK: 505 MiB in 129 packages >>> capstone: Cleaning up srcdir >>> capstone: Cleaning up pkgdir >>> capstone: Cleaning up tmpdir >>> capstone: Fetching https://distfiles.alpinelinux.org/distfiles/edge/capstone-5.0.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 7474k 0 32768 0 0 177k 0 0:00:42 --:--:-- 0:00:42 177k 100 7474k 100 7474k 0 0 15.9M 0 --:--:-- --:--:-- --:--:-- 16.0M >>> capstone: Fetching https://distfiles.alpinelinux.org/distfiles/edge/capstone-5.0.1.tar.gz >>> capstone: Checking sha512sums... capstone-5.0.1.tar.gz: OK 0001-Revert-Update-constants-from-ARM-auto-sync-patch-224.patch: OK py-path-fix.patch: OK >>> capstone: Unpacking /var/cache/distfiles/edge/capstone-5.0.1.tar.gz... >>> capstone: 0001-Revert-Update-constants-from-ARM-auto-sync-patch-224.patch patching file bindings/python/capstone/__init__.py >>> capstone: py-path-fix.patch patching file bindings/python/capstone/__init__.py Hunk #1 succeeded at 386 (offset 85 lines). CC cs.o CC utils.o CC SStream.o CC MCInstrDesc.o CC MCRegisterInfo.o CC MCInst.o CC Mapping.o CC arch/ARM/ARMDisassembler.o CC arch/ARM/ARMInstPrinter.o CC arch/ARM/ARMMapping.o CC arch/ARM/ARMModule.o CC arch/AArch64/AArch64BaseInfo.o CC arch/AArch64/AArch64Disassembler.o CC arch/AArch64/AArch64InstPrinter.o CC arch/AArch64/AArch64Mapping.o CC arch/AArch64/AArch64Module.o CC arch/M68K/M68KDisassembler.o CC arch/M68K/M68KInstPrinter.o CC arch/M68K/M68KModule.o CC arch/Mips/MipsDisassembler.o CC arch/Mips/MipsInstPrinter.o CC arch/Mips/MipsMapping.o CC arch/Mips/MipsModule.o CC arch/PowerPC/PPCDisassembler.o CC arch/PowerPC/PPCInstPrinter.o CC arch/PowerPC/PPCMapping.o CC arch/PowerPC/PPCModule.o CC arch/RISCV/RISCVDisassembler.o CC arch/RISCV/RISCVInstPrinter.o CC arch/RISCV/RISCVMapping.o CC arch/RISCV/RISCVModule.o CC arch/Sparc/SparcDisassembler.o CC arch/Sparc/SparcInstPrinter.o CC arch/Sparc/SparcMapping.o CC arch/Sparc/SparcModule.o CC arch/SystemZ/SystemZDisassembler.o CC arch/SystemZ/SystemZInstPrinter.o CC arch/SystemZ/SystemZMCTargetDesc.o CC arch/SystemZ/SystemZMapping.o CC arch/SystemZ/SystemZModule.o CC arch/SH/SHDisassembler.o CC arch/SH/SHInstPrinter.o CC arch/SH/SHModule.o CC arch/X86/X86DisassemblerDecoder.o CC arch/X86/X86Disassembler.o CC arch/X86/X86InstPrinterCommon.o CC arch/X86/X86IntelInstPrinter.o CC arch/X86/X86ATTInstPrinter.o CC arch/X86/X86Mapping.o CC arch/X86/X86Module.o CC arch/XCore/XCoreDisassembler.o CC arch/XCore/XCoreInstPrinter.o CC arch/XCore/XCoreMapping.o CC arch/XCore/XCoreModule.o CC arch/TMS320C64x/TMS320C64xDisassembler.o CC arch/TMS320C64x/TMS320C64xInstPrinter.o CC arch/TMS320C64x/TMS320C64xMapping.o CC arch/TMS320C64x/TMS320C64xModule.o CC arch/M680X/M680XDisassembler.o CC arch/M680X/M680XInstPrinter.o CC arch/M680X/M680XModule.o CC arch/EVM/EVMDisassembler.o CC arch/EVM/EVMInstPrinter.o CC arch/EVM/EVMMapping.o CC arch/EVM/EVMModule.o CC arch/MOS65XX/MOS65XXDisassembler.o CC arch/MOS65XX/MOS65XXModule.o CC arch/WASM/WASMDisassembler.o CC arch/WASM/WASMInstPrinter.o CC arch/WASM/WASMMapping.o CC arch/WASM/WASMModule.o CC arch/BPF/BPFDisassembler.o CC arch/BPF/BPFInstPrinter.o CC arch/BPF/BPFMapping.o CC arch/BPF/BPFModule.o CC arch/TriCore/TriCoreDisassembler.o CC arch/TriCore/TriCoreInstPrinter.o CC arch/TriCore/TriCoreMapping.o CC arch/TriCore/TriCoreModule.o GEN capstone.pc LINK libcapstone.so.5 AR libcapstone.a ar: creating ./libcapstone.a make[1]: Entering directory '/home/buildozer/aports/community/capstone/src/capstone-5.0.1/cstool' CC cstool.o CC cstool_arm.o CC cstool_arm64.o CC cstool_bpf.o CC cstool_evm.o CC cstool_m680x.o CC cstool_m68k.o CC cstool_mips.o CC cstool_mos65xx.o CC cstool_powerpc.o CC cstool_riscv.o CC cstool_sh.o CC cstool_sparc.o CC cstool_systemz.o CC cstool_tms320c64x.o CC cstool_tricore.o CC cstool_wasm.o CC cstool_x86.o CC cstool_xcore.o CC getopt.o LINK cstool make[1]: Leaving directory '/home/buildozer/aports/community/capstone/src/capstone-5.0.1/cstool' make -C tests make[1]: Entering directory '/home/buildozer/aports/community/capstone/src/capstone-5.0.1/tests' CC test_basic.o CC test_detail.o CC test_skipdata.o CC test_iter.o CC test_customized_mnem.o CC test_arm.o CC test_arm64.o CC test_m68k.o CC test_mips.o CC test_ppc.o CC test_sparc.o CC test_systemz.o CC test_x86.o CC test_xcore.o CC test_tms320c64x.o CC test_m680x.o CC test_evm.o CC test_riscv.o CC test_wasm.o CC test_mos65xx.o CC test_bpf.o CC test_tricore.o CC test_sh.o test_tricore.c: In function 'test': test_tricore.c:85:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | "TriCore", | ^~~~~~~~~ test_tricore.c:112:42: warning: passing argument 1 of 'print_string_hex' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | print_string_hex("Code:", platforms[i].code, | ^~~~~~~ test_tricore.c:19:36: note: expected 'char *' but argument is of type 'const char *' 19 | static void print_string_hex(char *comment, unsigned char *str, size_t len) | ~~~~~~^~~~~~~ test_tricore.c:130:42: warning: passing argument 1 of 'print_string_hex' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 130 | print_string_hex("Code:", platforms[i].code, | ^~~~~~~ test_tricore.c:19:36: note: expected 'char *' but argument is of type 'const char *' 19 | static void print_string_hex(char *comment, unsigned char *str, size_t len) | ~~~~~~^~~~~~~ test_sh.c:66:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | "Register indirect", | ^~~~~~~~~~~~~~~~~~~ test_sh.c:67:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | "Register indirect with predecrement", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test_sh.c:68:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 68 | "Register indirect with postincrement", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test_sh.c: In function 'print_insn_detail': test_sh.c:99:72: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 99 | printf("\t\toperands[%u].type: IMMEDIATE = #%llu\n", i, | ~~~^ | | | long long unsigned int | %lu 100 | op->imm); | ~~~~~~~ | | | uint64_t {aka long unsigned int} LINK test_basic LINK test_detail LINK test_skipdata LINK test_iter LINK test_customized_mnem LINK test_arm LINK test_arm64 LINK test_m68k LINK test_mips LINK test_ppc LINK test_sparc LINK test_systemz LINK test_x86 LINK test_xcore LINK test_tms320c64x LINK test_m680x LINK test_evm LINK test_riscv LINK test_wasm LINK test_mos65xx LINK test_bpf LINK test_tricore LINK test_sh LINK test_sh.static LINK test_x86.static LINK test_detail.static LINK test_riscv.static LINK test_arm64.static LINK test_wasm.static LINK test_systemz.static LINK test_evm.static LINK test_basic.static LINK test_iter.static LINK test_sparc.static LINK test_arm.static LINK test_xcore.static LINK test_bpf.static LINK test_m68k.static LINK test_customized_mnem.static LINK test_m680x.static LINK test_skipdata.static LINK test_ppc.static LINK test_tricore.static LINK test_mips.static LINK test_mos65xx.static LINK test_tms320c64x.static make[1]: Leaving directory '/home/buildozer/aports/community/capstone/src/capstone-5.0.1/tests' install -m0755 ./libcapstone.so.5 ./tests/ cd ./tests/ && rm -f libcapstone.so && ln -s libcapstone.so.5 libcapstone.so make: Nothing to be done for 'all'. warning: no files found matching '*' under directory 'src' /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'capstone.include.capstone' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'capstone.include.capstone' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'capstone.include.capstone' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'capstone.include.capstone' to be distributed and are already explicitly excluding 'capstone.include.capstone' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'capstone.lib' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'capstone.lib' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'capstone.lib' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'capstone.lib' to be distributed and are already explicitly excluding 'capstone.lib' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) ./tests/test_basic > /dev/null && echo OK || echo FAILED ./tests/test_detail > /dev/null && echo OK || echo FAILED ./tests/test_arm > /dev/null && echo OK || echo FAILED ./tests/test_arm64 > /dev/null && echo OK || echo FAILED ./tests/test_m68k > /dev/null && echo OK || echo FAILED ./tests/test_mips > /dev/null && echo OK || echo FAILED ./tests/test_ppc > /dev/null && echo OK || echo FAILED ./tests/test_sparc > /dev/null && echo OK || echo FAILED OK ./tests/test_tricore > /dev/null && echo OK || echo FAILED ./tests/test_systemz > /dev/null && echo OK || echo FAILED OK OK ./tests/test_x86 > /dev/null && echo OK || echo FAILED ./tests/test_xcore > /dev/null && echo OK || echo FAILED OK OK ./tests/test_iter > /dev/null && echo OK || echo FAILED OK ./tests/test_evm > /dev/null && echo OK || echo FAILED OK OK ./tests/test_riscv > /dev/null && echo OK || echo FAILED OK OK ./tests/test_mos65xx > /dev/null && echo OK || echo FAILED ./tests/test_wasm > /dev/null && echo OK || echo FAILED ./tests/test_bpf > /dev/null && echo OK || echo FAILED OK ./tests/test_basic.static > /dev/null && echo OK || echo FAILED OK ./tests/test_detail.static > /dev/null && echo OK || echo FAILED ./tests/test_arm.static > /dev/null && echo OK || echo FAILED OK OK ./tests/test_arm64.static > /dev/null && echo OK || echo FAILED OK OK ./tests/test_m68k.static > /dev/null && echo OK || echo FAILED OK ./tests/test_mips.static > /dev/null && echo OK || echo FAILED OK ./tests/test_ppc.static > /dev/null && echo OK || echo FAILED ./tests/test_sparc.static > /dev/null && echo OK || echo FAILED ./tests/test_systemz.static > /dev/null && echo OK || echo FAILED ./tests/test_x86.static > /dev/null && echo OK || echo FAILED OK OK ./tests/test_xcore.static > /dev/null && echo OK || echo FAILED ./tests/test_m680x.static > /dev/null && echo OK || echo FAILED ./tests/test_skipdata > /dev/null && echo OK || echo FAILED OK ./tests/test_skipdata.static > /dev/null && echo OK || echo FAILED OK ./tests/test_iter.static > /dev/null && echo OK || echo FAILED ./tests/test_evm.static > /dev/null && echo OK || echo FAILED OK OK OK ./tests/test_riscv.static > /dev/null && echo OK || echo FAILED ./tests/test_mos65xx.static > /dev/null && echo OK || echo FAILED OK OK ./tests/test_wasm.static > /dev/null && echo OK || echo FAILED OK OK ./tests/test_bpf.static > /dev/null && echo OK || echo FAILED OK OK OK OK OK OK OK OK OK >>> capstone: Entering fakeroot... mkdir -p /home/buildozer/aports/community/capstone/pkg/capstone/usr/lib install -m0755 ./libcapstone.so.5 /home/buildozer/aports/community/capstone/pkg/capstone/usr/lib cd /home/buildozer/aports/community/capstone/pkg/capstone/usr/lib && rm -f libcapstone.so && ln -s libcapstone.so.5 libcapstone.so install -m0644 ./libcapstone.a /home/buildozer/aports/community/capstone/pkg/capstone/usr/lib mkdir -p /home/buildozer/aports/community/capstone/pkg/capstone/usr/include/capstone install -m0644 include/capstone/*.h /home/buildozer/aports/community/capstone/pkg/capstone/usr/include/capstone mkdir -p /home/buildozer/aports/community/capstone/pkg/capstone/usr/lib/pkgconfig install -m0644 ./capstone.pc /home/buildozer/aports/community/capstone/pkg/capstone/usr/lib/pkgconfig mkdir -p /home/buildozer/aports/community/capstone/pkg/capstone/usr/bin install -m0755 cstool/cstool /home/buildozer/aports/community/capstone/pkg/capstone/usr/bin /usr/lib/python3.11/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() warning: no files found matching '*' under directory 'src' >>> capstone-static*: Running split function static... >>> capstone-static*: Preparing subpackage capstone-static... >>> capstone-static*: Stripping binaries >>> capstone-static*: Running postcheck for capstone-static >>> capstone-dev*: Running split function dev... >>> capstone-dev*: Preparing subpackage capstone-dev... >>> capstone-dev*: Stripping binaries >>> capstone-dev*: Running postcheck for capstone-dev >>> py3-capstone-pyc*: Running split function pyc... '/home/buildozer/aports/community/capstone/pkg/capstone/usr/lib/python3.11/site-packages/capstone/__pycache__' -> '/home/buildozer/aports/community/capstone/pkg/py3-capstone-pyc/usr/lib/python3.11/site-packages/capstone/__pycache__' >>> py3-capstone-pyc*: Preparing subpackage py3-capstone-pyc... >>> py3-capstone-pyc*: Running postcheck for py3-capstone-pyc >>> py3-capstone*: Running split function _py3... '/home/buildozer/aports/community/capstone/pkg/capstone/usr/lib/python3.11' -> '/home/buildozer/aports/community/capstone/pkg/py3-capstone/usr/lib/python3.11' >>> py3-capstone*: Preparing subpackage py3-capstone... >>> py3-capstone*: Stripping binaries >>> py3-capstone*: Running postcheck for py3-capstone >>> cstool*: Running split function cstool... '/home/buildozer/aports/community/capstone/pkg/capstone/usr/bin/cstool' -> '/home/buildozer/aports/community/capstone/pkg/cstool/usr/bin/cstool' >>> cstool*: Preparing subpackage cstool... >>> cstool*: Stripping binaries >>> cstool*: Running postcheck for cstool >>> capstone*: Running postcheck for capstone >>> capstone*: Preparing package capstone... >>> capstone*: Stripping binaries >>> capstone-dev*: Scanning shared objects >>> capstone-static*: Scanning shared objects >>> capstone*: Scanning shared objects >>> cstool*: Scanning shared objects >>> py3-capstone-pyc*: Scanning shared objects >>> py3-capstone*: Scanning shared objects >>> capstone-dev*: Tracing dependencies... capstone capstone=5.0.1-r3 pkgconfig >>> capstone-dev*: Package size: 452.0 KB >>> capstone-dev*: Compressing data... >>> capstone-dev*: Create checksum... >>> capstone-dev*: Create capstone-dev-5.0.1-r3.apk >>> capstone-static*: Tracing dependencies... >>> capstone-static*: Package size: 19.0 MB >>> capstone-static*: Compressing data... >>> capstone-static*: Create checksum... >>> capstone-static*: Create capstone-static-5.0.1-r3.apk >>> capstone*: Tracing dependencies... so:libc.musl-x86_64.so.1 >>> capstone*: Package size: 7.0 MB >>> capstone*: Compressing data... >>> capstone*: Create checksum... >>> capstone*: Create capstone-5.0.1-r3.apk >>> cstool*: Tracing dependencies... so:libc.musl-x86_64.so.1 >>> cstool*: Package size: 7.0 MB >>> cstool*: Compressing data... >>> cstool*: Create checksum... >>> cstool*: Create cstool-5.0.1-r3.apk >>> py3-capstone-pyc*: Tracing dependencies... python3~3.11 >>> py3-capstone-pyc*: Package size: 80.0 KB >>> py3-capstone-pyc*: Compressing data... >>> py3-capstone-pyc*: Create checksum... >>> py3-capstone-pyc*: Create py3-capstone-pyc-5.0.1-r3.apk >>> py3-capstone*: Tracing dependencies... py3-setuptools python3~3.11 so:libc.musl-x86_64.so.1 so:libcapstone.so.5 >>> py3-capstone*: Package size: 3.9 MB >>> py3-capstone*: Compressing data... >>> py3-capstone*: Create checksum... >>> py3-capstone*: Create py3-capstone-5.0.1-r3.apk >>> capstone: Build complete at Mon, 18 Mar 2024 09:40:16 +0000 elapsed time 0h 6m 35s >>> capstone: Cleaning up srcdir >>> capstone: Cleaning up pkgdir >>> capstone: Uninstalling dependencies... (1/23) Purging .makedepends-capstone (20240318.093343) (2/23) Purging bash (5.2.26-r0) Executing bash-5.2.26-r0.pre-deinstall (3/23) Purging py3-setuptools-pyc (69.2.0-r0) (4/23) Purging py3-setuptools (69.2.0-r0) (5/23) Purging py3-packaging-pyc (24.0-r0) (6/23) Purging py3-packaging (24.0-r0) (7/23) Purging py3-parsing-pyc (3.1.2-r0) (8/23) Purging py3-parsing (3.1.2-r0) (9/23) Purging cython-pyc (0.29.37-r0) (10/23) Purging cython (0.29.37-r0) (11/23) Purging python3-dev (3.11.8-r0) (12/23) Purging python3-pyc (3.11.8-r0) (13/23) Purging python3-pycache-pyc0 (3.11.8-r0) (14/23) Purging pyc (3.11.8-r0) (15/23) Purging python3 (3.11.8-r0) (16/23) Purging gdbm (1.23-r1) (17/23) Purging libbz2 (1.0.8-r6) (18/23) Purging libffi (3.4.6-r0) (19/23) Purging libpanelw (6.4_p20231125-r0) (20/23) Purging mpdecimal (4.0.0-r0) (21/23) Purging readline (8.2.10-r0) (22/23) Purging sqlite-libs (3.45.2-r0) (23/23) Purging xz-libs (5.6.1-r1) Executing busybox-1.36.1-r21.trigger OK: 378 MiB in 106 packages >>> capstone: Updating the community/x86_64 repository index... >>> capstone: Signing the index...