Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/yubico-piv-tool.spec'], chrootPath='/var/lib/mock/f31-build-116545-34557/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/yubico-piv-tool.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Wrote: /builddir/build/SRPMS/yubico-piv-tool-1.7.0-2.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/yubico-piv-tool.spec'], chrootPath='/var/lib/mock/f31-build-116545-34557/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/yubico-piv-tool.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kQymuh + umask 022 + cd /builddir/build/BUILD + gpgv2 --quiet --keyring /builddir/build/SOURCES/gpgkey-B2168C0A.gpg /builddir/build/SOURCES/yubico-piv-tool-1.7.0.tar.gz.sig /builddir/build/SOURCES/yubico-piv-tool-1.7.0.tar.gz BUILDSTDERR: gpgv: Signature made Wed Apr 3 03:54:10 2019 EDT BUILDSTDERR: gpgv: using RSA key 0A3B0262BCA1705307D5FF06BCA00FD4B2168C0A BUILDSTDERR: gpgv: Good signature from "Klas Lindfors " + cd /builddir/build/BUILD + rm -rf yubico-piv-tool-1.7.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/yubico-piv-tool-1.7.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd yubico-piv-tool-1.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BII7Xf + umask 022 + cd /builddir/build/BUILD + cd yubico-piv-tool-1.7.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess BUILDSTDERR: ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub BUILDSTDERR: ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ 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/redhat/redhat-hardened-ld"~' ./build-aux/ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 --with-backend=pcsc 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 riscv64-redhat-linux-gnu-gcc... no 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... none checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-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 how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-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 a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-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... no 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 for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for OPENSSL... yes checking for CHECK... yes checking for riscv64-redhat-linux-gnu-doxygen... no checking for doxygen... no BUILDSTDERR: configure: WARNING: doxygen not found - will not generate any doxygen documentation checking for riscv64-redhat-linux-gnu-perl... no checking for perl... /usr/bin/perl checking if LD -Wl,--version-script works... yes checking for valgrind... no checking whether self tests are run under valgrind... no checking for clang... no checking for PCSC... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating lib/tests/Makefile config.status: creating tool/Makefile config.status: creating tool/tests/Makefile config.status: creating lib/ykpiv-version.h config.status: creating lib/ykpiv.pc config.status: creating ykcs11/Makefile config.status: creating ykcs11/ykcs11-version.h config.status: creating ykcs11/ykcs11.pc config.status: creating ykcs11/tests/Makefile config.status: executing depfiles commands config.status: executing libtool commands configure: summary of build options: Version: 1.7.0 Host type: riscv64-redhat-linux-gnu Install prefix: /usr Compiler: gcc CFLAGS: -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection CPPFLAGS: Warnings: Backend: pcsc OpenSSL version: 1.1.1c PCSC CFLAGS: -I/usr/include/PCSC -pthread LIBS: -lpcsclite Winscard LIBS: Mac PCSC LIBS: Custom PCSC LIBS: YKCS11 debug: DISABLED Hardware tests: DISABLED + make -j4 Making all in lib make[1]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib' Making all in . make[2]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib' CC ykpiv.lo CC util.lo CC internal.lo CC version.lo CC error.lo CCLD libykpiv.la make[2]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib' Making all in tests make[2]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib/tests' make[1]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib' Making all in tool make[1]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' make all-recursive make[2]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' Making all in . make[3]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' CC libpiv_cmd_la-cmdline.lo CC util.lo CC openssl-compat.lo CC yubico-piv-tool.o CCLD libpiv_util.la CCLD libpiv_cmd.la CCLD yubico-piv-tool make[3]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' Making all in tests make[3]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool/tests' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool/tests' make[2]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' make[1]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' Making all in ykcs11 make[1]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11' Making all in . make[2]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11' CC ykcs11.lo CC vendors.lo CC slot_vendors.lo CC token_vendors.lo CC mechanisms.lo CC yubico_slot.lo CC yubico_token.lo CC utils.lo CC openssl_utils.lo CC objects.lo CCLD libykcs11.la make[2]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11' Making all in tests make[2]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11/tests' make[1]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11' make[1]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mejX6h + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64 + cd yubico-piv-tool-1.7.0 + make install DESTDIR=/builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64 Making install in lib make[1]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib' Making install in . make[2]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib' make[3]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c libykpiv.la '/builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libykpiv.so.1.5.0 /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykpiv.so.1.5.0 libtool: install: (cd /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64 && { ln -s -f libykpiv.so.1.5.0 libykpiv.so.1 || { rm -f libykpiv.so.1 && ln -s libykpiv.so.1.5.0 libykpiv.so.1; }; }) libtool: install: (cd /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64 && { ln -s -f libykpiv.so.1.5.0 libykpiv.so || { rm -f libykpiv.so && ln -s libykpiv.so.1.5.0 libykpiv.so; }; }) libtool: install: /usr/bin/install -c .libs/libykpiv.lai /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykpiv.la libtool: install: /usr/bin/install -c .libs/libykpiv.a /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykpiv.a libtool: install: chmod 644 /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykpiv.a libtool: install: ranlib /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykpiv.a BUILDSTDERR: libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/include/ykpiv' /usr/bin/install -c -m 644 ykpiv.h ykpiv-version.h '/builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/include/ykpiv' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/pkgconfig' /usr/bin/install -c -m 644 ykpiv.pc '/builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/pkgconfig' make[3]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib' make[2]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib' Making install in tests make[2]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib/tests' make[3]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib/tests' make[2]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib/tests' make[1]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib' Making install in tool make[1]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' make install-recursive make[2]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' Making install in . make[3]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' make[4]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c yubico-piv-tool '/builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/bin' BUILDSTDERR: libtool: warning: '../lib/libykpiv.la' has not been installed in '/usr/lib64' BUILDSTDERR: libtool: warning: '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib/libykpiv.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/yubico-piv-tool /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/bin/yubico-piv-tool /usr/bin/mkdir -p '/builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/share/man/man1' /usr/bin/install -c -m 644 yubico-piv-tool.1 '/builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/share/man/man1' make[4]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' make[3]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' Making install in tests make[3]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool/tests' make[4]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool/tests' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool/tests' make[3]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool/tests' make[2]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' make[1]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' Making install in ykcs11 make[1]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11' Making install in . make[2]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11' make[3]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c libykcs11.la '/builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64' BUILDSTDERR: libtool: warning: relinking 'libykcs11.la' libtool: install: (cd /builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11; /bin/sh "/builddir/build/BUILD/yubico-piv-tool-1.7.0/libtool" --silent --tag CC --mode=relink gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -version-info 6:0:5 -Wl,--version-script=./ykcs11.map -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libykcs11.la -rpath /usr/lib64 ykcs11.lo vendors.lo slot_vendors.lo token_vendors.lo mechanisms.lo yubico_slot.lo yubico_token.lo utils.lo openssl_utils.lo objects.lo ../lib/libykpiv.la ../tool/libpiv_util.la -inst-prefix-dir /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64) libtool: install: /usr/bin/install -c .libs/libykcs11.so.1.5.0T /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykcs11.so.1.5.0 libtool: install: (cd /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64 && { ln -s -f libykcs11.so.1.5.0 libykcs11.so.1 || { rm -f libykcs11.so.1 && ln -s libykcs11.so.1.5.0 libykcs11.so.1; }; }) libtool: install: (cd /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64 && { ln -s -f libykcs11.so.1.5.0 libykcs11.so || { rm -f libykcs11.so && ln -s libykcs11.so.1.5.0 libykcs11.so; }; }) libtool: install: /usr/bin/install -c .libs/libykcs11.lai /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykcs11.la libtool: install: /usr/bin/install -c .libs/libykcs11.a /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykcs11.a libtool: install: chmod 644 /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykcs11.a libtool: install: ranlib /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykcs11.a BUILDSTDERR: libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/pkgconfig' /usr/bin/install -c -m 644 ykcs11.pc '/builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/pkgconfig' make[3]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11' make[2]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11' Making install in tests make[2]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11/tests' make[3]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11/tests' make[2]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11/tests' make[1]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11' make[1]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0' make[2]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.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 '/builddir/build/BUILD/yubico-piv-tool-1.7.0' make[1]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0' + chrpath --delete /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/bin/yubico-piv-tool + chrpath --delete /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykcs11.so.1 /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykcs11.so.1.5.0 + rm -f /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykpiv.la /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykpiv.a + rm -f /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykcs11.la /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykcs11.a + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.7.0-2.fc31 --unique-debug-suffix -1.7.0-2.fc31.riscv64 --unique-debug-src-base yubico-piv-tool-1.7.0-2.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/yubico-piv-tool-1.7.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/bin/yubico-piv-tool extracting debug info from /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/bin/yubico-piv-tool explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykcs11.so.1.5.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykpiv.so.1.5.0 extracting debug info from /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykcs11.so.1.5.0 extracting debug info from /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/lib64/libykpiv.so.1.5.0 original debug info size: 880kB, size after compression: 828kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1148 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.bRcJig + umask 022 + cd /builddir/build/BUILD + cd yubico-piv-tool-1.7.0 + make check Making check in lib make[1]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib' Making check in . make[2]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib' Making check in tests make[2]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib/tests' make basic parse_key api make[3]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib/tests' CC basic.o CCLD basic CC parse_key.o CCLD parse_key CC api.o CCLD api make[3]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib/tests' make check-TESTS make[3]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib/tests' make[4]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib/tests' PASS: basic PASS: parse_key PASS: api ============================================================================ Testsuite summary for yubico-piv-tool 1.7.0 ============================================================================ # TOTAL: 3 # PASS: 3 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib/tests' make[3]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib/tests' make[2]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib/tests' make[1]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/lib' Making check in tool make[1]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' make check-recursive make[2]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' Making check in . make[3]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' Making check in tests make[3]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool/tests' make parse_name test_inout make[4]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool/tests' CC parse_name.o CCLD parse_name CC test_inout.o CCLD test_inout make[4]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool/tests' make check-TESTS make[4]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool/tests' make[5]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool/tests' PASS: basic.sh PASS: parse_name PASS: test_inout ============================================================================ Testsuite summary for yubico-piv-tool 1.7.0 ============================================================================ # TOTAL: 3 # PASS: 3 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[5]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool/tests' make[4]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool/tests' make[3]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool/tests' make[2]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' make[1]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/tool' Making check in ykcs11 make[1]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11' Making check in . make[2]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11' Making check in tests make[2]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11/tests' make ykcs11_tests make[3]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11/tests' CC ykcs11_tests.o BUILDSTDERR: ykcs11_tests.c:43: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] BUILDSTDERR: 43 | #pragma clang diagnostic push BUILDSTDERR: | BUILDSTDERR: ykcs11_tests.c:44: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] BUILDSTDERR: 44 | #pragma clang diagnostic ignored "-Wpointer-sign" BUILDSTDERR: | BUILDSTDERR: ykcs11_tests.c: In function 'test_lib_info': BUILDSTDERR: ykcs11_tests.c:85:42: warning: pointer targets in initialization of 'CK_CHAR_PTR' {aka 'unsigned char * const'} from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 85 | const CK_CHAR_PTR MANUFACTURER_ID = "Yubico (www.yubico.com)"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ykcs11_tests.c:86:42: warning: pointer targets in initialization of 'CK_CHAR_PTR' {aka 'unsigned char * const'} from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 86 | const CK_CHAR_PTR YKCS11_DESCRIPTION = "PKCS#11 PIV Library (SP-800-73)"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ykcs11_tests.c:93:41: warning: pointer targets in passing argument 4 of '_asrt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 93 | asrt(funcs->C_GetInfo(&info), CKR_OK, "GET_INFO"); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ykcs11_tests.c:60:45: note: in definition of macro 'asrt' BUILDSTDERR: 60 | #define asrt(c, e, m) _asrt(__LINE__, c, e, m); BUILDSTDERR: | ^ BUILDSTDERR: ykcs11_tests.c:62:76: note: expected 'CK_CHAR_PTR' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 62 | static void _asrt(int line, CK_ULONG check, CK_ULONG expected, CK_CHAR_PTR msg) { BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ykcs11_tests.c:95:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 95 | asrt(strcmp(info.manufacturerID, MANUFACTURER_ID), 0, "MANUFACTURER"); BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: ykcs11_tests.c:60:39: note: in definition of macro 'asrt' BUILDSTDERR: 60 | #define asrt(c, e, m) _asrt(__LINE__, c, e, m); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ykcs11_tests.c:35: BUILDSTDERR: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ykcs11_tests.c:95:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 95 | asrt(strcmp(info.manufacturerID, MANUFACTURER_ID), 0, "MANUFACTURER"); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | CK_CHAR_PTR {aka unsigned char * const} BUILDSTDERR: ykcs11_tests.c:60:39: note: in definition of macro 'asrt' BUILDSTDERR: 60 | #define asrt(c, e, m) _asrt(__LINE__, c, e, m); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ykcs11_tests.c:35: BUILDSTDERR: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'CK_CHAR_PTR' {aka 'unsigned char * const'} BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ykcs11_tests.c:95:57: warning: pointer targets in passing argument 4 of '_asrt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 95 | asrt(strcmp(info.manufacturerID, MANUFACTURER_ID), 0, "MANUFACTURER"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ykcs11_tests.c:60:45: note: in definition of macro 'asrt' BUILDSTDERR: 60 | #define asrt(c, e, m) _asrt(__LINE__, c, e, m); BUILDSTDERR: | ^ BUILDSTDERR: ykcs11_tests.c:62:76: note: expected 'CK_CHAR_PTR' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 62 | static void _asrt(int line, CK_ULONG check, CK_ULONG expected, CK_CHAR_PTR msg) { BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ykcs11_tests.c:97:58: warning: pointer targets in passing argument 4 of '_asrt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 97 | asrt(info.cryptokiVersion.major, CRYPTOKI_VERSION_MAJ, "CK_MAJ"); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ykcs11_tests.c:60:45: note: in definition of macro 'asrt' BUILDSTDERR: 60 | #define asrt(c, e, m) _asrt(__LINE__, c, e, m); BUILDSTDERR: | ^ BUILDSTDERR: ykcs11_tests.c:62:76: note: expected 'CK_CHAR_PTR' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 62 | static void _asrt(int line, CK_ULONG check, CK_ULONG expected, CK_CHAR_PTR msg) { BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ykcs11_tests.c:98:58: warning: pointer targets in passing argument 4 of '_asrt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 98 | asrt(info.cryptokiVersion.minor, CRYPTOKI_VERSION_MIN, "CK_MIN"); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ykcs11_tests.c:60:45: note: in definition of macro 'asrt' BUILDSTDERR: 60 | #define asrt(c, e, m) _asrt(__LINE__, c, e, m); BUILDSTDERR: | ^ BUILDSTDERR: ykcs11_tests.c:62:76: note: expected 'CK_CHAR_PTR' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 62 | static void _asrt(int line, CK_ULONG check, CK_ULONG expected, CK_CHAR_PTR msg) { BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ykcs11_tests.c:100:57: warning: pointer targets in passing argument 4 of '_asrt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 100 | asrt(info.libraryVersion.major, YKCS11_VERSION_MAJOR, "LIB_MAJ"); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ykcs11_tests.c:60:45: note: in definition of macro 'asrt' BUILDSTDERR: 60 | #define asrt(c, e, m) _asrt(__LINE__, c, e, m); BUILDSTDERR: | ^ BUILDSTDERR: ykcs11_tests.c:62:76: note: expected 'CK_CHAR_PTR' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 62 | static void _asrt(int line, CK_ULONG check, CK_ULONG expected, CK_CHAR_PTR msg) { BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ykcs11_tests.c:101:90: warning: pointer targets in passing argument 4 of '_asrt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 101 | asrt(info.libraryVersion.minor, ((YKCS11_VERSION_MINOR * 10) + YKCS11_VERSION_PATCH ), "LIB_MIN"); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ykcs11_tests.c:60:45: note: in definition of macro 'asrt' BUILDSTDERR: 60 | #define asrt(c, e, m) _asrt(__LINE__, c, e, m); BUILDSTDERR: | ^ BUILDSTDERR: ykcs11_tests.c:62:76: note: expected 'CK_CHAR_PTR' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 62 | static void _asrt(int line, CK_ULONG check, CK_ULONG expected, CK_CHAR_PTR msg) { BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ykcs11_tests.c:103:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 103 | asrt(strcmp(info.libraryDescription, YKCS11_DESCRIPTION), 0, "LIB_DESC"); BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: ykcs11_tests.c:60:39: note: in definition of macro 'asrt' BUILDSTDERR: 60 | #define asrt(c, e, m) _asrt(__LINE__, c, e, m); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ykcs11_tests.c:35: BUILDSTDERR: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ykcs11_tests.c:103:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 103 | asrt(strcmp(info.libraryDescription, YKCS11_DESCRIPTION), 0, "LIB_DESC"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | CK_CHAR_PTR {aka unsigned char * const} BUILDSTDERR: ykcs11_tests.c:60:39: note: in definition of macro 'asrt' BUILDSTDERR: 60 | #define asrt(c, e, m) _asrt(__LINE__, c, e, m); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ykcs11_tests.c:35: BUILDSTDERR: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'CK_CHAR_PTR' {aka 'unsigned char * const'} BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: ykcs11_tests.c:103:64: warning: pointer targets in passing argument 4 of '_asrt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 103 | asrt(strcmp(info.libraryDescription, YKCS11_DESCRIPTION), 0, "LIB_DESC"); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ykcs11_tests.c:60:45: note: in definition of macro 'asrt' BUILDSTDERR: 60 | #define asrt(c, e, m) _asrt(__LINE__, c, e, m); BUILDSTDERR: | ^ BUILDSTDERR: ykcs11_tests.c:62:76: note: expected 'CK_CHAR_PTR' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 62 | static void _asrt(int line, CK_ULONG check, CK_ULONG expected, CK_CHAR_PTR msg) { BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ykcs11_tests.c: At top level: BUILDSTDERR: ykcs11_tests.c:721: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] BUILDSTDERR: 721 | #pragma clang diagnostic pop BUILDSTDERR: | CCLD ykcs11_tests make[3]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11/tests' make check-TESTS make[3]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11/tests' make[4]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11/tests' SKIP: reset.sh PASS: ykcs11_tests ============================================================================ Testsuite summary for yubico-piv-tool 1.7.0 ============================================================================ # TOTAL: 2 # PASS: 1 # SKIP: 1 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11/tests' make[3]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11/tests' make[2]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11/tests' make[1]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0/ykcs11' make[1]: Entering directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0' make[1]: Nothing to be done for 'check-am'. make[1]: Leaving directory '/builddir/build/BUILD/yubico-piv-tool-1.7.0' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Processing files: yubico-piv-tool-1.7.0-2.fc31.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.WsPvdh + umask 022 + cd /builddir/build/BUILD + cd yubico-piv-tool-1.7.0 + LICENSEDIR=/builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/share/licenses/yubico-piv-tool + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/share/licenses/yubico-piv-tool + cp -pr COPYING /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64/usr/share/licenses/yubico-piv-tool + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: libykcs11.so.1()(64bit) libykcs11.so.1(YKCS11_0.1.0)(64bit) libykpiv.so.1()(64bit) libykpiv.so.1(YKPIV_0.1.0)(64bit) libykpiv.so.1(YKPIV_0.2.0)(64bit) libykpiv.so.1(YKPIV_1.1.0)(64bit) libykpiv.so.1(YKPIV_1.2.0)(64bit) libykpiv.so.1(YKPIV_1.3.0)(64bit) libykpiv.so.1(YKPIV_1.5.0)(64bit) libykpiv.so.1(YKPIV_1.6.0)(64bit) yubico-piv-tool = 1.7.0-2.fc31 yubico-piv-tool(riscv-64) = 1.7.0-2.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libpcsclite.so.1()(64bit) libykpiv.so.1()(64bit) libykpiv.so.1(YKPIV_0.1.0)(64bit) libykpiv.so.1(YKPIV_0.2.0)(64bit) libykpiv.so.1(YKPIV_1.1.0)(64bit) libykpiv.so.1(YKPIV_1.2.0)(64bit) libykpiv.so.1(YKPIV_1.3.0)(64bit) libykpiv.so.1(YKPIV_1.5.0)(64bit) libykpiv.so.1(YKPIV_1.6.0)(64bit) rtld(GNU_HASH) Processing files: yubico-piv-tool-devel-1.7.0-2.fc31.riscv64 Provides: pkgconfig(ykcs11) = 1.7.0 pkgconfig(ykpiv) = 1.7.0 yubico-piv-tool-devel = 1.7.0-2.fc31 yubico-piv-tool-devel(riscv-64) = 1.7.0-2.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libykcs11.so.1()(64bit) libykpiv.so.1()(64bit) pkgconfig(libcrypto) Processing files: yubico-piv-tool-debugsource-1.7.0-2.fc31.riscv64 Provides: yubico-piv-tool-debugsource = 1.7.0-2.fc31 yubico-piv-tool-debugsource(riscv-64) = 1.7.0-2.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: yubico-piv-tool-debuginfo-1.7.0-2.fc31.riscv64 Provides: debuginfo(build-id) = ae85b1d1c1342937a806bc9200540b05eae1c0c1 debuginfo(build-id) = e91eaf4c438c5cf11570a8b79d74d89176b3bfdf debuginfo(build-id) = fb8c706f9a3e6103c17b84c326604c3da9c7d55b yubico-piv-tool-debuginfo = 1.7.0-2.fc31 yubico-piv-tool-debuginfo(riscv-64) = 1.7.0-2.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: yubico-piv-tool-debugsource(riscv-64) = 1.7.0-2.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64 Wrote: /builddir/build/RPMS/yubico-piv-tool-devel-1.7.0-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/yubico-piv-tool-1.7.0-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/yubico-piv-tool-debugsource-1.7.0-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/yubico-piv-tool-debuginfo-1.7.0-2.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dyIddi + umask 022 + cd /builddir/build/BUILD + cd yubico-piv-tool-1.7.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/yubico-piv-tool-1.7.0-2.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0