==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: yubico-piv-tool 2.7.1-1 (Fri Dec 20 13:34:49 2024)
==> Retrieving sources...
  -> Cloning yubico-piv-tool git repo...
Cloning into bare repository '/home/leming/work/yubico-piv-tool/yubico-piv-tool'...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    yubico-piv-tool ... Skipped
==> Making package: yubico-piv-tool 2.7.1-1 (Fri 20 Dec 2024 01:34:57 PM MST)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (3) duktape-2.7.0-7  polkit-125-1  pcsclite-2.3.0-1

Total Installed Size:  3.71 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing duktape...
installing polkit...
installing pcsclite...
Optional dependencies for pcsclite
    python: API call trace logging with the pcsc-spy [installed]
    ccid: USB Chip/Smart Card Interface Devices driver
:: Running post-transaction hooks...
(1/5) Creating system user accounts...
Creating group 'polkitd' with GID 102.
Creating user 'polkitd' (User for polkitd) with UID 102 and GID 102.
(2/5) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/5) Creating temporary files...
Cannot set file attributes for '/var/log/journal', maybe due to incompatibility in specified attributes, previous=0x00080000, current=0x00080000, expected=0x00880000, ignoring.
Cannot set file attributes for '/var/log/journal/remote', maybe due to incompatibility in specified attributes, previous=0x00080000, current=0x00080000, expected=0x00880000, ignoring.
(4/5) Arming ConditionNeedsUpdate...
(5/5) Reloading system bus configuration...
  Skipped: Current root is not booted.
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (14) cppdap-1.58.0-2  hicolor-icon-theme-0.18-1  jsoncpp-1.9.6-3
              libuv-1.49.2-1  perl-error-0.17029-7  perl-locale-gettext-1.07-15
              perl-mailtools-2.22-1  perl-timedate-2.33-7  rhash-1.4.4-1
              check-0.15.2-2  cmake-3.31.3-1  gengetopt-2.23-3  git-2.47.1-1
              help2man-1.49.3-2

Total Download Size:     0.41 MiB
Total Installed Size:  143.32 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 help2man-1.49.3-2-aarch64 downloading...
 gengetopt-2.23-3-aarch64 downloading...
 check-0.15.2-2-aarch64 downloading...
 perl-locale-gettext-1.07-15-aarch64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing check...
Optional dependencies for check
    check-docs: Documentation
installing cppdap...
installing hicolor-icon-theme...
installing jsoncpp...
Optional dependencies for jsoncpp
    jsoncpp-doc: documentation
installing libuv...
installing rhash...
installing cmake...
Optional dependencies for cmake
    make: for unix Makefile generator [installed]
    ninja: for ninja generator
    qt6-base: cmake-gui
installing gengetopt...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing git...
Optional dependencies for git
    tk: gitk and git gui
    openssh: ssh transport and crypto
    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-mediawiki-api: git mediawiki support
    perl-datetime-format-iso8601: git mediawiki support
    perl-lwp-protocol-https: git mediawiki https support
    perl-cgi: gitweb (web interface) support
    python: git svn & git p4 [installed]
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
installing perl-locale-gettext...
installing help2man...
:: Running post-transaction hooks...
(1/5) Creating system user accounts...
Creating group 'git' with GID 971.
Creating user 'git' (git daemon user) with UID 971 and GID 971.
(2/5) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/5) Arming ConditionNeedsUpdate...
(4/5) Warn about old perl modules
(5/5) Updating the info directory file...
[?25h==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of yubico-piv-tool git repo...
Cloning into 'yubico-piv-tool'...
done.
Switched to a new branch 'makepkg'
==> Starting build()...
-- The C compiler identification is GNU 14.1.1
-- The CXX compiler identification is GNU 14.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/distcc/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/distcc/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.3.0")
-- Performing Test HAVE_SHORTEN_64_TO_32
-- Performing Test HAVE_SHORTEN_64_TO_32 - Failed
-- Checking for module 'libcrypto'
--   Found libcrypto, version 3.4.0
        OpenSSL version:   3.4.0
-- Looking for explicit_bzero
-- Looking for explicit_bzero - found
lib/CMakeList.txt
Detected neither Mac nor Windows: selecting pcsc backend
-- Checking for module 'libpcsclite'
--   Found libpcsclite, version 2.3.0
PCSC_LIBRARIES: -L/usr/lib;-lpcsclite
PCSC_CFLAGS: -I/usr/include/PCSC
BACKEND_PCSC: ON
HAVE_PCSC_WINSCARD_H: 
-- Found ZLIB: /usr/lib/libz.so (found version "1.3.1")
lib/tests/CMakeList.txt
-- Checking for module 'check'
--   Found check, version 0.15.2
ykcs11/CMakeList.txt
ykcs11/tests/CMakeList.txt
tool/CMakeList.txt
lib/tool/CMakeList.txt
Running on Windows. Skipping basic tests...
Build summary:

        Project name:     yubico-piv-tool
        Version:          2.7.1
        Host type:        Linux
        Install prefix:   
        Compiler:         /usr/lib/distcc/bin/cc
        Compiler ID:      GNU
        CFLAGS:           -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -Wall -Werror -Wno-missing-braces -Wformat -Wformat-security -Wshadow -Wpointer-arith -Wmissing-prototypes -Wbad-function-cast -fstack-protector-all -Wno-pointer-sign -Wno-unused-result -I/usr/include
        CFLAGS_DEBUG:     -g -g2 -fno-omit-frame-pointer
        CPPFLAGS:         -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -I/usr/include
        Warnings:         
        Build type:       None
        Backend:          check
        PCSC
                CFLAGS:   -I/usr/include/PCSC
                LIBS:     pcsclite
        Winscard
                LIBS:     
        Mac PCSC
                LIBS:     
        Custom PCSC
                LIBS:     

        Install prefix:    /usr
        Install targets
                Libraries  /usr/lib
                Includes   /usr/include
                Binaries   /usr/bin
                Manuals    /usr/share/man
                Pkg-config /usr/lib/pkgconfig

        YKCS11 debug:     
        Hardware tests:   Disabled
-- Configuring done (2.4s)
-- Generating done (0.1s)
-- Build files have been written to: /build/yubico-piv-tool/src/build
[  2%] Building C object lib/CMakeFiles/ykpiv.dir/ykpiv.c.o
[  2%] Building C object lib/CMakeFiles/ykpiv.dir/util.c.o
[  4%] Building C object lib/CMakeFiles/ykpiv.dir/error.c.o
[  5%] Building C object lib/CMakeFiles/ykpiv.dir/version.c.o
[  7%] Building C object lib/CMakeFiles/ykpiv.dir/internal.c.o
[  8%] Building C object lib/CMakeFiles/ykpiv_shared.dir/ykpiv.c.o
[ 10%] Building C object ykcs11/CMakeFiles/ykcs11.dir/ykcs11.c.o
[ 11%] Building C object lib/CMakeFiles/ykpiv.dir/ecdh.c.o
[ 13%] Building C object ykcs11/CMakeFiles/ykcs11.dir/token.c.o
[ 14%] Building C object ykcs11/CMakeFiles/ykcs11.dir/mechanisms.c.o
[ 15%] Building C object lib/CMakeFiles/ykpiv.dir/scp11_util.c.o
[ 17%] Building C object lib/CMakeFiles/ykpiv.dir/__/aes_cmac/aes.c.o
[ 18%] Building C object ykcs11/CMakeFiles/ykcs11.dir/utils.c.o
[ 20%] Building C object lib/CMakeFiles/ykpiv.dir/__/aes_cmac/aes_cmac.c.o
[ 21%] Building C object lib/CMakeFiles/ykpiv.dir/__/common/openssl-compat.c.o
[ 23%] Building C object ykcs11/CMakeFiles/ykcs11.dir/openssl_utils.c.o
[ 24%] Building C object lib/CMakeFiles/ykpiv.dir/__/common/util.c.o
[ 26%] Building C object ykcs11/CMakeFiles/ykcs11.dir/objects.c.o
[ 27%] Building C object ykcs11/CMakeFiles/ykcs11.dir/__/common/openssl-compat.c.o
[ 30%] Building C object ykcs11/CMakeFiles/ykcs11.dir/__/common/util.c.o
[ 30%] Building C object lib/CMakeFiles/ykpiv_shared.dir/util.c.o
[ 31%] Building C object lib/CMakeFiles/ykpiv_shared.dir/version.c.o
[ 33%] Building C object lib/CMakeFiles/ykpiv_shared.dir/internal.c.o
[ 36%] Linking C static library libykpiv.a
[ 36%] Building C object lib/CMakeFiles/ykpiv_shared.dir/error.c.o
[ 37%] Building C object lib/CMakeFiles/ykpiv_shared.dir/ecdh.c.o
[ 37%] Built target ykpiv
[ 39%] Building C object lib/CMakeFiles/ykpiv_shared.dir/scp11_util.c.o
[ 40%] Building C object lib/CMakeFiles/ykpiv_shared.dir/__/aes_cmac/aes.c.o
[ 42%] Building C object lib/CMakeFiles/ykpiv_shared.dir/__/aes_cmac/aes_cmac.c.o
[ 43%] Building C object lib/CMakeFiles/ykpiv_shared.dir/__/common/openssl-compat.c.o
[ 44%] Building C object lib/CMakeFiles/ykpiv_shared.dir/__/common/util.c.o
[ 46%] Linking C static library libykcs11.a
[ 46%] Built target ykcs11
[ 47%] Linking C shared library libykpiv.so
[ 47%] Built target ykpiv_shared
[ 49%] Building C object lib/tests/CMakeFiles/test_basic.dir/basic.c.o
[ 50%] Building C object lib/tests/CMakeFiles/test_api.dir/api.c.o
[ 52%] Building C object lib/tests/CMakeFiles/test_parse_key.dir/parse_key.c.o
[ 53%] Building C object ykcs11/CMakeFiles/ykcs11_shared.dir/ykcs11.c.o
[ 55%] Building C object tool/CMakeFiles/yubico-piv-tool.dir/yubico-piv-tool.c.o
[ 56%] Building C object lib/tests/CMakeFiles/test_aes.dir/aes.c.o
[ 57%] Building C object tool/tests/CMakeFiles/test_parse_name.dir/parse_name.c.o
[ 59%] Building C object tool/tests/CMakeFiles/test_inout.dir/test_inout.c.o
[ 60%] Linking C executable test_parse_key
[ 62%] Linking C executable test_basic
[ 63%] Linking C executable test_aes
[ 65%] Building C object lib/tests/CMakeFiles/test_api.dir/__/__/aes_cmac/aes.c.o
[ 66%] Linking C executable test_parse_name
[ 68%] Linking C executable test_inout
[ 68%] Built target test_basic
[ 68%] Built target test_parse_key
[ 68%] Built target test_aes
[ 69%] Building C object tool/CMakeFiles/yubico-piv-tool.dir/__/common/openssl-compat.c.o
[ 71%] Building C object tool/CMakeFiles/yubico-piv-tool.dir/__/common/util.c.o
[ 72%] Linking C executable test_api
[ 73%] Building C object tool/CMakeFiles/yubico-piv-tool.dir/cmdline.c.o
[ 75%] Building C object ykcs11/CMakeFiles/ykcs11_shared.dir/token.c.o
[ 75%] Built target test_inout
[ 76%] Building C object ykcs11/CMakeFiles/ykcs11_shared.dir/mechanisms.c.o
[ 78%] Building C object ykcs11/CMakeFiles/ykcs11_shared.dir/utils.c.o
[ 79%] Building C object ykcs11/CMakeFiles/ykcs11_shared.dir/openssl_utils.c.o
[ 81%] Building C object ykcs11/CMakeFiles/ykcs11_shared.dir/objects.c.o
[ 82%] Linking C executable yubico-piv-tool
[ 84%] Building C object ykcs11/CMakeFiles/ykcs11_shared.dir/__/common/openssl-compat.c.o
[ 85%] Building C object ykcs11/CMakeFiles/ykcs11_shared.dir/__/common/util.c.o
[ 85%] Built target yubico-piv-tool
[ 86%] Building manpage for yubico-piv-tool
[ 86%] Built target test_parse_name
[ 86%] Built target yubico-piv-tool-man
[ 86%] Built target test_api
[ 88%] Linking C shared library libykcs11.so
[ 88%] Built target ykcs11_shared
[ 89%] Building C object ykcs11/tests/CMakeFiles/test_ykcs11.dir/ykcs11_tests.c.o
[ 91%] Building C object ykcs11/tests/CMakeFiles/test_ykcs11.dir/ykcs11_tests_util.c.o
[ 94%] Building C object ykcs11/tests/CMakeFiles/test_ykcs11_edx.dir/ykcs11_tests_util.c.o
[ 94%] Building C object ykcs11/tests/CMakeFiles/test_ykcs11_edx.dir/ykcs11_edx_test.c.o
[ 95%] Building C object ykcs11/tests/CMakeFiles/test_ykcs11_interfaces.dir/ykcs11_interfaces_tests.c.o
[ 97%] Linking C executable test_ykcs11_interfaces
[ 97%] Built target test_ykcs11_interfaces
[ 98%] Linking C executable test_ykcs11_edx
[100%] Linking C executable test_ykcs11
[100%] Built target test_ykcs11_edx
[100%] Built target test_ykcs11
==> Entering fakeroot environment...
==> Starting package()...
-- Install configuration: "None"
-- Installing: /build/yubico-piv-tool/pkg/yubico-piv-tool/usr/lib/libykpiv.so.2.7.1
-- Installing: /build/yubico-piv-tool/pkg/yubico-piv-tool/usr/lib/libykpiv.so.2
-- Installing: /build/yubico-piv-tool/pkg/yubico-piv-tool/usr/lib/libykpiv.so
-- Installing: /build/yubico-piv-tool/pkg/yubico-piv-tool/usr/lib/libykpiv.a
-- Installing: /build/yubico-piv-tool/pkg/yubico-piv-tool/usr/include/ykpiv/ykpiv.h
-- Installing: /build/yubico-piv-tool/pkg/yubico-piv-tool/usr/include/ykpiv/ykpiv-config.h
-- Installing: /build/yubico-piv-tool/pkg/yubico-piv-tool/usr/lib/pkgconfig/ykpiv.pc
-- Installing: /build/yubico-piv-tool/pkg/yubico-piv-tool/usr/lib/libykcs11.so.2.7.1
-- Installing: /build/yubico-piv-tool/pkg/yubico-piv-tool/usr/lib/libykcs11.so.2
-- Set non-toolchain portion of runtime path of "/build/yubico-piv-tool/pkg/yubico-piv-tool/usr/lib/libykcs11.so.2.7.1" to ""
-- Installing: /build/yubico-piv-tool/pkg/yubico-piv-tool/usr/lib/libykcs11.so
-- Installing: /build/yubico-piv-tool/pkg/yubico-piv-tool/usr/lib/libykcs11.a
-- Installing: /build/yubico-piv-tool/pkg/yubico-piv-tool/usr/lib/pkgconfig/ykcs11.pc
-- Installing: /build/yubico-piv-tool/pkg/yubico-piv-tool/usr/bin/yubico-piv-tool
-- Set non-toolchain portion of runtime path of "/build/yubico-piv-tool/pkg/yubico-piv-tool/usr/bin/yubico-piv-tool" to ""
-- Installing: /build/yubico-piv-tool/pkg/yubico-piv-tool/usr/share/man/man1/yubico-piv-tool.1
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
usr/lib/libykcs11.so.2.7.1
usr/lib/libykpiv.so.2.7.1
==> Creating package "yubico-piv-tool"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: yubico-piv-tool 2.7.1-1 (Fri 20 Dec 2024 01:35:20 PM MST)
==> Cleaning up...