==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: libu2f-server 1.1.0-6 (Mon Jul  1 07:48:44 2024)
==> Retrieving sources...
  -> Found libu2f-server-1.1.0.tar.xz
  -> Found libu2f-server-1.1.0.tar.xz.sig
  -> Found json-c-0.14.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    libu2f-server-1.1.0.tar.xz ... Passed
    libu2f-server-1.1.0.tar.xz.sig ... Skipped
    json-c-0.14.patch ... Passed
==> Making package: libu2f-server 1.1.0-6 (Mon Jul  1 07:48:52 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (4) perl-locale-gettext-1.07-14  check-0.15.2-2  gengetopt-2.23-3
             help2man-1.49.3-1

Total Download Size:   0.42 MiB
Total Installed Size:  1.09 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 help2man-1.49.3-1-aarch64 downloading...
 gengetopt-2.23-3-aarch64 downloading...
 check-0.15.2-2-aarch64 downloading...
 perl-locale-gettext-1.07-14-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 gengetopt...
installing perl-locale-gettext...
installing help2man...
:: Running post-transaction hooks...
(1/2) Warn about old perl modules
(2/2) Updating the info directory file...
[?25h==> Retrieving sources...
  -> Found libu2f-server-1.1.0.tar.xz
  -> Found libu2f-server-1.1.0.tar.xz.sig
  -> Found json-c-0.14.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting libu2f-server-1.1.0.tar.xz with bsdtar
==> Starting prepare()...
patching file u2f-server/core.c
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking if LD -Wl,--version-script works... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBJSON... yes
checking for json_object_object_get_ex... yes
checking for LIBSSL... yes
checking for LIBCRYPTO... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating u2f-server/Makefile
config.status: creating u2f-server/u2f-server-version.h
config.status: creating u2f-server/u2f-server.pc
config.status: executing depfiles commands
config.status: executing libtool commands
configure: summary of build options:

  Version:          1.1.0 shared 1:0:1 major 1 minor 1 patch 0 number 0x010100
  Host type:        aarch64-unknown-linux-gnu
  Install prefix:   /usr
  Compiler:         gcc
  Shared library:   yes
  Static library:   yes
  CFLAGS:           -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection
  CPPFLAGS:         
  JSON CFLAGS:      -I/usr/include/json-c
  JSON LIBS:        -ljson-c
  OPENSSL CFLAGS:   
  OPENSSL LIBS:     -lssl
  LIBCRYPTO CFLAGS: 
  LIBCRYPTO LIBS:   -lcrypto
  CHECK CFLAGS:     
  CHECK LIBS:       

Making all in u2f-server
make[1]: Entering directory '/build/libu2f-server/src/libu2f-server-1.1.0/u2f-server'
  CC       global.lo
  CC       version.lo
  CC       error.lo
  CC       core.lo
  CC       sha256.lo
  CC       cencode.lo
  CC       cdecode.lo
  CC       openssl.lo
openssl.c: In function 'decode_X509':
openssl.c:95:15: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from openssl.c:33:
/usr/include/openssl/err.h:459:65: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                                                 ^~~~~~~~~            
openssl.c: In function 'decode_ECDSA':
openssl.c:122:15: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/err.h:459:65: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                                                 ^~~~~~~~~            
openssl.c: In function 'decode_user_key':
openssl.c:137:3: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/x509.h:33,
                 from /usr/include/openssl/ssl.h:32,
                 from openssl.c:32:
/usr/include/openssl/ec.h:1017:61: note: declared here
 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                                                             ^~~~                    
openssl.c:149:15: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/err.h:459:65: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                                                 ^~~~~~~~~            
openssl.c:162:3: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/ec.h:1089:57: note: declared here
 1089 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
      |                                                         ^~~~~~~~~~~~~~~~~~~~~
openssl.c:168:15: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/err.h:459:65: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                                                 ^~~~~~~~~            
openssl.c: In function 'verify_ECDSA':
openssl.c:190:7: warning: 'ECDSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/ec.h:1410:57: note: declared here
 1410 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len,
      |                                                         ^~~~~~~~~~~~~~~
openssl.c:199:17: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/err.h:459:65: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                                                 ^~~~~~~~~            
openssl.c: In function 'extract_EC_KEY_from_X509':
openssl.c:224:15: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/err.h:459:65: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                                                 ^~~~~~~~~            
openssl.c:229:3: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/x509.h:29:
/usr/include/openssl/evp.h:1384:19: note: declared here
 1384 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
      |                   ^~~~~~~~~~~~~~~~~~~~
openssl.c:240:15: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/err.h:459:65: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                                                 ^~~~~~~~~            
openssl.c:247:3: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/ec.h:1106:58: note: declared here
 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag);
      |                                                          ^~~~~~~~~~~~~~~~~~~~
openssl.c:248:3: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/ec.h:1061:57: note: declared here
 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
      |                                                         ^~~~~~~~~~~~~~~~
openssl.c: In function 'dup_key':
openssl.c:258:3: warning: 'EC_KEY_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/ec.h:1035:61: note: declared here
 1035 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_dup(const EC_KEY *src);
      |                                                             ^         
openssl.c: In function 'free_key':
openssl.c:263:3: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/ec.h:1022:58: note: declared here
 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                                                          ^          
openssl.c: In function 'dump_user_key':
openssl.c:294:3: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/ec.h:1081:69: note: declared here
 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                                                     ^~~~~~~~~~~~          
  CCLD     libu2f-server.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[1]: Leaving directory '/build/libu2f-server/src/libu2f-server-1.1.0/u2f-server'
Making all in src
make[1]: Entering directory '/build/libu2f-server/src/libu2f-server-1.1.0/src'
make  all-am
make[2]: Entering directory '/build/libu2f-server/src/libu2f-server-1.1.0/src'
  CC       u2f-server.o
  CC       cmdline.o
  CCLD     u2f-server
make[2]: Leaving directory '/build/libu2f-server/src/libu2f-server-1.1.0/src'
make[1]: Leaving directory '/build/libu2f-server/src/libu2f-server-1.1.0/src'
make[1]: Entering directory '/build/libu2f-server/src/libu2f-server-1.1.0'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/build/libu2f-server/src/libu2f-server-1.1.0'
==> Entering fakeroot environment...
==> Starting package()...
Making install in u2f-server
make[1]: Entering directory '/build/libu2f-server/src/libu2f-server-1.1.0/u2f-server'
make[2]: Entering directory '/build/libu2f-server/src/libu2f-server-1.1.0/u2f-server'
 /usr/bin/mkdir -p '/build/libu2f-server/pkg/libu2f-server/usr/lib'
 /usr/bin/mkdir -p '/build/libu2f-server/pkg/libu2f-server/usr/lib/pkgconfig'
 /usr/bin/mkdir -p '/build/libu2f-server/pkg/libu2f-server/usr/include/u2f-server'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libu2f-server.la '/build/libu2f-server/pkg/libu2f-server/usr/lib'
 /usr/bin/install -c -m 644 u2f-server.pc '/build/libu2f-server/pkg/libu2f-server/usr/lib/pkgconfig'
 /usr/bin/install -c -m 644 u2f-server.h u2f-server-version.h '/build/libu2f-server/pkg/libu2f-server/usr/include/u2f-server'
libtool: install: /usr/bin/install -c .libs/libu2f-server.so.0.1.0 /build/libu2f-server/pkg/libu2f-server/usr/lib/libu2f-server.so.0.1.0
libtool: install: (cd /build/libu2f-server/pkg/libu2f-server/usr/lib && { ln -s -f libu2f-server.so.0.1.0 libu2f-server.so.0 || { rm -f libu2f-server.so.0 && ln -s libu2f-server.so.0.1.0 libu2f-server.so.0; }; })
libtool: install: (cd /build/libu2f-server/pkg/libu2f-server/usr/lib && { ln -s -f libu2f-server.so.0.1.0 libu2f-server.so || { rm -f libu2f-server.so && ln -s libu2f-server.so.0.1.0 libu2f-server.so; }; })
libtool: install: /usr/bin/install -c .libs/libu2f-server.lai /build/libu2f-server/pkg/libu2f-server/usr/lib/libu2f-server.la
libtool: install: /usr/bin/install -c .libs/libu2f-server.a /build/libu2f-server/pkg/libu2f-server/usr/lib/libu2f-server.a
libtool: install: chmod 644 /build/libu2f-server/pkg/libu2f-server/usr/lib/libu2f-server.a
libtool: install: ranlib /build/libu2f-server/pkg/libu2f-server/usr/lib/libu2f-server.a
libtool: warning: remember to run 'libtool --finish /usr/lib'
make[2]: Leaving directory '/build/libu2f-server/src/libu2f-server-1.1.0/u2f-server'
make[1]: Leaving directory '/build/libu2f-server/src/libu2f-server-1.1.0/u2f-server'
Making install in src
make[1]: Entering directory '/build/libu2f-server/src/libu2f-server-1.1.0/src'
make  install-am
make[2]: Entering directory '/build/libu2f-server/src/libu2f-server-1.1.0/src'
make[3]: Entering directory '/build/libu2f-server/src/libu2f-server-1.1.0/src'
 /usr/bin/mkdir -p '/build/libu2f-server/pkg/libu2f-server/usr/bin'
 /usr/bin/mkdir -p '/build/libu2f-server/pkg/libu2f-server/usr/share/man/man1'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c u2f-server '/build/libu2f-server/pkg/libu2f-server/usr/bin'
 /usr/bin/install -c -m 644 ../man/u2f-server.1 '/build/libu2f-server/pkg/libu2f-server/usr/share/man/man1'
libtool: warning: '../u2f-server/libu2f-server.la' has not been installed in '/usr/lib'
libtool: install: /usr/bin/install -c .libs/u2f-server /build/libu2f-server/pkg/libu2f-server/usr/bin/u2f-server
make[3]: Leaving directory '/build/libu2f-server/src/libu2f-server-1.1.0/src'
make[2]: Leaving directory '/build/libu2f-server/src/libu2f-server-1.1.0/src'
make[1]: Leaving directory '/build/libu2f-server/src/libu2f-server-1.1.0/src'
make[1]: Entering directory '/build/libu2f-server/src/libu2f-server-1.1.0'
make[2]: Entering directory '/build/libu2f-server/src/libu2f-server-1.1.0'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/build/libu2f-server/src/libu2f-server-1.1.0'
make[1]: Leaving directory '/build/libu2f-server/src/libu2f-server-1.1.0'
==> 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...
==> Creating package "libu2f-server"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: libu2f-server 1.1.0-6 (Mon Jul  1 07:49:02 2024)
==> Cleaning up...