Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libcacard.spec'], chrootPath='/var/lib/mock/f32-build-121245-36925/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libcacard.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1567036800 Wrote: /builddir/build/SRPMS/libcacard-2.7.0-3.fc32.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libcacard.spec'], chrootPath='/var/lib/mock/f32-build-121245-36925/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libcacard.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1567036800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.x1BBcM + umask 022 + cd /builddir/build/BUILD + gpgv2 --quiet --keyring /builddir/build/SOURCES/gpgkey-15B5C33D.gpg /builddir/build/SOURCES/libcacard-2.7.0.tar.xz.asc /builddir/build/SOURCES/libcacard-2.7.0.tar.xz BUILDSTDERR: gpgv: Signature made Mon Jul 22 16:42:52 2019 UTC BUILDSTDERR: gpgv: using RSA key F7DC50A57DFD52B94253295EF64907AC15B5C33D BUILDSTDERR: gpgv: Good signature from "Jakub Jelen (work) " BUILDSTDERR: gpgv: aka "Jakub Jelen " + cd /builddir/build/BUILD + rm -rf libcacard-2.7.0 + /usr/bin/tar -xof - + /usr/bin/xz -dc /builddir/build/SOURCES/libcacard-2.7.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd libcacard-2.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (libcacard-2.7.0-caching-keys.patch): + echo 'Patch #0 (libcacard-2.7.0-caching-keys.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/vcard_emul_nss.c patching file tests/hwtests.c + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.87wbCM + umask 022 + cd /builddir/build/BUILD + cd libcacard-2.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 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 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.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' + 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' + '[' 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 --disable-static 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 to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for native Win32... no checking whether to enable debugging... no 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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none 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... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for 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... no 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 whether C compiler accepts -Werror=unknown-warning-option... no checking whether C compiler accepts -Wno-suggest-attribute=format... yes checking whether C compiler accepts -fno-strict-aliasing... yes checking whether C compiler accepts -Wnested-externs... yes checking whether C compiler accepts -Wmissing-prototypes... yes checking whether C compiler accepts -Wstrict-prototypes... yes checking whether C compiler accepts -Wdeclaration-after-statement... yes checking whether C compiler accepts -Wimplicit-function-declaration... yes checking whether C compiler accepts -Wold-style-definition... yes checking whether C compiler accepts -Wjump-misses-init... yes checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -Wextra... yes checking whether C compiler accepts -Wundef... yes checking whether C compiler accepts -Wwrite-strings... yes checking whether C compiler accepts -Wpointer-arith... yes checking whether C compiler accepts -Wmissing-declarations... yes checking whether C compiler accepts -Wredundant-decls... yes checking whether C compiler accepts -Wno-unused-parameter... yes checking whether C compiler accepts -Wno-missing-field-initializers... yes checking whether C compiler accepts -Wformat=2... yes checking whether C compiler accepts -Wcast-align... yes checking whether C compiler accepts -Wformat-nonliteral... yes checking whether C compiler accepts -Wformat-security... yes checking whether C compiler accepts -Wsign-compare... yes checking whether C compiler accepts -Wstrict-aliasing... yes checking whether C compiler accepts -Wshadow... yes checking whether C compiler accepts -Winline... yes checking whether C compiler accepts -Wpacked... yes checking whether C compiler accepts -Wmissing-format-attribute... yes checking whether C compiler accepts -Wmissing-noreturn... yes checking whether C compiler accepts -Winit-self... yes checking whether C compiler accepts -Wredundant-decls... (cached) yes checking whether C compiler accepts -Wmissing-include-dirs... yes checking whether C compiler accepts -Wunused-but-set-variable... yes checking whether C compiler accepts -Warray-bounds... yes checking whether C compiler accepts -Wreturn-type... yes checking whether C compiler accepts -Wswitch-enum... yes checking whether C compiler accepts -Wswitch-default... yes checking whether C compiler accepts -Wduplicated-cond... yes checking whether C compiler accepts -Wduplicated-branches... yes checking whether C compiler accepts -Wlogical-op... yes checking whether C compiler accepts -Wrestrict... yes checking whether C compiler accepts -Wnull-dereference... yes checking whether C compiler accepts -Wdouble-promotion... yes checking whether C compiler accepts -Wno-error=unused-parameter... yes checking whether C compiler accepts -Wno-error=missing-field-initializers... yes checking whether C compiler accepts -Werror=unknown-warning-option... (cached) no checking whether the linker accepts -Wl,--as-needed... yes checking whether the linker accepts -Wl,--as-needed... yes checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,now... yes checking whether the linker accepts -Wl,-z,now... yes checking whether the linker accepts -Wl,-z,noexecstack... yes checking whether the linker accepts -Wl,-z,noexecstack... yes checking whether the linker accepts -Wl,--no-as-needed... yes checking whether the linker accepts -Wl,--fatal-warnings... yes checking whether the linker accepts -Wl,-fatal_warnings... no checking whether the linker accepts -Wl,--no-as-needed... yes checking whether to build with code coverage support... no checking for CACARD... yes checking for GTHREAD... yes checking for PCSC... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating libcacard.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: libcacard - 2.7.0 • Prefix: /usr • PCSC enabled: no • Code coverage: no + sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/libcacard-2.7.0' Making all in src make[2]: Entering directory '/builddir/build/BUILD/libcacard-2.7.0/src' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/libcacard-2.7.0/src' make[2]: Entering directory '/builddir/build/BUILD/libcacard-2.7.0' CC src/cac.lo CC src/cac-aca.lo CC src/vscclient-vscclient.o CC src/gp.lo CC src/msft.lo CC src/card_7816.lo CC src/common.lo CC src/event.lo CC src/simpletlv.lo CC src/vcard.lo CC src/vcard_emul_nss.lo CC src/vcard_emul_type.lo CC src/vcardt.lo CC src/vreader.lo CCLD libcacard.la CCLD vscclient make[2]: Leaving directory '/builddir/build/BUILD/libcacard-2.7.0' make[1]: Leaving directory '/builddir/build/BUILD/libcacard-2.7.0' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.j07RIK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64 + cd libcacard-2.7.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64 'INSTALL=/usr/bin/install -p' /usr/bin/make install-recursive make[1]: Entering directory '/builddir/build/BUILD/libcacard-2.7.0' Making install in src make[2]: Entering directory '/builddir/build/BUILD/libcacard-2.7.0/src' make[3]: Entering directory '/builddir/build/BUILD/libcacard-2.7.0/src' 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/libcacard-2.7.0/src' make[2]: Leaving directory '/builddir/build/BUILD/libcacard-2.7.0/src' make[2]: Entering directory '/builddir/build/BUILD/libcacard-2.7.0' make[3]: Entering directory '/builddir/build/BUILD/libcacard-2.7.0' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64/usr/lib64' /bin/sh ./libtool --mode=install /usr/bin/install -p libcacard.la '/builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libcacard.so.0.0.0 /builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64/usr/lib64/libcacard.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64/usr/lib64 && { ln -s -f libcacard.so.0.0.0 libcacard.so.0 || { rm -f libcacard.so.0 && ln -s libcacard.so.0.0.0 libcacard.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64/usr/lib64 && { ln -s -f libcacard.so.0.0.0 libcacard.so || { rm -f libcacard.so && ln -s libcacard.so.0.0.0 libcacard.so; }; }) libtool: install: /usr/bin/install -p .libs/libcacard.lai /builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64/usr/lib64/libcacard.la BUILDSTDERR: libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64/usr/include/cacard' /usr/bin/install -p -m 644 src/cac.h src/card_7816.h src/card_7816t.h src/eventt.h src/libcacard.h src/vcard.h src/vcard_emul.h src/vcard_emul_type.h src/vcardt.h src/vevent.h src/vreader.h src/vreadert.h src/vscard_common.h '/builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64/usr/include/cacard' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 libcacard.pc '/builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64/usr/lib64/pkgconfig' make[3]: Leaving directory '/builddir/build/BUILD/libcacard-2.7.0' make[2]: Leaving directory '/builddir/build/BUILD/libcacard-2.7.0' make[1]: Leaving directory '/builddir/build/BUILD/libcacard-2.7.0' + rm -f /builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64/usr/lib64/libcacard.la + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.7.0-3.fc32 --unique-debug-suffix -2.7.0-3.fc32.riscv64 --unique-debug-src-base libcacard-2.7.0-3.fc32.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libcacard-2.7.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64/usr/lib64/libcacard.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64/usr/lib64/libcacard.so.0.0.0 original debug info size: 424kB, size after compression: 376kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 549 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.wCCJ6N + umask 022 + cd /builddir/build/BUILD + cd libcacard-2.7.0 + sed -i 's!/usr/lib64/!/usr/lib64/!' tests/setup-softhsm2.sh + make check make check-recursive make[1]: Entering directory '/builddir/build/BUILD/libcacard-2.7.0' Making check in src make[2]: Entering directory '/builddir/build/BUILD/libcacard-2.7.0/src' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libcacard-2.7.0/src' make[2]: Entering directory '/builddir/build/BUILD/libcacard-2.7.0' make tests/libcacard tests/simpletlv tests/hwtests \ make[3]: Entering directory '/builddir/build/BUILD/libcacard-2.7.0' CC tests/common.o CC tests/libcacard.o CCLD tests/libcacard CC tests/simpletlv.o CCLD tests/simpletlv CC tests/hwtests.o GEN tests/softhsm2.conf The token has been initialized and is reassigned to slot 2134276399 BUILDSTDERR: Using slot 0 with a present token (0x7f36792f) Key pair generated: Private Key Object; RSA label: RSA_auth ID: 01 Usage: decrypt, sign, unwrap Public Key Object; RSA 1024 bits label: RSA_auth ID: 01 Usage: encrypt, verify, wrap BUILDSTDERR: Generating a self signed certificate... BUILDSTDERR: X.509 Certificate Information: BUILDSTDERR: Version: 3 BUILDSTDERR: Serial Number (hex): 341a0b75ee57c219e000caa4ba6fbad10d7903b7 BUILDSTDERR: Validity: BUILDSTDERR: Not Before: Fri Jan 17 16:37:51 UTC 2020 BUILDSTDERR: Not After: Sat Jan 16 16:37:51 UTC 2021 BUILDSTDERR: Subject: O=OpenSC BUILDSTDERR: Subject Public Key Algorithm: RSA BUILDSTDERR: Algorithm Security Level: Legacy (1024 bits) BUILDSTDERR: Modulus (bits 1024): BUILDSTDERR: 00:db:48:0a:ba:32:f3:8d:13:2f:1e:58:e5:cd:c2:30 BUILDSTDERR: 88:59:a9:0a:c5:93:8a:5e:d4:eb:b9:8b:5d:2c:3a:7a BUILDSTDERR: 9d:7e:3b:e4:5e:63:15:df:8d:19:39:e3:a2:f0:ce:e0 BUILDSTDERR: b2:50:9a:90:ce:18:4f:dd:d8:f6:9c:f4:24:5a:c5:41 BUILDSTDERR: b9:e5:23:bf:cc:34:84:e2:a1:f9:6b:e8:0c:d2:35:03 BUILDSTDERR: 10:5b:fd:59:86:f4:a7:34:c0:aa:71:59:32:cd:51:f0 BUILDSTDERR: a9:88:47:65:fa:2d:72:33:a6:66:73:c1:98:68:c0:7c BUILDSTDERR: 48:df:30:ac:45:49:b7:4d:b3:d1:5c:2f:47:f0:23:90 BUILDSTDERR: b1 BUILDSTDERR: Exponent (bits 24): BUILDSTDERR: 01:00:01 BUILDSTDERR: Extensions: BUILDSTDERR: Basic Constraints (critical): BUILDSTDERR: Certificate Authority (CA): FALSE BUILDSTDERR: Subject Alternative Name (not critical): BUILDSTDERR: RFC822Name: none@example.org BUILDSTDERR: Key Usage (critical): BUILDSTDERR: Digital signature. BUILDSTDERR: Key encipherment. BUILDSTDERR: Subject Key Identifier (not critical): BUILDSTDERR: ee8f93c8dcfed693c44873dc88f3ac17473afeb6 BUILDSTDERR: Other Information: BUILDSTDERR: Public Key ID: BUILDSTDERR: sha1:ee8f93c8dcfed693c44873dc88f3ac17473afeb6 BUILDSTDERR: sha256:2bca9bb9563717e6da215e199c1301dc2c98a6817b3c3d4c241fda41286fb87f BUILDSTDERR: Public Key PIN: BUILDSTDERR: pin-sha256:K8qbuVY3F+baIV4ZnBMB3CyYpoF7PD1MJB/aQShvuH8= BUILDSTDERR: Signing certificate... BUILDSTDERR: Using slot 0 with a present token (0x7f36792f) Created certificate: Certificate Object; type = X.509 cert label: RSA_auth subject: DN: O=OpenSC ID: 01 Object 0: URL: pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=8758d3437f36792f;token=SC%20test;id=%01;object=RSA_auth;type=cert Type: X.509 Certificate (RSA-1024) Expires: Sat Jan 16 16:37:51 2021 Label: RSA_auth ID: 01 Object 1: URL: pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=8758d3437f36792f;token=SC%20test;id=%01;object=RSA_auth;type=private Type: Private key (RSA-1024) Label: RSA_auth Flags: CKA_WRAP/UNWRAP; CKA_PRIVATE; CKA_NEVER_EXTRACTABLE; CKA_SENSITIVE; ID: 01 Object 2: URL: pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=8758d3437f36792f;token=SC%20test;id=%01;object=RSA_auth;type=public Type: Public key (RSA-1024) Label: RSA_auth Flags: CKA_WRAP/UNWRAP; ID: 01 BUILDSTDERR: Using slot 0 with a present token (0x7f36792f) Key pair generated: Private Key Object; RSA label: RSA_sign ID: 02 Usage: decrypt, sign, unwrap Public Key Object; RSA 1024 bits label: RSA_sign ID: 02 Usage: encrypt, verify, wrap BUILDSTDERR: Generating a self signed certificate... BUILDSTDERR: X.509 Certificate Information: BUILDSTDERR: Version: 3 BUILDSTDERR: Serial Number (hex): 2eaa576db754104aee094e2af59b529a85d46098 BUILDSTDERR: Validity: BUILDSTDERR: Not Before: Fri Jan 17 16:37:52 UTC 2020 BUILDSTDERR: Not After: Sat Jan 16 16:37:52 UTC 2021 BUILDSTDERR: Subject: O=OpenSC BUILDSTDERR: Subject Public Key Algorithm: RSA BUILDSTDERR: Algorithm Security Level: Legacy (1024 bits) BUILDSTDERR: Modulus (bits 1024): BUILDSTDERR: 00:c3:78:c1:e2:de:6d:d8:dd:0d:60:af:57:87:ca:b3 BUILDSTDERR: 03:87:8d:1a:47:49:9c:92:d0:fc:19:7e:74:5e:fa:a2 BUILDSTDERR: 48:58:b3:81:1d:c9:cb:d2:ee:20:f0:f5:4c:69:0c:29 BUILDSTDERR: 5e:9d:56:0c:16:63:c7:7d:50:e8:90:e1:b7:17:a1:69 BUILDSTDERR: 2e:77:5b:48:4f:de:d2:6e:d3:7f:04:80:fb:e2:38:5e BUILDSTDERR: fe:1a:a2:30:4d:ee:74:5c:ab:65:d1:79:22:07:ee:fa BUILDSTDERR: cd:f0:de:5e:e3:5b:9e:d5:47:aa:60:4d:04:8e:c7:4c BUILDSTDERR: 06:c9:60:6a:cf:91:4d:83:69:d3:4a:8d:94:65:5b:17 BUILDSTDERR: c7 BUILDSTDERR: Exponent (bits 24): BUILDSTDERR: 01:00:01 BUILDSTDERR: Extensions: BUILDSTDERR: Basic Constraints (critical): BUILDSTDERR: Certificate Authority (CA): FALSE BUILDSTDERR: Subject Alternative Name (not critical): BUILDSTDERR: RFC822Name: none@example.org BUILDSTDERR: Key Usage (critical): BUILDSTDERR: Digital signature. BUILDSTDERR: Key encipherment. BUILDSTDERR: Subject Key Identifier (not critical): BUILDSTDERR: d969337df87660bdde92398347aefba656327815 BUILDSTDERR: Other Information: BUILDSTDERR: Public Key ID: BUILDSTDERR: sha1:d969337df87660bdde92398347aefba656327815 BUILDSTDERR: sha256:2cc171ee61a108cafcd4233b0e2d492ee05a65e5fc4107d9d8530134ab765807 BUILDSTDERR: Public Key PIN: BUILDSTDERR: pin-sha256:LMFx7mGhCMr81CM7Di1JLuBaZeX8QQfZ2FMBNKt2WAc= BUILDSTDERR: Signing certificate... BUILDSTDERR: Using slot 0 with a present token (0x7f36792f) Created certificate: Certificate Object; type = X.509 cert label: RSA_sign subject: DN: O=OpenSC ID: 02 Object 0: URL: pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=8758d3437f36792f;token=SC%20test;id=%01;object=RSA_auth;type=cert Type: X.509 Certificate (RSA-1024) Expires: Sat Jan 16 16:37:51 2021 Label: RSA_auth ID: 01 Object 1: URL: pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=8758d3437f36792f;token=SC%20test;id=%01;object=RSA_auth;type=private Type: Private key (RSA-1024) Label: RSA_auth Flags: CKA_WRAP/UNWRAP; CKA_PRIVATE; CKA_NEVER_EXTRACTABLE; CKA_SENSITIVE; ID: 01 Object 2: URL: pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=8758d3437f36792f;token=SC%20test;id=%02;object=RSA_sign;type=public Type: Public key (RSA-1024) Label: RSA_sign Flags: CKA_WRAP/UNWRAP; ID: 02 Object 3: URL: pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=8758d3437f36792f;token=SC%20test;id=%02;object=RSA_sign;type=private Type: Private key (RSA-1024) Label: RSA_sign Flags: CKA_WRAP/UNWRAP; CKA_PRIVATE; CKA_NEVER_EXTRACTABLE; CKA_SENSITIVE; ID: 02 Object 4: URL: pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=8758d3437f36792f;token=SC%20test;id=%01;object=RSA_auth;type=public Type: Public key (RSA-1024) Label: RSA_auth Flags: CKA_WRAP/UNWRAP; ID: 01 Object 5: URL: pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=8758d3437f36792f;token=SC%20test;id=%02;object=RSA_sign;type=cert Type: X.509 Certificate (RSA-1024) Expires: Sat Jan 16 16:37:52 2021 Label: RSA_sign ID: 02 Module "SoftHSM PKCS#11" added to database. CCLD tests/hwtests make[3]: Leaving directory '/builddir/build/BUILD/libcacard-2.7.0' make check-TESTS make[3]: Entering directory '/builddir/build/BUILD/libcacard-2.7.0' make[4]: Entering directory '/builddir/build/BUILD/libcacard-2.7.0' PASS: tests/libcacard 1 /libcacard/hexdump PASS: tests/libcacard 2 /libcacard/list PASS: tests/libcacard 3 /libcacard/card-remove-insert PASS: tests/libcacard 4 /libcacard/xfer PASS: tests/libcacard 5 /libcacard/select-coid PASS: tests/libcacard 6 /libcacard/cac-pki PASS: tests/libcacard 7 /libcacard/cac-ccc PASS: tests/libcacard 8 /libcacard/cac-aca PASS: tests/libcacard 9 /libcacard/get-response PASS: tests/libcacard 10 /libcacard/check-login-count PASS: tests/libcacard 11 /libcacard/login PASS: tests/libcacard 12 /libcacard/sign PASS: tests/libcacard 13 /libcacard/empty-applets PASS: tests/libcacard 14 /libcacard/gp-applet PASS: tests/libcacard 15 /libcacard/msft-applet PASS: tests/libcacard 16 /libcacard/invalid-properties-apdu PASS: tests/libcacard 17 /libcacard/invalid-select-apdu PASS: tests/libcacard 18 /libcacard/invalid-instruction PASS: tests/libcacard 19 /libcacard/invalid-read-buffer PASS: tests/libcacard 20 /libcacard/invalid-acr PASS: tests/libcacard 21 /libcacard/get-atr PASS: tests/libcacard 22 /libcacard/passthrough-applet PASS: tests/libcacard 23 /libcacard/remove PASS: tests/simpletlv 1 /simpletlv/length/simple PASS: tests/simpletlv 2 /simpletlv/length/nested PASS: tests/simpletlv 3 /simpletlv/length/skipped PASS: tests/simpletlv 4 /simpletlv/encode/simple PASS: tests/simpletlv 5 /simpletlv/encode/nested PASS: tests/simpletlv 6 /simpletlv/encode/skipped PASS: tests/simpletlv 7 /simpletlv/parse/simple PASS: tests/simpletlv 8 /simpletlv/parse/last_bad PASS: tests/simpletlv 9 /simpletlv/clone/simple PASS: tests/hwtests 1 /hw-tests/list PASS: tests/hwtests 2 /hw-tests/passthrough-applet PASS: tests/hwtests 3 /hw-tests/check-login-count PASS: tests/hwtests 4 /hw-tests/msft-applet PASS: tests/hwtests 5 /hw-tests/gp-applet PASS: tests/hwtests 6 /hw-tests/login PASS: tests/hwtests 7 /hw-tests/sign PASS: tests/hwtests 8 /hw-tests/sign-bad-data PASS: tests/hwtests 9 /hw-tests/empty-applets PASS: tests/hwtests 10 /hw-tests/get-response PASS: tests/hwtests 11 /hw-tests/sign-logout-sign ============================================================================ Testsuite summary for libcacard 2.7.0 ============================================================================ # TOTAL: 43 # PASS: 43 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/builddir/build/BUILD/libcacard-2.7.0' make[3]: Leaving directory '/builddir/build/BUILD/libcacard-2.7.0' make[2]: Leaving directory '/builddir/build/BUILD/libcacard-2.7.0' make[1]: Leaving directory '/builddir/build/BUILD/libcacard-2.7.0' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Processing files: libcacard-2.7.0-3.fc32.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.HecUXM + umask 022 + cd /builddir/build/BUILD + cd libcacard-2.7.0 + DOCDIR=/builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64/usr/share/doc/libcacard + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64/usr/share/doc/libcacard + cp -pr NEWS /builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64/usr/share/doc/libcacard + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.GoxDJN + umask 022 + cd /builddir/build/BUILD + cd libcacard-2.7.0 + LICENSEDIR=/builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64/usr/share/licenses/libcacard + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64/usr/share/licenses/libcacard + cp -pr COPYING /builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64/usr/share/licenses/libcacard + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: libcacard = 3:2.7.0-3.fc32 libcacard(riscv-64) = 3:2.7.0-3.fc32 libcacard.so.0()(64bit) 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) libglib-2.0.so.0()(64bit) libnspr4.so()(64bit) libnss3.so()(64bit) libnss3.so(NSS_3.12)(64bit) libnss3.so(NSS_3.2)(64bit) libnss3.so(NSS_3.3)(64bit) libnss3.so(NSS_3.4)(64bit) libnss3.so(NSS_3.5)(64bit) libnss3.so(NSS_3.8)(64bit) libnss3.so(NSS_3.9.2)(64bit) libnss3.so(NSS_3.9.3)(64bit) rtld(GNU_HASH) Conflicts: qemu-common < 2:2.5.0 Processing files: libcacard-devel-2.7.0-3.fc32.riscv64 Provides: libcacard-devel = 3:2.7.0-3.fc32 libcacard-devel(riscv-64) = 3:2.7.0-3.fc32 pkgconfig(libcacard) = 2.7.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libcacard.so.0()(64bit) pkgconfig(glib-2.0) pkgconfig(nss) Processing files: libcacard-debugsource-2.7.0-3.fc32.riscv64 Provides: libcacard-debugsource = 3:2.7.0-3.fc32 libcacard-debugsource(riscv-64) = 3:2.7.0-3.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libcacard-debuginfo-2.7.0-3.fc32.riscv64 Provides: debuginfo(build-id) = 545b3e878f119f7b4e0beb501f284799013aac35 libcacard-debuginfo = 3:2.7.0-3.fc32 libcacard-debuginfo(riscv-64) = 3:2.7.0-3.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libcacard-debugsource(riscv-64) = 3:2.7.0-3.fc32 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64 Wrote: /builddir/build/RPMS/libcacard-devel-2.7.0-3.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/libcacard-2.7.0-3.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/libcacard-debuginfo-2.7.0-3.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/libcacard-debugsource-2.7.0-3.fc32.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.X8YUlL + umask 022 + cd /builddir/build/BUILD + cd libcacard-2.7.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libcacard-2.7.0-3.fc32.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0