==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: pkcs11-provider 1.2.0-1 (Sun Feb 22 05:09:11 2026)
==> Retrieving sources...
  -> Updating pkcs11-provider git repo...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    pkcs11-provider ... Passed
==> Making package: pkcs11-provider 1.2.0-1 (Sun Feb 22 12:09:38 2026)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (10) mpdecimal-4.0.1-1  ninja-1.13.2-3  perl-error-0.17030-3  perl-mailtools-2.22-3  perl-timedate-2.33-9  python-3.14.3-1  python-tqdm-4.67.3-1  zlib-ng-2.3.3-1  git-2.53.0-1  meson-1.10.1-1

Total Download Size:    10.85 MiB
Total Installed Size:  135.41 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 git-2.53.0-1-armv7h downloading...
 meson-1.10.1-1-any downloading...
 ninja-1.13.2-3-armv7h downloading...
 python-tqdm-4.67.3-1-any downloading...
 zlib-ng-2.3.3-1-armv7h downloading...
 perl-mailtools-2.22-3-any downloading...
 perl-timedate-2.33-9-any downloading...
 perl-error-0.17030-3-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing zlib-ng...
installing git...
Optional dependencies for git
    git-zsh-completion: upstream zsh completion
    tk: gitk and git gui
    openssh: ssh transport and crypto
    man: show help with `git command --help`
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-io-socket-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-cgi: gitweb (web interface) support
    python: git svn & git p4 [pending]
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
    less: the default pager for git
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...
:: Running post-transaction hooks...
(1/3) Creating system user accounts...
Creating group 'git' with GID 968.
Creating user 'git' (git daemon user) with UID 968 and GID 968.
(2/3) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/3) Arming ConditionNeedsUpdate...
==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of pkcs11-provider git repo...
Cloning into 'pkcs11-provider'...
done.
Switched to a new branch 'makepkg'
==> Starting build()...
The Meson build system
Version: 1.10.1
Source dir: /build/pkcs11-provider/src/pkcs11-provider
Build dir: /build/pkcs11-provider/src/pkcs11-provider/build
Build type: native build
Project name: pkcs11-provider
Project version: 1.2.0
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
Compiler for C supports arguments -Wwrite-strings: YES 
Compiler for C supports arguments -Wpointer-arith: YES 
Compiler for C supports arguments -Wno-missing-field-initializers: YES 
Compiler for C supports arguments -Wformat: YES 
Compiler for C supports arguments -Wshadow: YES 
Compiler for C supports arguments -Wno-unused-parameter: YES 
Compiler for C supports arguments -Werror=implicit-function-declaration: YES 
Compiler for C supports arguments -Werror=missing-prototypes: YES 
Compiler for C supports arguments -Werror=format-security: YES 
Compiler for C supports arguments -Werror=parentheses: YES 
Compiler for C supports arguments -Werror=implicit: YES 
Compiler for C supports arguments -Werror=strict-prototypes: YES 
Compiler for C supports arguments -fno-strict-aliasing: YES 
Compiler for C supports arguments -fno-delete-null-pointer-checks: YES 
Compiler for C supports arguments -fdiagnostics-show-option: YES 
Found pkg-config: YES (/usr/bin/pkg-config) 2.5.1
Run-time dependency libcrypto found: YES 3.6.1
Run-time dependency libssl found: YES 3.6.1
Run-time dependency p11-kit-1 found: YES 0.26.2
Has header "dlfcn.h" : YES 
Configuring config.h using configuration
Compiler for C supports link arguments -Wl,--version-script,/build/pkcs11-provider/src/pkcs11-provider/src/provider.map: YES 
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency nss-softokn found: NO (tried pkgconfig and cmake)
Run-time dependency nss found: NO (tried pkgconfig and cmake)
Program valgrind found: NO
Program setup.sh found: YES (/build/pkcs11-provider/src/pkcs11-provider/tests/setup.sh)
Program test-wrapper found: YES (/build/pkcs11-provider/src/pkcs11-provider/tests/test-wrapper)
Build targets in project: 15

pkcs11-provider 1.2.0

  User defined options
    prefix    : /usr
    sysconfdir: /etc

Found ninja-1.13.2 at /usr/bin/ninja

Generating targets:   0%|          | 0/15 eta ?
Generating targets:  60%|██████    | 9/15 eta 00:00
                                                   

Writing build.ninja:   0%|          | 0/101 eta ?
                                                 
ninja: Entering directory `/build/pkcs11-provider/src/pkcs11-provider/build'
[1/38] Compiling C object src/pkcs11.so.p/debug.c.o
[2/38] Compiling C object src/pkcs11.so.p/decoder.c.o
[3/38] Compiling C object src/pkcs11.so.p/digests.c.o
[4/38] Compiling C object src/pkcs11.so.p/asymmetric_cipher.c.o
[5/38] Compiling C object src/pkcs11.so.p/encoder.c.o
[6/38] Compiling C object src/pkcs11.so.p/kem.c.o
[7/38] Compiling C object src/pkcs11.so.p/cipher.c.o
FAILED: [code=1] src/pkcs11.so.p/cipher.c.o 
cc -Isrc/pkcs11.so.p -Isrc -I../src -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -O0 -g -Wwrite-strings -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Wno-unused-parameter -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -fno-delete-null-pointer-checks -fdiagnostics-show-option -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -MD -MQ src/pkcs11.so.p/cipher.c.o -MF src/pkcs11.so.p/cipher.c.o.d -o src/pkcs11.so.p/cipher.c.o -c ../src/cipher.c
distcc[1172] ERROR: compile ../src/cipher.c on 10.3.0.15:3732/8 failed
distcc[1172] (dcc_build_somewhere) Warning: remote compilation of '../src/cipher.c' failed, retrying locally
distcc[1172] Warning: failed to distribute ../src/cipher.c to 10.3.0.15:3732/8, running locally instead
../src/cipher.c: In function ‘p11prov_cipher_update’:
../src/cipher.c:1069:54: error: passing argument 5 of ‘tls_pre_aead’ from incompatible pointer type [-Wincompatible-pointer-types]
 1069 |             rv = tls_pre_aead(cctx, &in, &inl, &out, &outlen);
      |                                                      ^~~~~~~
      |                                                      |
      |                                                      CK_ULONG * {aka long unsigned int *}
../src/cipher.c:870:56: note: expected ‘size_t *’ {aka ‘unsigned int *’} but argument is of type ‘CK_ULONG *’ {aka ‘long unsigned int *’}
  870 |                           unsigned char **out, size_t *outl)
      |                                                ~~~~~~~~^~~~
../src/cipher.c:1082:43: error: passing argument 3 of ‘tls_post_aead’ from incompatible pointer type [-Wincompatible-pointer-types]
 1082 |             rv = tls_post_aead(cctx, out, &outlen);
      |                                           ^~~~~~~
      |                                           |
      |                                           CK_ULONG * {aka long unsigned int *}
../src/cipher.c:909:36: note: expected ‘size_t *’ {aka ‘unsigned int *’} but argument is of type ‘CK_ULONG *’ {aka ‘long unsigned int *’}
  909 |                            size_t *outl)
      |                            ~~~~~~~~^~~~
../src/cipher.c:1091:54: error: passing argument 5 of ‘tls_pre_aead’ from incompatible pointer type [-Wincompatible-pointer-types]
 1091 |             rv = tls_pre_aead(cctx, &in, &inl, &out, &outlen);
      |                                                      ^~~~~~~
      |                                                      |
      |                                                      CK_ULONG * {aka long unsigned int *}
../src/cipher.c:870:56: note: expected ‘size_t *’ {aka ‘unsigned int *’} but argument is of type ‘CK_ULONG *’ {aka ‘long unsigned int *’}
  870 |                           unsigned char **out, size_t *outl)
      |                                                ~~~~~~~~^~~~
../src/cipher.c: In function ‘p11prov_common_set_ctx_params’:
../src/cipher.c:1479:54: error: passing argument 4 of ‘OSSL_PARAM_get_octet_string’ from incompatible pointer type [-Wincompatible-pointer-types]
 1479 |                 p, (void **)&gcm->pIv, gcm->ulIvLen, &gcm->ulIvFixedBits);
      |                                                      ^~~~~~~~~~~~~~~~~~~
      |                                                      |
      |                                                      CK_ULONG * {aka long unsigned int *}
In file included from /usr/include/openssl/indicator.h:18,
                 from /usr/include/openssl/core_dispatch.h:16,
                 from ../src/provider.h:16,
                 from ../src/cipher.c:5:
/usr/include/openssl/params.h:138:13: note: expected ‘size_t *’ {aka ‘unsigned int *’} but argument is of type ‘CK_ULONG *’ {aka ‘long unsigned int *’}
  138 |     size_t *used_len);
      |     ~~~~~~~~^~~~~~~~
distcc[1172] ERROR: compile ../src/cipher.c on localhost failed
[8/38] Compiling C object src/pkcs11.so.p/exchange.c.o
[9/38] Compiling C object src/pkcs11.so.p/kmgmt_common.c.o
[10/38] Compiling C object src/pkcs11.so.p/kdf.c.o
[11/38] Compiling C object src/pkcs11.so.p/kmgmt_hkdf.c.o
[12/38] Compiling C object src/pkcs11.so.p/kmgmt_ec.c.o
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /build/pkcs11-provider/src/pkcs11-provider/build
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/leming/armv7/leming/build
[?12l[?25h[?12l[?25h