==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: apk-tools 3.0.5-1 (Fri Feb 27 12:30:17 2026)
==> Retrieving sources...
  -> Found apk-tools-v3.0.5.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    apk-tools-v3.0.5.tar.gz ... Passed
==> Validating source files with b2sums...
    apk-tools-v3.0.5.tar.gz ... Passed
==> Making package: apk-tools 3.0.5-1 (Fri Feb 27 19:30:44 2026)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (8) mpdecimal-4.0.1-1  ninja-1.13.2-3  python-3.14.3-1  python-tqdm-4.67.3-1  lua53-5.3.6-4  lua53-zlib-1:1.4-1  meson-1.10.1-1  scdoc-1.11.4-1

Total Download Size:    0.23 MiB
Total Installed Size:  86.83 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 lua53-5.3.6-4-armv7h downloading...
 scdoc-1.11.4-1-armv7h downloading...
 lua53-zlib-1:1.4-1-armv7h downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing ninja...
installing mpdecimal...
installing python...
Optional dependencies for python
    python-setuptools: for building Python packages using tooling that is usually bundled with Python
    python-pip: for installing Python packages using tooling that is usually bundled with Python
    python-pipx: for installing Python software not packaged on Arch Linux
    sqlite: for a default database integration [installed]
    xz: for lzma [installed]
    tk: for tkinter
installing python-tqdm...
Optional dependencies for python-tqdm
    python-requests: telegram
installing meson...
installing lua53...
installing lua53-zlib...
installing scdoc...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
  -> Found apk-tools-v3.0.5.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting apk-tools-v3.0.5.tar.gz with bsdtar
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=false -D b_pie=true -D python.bytecompile=1 apk-tools-v3.0.5 build --sbindir=/usr/bin --libdir=/usr/lib
The Meson build system
Version: 1.10.1
Source dir: /build/apk-tools/src/apk-tools-v3.0.5
Build dir: /build/apk-tools/src/build
Build type: native build
Project name: apk-tools
Project version: 3.0.5
C compiler for the host machine: cc (gcc 15.2.1 "armv7l-unknown-linux-gnueabihf-gcc (GCC) 15.2.1 20260209")
C linker for the host machine: cc ld.bfd 2.46
Host machine cpu family: arm
Host machine cpu: armv7l
Program lua5.3 found: YES (/usr/bin/lua5.3)
Found pkg-config: YES (/usr/bin/pkg-config) 2.5.1
Run-time dependency lua5.3 found: YES 5.3.6
Run-time dependency python3 found: YES 3.14
Build-time dependency scdoc found: YES 1.11.4
Run-time dependency zlib found: YES 1.3.2
Run-time dependency libzstd found: YES 1.5.7
Run-time dependency openssl found: YES 3.6.1
Program /usr/bin/scdoc found: YES (/usr/bin/scdoc)
Program sh found: YES (/usr/bin/sh)
Header "sys/random.h" has symbol "getrandom" : YES 
Header "string.h" has symbol "memrchr" : YES 
Header "sys/mman.h" has symbol "memfd_create" : YES 
Header "sys/stat.h" has symbol "mknodat" : YES 
Header "unistd.h" has symbol "pipe2" : YES 
Header "stdlib.h" has symbol "qsort_r" : YES 
Header "stdlib.h" has symbol "reallocarray" : YES 
Header "string.h" has symbol "strchrnul" : YES 
Header "string.h" has symbol "strlcpy" : YES 
Header "sys/socket.h" has symbol "SOCK_CLOEXEC" : YES 
Header "sched.h" has symbol "unshare" : YES 
Checking if "Test qsort_r non-POSIX prototype" compiles: NO 
Found pkg-config: YES (/usr/bin/pkg-config) 2.5.1
Program python3 found: YES (/usr/bin/python3)
Found pkg-config: YES (/usr/bin/pkg-config) 2.5.1
Run-time dependency python found: YES 3.14
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency cmocka found: NO (tried pkgconfig)

apk-tools-v3.0.5/test/unit/meson.build:1:13: ERROR: Dependency "cmocka" not found, tried pkgconfig

A full log can be found at /build/apk-tools/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/leming/armv7/leming/build
[?12l[?25h[?12l[?25h