Mock Version: 3.5
Mock Version: 3.5
Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libu2f-server.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-279830-26726/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffdff56170>timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libu2f-server.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: loongarch64
Building for target loongarch64
Wrote: /builddir/build/SRPMS/libu2f-server-1.0.1-1.ocs23.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libu2f-server.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-279830-26726/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffdff56170>timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libu2f-server.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: loongarch64
Building for target loongarch64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.A2vz9S
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf libu2f-server-1.0.1
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libu2f-server-1.0.1.tar.xz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libu2f-server-1.0.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libu2f-server-1.0.1_fix_memory_errors.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libu2f-server-1.0.1_check_result_json_object.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libu2f-server-1.0.1_fix_refcount_json_object.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libu2f-server-1.0.1_add_support_for_upcoming_json_c_0_14_0.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hFUyrp
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd libu2f-server-1.0.1
+ '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']'
++ find . -type f -name configure -print
+ for file in $(find . -type f -name configure -print)
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure
+ diff -u ./configure.backup ./configure
--- ./configure.backup	2015-07-09 15:48:45.000000000 +0800
+++ ./configure	2024-09-09 21:50:53.563800507 +0800
@@ -1818,7 +1818,7 @@
 #ifdef __cplusplus
 extern "C"
 #endif
-char $2 ();
+__attribute__ ((used)) char $2 ();
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
+ /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure
+ diff -u ./configure.backup ./configure
--- ./configure.backup	2024-09-09 21:50:53.563800507 +0800
+++ ./configure	2024-09-09 21:50:53.587801053 +0800
@@ -14223,7 +14223,7 @@
 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./build-aux/config.guess
+ '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']'
+ /usr/bin/rm -f ./build-aux/config.guess
++ basename ./build-aux/config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./build-aux/config.guess
'/usr/lib/rpm/OpenCloudOS/config.guess' -> './build-aux/config.guess'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./build-aux/config.sub
+ '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']'
+ /usr/bin/rm -f ./build-aux/config.sub
++ basename ./build-aux/config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./build-aux/config.sub
'/usr/lib/rpm/OpenCloudOS/config.sub' -> './build-aux/config.sub'
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']'
++ find . -name ltmain.sh
+ for i in $(find . -name ltmain.sh)
+ /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./build-aux/ltmain.sh
+ ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-rpath --disable-static
configure: WARNING: unrecognized options: --disable-rpath
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 loongarch64-opencloudos-linux-gnu-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... none
checking for loongarch64-opencloudos-linux-gnu-ar... no
checking for loongarch64-opencloudos-linux-gnu-lib... no
checking for loongarch64-opencloudos-linux-gnu-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... loongarch64-opencloudos-linux-gnu
checking host system type... loongarch64-opencloudos-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert loongarch64-opencloudos-linux-gnu file names to loongarch64-opencloudos-linux-gnu format... func_convert_file_noop
checking how to convert loongarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for loongarch64-opencloudos-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for loongarch64-opencloudos-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for loongarch64-opencloudos-linux-gnu-ar... ar
checking for archiver @FILE support... @
checking for loongarch64-opencloudos-linux-gnu-strip... no
checking for strip... strip
checking for loongarch64-opencloudos-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for loongarch64-opencloudos-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -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 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... no
checking for loongarch64-opencloudos-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking if LD -Wl,--version-script works... yes
checking for LIBJSON... yes
checking for json_object_object_get_ex... yes
checking for LIBSSL... yes
checking for LIBCRYPTO... yes
checking for CHECK... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gtk-doc/Makefile
config.status: creating src/Makefile
config.status: creating tests/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: WARNING: unrecognized options: --disable-rpath
configure: summary of build options:
  version:          1.0.1 shared 0:3:0 major 1 minor 0 patch 1 number 0x010001
  Host type:        loongarch64-opencloudos-linux-gnu
  Install prefix:   /usr
  Compiler:         gcc
  Shared library:   yes
  Static library:   no
  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:       -lcheck
+ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+ /usr/bin/make -O -j32 V=1 VERBOSE=1
Making all in u2f-server
make[1]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"libu2f-server\" -DPACKAGE_TARNAME=\"libu2f-server\" -DPACKAGE_VERSION=\"1.0.1\" -DPACKAGE_STRING=\"libu2f-server\ 1.0.1\" -DPACKAGE_BUGREPORT=\"yubico-devel@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libu2f-server\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JSON_OBJECT_OBJECT_GET_EX=1 -I.  -I./.. -I./.. -I/usr/include/json-c     -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o error.lo error.c
libtool: compile:  gcc -DPACKAGE_NAME=\"libu2f-server\" -DPACKAGE_TARNAME=\"libu2f-server\" -DPACKAGE_VERSION=\"1.0.1\" "-DPACKAGE_STRING=\"libu2f-server 1.0.1\"" -DPACKAGE_BUGREPORT=\"yubico-devel@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libu2f-server\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JSON_OBJECT_OBJECT_GET_EX=1 -I. -I./.. -I./.. -I/usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c error.c  -fPIC -DPIC -o .libs/error.o
make[1]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
make[1]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"libu2f-server\" -DPACKAGE_TARNAME=\"libu2f-server\" -DPACKAGE_VERSION=\"1.0.1\" -DPACKAGE_STRING=\"libu2f-server\ 1.0.1\" -DPACKAGE_BUGREPORT=\"yubico-devel@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libu2f-server\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JSON_OBJECT_OBJECT_GET_EX=1 -I.  -I./.. -I./.. -I/usr/include/json-c     -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o cencode.lo cencode.c
libtool: compile:  gcc -DPACKAGE_NAME=\"libu2f-server\" -DPACKAGE_TARNAME=\"libu2f-server\" -DPACKAGE_VERSION=\"1.0.1\" "-DPACKAGE_STRING=\"libu2f-server 1.0.1\"" -DPACKAGE_BUGREPORT=\"yubico-devel@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libu2f-server\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JSON_OBJECT_OBJECT_GET_EX=1 -I. -I./.. -I./.. -I/usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c cencode.c  -fPIC -DPIC -o .libs/cencode.o
make[1]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
make[1]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"libu2f-server\" -DPACKAGE_TARNAME=\"libu2f-server\" -DPACKAGE_VERSION=\"1.0.1\" -DPACKAGE_STRING=\"libu2f-server\ 1.0.1\" -DPACKAGE_BUGREPORT=\"yubico-devel@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libu2f-server\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JSON_OBJECT_OBJECT_GET_EX=1 -I.  -I./.. -I./.. -I/usr/include/json-c     -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o global.lo global.c
libtool: compile:  gcc -DPACKAGE_NAME=\"libu2f-server\" -DPACKAGE_TARNAME=\"libu2f-server\" -DPACKAGE_VERSION=\"1.0.1\" "-DPACKAGE_STRING=\"libu2f-server 1.0.1\"" -DPACKAGE_BUGREPORT=\"yubico-devel@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libu2f-server\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JSON_OBJECT_OBJECT_GET_EX=1 -I. -I./.. -I./.. -I/usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c global.c  -fPIC -DPIC -o .libs/global.o
make[1]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
make[1]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"libu2f-server\" -DPACKAGE_TARNAME=\"libu2f-server\" -DPACKAGE_VERSION=\"1.0.1\" -DPACKAGE_STRING=\"libu2f-server\ 1.0.1\" -DPACKAGE_BUGREPORT=\"yubico-devel@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libu2f-server\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JSON_OBJECT_OBJECT_GET_EX=1 -I.  -I./.. -I./.. -I/usr/include/json-c     -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o cdecode.lo cdecode.c
libtool: compile:  gcc -DPACKAGE_NAME=\"libu2f-server\" -DPACKAGE_TARNAME=\"libu2f-server\" -DPACKAGE_VERSION=\"1.0.1\" "-DPACKAGE_STRING=\"libu2f-server 1.0.1\"" -DPACKAGE_BUGREPORT=\"yubico-devel@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libu2f-server\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JSON_OBJECT_OBJECT_GET_EX=1 -I. -I./.. -I./.. -I/usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c cdecode.c  -fPIC -DPIC -o .libs/cdecode.o
make[1]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
make[1]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"libu2f-server\" -DPACKAGE_TARNAME=\"libu2f-server\" -DPACKAGE_VERSION=\"1.0.1\" -DPACKAGE_STRING=\"libu2f-server\ 1.0.1\" -DPACKAGE_BUGREPORT=\"yubico-devel@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libu2f-server\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JSON_OBJECT_OBJECT_GET_EX=1 -I.  -I./.. -I./.. -I/usr/include/json-c     -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o version.lo version.c
libtool: compile:  gcc -DPACKAGE_NAME=\"libu2f-server\" -DPACKAGE_TARNAME=\"libu2f-server\" -DPACKAGE_VERSION=\"1.0.1\" "-DPACKAGE_STRING=\"libu2f-server 1.0.1\"" -DPACKAGE_BUGREPORT=\"yubico-devel@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libu2f-server\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JSON_OBJECT_OBJECT_GET_EX=1 -I. -I./.. -I./.. -I/usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c version.c  -fPIC -DPIC -o .libs/version.o
make[1]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
make[1]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"libu2f-server\" -DPACKAGE_TARNAME=\"libu2f-server\" -DPACKAGE_VERSION=\"1.0.1\" -DPACKAGE_STRING=\"libu2f-server\ 1.0.1\" -DPACKAGE_BUGREPORT=\"yubico-devel@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libu2f-server\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JSON_OBJECT_OBJECT_GET_EX=1 -I.  -I./.. -I./.. -I/usr/include/json-c     -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o sha256.lo sha256.c
libtool: compile:  gcc -DPACKAGE_NAME=\"libu2f-server\" -DPACKAGE_TARNAME=\"libu2f-server\" -DPACKAGE_VERSION=\"1.0.1\" "-DPACKAGE_STRING=\"libu2f-server 1.0.1\"" -DPACKAGE_BUGREPORT=\"yubico-devel@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libu2f-server\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JSON_OBJECT_OBJECT_GET_EX=1 -I. -I./.. -I./.. -I/usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c sha256.c  -fPIC -DPIC -o .libs/sha256.o
make[1]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
sha256.c: In function 'sha256_process':
sha256.c:153:7: warning: unused variable 'err' [-Wunused-variable]
  153 |   int err;
      |       ^~~
make[1]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"libu2f-server\" -DPACKAGE_TARNAME=\"libu2f-server\" -DPACKAGE_VERSION=\"1.0.1\" -DPACKAGE_STRING=\"libu2f-server\ 1.0.1\" -DPACKAGE_BUGREPORT=\"yubico-devel@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libu2f-server\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JSON_OBJECT_OBJECT_GET_EX=1 -I.  -I./.. -I./.. -I/usr/include/json-c     -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o openssl.lo openssl.c
libtool: compile:  gcc -DPACKAGE_NAME=\"libu2f-server\" -DPACKAGE_TARNAME=\"libu2f-server\" -DPACKAGE_VERSION=\"1.0.1\" "-DPACKAGE_STRING=\"libu2f-server 1.0.1\"" -DPACKAGE_BUGREPORT=\"yubico-devel@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libu2f-server\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JSON_OBJECT_OBJECT_GET_EX=1 -I. -I./.. -I./.. -I/usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c openssl.c  -fPIC -DPIC -o .libs/openssl.o
make[1]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
openssl.c: In function 'decode_X509':
openssl.c:94:15: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   94 |               ERR_func_error_string(err), ERR_reason_error_string(err));
      |               ^~~~~~~~~~~~~~~~~~~~~
In file included from openssl.c:33:
/usr/include/openssl/err.h:459:35: 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:121:15: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  121 |               ERR_func_error_string(err), ERR_reason_error_string(err));
      |               ^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/err.h:459:35: 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:136:3: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  136 |   *key = (u2fs_EC_KEY_t *) EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
      |   ^
In file included from /usr/include/openssl/x509.h:33,
                 from /usr/include/openssl/ssl.h:31,
                 from openssl.c:32:
/usr/include/openssl/ec.h:998:31: note: declared here
  998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
openssl.c:148:15: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  148 |               ERR_func_error_string(err), ERR_reason_error_string(err));
      |               ^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/err.h:459:35: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
openssl.c:161:3: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  161 |   if (EC_KEY_set_public_key((EC_KEY *) * key, point) == 0) {
      |   ^~
/usr/include/openssl/ec.h:1070:27: note: declared here
 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
      |                           ^~~~~~~~~~~~~~~~~~~~~
openssl.c:167:15: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  167 |               ERR_func_error_string(err), ERR_reason_error_string(err));
      |               ^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/err.h:459:35: 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:189:7: warning: 'ECDSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  189 |       ECDSA_do_verify(dgst, dgst_len, (ECDSA_SIG *) sig, (EC_KEY *) eckey);
      |       ^~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1391:27: note: declared here
 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len,
      |                           ^~~~~~~~~~~~~~~
openssl.c:198:17: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  198 |                 ERR_func_error_string(err), ERR_reason_error_string(err));
      |                 ^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/err.h:459:35: 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:223:15: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  223 |               ERR_func_error_string(err), ERR_reason_error_string(err));
      |               ^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/err.h:459:35: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
openssl.c:228:3: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  228 |   *key = (u2fs_EC_KEY_t *) EVP_PKEY_get1_EC_KEY(pkey);
      |   ^
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:239:15: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  239 |               ERR_func_error_string(err), ERR_reason_error_string(err));
      |               ^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/err.h:459:35: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
openssl.c:246:3: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  246 |   EC_KEY_set_asn1_flag((EC_KEY *) * key, OPENSSL_EC_NAMED_CURVE);
      |   ^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1087:28: note: declared here
 1087 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag);
      |                            ^~~~~~~~~~~~~~~~~~~~
openssl.c:247:3: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  247 |   EC_KEY_set_group((EC_KEY *) * key, ecg);
      |   ^~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1042:27: note: declared here
 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
      |                           ^~~~~~~~~~~~~~~~
openssl.c: In function 'dup_key':
openssl.c:257:3: warning: 'EC_KEY_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  257 |   return (u2fs_EC_KEY_t *) EC_KEY_dup((EC_KEY *) key);
      |   ^~~~~~
/usr/include/openssl/ec.h:1016:31: note: declared here
 1016 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_dup(const EC_KEY *src);
      |                               ^~~~~~~~~~
openssl.c: In function 'free_key':
openssl.c:262:3: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  262 |   EC_KEY_free((EC_KEY *) key);
      |   ^~~~~~~~~~~
/usr/include/openssl/ec.h:1003:28: note: declared here
 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
openssl.c: In function 'dump_user_key':
openssl.c:293:3: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  293 |   const EC_POINT *point = EC_KEY_get0_public_key((EC_KEY *) key);
      |   ^~~~~
/usr/include/openssl/ec.h:1062:39: note: declared here
 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
make[1]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"libu2f-server\" -DPACKAGE_TARNAME=\"libu2f-server\" -DPACKAGE_VERSION=\"1.0.1\" -DPACKAGE_STRING=\"libu2f-server\ 1.0.1\" -DPACKAGE_BUGREPORT=\"yubico-devel@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libu2f-server\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JSON_OBJECT_OBJECT_GET_EX=1 -I.  -I./.. -I./.. -I/usr/include/json-c     -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o core.lo core.c
libtool: compile:  gcc -DPACKAGE_NAME=\"libu2f-server\" -DPACKAGE_TARNAME=\"libu2f-server\" -DPACKAGE_VERSION=\"1.0.1\" "-DPACKAGE_STRING=\"libu2f-server 1.0.1\"" -DPACKAGE_BUGREPORT=\"yubico-devel@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libu2f-server\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JSON_OBJECT_OBJECT_GET_EX=1 -I. -I./.. -I./.. -I/usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c core.c  -fPIC -DPIC -o .libs/core.o
make[1]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
make[1]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
/bin/sh ../libtool  --tag=CC   --mode=link gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -version-info 0:3:0 -Wl,--version-script=./u2f-server.map  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o libu2f-server.la -rpath /usr/lib64 global.lo version.lo error.lo core.lo sha256.lo cencode.lo cdecode.lo openssl.lo  -ljson-c -lssl 
libtool: link: gcc -shared  -fPIC -DPIC  .libs/global.o .libs/version.o .libs/error.o .libs/core.o .libs/sha256.o .libs/cencode.o .libs/cdecode.o .libs/openssl.o   -ljson-c -lssl -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -Wl,--version-script=./u2f-server.map -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1   -Wl,-soname -Wl,libu2f-server.so.0 -o .libs/libu2f-server.so.0.0.3
libtool: link: (cd ".libs" && rm -f "libu2f-server.so.0" && ln -s "libu2f-server.so.0.0.3" "libu2f-server.so.0")
libtool: link: (cd ".libs" && rm -f "libu2f-server.so" && ln -s "libu2f-server.so.0.0.3" "libu2f-server.so")
libtool: link: ( cd ".libs" && rm -f "libu2f-server.la" && ln -s "../libu2f-server.la" "libu2f-server.la" )
make[1]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
Making all in src
/usr/bin/make  all-am
make[2]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/src'
gcc -DPACKAGE_NAME=\"libu2f-server\" -DPACKAGE_TARNAME=\"libu2f-server\" -DPACKAGE_VERSION=\"1.0.1\" -DPACKAGE_STRING=\"libu2f-server\ 1.0.1\" -DPACKAGE_BUGREPORT=\"yubico-devel@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libu2f-server\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JSON_OBJECT_OBJECT_GET_EX=1 -I.  -I./.. -I./.. -I./../u2f-server    -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o u2f-server.o u2f-server.c
make[2]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/src'
make[2]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/src'
gcc -DPACKAGE_NAME=\"libu2f-server\" -DPACKAGE_TARNAME=\"libu2f-server\" -DPACKAGE_VERSION=\"1.0.1\" -DPACKAGE_STRING=\"libu2f-server\ 1.0.1\" -DPACKAGE_BUGREPORT=\"yubico-devel@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libu2f-server\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JSON_OBJECT_OBJECT_GET_EX=1 -I.  -I./.. -I./.. -I./../u2f-server    -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o cmdline.o cmdline.c
make[2]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/src'
cmdline.c: In function 'update_arg':
cmdline.c:459:9: warning: variable 'stop_char' set but not used [-Wunused-but-set-variable]
  459 |   char *stop_char = 0;
      |         ^~~~~~~~~
make[2]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/src'
/bin/sh ../libtool  --tag=CC   --mode=link gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o u2f-server u2f-server.o cmdline.o ../u2f-server/libu2f-server.la 
libtool: link: DIE_RPATH_DIE="/usr/lib64:" gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/u2f-server u2f-server.o cmdline.o  ../u2f-server/.libs/libu2f-server.so
make[2]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/src'
Making all in tests
make[1]: Nothing to be done for 'all'.
Making all in gtk-doc
make[1]: Nothing to be done for 'all'.
make[1]: Nothing to be done for 'all-am'.
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SfeFpi
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64
++ dirname /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64
+ cd libu2f-server-1.0.1
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64 'INSTALL=/usr/bin/install -p'
Making install in u2f-server
make[1]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
make[2]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/lib64'
 /bin/sh ../libtool   --mode=install /usr/bin/install -p   libu2f-server.la '/builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/lib64'
libtool: install: /usr/bin/install -p .libs/libu2f-server.so.0.0.3 /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/lib64/libu2f-server.so.0.0.3
libtool: install: (cd /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/lib64 && { ln -s -f libu2f-server.so.0.0.3 libu2f-server.so.0 || { rm -f libu2f-server.so.0 && ln -s libu2f-server.so.0.0.3 libu2f-server.so.0; }; })
libtool: install: (cd /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/lib64 && { ln -s -f libu2f-server.so.0.0.3 libu2f-server.so || { rm -f libu2f-server.so && ln -s libu2f-server.so.0.0.3 libu2f-server.so; }; })
libtool: install: /usr/bin/install -p .libs/libu2f-server.lai /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/lib64/libu2f-server.la
libtool: install: warning: remember to run `libtool --finish /usr/lib64'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/lib64/pkgconfig'
 /usr/bin/install -p -m 644 u2f-server.pc '/builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/lib64/pkgconfig'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/include/u2f-server'
 /usr/bin/install -p -m 644 u2f-server.h u2f-server-version.h '/builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/include/u2f-server'
make[2]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
make[1]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
Making install in src
make[1]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/src'
/usr/bin/make  install-am
make[2]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/src'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -p u2f-server '/builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/bin'
libtool: install: warning: `../u2f-server/libu2f-server.la' has not been installed in `/usr/lib64'
libtool: install: /usr/bin/install -p .libs/u2f-server /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/bin/u2f-server
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/share/man/man1'
 /usr/bin/install -p -m 644 ../man/u2f-server.1 '/builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/share/man/man1'
make[3]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/src'
make[2]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/src'
make[1]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/src'
Making install in tests
make[1]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/tests'
make[2]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/tests'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/tests'
make[1]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/tests'
Making install in gtk-doc
make[1]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/gtk-doc'
make[2]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/gtk-doc'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/install -p -m 644 ./html/api-index-full.html
 /usr/bin/install -p -m 644 ./html/home.png
 /usr/bin/install -p -m 644 ./html/index.html
 /usr/bin/install -p -m 644 ./html/index.sgml
 /usr/bin/install -p -m 644 ./html/intro.html
 /usr/bin/install -p -m 644 ./html/left-insensitive.png
 /usr/bin/install -p -m 644 ./html/left.png
 /usr/bin/install -p -m 644 ./html/right-insensitive.png
 /usr/bin/install -p -m 644 ./html/right.png
 /usr/bin/install -p -m 644 ./html/style.css
 /usr/bin/install -p -m 644 ./html/u2f-server-u2f-server-version.html
 /usr/bin/install -p -m 644 ./html/u2f-server-u2f-server.html
 /usr/bin/install -p -m 644 ./html/u2f-server.devhelp2
 /usr/bin/install -p -m 644 ./html/up-insensitive.png
 /usr/bin/install -p -m 644 ./html/up.png
make[2]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/gtk-doc'
make[1]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/gtk-doc'
make[1]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1'
make[2]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1'
make[1]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1'
+ find /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64 -name '*.la' -exec rm -f '{}' ';'
+ /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.0.1-1.ocs23 --unique-debug-suffix -1.0.1-1.ocs23.loongarch64 --unique-debug-src-base libu2f-server-1.0.1-1.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/libu2f-server-1.0.1
extracting debug info from /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/bin/u2f-server
extracting debug info from /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/lib64/libu2f-server.so.0.0.3
233 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/OpenCloudOS/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs
+ /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.7PEm00
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd libu2f-server-1.0.1
++ pwd
+ LD_LIBRARY_PATH=/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server/.libs
+ make check
Making check in u2f-server
make[1]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/u2f-server'
Making check in src
make[1]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/src'
make  check-am
make[2]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/src'
make[2]: Nothing to be done for 'check-am'.
make[2]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/src'
make[1]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/src'
Making check in tests
make[1]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/tests'
make  basic core openssl \
  u2f-server-test.sh
make[2]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/tests'
  CC       basic.o
In file included from basic.c:37:
basic.c: In function 'test_utils_fn':
basic.c:59:17: warning: format '%d' expects a matching 'int' argument [-Wformat=]
   59 |                 "u2fs_global_init rc %d\n, rc");
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
basic.c:59:39: note: format string is defined here
   59 |                 "u2fs_global_init rc %d\n, rc");
      |                                      ~^
      |                                       |
      |                                       int
  CCLD     basic
  CC       core.o
  CCLD     core
  CC       openssl.o
In file included from openssl.c:1:
../u2f-server/openssl.c: In function 'decode_X509':
../u2f-server/openssl.c:94:15: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   94 |               ERR_func_error_string(err), ERR_reason_error_string(err));
      |               ^~~~~~~~~~~~~~~~~~~~~
In file included from ../u2f-server/openssl.c:33:
/usr/include/openssl/err.h:459:35: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
../u2f-server/openssl.c: In function 'decode_ECDSA':
../u2f-server/openssl.c:121:15: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  121 |               ERR_func_error_string(err), ERR_reason_error_string(err));
      |               ^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/err.h:459:35: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
../u2f-server/openssl.c: In function 'decode_user_key':
../u2f-server/openssl.c:136:3: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  136 |   *key = (u2fs_EC_KEY_t *) EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
      |   ^
In file included from /usr/include/openssl/x509.h:33,
                 from /usr/include/openssl/ssl.h:31,
                 from ../u2f-server/openssl.c:32:
/usr/include/openssl/ec.h:998:31: note: declared here
  998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
../u2f-server/openssl.c:148:15: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  148 |               ERR_func_error_string(err), ERR_reason_error_string(err));
      |               ^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/err.h:459:35: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
../u2f-server/openssl.c:161:3: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  161 |   if (EC_KEY_set_public_key((EC_KEY *) * key, point) == 0) {
      |   ^~
/usr/include/openssl/ec.h:1070:27: note: declared here
 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
      |                           ^~~~~~~~~~~~~~~~~~~~~
../u2f-server/openssl.c:167:15: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  167 |               ERR_func_error_string(err), ERR_reason_error_string(err));
      |               ^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/err.h:459:35: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
../u2f-server/openssl.c: In function 'verify_ECDSA':
../u2f-server/openssl.c:189:7: warning: 'ECDSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  189 |       ECDSA_do_verify(dgst, dgst_len, (ECDSA_SIG *) sig, (EC_KEY *) eckey);
      |       ^~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1391:27: note: declared here
 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len,
      |                           ^~~~~~~~~~~~~~~
../u2f-server/openssl.c:198:17: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  198 |                 ERR_func_error_string(err), ERR_reason_error_string(err));
      |                 ^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/err.h:459:35: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
../u2f-server/openssl.c: In function 'extract_EC_KEY_from_X509':
../u2f-server/openssl.c:223:15: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  223 |               ERR_func_error_string(err), ERR_reason_error_string(err));
      |               ^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/err.h:459:35: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
../u2f-server/openssl.c:228:3: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  228 |   *key = (u2fs_EC_KEY_t *) EVP_PKEY_get1_EC_KEY(pkey);
      |   ^
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);
      |                   ^~~~~~~~~~~~~~~~~~~~
../u2f-server/openssl.c:239:15: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  239 |               ERR_func_error_string(err), ERR_reason_error_string(err));
      |               ^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/err.h:459:35: note: declared here
  459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
../u2f-server/openssl.c:246:3: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  246 |   EC_KEY_set_asn1_flag((EC_KEY *) * key, OPENSSL_EC_NAMED_CURVE);
      |   ^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1087:28: note: declared here
 1087 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag);
      |                            ^~~~~~~~~~~~~~~~~~~~
../u2f-server/openssl.c:247:3: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  247 |   EC_KEY_set_group((EC_KEY *) * key, ecg);
      |   ^~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1042:27: note: declared here
 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
      |                           ^~~~~~~~~~~~~~~~
../u2f-server/openssl.c: In function 'dup_key':
../u2f-server/openssl.c:257:3: warning: 'EC_KEY_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  257 |   return (u2fs_EC_KEY_t *) EC_KEY_dup((EC_KEY *) key);
      |   ^~~~~~
/usr/include/openssl/ec.h:1016:31: note: declared here
 1016 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_dup(const EC_KEY *src);
      |                               ^~~~~~~~~~
../u2f-server/openssl.c: In function 'free_key':
../u2f-server/openssl.c:262:3: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  262 |   EC_KEY_free((EC_KEY *) key);
      |   ^~~~~~~~~~~
/usr/include/openssl/ec.h:1003:28: note: declared here
 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
../u2f-server/openssl.c: In function 'dump_user_key':
../u2f-server/openssl.c:293:3: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  293 |   const EC_POINT *point = EC_KEY_get0_public_key((EC_KEY *) key);
      |   ^~~~~
/usr/include/openssl/ec.h:1062:39: note: declared here
 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
  CCLD     openssl
make[2]: Nothing to be done for 'u2f-server-test.sh'.
make[2]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/tests'
make  check-TESTS
make[2]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/tests'
make[3]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/tests'
PASS: basic
PASS: core
PASS: openssl
PASS: u2f-server-test.sh
make[4]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/tests'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/tests'
============================================================================
Testsuite summary for libu2f-server 1.0.1
============================================================================
# TOTAL: 4
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[3]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/tests'
make[2]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/tests'
make[1]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/tests'
Making check in gtk-doc
make[1]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1/gtk-doc'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1/gtk-doc'
make[1]: Entering directory '/builddir/build/BUILD/libu2f-server-1.0.1'
make[1]: Nothing to be done for 'check-am'.
make[1]: Leaving directory '/builddir/build/BUILD/libu2f-server-1.0.1'
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: libu2f-server-1.0.1-1.ocs23.loongarch64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.R4KHgO
+ umask 022
+ cd /builddir/build/BUILD
+ cd libu2f-server-1.0.1
+ DOCDIR=/builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/share/doc/libu2f-server
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/share/doc/libu2f-server
+ cp -pr README /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/share/doc/libu2f-server
+ cp -pr AUTHORS /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/share/doc/libu2f-server
+ cp -pr NEWS /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/share/doc/libu2f-server
+ cp -pr THANKS /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/share/doc/libu2f-server
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.NhF3rC
+ umask 022
+ cd /builddir/build/BUILD
+ cd libu2f-server-1.0.1
+ LICENSEDIR=/builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/share/licenses/libu2f-server
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/share/licenses/libu2f-server
+ cp -pr COPYING /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64/usr/share/licenses/libu2f-server
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: bundled(gnulib) libu2f-server = 1.0.1-1.ocs23 libu2f-server(loongarch-64) = 1.0.1-1.ocs23 libu2f-server.so.0()(64bit) libu2f-server.so.0(U2F_SERVER_0.0.0)(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libjson-c.so.5()(64bit) libjson-c.so.5(JSONC_0.14)(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) rtld(GNU_HASH)
Processing files: u2f-server-1.0.1-1.ocs23.loongarch64
Provides: u2f-server = 1.0.1-1.ocs23 u2f-server(loongarch-64) = 1.0.1-1.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libu2f-server.so.0()(64bit) libu2f-server.so.0(U2F_SERVER_0.0.0)(64bit) rtld(GNU_HASH)
Processing files: libu2f-server-devel-1.0.1-1.ocs23.loongarch64
Provides: libu2f-server-devel = 1.0.1-1.ocs23 libu2f-server-devel(loongarch-64) = 1.0.1-1.ocs23 pkgconfig(u2f-server) = 1.0.1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/pkg-config libu2f-server.so.0()(64bit)
Processing files: libu2f-server-debugsource-1.0.1-1.ocs23.loongarch64
Provides: libu2f-server-debugsource = 1.0.1-1.ocs23 libu2f-server-debugsource(loongarch-64) = 1.0.1-1.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: libu2f-server-debuginfo-1.0.1-1.ocs23.loongarch64
Provides: debuginfo(build-id) = 30c4c990f944e92ea4b3b1f4779a33a03ab83321 libu2f-server-debuginfo = 1.0.1-1.ocs23 libu2f-server-debuginfo(loongarch-64) = 1.0.1-1.ocs23 libu2f-server.so.0.0.3-1.0.1-1.ocs23.loongarch64.debug()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: libu2f-server-debugsource(loongarch-64) = 1.0.1-1.ocs23
Processing files: u2f-server-debuginfo-1.0.1-1.ocs23.loongarch64
Provides: debuginfo(build-id) = 9230cf9b097a05f33b8daed4d88b3120211ff109 u2f-server-debuginfo = 1.0.1-1.ocs23 u2f-server-debuginfo(loongarch-64) = 1.0.1-1.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: libu2f-server-debugsource(loongarch-64) = 1.0.1-1.ocs23
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libu2f-server-1.0.1-1.ocs23.loongarch64
Wrote: /builddir/build/RPMS/libu2f-server-1.0.1-1.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/u2f-server-debuginfo-1.0.1-1.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/u2f-server-1.0.1-1.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/libu2f-server-devel-1.0.1-1.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/libu2f-server-debugsource-1.0.1-1.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/libu2f-server-debuginfo-1.0.1-1.ocs23.loongarch64.rpm
Child return code was: 0