Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libcacard.spec'], chrootPath='/var/lib/mock/f33-build-290673-54512/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=987gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Wrote: /builddir/build/SRPMS/libcacard-2.7.0-5.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libcacard.spec'], chrootPath='/var/lib/mock/f33-build-290673-54512/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=987gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xbTZPb + 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 gpgv: Signature made Mon Jul 22 12:42:52 2019 EDT gpgv: using RSA key F7DC50A57DFD52B94253295EF64907AC15B5C33D gpgv: Good signature from "Jakub Jelen (work) " gpgv: aka "Jakub Jelen " + cd /builddir/build/BUILD + rm -rf libcacard-2.7.0 + /usr/bin/xz -dc /builddir/build/SOURCES/libcacard-2.7.0.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libcacard-2.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libcacard-2.7.0-caching-keys.patch):' 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 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fBNand + umask 022 + cd /builddir/build/BUILD + cd libcacard-2.7.0 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-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 2019-07-22 12:35:39.000000000 -0400 +++ ./configure 2020-08-13 16:13:05.048798897 -0400 @@ -1821,7 +1821,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 2020-08-13 16:13:05.048798897 -0400 +++ ./configure 2020-08-13 16:13:06.378798929 -0400 @@ -6132,7 +6132,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -15640,7 +15640,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_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 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"`' + '[' 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.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ 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) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ 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' ']' ++ 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... 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... ./configure: line 6086: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory 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/vscclient-vscclient.o CC src/cac-aca.lo 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 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gVYT2b + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libcacard-2.7.0-5.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libcacard-2.7.0-5.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/libcacard-2.7.0-5.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libcacard-2.7.0-5.fc33.riscv64 + cd libcacard-2.7.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libcacard-2.7.0-5.fc33.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-5.fc33.riscv64/usr/lib64' /bin/sh ./libtool --mode=install /usr/bin/install -p libcacard.la '/builddir/build/BUILDROOT/libcacard-2.7.0-5.fc33.riscv64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libcacard.so.0.0.0 /builddir/build/BUILDROOT/libcacard-2.7.0-5.fc33.riscv64/usr/lib64/libcacard.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libcacard-2.7.0-5.fc33.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-5.fc33.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-5.fc33.riscv64/usr/lib64/libcacard.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcacard-2.7.0-5.fc33.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-5.fc33.riscv64/usr/include/cacard' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcacard-2.7.0-5.fc33.riscv64/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 libcacard.pc '/builddir/build/BUILDROOT/libcacard-2.7.0-5.fc33.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-5.fc33.riscv64/usr/lib64/libcacard.la + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.7.0-5.fc33 --unique-debug-suffix -2.7.0-5.fc33.riscv64 --unique-debug-src-base libcacard-2.7.0-5.fc33.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-5.fc33.riscv64/usr/lib64/libcacard.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/libcacard-2.7.0-5.fc33.riscv64/usr/lib64/libcacard.so.0.0.0 original debug info size: 840kB, size after compression: 824kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 549 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.FwyLnb + 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 1990612052 Using slot 0 with a present token (0x76a65454) Key pair generated: Private Key Object; RSA label: RSA_auth ID: 01 Usage: decrypt, sign, unwrap Access: sensitive, always sensitive, never extractable, local Public Key Object; RSA 1024 bits label: RSA_auth ID: 01 Usage: encrypt, verify, wrap Access: local Generating a self signed certificate... X.509 Certificate Information: Version: 3 Serial Number (hex): 6a509896205c53d7b58e6d629c063d78f2343afe Validity: Not Before: Thu Aug 13 20:24:23 UTC 2020 Not After: Fri Aug 13 20:24:23 UTC 2021 Subject: O=OpenSC Subject Public Key Algorithm: RSA Algorithm Security Level: Legacy (1024 bits) Modulus (bits 1024): 00:c9:e0:fa:ad:7c:cf:a0:7c:61:c2:90:c4:d1:62:ac 86:2f:b3:b1:1d:82:28:f3:88:3c:eb:ac:5c:ae:25:05 1d:f7:8a:48:71:d5:f2:08:d9:af:2a:36:75:78:b0:d2 10:a8:26:a2:1b:f8:17:c7:5d:9c:44:dd:ba:29:b9:f3 ca:75:a2:6f:9a:72:90:e1:52:1b:32:62:1c:8d:40:4b ee:98:6a:fd:50:01:73:90:06:e4:e2:43:75:e2:4a:a6 09:05:47:db:d6:78:8b:c7:e8:71:4f:c5:f1:76:77:0e 4b:3d:78:53:71:62:df:10:df:ec:4f:4a:85:9a:70:64 c5 Exponent (bits 24): 01:00:01 Extensions: Basic Constraints (critical): Certificate Authority (CA): FALSE Subject Alternative Name (not critical): RFC822Name: none@example.org Key Usage (critical): Digital signature. Key encipherment. Subject Key Identifier (not critical): 1428d6da4a8de1570178926886a3bfbe5e15e5e6 Other Information: Public Key ID: sha1:1428d6da4a8de1570178926886a3bfbe5e15e5e6 sha256:fa4e7e4ad82baa735c97f56381ca0edb50441adb95e15e222542afb7df78bc65 Public Key PIN: pin-sha256:+k5+StgrqnNcl/VjgcoO21BEGtuV4V4iJUKvt994vGU= Signing certificate... Using slot 0 with a present token (0x76a65454) 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=4070b42af6a65454;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 1: URL: pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=4070b42af6a65454;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 2: URL: pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=4070b42af6a65454;token=SC%20test;id=%01;object=RSA_auth;type=cert Type: X.509 Certificate (RSA-1024) Expires: Fri Aug 13 16:24:23 2021 Label: RSA_auth ID: 01 Using slot 0 with a present token (0x76a65454) Key pair generated: Private Key Object; RSA label: RSA_sign ID: 02 Usage: decrypt, sign, unwrap Access: sensitive, always sensitive, never extractable, local Public Key Object; RSA 1024 bits label: RSA_sign ID: 02 Usage: encrypt, verify, wrap Access: local Generating a self signed certificate... X.509 Certificate Information: Version: 3 Serial Number (hex): 71029dcc9e98cac349e78f34cdd30916b93fc226 Validity: Not Before: Thu Aug 13 20:24:29 UTC 2020 Not After: Fri Aug 13 20:24:29 UTC 2021 Subject: O=OpenSC Subject Public Key Algorithm: RSA Algorithm Security Level: Legacy (1024 bits) Modulus (bits 1024): 00:d9:45:95:ec:00:ca:40:58:bf:fc:c3:03:96:27:dd 37:c5:f3:c3:ee:3f:46:49:b2:d6:ba:45:51:08:a0:e4 1e:bc:a2:f0:24:46:56:07:e6:91:84:61:9a:48:82:13 20:93:16:b2:bf:6f:ad:b7:3d:e5:97:4e:6c:0a:96:af d0:1e:f0:b9:53:46:67:6d:0d:9b:cd:97:90:f5:fe:bf 96:d9:83:7b:31:0b:cc:02:18:8c:e5:44:7d:4e:dd:a6 ac:16:cc:ed:dd:31:b9:47:aa:6b:ce:7a:92:c2:72:bb 6c:3d:0a:6b:1f:34:20:66:73:a9:a4:bb:4d:ff:cf:14 75 Exponent (bits 24): 01:00:01 Extensions: Basic Constraints (critical): Certificate Authority (CA): FALSE Subject Alternative Name (not critical): RFC822Name: none@example.org Key Usage (critical): Digital signature. Key encipherment. Subject Key Identifier (not critical): 2d4865e8a7a42f33b9bf6f67fd953ecb163c3e1c Other Information: Public Key ID: sha1:2d4865e8a7a42f33b9bf6f67fd953ecb163c3e1c sha256:5e5d0a31125eceb2ae6522e7043a35ef118e94eb85c51fc84d6f17b5052251f9 Public Key PIN: pin-sha256:Xl0KMRJezrKuZSLnBDo17xGOlOuFxR/ITW8XtQUiUfk= Signing certificate... Using slot 0 with a present token (0x76a65454) 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=4070b42af6a65454;token=SC%20test;id=%02;object=RSA_sign;type=cert Type: X.509 Certificate (RSA-1024) Expires: Fri Aug 13 16:24:29 2021 Label: RSA_sign ID: 02 Object 1: URL: pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=4070b42af6a65454;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=4070b42af6a65454;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 3: URL: pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=4070b42af6a65454;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 4: URL: pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=4070b42af6a65454;token=SC%20test;id=%01;object=RSA_auth;type=cert Type: X.509 Certificate (RSA-1024) Expires: Fri Aug 13 16:24:23 2021 Label: RSA_auth ID: 01 Object 5: URL: pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=4070b42af6a65454;token=SC%20test;id=%02;object=RSA_sign;type=public Type: Public key (RSA-1024) Label: RSA_sign Flags: CKA_WRAP/UNWRAP; ID: 02 library name: p11-kit-proxy.so 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 ++ jobs -p + exit 0 Processing files: libcacard-2.7.0-5.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bAWljd + umask 022 + cd /builddir/build/BUILD + cd libcacard-2.7.0 + DOCDIR=/builddir/build/BUILDROOT/libcacard-2.7.0-5.fc33.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-5.fc33.riscv64/usr/share/doc/libcacard + cp -pr NEWS /builddir/build/BUILDROOT/libcacard-2.7.0-5.fc33.riscv64/usr/share/doc/libcacard + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1vwNnd + umask 022 + cd /builddir/build/BUILD + cd libcacard-2.7.0 + LICENSEDIR=/builddir/build/BUILDROOT/libcacard-2.7.0-5.fc33.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-5.fc33.riscv64/usr/share/licenses/libcacard + cp -pr COPYING /builddir/build/BUILDROOT/libcacard-2.7.0-5.fc33.riscv64/usr/share/licenses/libcacard + RPM_EC=0 ++ jobs -p + exit 0 Provides: libcacard = 3:2.7.0-5.fc33 libcacard(riscv-64) = 3:2.7.0-5.fc33 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-5.fc33.riscv64 Provides: libcacard-devel = 3:2.7.0-5.fc33 libcacard-devel(riscv-64) = 3:2.7.0-5.fc33 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-5.fc33.riscv64 Provides: libcacard-debugsource = 3:2.7.0-5.fc33 libcacard-debugsource(riscv-64) = 3:2.7.0-5.fc33 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-5.fc33.riscv64 Provides: debuginfo(build-id) = 83f3892156ab4b21cd6878b2702ee9610506a67e libcacard-debuginfo = 3:2.7.0-5.fc33 libcacard-debuginfo(riscv-64) = 3:2.7.0-5.fc33 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-5.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libcacard-2.7.0-5.fc33.riscv64 Wrote: /builddir/build/RPMS/libcacard-devel-2.7.0-5.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libcacard-2.7.0-5.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libcacard-debuginfo-2.7.0-5.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libcacard-debugsource-2.7.0-5.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.e868zb + umask 022 + cd /builddir/build/BUILD + cd libcacard-2.7.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libcacard-2.7.0-5.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0