Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/openssl-pkcs11.spec'], chrootPath='/var/lib/mock/dist-an7_9-updates-build-134908-49760/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=86400uid=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8iau1ubp:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8iau1ubp:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '07d3e3ce127d4d369e96dfaa75ea644d', '-D', '/var/lib/mock/dist-an7_9-updates-build-134908-49760/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8iau1ubp:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/openssl-pkcs11.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/openssl-pkcs11-0.4.11-1.an7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/openssl-pkcs11.spec'], chrootPath='/var/lib/mock/dist-an7_9-updates-build-134908-49760/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=86400uid=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8iau1ubp:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8iau1ubp:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e042d41fac8f4ab4bd5167bbb80eb611', '-D', '/var/lib/mock/dist-an7_9-updates-build-134908-49760/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8iau1ubp:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/openssl-pkcs11.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HcrEej + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libp11-0.4.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/libp11-0.4.11.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libp11-0.4.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/openssl-pkcs11-0.4.10-set-rsa-fips-method-flag.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/openssl-pkcs11-0.4.10-coverity.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/openssl-pkcs11-0.4.10-openssl3.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/openssl-pkcs11-0.4.11-thread-safety.patch + /usr/bin/patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xU4SKd + umask 022 + cd /builddir/build/BUILD + cd libp11-0.4.11 + autoreconf -fvi autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing autoreconf: Leaving directory `.' + export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + ./configure --build=x86_64-Anolis-linux --host=x86_64-Anolis-linux --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 --with-enginesdir=/usr/lib64/engines-3 checking build system type... x86_64-Anolis-linux-gnu checking host system type... x86_64-Anolis-linux-gnu checking target system type... x86_64-Anolis-linux-gnu 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 x86_64-Anolis-linux-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 for style of include used by make... GNU checking dependency style of gcc... none checking for x86_64-Anolis-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking if LD -Wl,--version-script works... yes checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking whether make sets $(MAKE)... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-Anolis-linux-gnu file names to x86_64-Anolis-linux-gnu format... func_convert_file_noop checking how to convert x86_64-Anolis-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-Anolis-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-Anolis-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-Anolis-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-Anolis-linux-strip... no checking for strip... strip checking for x86_64-Anolis-linux-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 x86_64-Anolis-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... 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 -m elf_x86_64) 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 x86_64-Anolis-linux-windres... no checking for windres... no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for stdlib.h... (cached) yes checking for inttypes.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for dlfcn.h... (cached) yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking for doxygen... no checking for library containing dlopen... -ldl checking whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for OPENSSL... yes checking if libtool needs -no-undefined flag to build shared libraries... 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 src/libp11.pc config.status: creating src/libp11.rc config.status: creating src/pkcs11.rc config.status: creating doc/Makefile config.status: creating doc/doxygen.conf config.status: creating examples/Makefile config.status: creating tests/Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands configure: creating src/libp11.map libp11 has been configured with the following options: Version: 0.4.11 libp11 directory: /usr/lib64 Engine directory: /usr/lib64/engines-3 Default PKCS11 module: /usr/lib64/p11-kit-proxy.so API doc support: no Host: x86_64-Anolis-linux-gnu Compiler: gcc Preprocessor flags: Compiler flags: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread Linker flags: -Wl,-z,relro Libraries: -lpthread -ldl OPENSSL_CFLAGS: OPENSSL_LIBS: -lcrypto + make V=1 -j64 Making all in src make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/src' make all-am make[2]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o pkcs11_la-eng_front.lo `test -f 'eng_front.c' || echo './'`eng_front.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o pkcs11_la-eng_back.lo `test -f 'eng_back.c' || echo './'`eng_back.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o pkcs11_la-eng_parse.lo `test -f 'eng_parse.c' || echo './'`eng_parse.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o pkcs11_la-eng_err.lo `test -f 'eng_err.c' || echo './'`eng_err.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o libp11_la-libpkcs11.lo `test -f 'libpkcs11.c' || echo './'`libpkcs11.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o libp11_la-p11_attr.lo `test -f 'p11_attr.c' || echo './'`p11_attr.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o libp11_la-p11_cert.lo `test -f 'p11_cert.c' || echo './'`p11_cert.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o libp11_la-p11_err.lo `test -f 'p11_err.c' || echo './'`p11_err.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o libp11_la-p11_ckr.lo `test -f 'p11_ckr.c' || echo './'`p11_ckr.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o libp11_la-p11_key.lo `test -f 'p11_key.c' || echo './'`p11_key.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o libp11_la-p11_load.lo `test -f 'p11_load.c' || echo './'`p11_load.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o libp11_la-p11_misc.lo `test -f 'p11_misc.c' || echo './'`p11_misc.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o libp11_la-p11_rsa.lo `test -f 'p11_rsa.c' || echo './'`p11_rsa.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o libp11_la-p11_ec.lo `test -f 'p11_ec.c' || echo './'`p11_ec.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o libp11_la-p11_pkey.lo `test -f 'p11_pkey.c' || echo './'`p11_pkey.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o libp11_la-p11_slot.lo `test -f 'p11_slot.c' || echo './'`p11_slot.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o libp11_la-p11_front.lo `test -f 'p11_front.c' || echo './'`p11_front.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o libp11_la-p11_atfork.lo `test -f 'p11_atfork.c' || echo './'`p11_atfork.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c eng_back.c -fPIC -DPIC -o .libs/pkcs11_la-eng_back.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c eng_err.c -fPIC -DPIC -o .libs/pkcs11_la-eng_err.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c p11_err.c -fPIC -DPIC -o .libs/libp11_la-p11_err.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c p11_ckr.c -fPIC -DPIC -o .libs/libp11_la-p11_ckr.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c p11_misc.c -fPIC -DPIC -o .libs/libp11_la-p11_misc.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c libpkcs11.c -fPIC -DPIC -o .libs/libp11_la-libpkcs11.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c p11_atfork.c -fPIC -DPIC -o .libs/libp11_la-p11_atfork.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c eng_front.c -fPIC -DPIC -o .libs/pkcs11_la-eng_front.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c p11_pkey.c -fPIC -DPIC -o .libs/libp11_la-p11_pkey.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c p11_key.c -fPIC -DPIC -o .libs/libp11_la-p11_key.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c p11_front.c -fPIC -DPIC -o .libs/libp11_la-p11_front.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c p11_ec.c -fPIC -DPIC -o .libs/libp11_la-p11_ec.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c eng_parse.c -fPIC -DPIC -o .libs/pkcs11_la-eng_parse.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c p11_attr.c -fPIC -DPIC -o .libs/libp11_la-p11_attr.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c p11_load.c -fPIC -DPIC -o .libs/libp11_la-p11_load.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c p11_cert.c -fPIC -DPIC -o .libs/libp11_la-p11_cert.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c p11_rsa.c -fPIC -DPIC -o .libs/libp11_la-p11_rsa.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c p11_slot.c -fPIC -DPIC -o .libs/libp11_la-p11_slot.o /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -version-info 7:3:5 -Wl,--version-script=libp11.map -Wl,-z,relro -o libp11.la -rpath /usr/lib64 libp11_la-libpkcs11.lo libp11_la-p11_attr.lo libp11_la-p11_cert.lo libp11_la-p11_err.lo libp11_la-p11_ckr.lo libp11_la-p11_key.lo libp11_la-p11_load.lo libp11_la-p11_misc.lo libp11_la-p11_rsa.lo libp11_la-p11_ec.lo libp11_la-p11_pkey.lo libp11_la-p11_slot.lo libp11_la-p11_front.lo libp11_la-p11_atfork.lo -lcrypto -lpthread -ldl libtool: link: gcc -shared -fPIC -DPIC .libs/libp11_la-libpkcs11.o .libs/libp11_la-p11_attr.o .libs/libp11_la-p11_cert.o .libs/libp11_la-p11_err.o .libs/libp11_la-p11_ckr.o .libs/libp11_la-p11_key.o .libs/libp11_la-p11_load.o .libs/libp11_la-p11_misc.o .libs/libp11_la-p11_rsa.o .libs/libp11_la-p11_ec.o .libs/libp11_la-p11_pkey.o .libs/libp11_la-p11_slot.o .libs/libp11_la-p11_front.o .libs/libp11_la-p11_atfork.o -lcrypto -lpthread -ldl -O2 -m64 -mtune=generic -pthread -Wl,--version-script=libp11.map -Wl,-z -Wl,relro -pthread -Wl,-soname -Wl,libp11.so.2 -o .libs/libp11.so.2.5.3 /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -module -shared -shrext .so -avoid-version -export-symbols "./pkcs11.exports" -Wl,-z,relro -o pkcs11.la -rpath /usr/lib64/engines-3 pkcs11_la-eng_front.lo pkcs11_la-eng_back.lo pkcs11_la-eng_parse.lo pkcs11_la-eng_err.lo libp11_la-libpkcs11.lo libp11_la-p11_attr.lo libp11_la-p11_cert.lo libp11_la-p11_err.lo libp11_la-p11_ckr.lo libp11_la-p11_key.lo libp11_la-p11_load.lo libp11_la-p11_misc.lo libp11_la-p11_rsa.lo libp11_la-p11_ec.lo libp11_la-p11_pkey.lo libp11_la-p11_slot.lo libp11_la-p11_front.lo libp11_la-p11_atfork.lo -lcrypto -lpthread -ldl libtool: link: (cd ".libs" && rm -f "libp11.so.2" && ln -s "libp11.so.2.5.3" "libp11.so.2") libtool: link: (cd ".libs" && rm -f "libp11.so" && ln -s "libp11.so.2.5.3" "libp11.so") libtool: link: ( cd ".libs" && rm -f "libp11.la" && ln -s "../libp11.la" "libp11.la" ) libtool: link: echo "{ global:" > .libs/pkcs11.ver libtool: link: cat ./pkcs11.exports | sed -e "s/\(.*\)/\1;/" >> .libs/pkcs11.ver libtool: link: echo "local: *; };" >> .libs/pkcs11.ver libtool: link: gcc -shared -fPIC -DPIC .libs/pkcs11_la-eng_front.o .libs/pkcs11_la-eng_back.o .libs/pkcs11_la-eng_parse.o .libs/pkcs11_la-eng_err.o .libs/libp11_la-libpkcs11.o .libs/libp11_la-p11_attr.o .libs/libp11_la-p11_cert.o .libs/libp11_la-p11_err.o .libs/libp11_la-p11_ckr.o .libs/libp11_la-p11_key.o .libs/libp11_la-p11_load.o .libs/libp11_la-p11_misc.o .libs/libp11_la-p11_rsa.o .libs/libp11_la-p11_ec.o .libs/libp11_la-p11_pkey.o .libs/libp11_la-p11_slot.o .libs/libp11_la-p11_front.o .libs/libp11_la-p11_atfork.o -lcrypto -lpthread -ldl -O2 -m64 -mtune=generic -pthread -Wl,-z -Wl,relro -pthread -Wl,-soname -Wl,pkcs11.so -Wl,-version-script -Wl,.libs/pkcs11.ver -o .libs/pkcs11.so libtool: link: ( cd ".libs" && rm -f "pkcs11.la" && ln -s "../pkcs11.la" "pkcs11.la" ) make[2]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/src' make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/src' Making all in doc make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/doc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/doc' Making all in examples make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/examples' gcc -DHAVE_CONFIG_H -I. -I../src -I. -I../src -I../ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o auth.o auth.c gcc -DHAVE_CONFIG_H -I. -I../src -I. -I../src -I../ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o decrypt.o decrypt.c gcc -DHAVE_CONFIG_H -I. -I../src -I. -I../src -I../ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o getrandom.o getrandom.c gcc -DHAVE_CONFIG_H -I. -I../src -I. -I../src -I../ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -c -o listkeys.o listkeys.c auth.c: In function 'main': auth.c:252:2: warning: 'PKCS11_sign' is deprecated (declared at ../src/libp11.h:470): This function will be removed in libp11 0.5.0 [-Wdeprecated-declarations] rc = PKCS11_sign(NID_sha1, random, RANDOM_SIZE, ^ decrypt.c: In function 'main': decrypt.c:261:2: warning: 'PKCS11_private_decrypt' is deprecated (declared at ../src/libp11.h:494): This function will be removed in libp11 0.5.0 [-Wdeprecated-declarations] rc = PKCS11_private_decrypt(len, encrypted, ^ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -Wl,-z,relro -o getrandom getrandom.o ../src/libp11.la -lcrypto -lpthread -ldl /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -Wl,-z,relro -o listkeys listkeys.o ../src/libp11.la -lcrypto -lpthread -ldl /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -Wl,-z,relro -o auth auth.o ../src/libp11.la -lcrypto -lpthread -ldl /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -Wl,-z,relro -o decrypt decrypt.o ../src/libp11.la -lcrypto -lpthread -ldl libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -Wl,-z -Wl,relro -o .libs/getrandom getrandom.o ../src/.libs/libp11.so -lcrypto -lpthread -ldl -pthread libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -Wl,-z -Wl,relro -o .libs/listkeys listkeys.o ../src/.libs/libp11.so -lcrypto -lpthread -ldl -pthread libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -Wl,-z -Wl,relro -o .libs/decrypt decrypt.o ../src/.libs/libp11.so -lcrypto -lpthread -ldl -pthread libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -Wl,-z -Wl,relro -o .libs/auth auth.o ../src/.libs/libp11.so -lcrypto -lpthread -ldl -pthread make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/examples' Making all in tests make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/tests' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/tests' make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.11' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lBIRXC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64 ++ dirname /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64 + cd libp11-0.4.11 + mkdir -p /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64/engines-3 + make install DESTDIR=/builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64 Making install in src make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/src' make[2]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64/engines-3' /bin/sh ../libtool --mode=install /usr/bin/install -c pkcs11.la '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64/engines-3' libtool: install: /usr/bin/install -c .libs/pkcs11.so /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64/engines-3/pkcs11.so libtool: install: /usr/bin/install -c .libs/pkcs11.lai /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64/engines-3/pkcs11.la libtool: install: warning: remember to run `libtool --finish /usr/lib64/engines-3' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c libp11.la '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libp11.so.2.5.3 /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64/libp11.so.2.5.3 libtool: install: (cd /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64 && { ln -s -f libp11.so.2.5.3 libp11.so.2 || { rm -f libp11.so.2 && ln -s libp11.so.2.5.3 libp11.so.2; }; }) libtool: install: (cd /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64 && { ln -s -f libp11.so.2.5.3 libp11.so || { rm -f libp11.so && ln -s libp11.so.2.5.3 libp11.so; }; }) libtool: install: /usr/bin/install -c .libs/libp11.lai /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64/libp11.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' make install-exec-hook make[3]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/src' cd '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64/engines-3' && ln -s -f pkcs11.so libpkcs11.so make[3]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/include' /usr/bin/install -c -m 644 libp11.h p11_err.h '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/include' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64/pkgconfig' /usr/bin/install -c -m 644 libp11.pc '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64/pkgconfig' make[2]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/src' make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/src' Making install in doc make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/doc' make[2]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/doc' make[2]: Nothing to be done for `install-exec-am'. make[2]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/doc' make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/doc' Making install in examples make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/examples' make[2]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/examples' 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/libp11-0.4.11/examples' make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/examples' Making install in tests make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/tests' make[2]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/tests' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/tests' make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/tests' make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.11' make[2]: Entering directory `/builddir/build/BUILD/libp11-0.4.11' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/share/doc/libp11' /usr/bin/install -c -m 644 NEWS '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/share/doc/libp11' make[2]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11' make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11' + rm -f /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64/libp11.la + rm -f /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64/engines-3/pkcs11.la + rm -f /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64/libp11.so + rm -f /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64/pkgconfig/libp11.pc + rm -f /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/include/libp11.h /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/include/p11_err.h + rm -rf /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/share/doc/libp11/ + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/libp11-0.4.11 extracting debug info from /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64/engines-3/pkcs11.so extracting debug info from /builddir/build/BUILDROOT/openssl-pkcs11-0.4.11-1.an7.x86_64/usr/lib64/libp11.so.2.5.3 /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/engines-3/pkcs11.so.debug to /usr/lib/debug/usr/lib64/engines-3/libpkcs11.so.debug symlinked /usr/lib/debug/usr/lib64/libp11.so.2.5.3.debug to /usr/lib/debug/usr/lib64/libp11.so.2.debug 535 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.XLKhS3 + umask 022 + cd /builddir/build/BUILD + cd libp11-0.4.11 + make check -j64 Making check in src make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/src' make check-local make[2]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/src' cd .libs && ln -s -f pkcs11.so libpkcs11.so make[2]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/src' make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/src' Making check in doc make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/doc' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/doc' Making check in examples make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/examples' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/examples' Making check in tests make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/tests' make openssl_version fork-test evp-sign fork-change-slot list-tokens rsa-pss-sign rsa-oaep check-privkey \ rsa-testpkcs11.softhsm rsa-testfork.softhsm rsa-testlistkeys.softhsm rsa-evp-sign.softhsm ec-evp-sign.softhsm ec-testfork.softhsm fork-change-slot.softhsm rsa-pss-sign.softhsm rsa-oaep.softhsm case-insensitive.softhsm ec-check-privkey.softhsm pkcs11-uri-without-token.softhsm search-all-matching-tokens.softhsm rsa-cert.der rsa-prvkey.der rsa-pubkey.der ec-cert.der ec-prvkey.der ec-pubkey.der make[2]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/tests' CC openssl_version.o CC fork-test.o CC evp-sign.o CC fork-change-slot.o CC list-tokens.o make[2]: Nothing to be done for `rsa-testpkcs11.softhsm'. make[2]: Nothing to be done for `rsa-testfork.softhsm'. make[2]: Nothing to be done for `rsa-testlistkeys.softhsm'. make[2]: Nothing to be done for `rsa-evp-sign.softhsm'. make[2]: Nothing to be done for `ec-evp-sign.softhsm'. make[2]: Nothing to be done for `ec-testfork.softhsm'. make[2]: Nothing to be done for `fork-change-slot.softhsm'. make[2]: Nothing to be done for `rsa-pss-sign.softhsm'. make[2]: Nothing to be done for `rsa-oaep.softhsm'. make[2]: Nothing to be done for `case-insensitive.softhsm'. make[2]: Nothing to be done for `ec-check-privkey.softhsm'. CC rsa-pss-sign.o make[2]: Nothing to be done for `pkcs11-uri-without-token.softhsm'. make[2]: Nothing to be done for `search-all-matching-tokens.softhsm'. make[2]: Nothing to be done for `rsa-cert.der'. make[2]: Nothing to be done for `rsa-prvkey.der'. make[2]: Nothing to be done for `rsa-pubkey.der'. make[2]: Nothing to be done for `ec-cert.der'. make[2]: Nothing to be done for `ec-prvkey.der'. make[2]: Nothing to be done for `ec-pubkey.der'. CC rsa-oaep.o CC check-privkey.o CCLD openssl_version list-tokens.c: In function 'main': list-tokens.c:42:15: warning: unused variable 'certs' [-Wunused-variable] PKCS11_CERT *certs; ^ CCLD list-tokens CCLD check-privkey CCLD rsa-pss-sign CCLD evp-sign CCLD fork-change-slot CCLD rsa-oaep CCLD fork-test make[2]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/tests' make check-TESTS make[2]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/tests' make[3]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/tests' PASS: ec-check-privkey.softhsm PASS: ec-testfork.softhsm PASS: rsa-testfork.softhsm FAIL: pkcs11-uri-without-token.softhsm PASS: rsa-pss-sign.softhsm PASS: rsa-oaep.softhsm PASS: case-insensitive.softhsm PASS: ec-evp-sign.softhsm PASS: rsa-testpkcs11.softhsm PASS: rsa-testlistkeys.softhsm PASS: rsa-evp-sign.softhsm PASS: fork-change-slot.softhsm FAIL: search-all-matching-tokens.softhsm make[4]: Entering directory `/builddir/build/BUILD/libp11-0.4.11/tests' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/tests' ============================================================================ Testsuite summary for libp11 0.4.11 ============================================================================ # TOTAL: 13 # PASS: 11 # SKIP: 0 # XFAIL: 0 # FAIL: 2 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log ============================================================================ make[3]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/tests' make[3]: *** [test-suite.log] Error 1 make[2]: *** [check-TESTS] Error 2 make[2]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/tests' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.11/tests' make: *** [check-recursive] Error 1 + '[' 2 -ne 0 ']' + cat tests/case-insensitive.softhsm.log tests/ec-check-privkey.softhsm.log tests/ec-evp-sign.softhsm.log tests/ec-testfork.softhsm.log tests/fork-change-slot.softhsm.log tests/pkcs11-uri-without-token.softhsm.log tests/rsa-evp-sign.softhsm.log tests/rsa-oaep.softhsm.log tests/rsa-pss-sign.softhsm.log tests/rsa-testfork.softhsm.log tests/rsa-testlistkeys.softhsm.log tests/rsa-testpkcs11.softhsm.log tests/search-all-matching-tokens.softhsm.log tests/test-suite.log Current directory: /builddir/build/BUILD/libp11-0.4.11/tests Source directory: . Output directory: output.4413 * Initializing smart card libp11-test...ok Importing Finished *************** Listing objects *************** Using slot 0 with a present token (0x0) Public Key Object; RSA 2048 bits label: server-key ID: 01020304 Usage: encrypt, verify, wrap Certificate Object; type = X.509 cert label: server-key subject: DN: CN=server-1 ID: 01020304 Private Key Object; RSA label: server-key ID: 01020304 Usage: decrypt, sign, unwrap PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified PKCS#11: Initializing the engine Found 2 slots Loading private key "PKCS11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Loading private key "PKCS11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "PKCS11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified PKCS#11: Initializing the engine Found 2 slots Loading private key "PkCs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Loading private key "PkCs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pKcS11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified Current directory: /builddir/build/BUILD/libp11-0.4.11/tests Source directory: . Output directory: output.4422 * Initializing smart card... ok Using slot 0 with a present token (0x0) Using slot 0 with a present token (0x0) *************** Listing objects *************** Using slot 0 with a present token (0x0) Certificate Object; type = X.509 cert label: server-key subject: DN: CN=ec ID: 01020304 Private Key Object; EC label: server-key ID: 01020304 Usage: decrypt, sign, unwrap PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Key and certificate matched PKCS#11: Initializing the engine Found 2 slots Looking in slot -1 for certificate: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 cert: Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Key and certificate matched Current directory: /builddir/build/BUILD/libp11-0.4.11/tests Source directory: . Output directory: output.4396 * Initializing smart card... ok Using slot 0 with a present token (0x0) Using slot 0 with a present token (0x0) Using slot 0 with a present token (0x0) *************** Listing objects *************** Using slot 0 with a present token (0x0) Public Key Object; EC EC_POINT 256 bits EC_POINT: 044104dd0eeb0cdbf4d1e0a385f424f0dc1cb7da10e41e11ab1da667ad96f2a8b7039178bad0166556dc2bbe96dd46879eb6036bb5b90dac4f28d8792092a5fd941c4c EC_PARAMS: 06082a8648ce3d030107 label: server-key ID: 01020304 Usage: encrypt, verify, wrap Certificate Object; type = X.509 cert label: server-key subject: DN: CN=ec ID: 01020304 Private Key Object; EC label: server-key ID: 01020304 Usage: decrypt, sign, unwrap PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified PKCS#11: Initializing the engine Found 2 slots Loading private key "label_server-key" Looking in slot -1 for key: label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Loading private key "label_server-key" Looking in slot -1 for key: label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "label_server-key" Looking in slot -1 for key: label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified PKCS#11: Initializing the engine Found 2 slots Loading private key "id_01020304" Looking in slot -1 for key: id=01020304 [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Loading private key "id_01020304" Looking in slot -1 for key: id=01020304 [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "id_01020304" Looking in slot -1 for key: id=01020304 [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified Current directory: /builddir/build/BUILD/libp11-0.4.11/tests Source directory: . Output directory: output.4402 * Initializing smart card... ok Using slot 0 with a present token (0x0) Using slot 0 with a present token (0x0) Using slot 0 with a present token (0x0) *************** Listing objects *************** Using slot 0 with a present token (0x0) Public Key Object; EC EC_POINT 256 bits EC_POINT: 044104dd0eeb0cdbf4d1e0a385f424f0dc1cb7da10e41e11ab1da667ad96f2a8b7039178bad0166556dc2bbe96dd46879eb6036bb5b90dac4f28d8792092a5fd941c4c EC_PARAMS: 06082a8648ce3d030107 label: server-key ID: 01020304 Usage: encrypt, verify, wrap Certificate Object; type = X.509 cert label: server-key subject: DN: CN=ec ID: 01020304 Private Key Object; EC label: server-key ID: 01020304 Usage: decrypt, sign, unwrap Slot manufacturer......: SoftHSM project Slot description.......: SoftHSM slot 0 Slot token label.......: libp11-test Slot token manufacturer: SoftHSM project Slot token model.......: SoftHSM v2 Slot token serialnr....: 4fa8882ea5d5cd09 71-byte signature created Signature matched Cleanup complete Slot manufacturer......: SoftHSM project Slot description.......: SoftHSM slot 0 Slot token label.......: libp11-test Slot token manufacturer: SoftHSM project Slot token model.......: SoftHSM v2 Slot token serialnr....: 4fa8882ea5d5cd09 Slot manufacturer......: SoftHSM project Slot description.......: SoftHSM slot 0 Slot token label.......: libp11-test Slot token manufacturer: SoftHSM project Slot token model.......: SoftHSM v2 Slot token serialnr....: 4fa8882ea5d5cd09 Slot manufacturer......: SoftHSM project Slot description.......: SoftHSM slot 0 Slot token label.......: libp11-test Slot token manufacturer: SoftHSM project Slot token model.......: SoftHSM v2 Slot token serialnr....: 4fa8882ea5d5cd09 Slot manufacturer......: SoftHSM project Slot description.......: SoftHSM slot 0 Slot token label.......: libp11-test Slot token manufacturer: SoftHSM project Slot token model.......: SoftHSM v2 Slot token serialnr....: 4fa8882ea5d5cd09 Current directory: /builddir/build/BUILD/libp11-0.4.11/tests Source directory: . Output directory: output.4409 * Initializing smart card token1...ok * Initializing smart card token2...ok Key pair generated: Private Key Object; RSA label: pkey ID: 01020304 Usage: decrypt, sign, unwrap Public Key Object; RSA 2048 bits label: pkey ID: 01020304 Usage: encrypt, verify, wrap /usr/bin/softhsm2-util: unrecognized option '--delete-token' Support tool for PKCS#11 Usage: softhsm2-util [ACTION] [OPTIONS] Action: -h Shows this help screen. --help Shows this help screen. --import Import a key pair from the given path. The file must be in PKCS#8-format. Use with --file-pin, --slot, --label, --id, --no-public-key, and --pin. --init-token Initialize the token at a given slot. Use with --slot or --free, --label, --so-pin, and --pin. WARNING: Any content in token token will be erased. --show-slots Display all the available slots. -v Show version info. --version Show version info. Options: --file-pin Supply a PIN if the file is encrypted. --force Used to override a warning. --free Initialize the first free token. --id Defines the ID of the object. Hexadecimal characters. Use with --force if multiple key pairs may share the same ID. --label Defines the label of the object or the token. --module Use another PKCS#11 library than SoftHSM. --no-public-key Do not import the public key. --pin The PIN for the normal user. --slot The slot where the token is located. --so-pin The PIN for the Security Officer (SO). pid 4542 is the parent Remove or add a device to try to cause an error Waiting for signal SIGUSR1 pid 4544: 256-byte signature created pid 4544: Signature matched pid 4542 is the parent spawned 4544 child 4544 exited with status 0 pid 4542: 256-byte signature created pid 4542: Signature matched Current directory: /builddir/build/BUILD/libp11-0.4.11/tests Source directory: . Output directory: output.4424 * Initializing smart card libp11-test...ok Importing Finished *************** Listing objects *************** Using slot 0 with a present token (0x0) Private Key Object; RSA label: server-key ID: 01020304 Usage: decrypt, sign, unwrap Public Key Object; RSA 2048 bits label: server-key ID: 01020304 Usage: encrypt, verify, wrap Certificate Object; type = X.509 cert label: server-key subject: DN: CN=server-1 ID: 01020304 Detected system: linux-gnu engine "pkcs11" set. Found uninitialized token engine "pkcs11" set. Found uninitialized token Signature Verified Successfully Failed to verify signature using PKCS#11 URI pkcs11:object=server-key;type=public;pin-value=1234 Current directory: /builddir/build/BUILD/libp11-0.4.11/tests Source directory: . Output directory: output.4395 * Initializing smart card libp11-test...ok Importing Finished *************** Listing objects *************** Using slot 0 with a present token (0x0) Private Key Object; RSA label: server-key ID: 01020304 Usage: decrypt, sign, unwrap Public Key Object; RSA 2048 bits label: server-key ID: 01020304 Usage: encrypt, verify, wrap Certificate Object; type = X.509 cert label: server-key subject: DN: CN=server-1 ID: 01020304 pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234 PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-source=output.4395/pin.txt PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-source=output.4395/pin.txt" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-source=output.4395/pin.txt" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-source=output.4395/pin.txt" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-source=output.4395/pin.txt" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-source=output.4395/pin.txt" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-source=output.4395/pin.txt" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-source=output.4395/pin.txt" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-source=output.4395/pin.txt" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-source=output.4395/pin.txt" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-source=output.4395/pin.txt" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-source=output.4395/pin.txt" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-source=output.4395/pin.txt" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-source=file:output.4395/pin.txt PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-source=file:output.4395/pin.txt" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-source=file:output.4395/pin.txt" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-source=file:output.4395/pin.txt" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-source=file:output.4395/pin.txt" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-source=file:output.4395/pin.txt" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-source=file:output.4395/pin.txt" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-source=file:output.4395/pin.txt" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-source=file:output.4395/pin.txt" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-source=file:output.4395/pin.txt" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-source=file:output.4395/pin.txt" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-source=file:output.4395/pin.txt" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-source=file:output.4395/pin.txt" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified PKCS#11: Initializing the engine Found 2 slots Loading private key "label_server-key" Looking in slot -1 for key: label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Loading private key "label_server-key" Looking in slot -1 for key: label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "label_server-key" Looking in slot -1 for key: label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified PKCS#11: Initializing the engine Found 2 slots Loading private key "id_01020304" Looking in slot -1 for key: id=01020304 [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Loading private key "id_01020304" Looking in slot -1 for key: id=01020304 [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "id_01020304" Looking in slot -1 for key: id=01020304 [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified Current directory: /builddir/build/BUILD/libp11-0.4.11/tests Source directory: . Output directory: output.4412 * Initializing smart card libp11-test...ok Importing Finished *************** Listing objects *************** Using slot 0 with a present token (0x0) Public Key Object; RSA 2048 bits label: server-key ID: 01020304 Usage: encrypt, verify, wrap Certificate Object; type = X.509 cert label: server-key subject: DN: CN=server-1 ID: 01020304 Private Key Object; RSA label: server-key ID: 01020304 Usage: decrypt, sign, unwrap PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Data encrypted Sucessfuly decrypted Current directory: /builddir/build/BUILD/libp11-0.4.11/tests Source directory: . Output directory: output.4404 * Initializing smart card libp11-test...ok Importing Finished *************** Listing objects *************** Using slot 0 with a present token (0x0) Public Key Object; RSA 2048 bits label: server-key ID: 01020304 Usage: encrypt, verify, wrap Certificate Object; type = X.509 cert label: server-key subject: DN: CN=server-1 ID: 01020304 Private Key Object; RSA label: server-key ID: 01020304 Usage: decrypt, sign, unwrap PKCS#11: Initializing the engine Found 2 slots Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Loading private key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 private key: 1 P id=01020304 label=server-key Loading public key "pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-value=1234" Looking in slot -1 for key: id=01020304 label=server-key [0] SoftHSM slot 0 login (libp11-test) [1] SoftHSM slot 1 uninitialized, login (no label) Found slot: SoftHSM slot 0 Found token: libp11-test Found 1 public key: 1 id=01020304 label=server-key Signature created Signature verified Current directory: /builddir/build/BUILD/libp11-0.4.11/tests Source directory: . Output directory: output.4387 * Initializing smart card libp11-test...ok Importing Finished *************** Listing objects *************** Using slot 0 with a present token (0x0) Certificate Object; type = X.509 cert label: server-key subject: DN: CN=server-1 ID: 01020304 Public Key Object; RSA 2048 bits label: server-key ID: 01020304 Usage: encrypt, verify, wrap Private Key Object; RSA label: server-key ID: 01020304 Usage: decrypt, sign, unwrap Slot manufacturer......: SoftHSM project Slot description.......: SoftHSM slot 0 Slot token label.......: libp11-test Slot token manufacturer: SoftHSM project Slot token model.......: SoftHSM v2 Slot token serialnr....: 27985cc8c6faedae 256-byte signature created Signature matched Cleanup complete Slot manufacturer......: SoftHSM project Slot description.......: SoftHSM slot 0 Slot token label.......: libp11-test Slot token manufacturer: SoftHSM project Slot token model.......: SoftHSM v2 Slot token serialnr....: 27985cc8c6faedae Slot manufacturer......: SoftHSM project Slot description.......: SoftHSM slot 0 Slot token label.......: libp11-test Slot token manufacturer: SoftHSM project Slot token model.......: SoftHSM v2 Slot token serialnr....: 27985cc8c6faedae Slot manufacturer......: SoftHSM project Slot description.......: SoftHSM slot 0 Slot token label.......: libp11-test Slot token manufacturer: SoftHSM project Slot token model.......: SoftHSM v2 Slot token serialnr....: 27985cc8c6faedae Slot manufacturer......: SoftHSM project Slot description.......: SoftHSM slot 0 Slot token label.......: libp11-test Slot token manufacturer: SoftHSM project Slot token model.......: SoftHSM v2 Slot token serialnr....: 27985cc8c6faedae Current directory: /builddir/build/BUILD/libp11-0.4.11/tests Source directory: . Output directory: output.4390 * Initializing smart card libp11-test...ok Importing Finished *************** Listing objects *************** Using slot 0 with a present token (0x0) Certificate Object; type = X.509 cert label: server-key subject: DN: CN=server-1 ID: 01020304 Public Key Object; RSA 2048 bits label: server-key ID: 01020304 Usage: encrypt, verify, wrap Private Key Object; RSA label: server-key ID: 01020304 Usage: decrypt, sign, unwrap Slot manufacturer......: SoftHSM project Slot description.......: SoftHSM slot 0 Slot token label.......: libp11-test Slot token manufacturer: SoftHSM project Slot token model.......: SoftHSM v2 Slot token serialnr....: f0e39ce24127817d Public keys: * Public key: server-key Private keys: * Private key: server-key Success. Current directory: /builddir/build/BUILD/libp11-0.4.11/tests Source directory: . Output directory: output.4385 * Initializing smart card libp11-test...ok Importing Finished *************** Listing objects *************** Using slot 0 with a present token (0x0) Certificate Object; type = X.509 cert label: server-key subject: DN: CN=server-1 ID: 01020304 Public Key Object; RSA 2048 bits label: server-key ID: 01020304 Usage: encrypt, verify, wrap Private Key Object; RSA label: server-key ID: 01020304 Usage: decrypt, sign, unwrap Slot manufacturer......: SoftHSM project Slot description.......: SoftHSM slot 0 Slot token label.......: libp11-test Slot token manufacturer: SoftHSM project Slot token model.......: SoftHSM v2 Slot token serialnr....: 2d6a4880983099ec authentication successfull. Current directory: /builddir/build/BUILD/libp11-0.4.11/tests Source directory: . Output directory: output.4438 * Initializing smart card libp11-test-0...ok Importing objects to token libp11-test-0 Finished Certificate Object; type = X.509 cert label: label-0 subject: DN: CN=server-1 ID: 01020304 Private Key Object; RSA label: label-0 ID: 01020304 Usage: decrypt, sign, unwrap Public Key Object; RSA 2048 bits label: label-0 ID: 01020304 Usage: encrypt, verify, wrap * Initializing smart card libp11-test-1...ok Importing objects to token libp11-test-1 Finished Private Key Object; RSA label: label-1 ID: 01020304 Usage: decrypt, sign, unwrap Public Key Object; RSA 2048 bits label: label-1 ID: 01020304 Usage: encrypt, verify, wrap Certificate Object; type = X.509 cert label: label-1 subject: DN: CN=server-1 ID: 01020304 * Initializing smart card libp11-test-2...ok Importing objects to token libp11-test-2 Finished Private Key Object; RSA label: label-2 ID: 01020304 Usage: decrypt, sign, unwrap Public Key Object; RSA 2048 bits label: label-2 ID: 01020304 Usage: encrypt, verify, wrap Certificate Object; type = X.509 cert label: label-2 subject: DN: CN=server-1 ID: 01020304 * Initializing smart card libp11-test-3...ok Importing objects to token libp11-test-3 Finished Certificate Object; type = X.509 cert label: label-3 subject: DN: CN=server-1 ID: 01020304 Public Key Object; RSA 2048 bits label: label-3 ID: 01020304 Usage: encrypt, verify, wrap Private Key Object; RSA label: label-3 ID: 01020304 Usage: decrypt, sign, unwrap * Initializing smart card libp11-test-4...ok Importing objects to token libp11-test-4 Finished Certificate Object; type = X.509 cert label: label-4 subject: DN: CN=server-1 ID: 01020304 Public Key Object; RSA 2048 bits label: label-4 ID: 01020304 Usage: encrypt, verify, wrap Private Key Object; RSA label: label-4 ID: 01020304 Usage: decrypt, sign, unwrap * Initializing smart card libp11-test-5...ok Importing objects to token libp11-test-5 Finished Private Key Object; RSA label: label-5 ID: 01020304 Usage: decrypt, sign, unwrap Certificate Object; type = X.509 cert label: label-5 subject: DN: CN=server-1 ID: 01020304 Public Key Object; RSA 2048 bits label: label-5 ID: 01020304 Usage: encrypt, verify, wrap Detected system: linux-gnu engine "pkcs11" set. Found uninitialized token Multiple matching slots (6); will not try to login PKCS11_get_private_key returned NULL cannot load Private Key from engine 140500593112976:error:80067065:pkcs11 engine:ctx_load_privkey:object not found:eng_back.c:952: 140500593112976:error:26096080:engine routines:ENGINE_load_private_key:failed loading private key:eng_pkey.c:124: unable to load Private Key Error initializing context engine "pkcs11" set. engine "pkcs11" set. Found uninitialized token Signature Verified Successfully Failed to verify the signature using the PKCS#11 URI pkcs11:object=label-0;type=public;pin-value=1234 ========================================= libp11 0.4.11: tests/test-suite.log ========================================= # TOTAL: 13 # PASS: 11 # SKIP: 0 # XFAIL: 0 # FAIL: 2 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: pkcs11-uri-without-token.softhsm ====================================== Current directory: /builddir/build/BUILD/libp11-0.4.11/tests Source directory: . Output directory: output.4424 * Initializing smart card libp11-test...ok Importing Finished *************** Listing objects *************** Using slot 0 with a present token (0x0) Private Key Object; RSA label: server-key ID: 01020304 Usage: decrypt, sign, unwrap Public Key Object; RSA 2048 bits label: server-key ID: 01020304 Usage: encrypt, verify, wrap Certificate Object; type = X.509 cert label: server-key subject: DN: CN=server-1 ID: 01020304 Detected system: linux-gnu engine "pkcs11" set. Found uninitialized token engine "pkcs11" set. Found uninitialized token Signature Verified Successfully Failed to verify signature using PKCS#11 URI pkcs11:object=server-key;type=public;pin-value=1234 FAIL: search-all-matching-tokens.softhsm ======================================== Current directory: /builddir/build/BUILD/libp11-0.4.11/tests Source directory: . Output directory: output.4438 * Initializing smart card libp11-test-0...ok Importing objects to token libp11-test-0 Finished Certificate Object; type = X.509 cert label: label-0 subject: DN: CN=server-1 ID: 01020304 Private Key Object; RSA label: label-0 ID: 01020304 Usage: decrypt, sign, unwrap Public Key Object; RSA 2048 bits label: label-0 ID: 01020304 Usage: encrypt, verify, wrap * Initializing smart card libp11-test-1...ok Importing objects to token libp11-test-1 Finished Private Key Object; RSA label: label-1 ID: 01020304 Usage: decrypt, sign, unwrap Public Key Object; RSA 2048 bits label: label-1 ID: 01020304 Usage: encrypt, verify, wrap Certificate Object; type = X.509 cert label: label-1 subject: DN: CN=server-1 ID: 01020304 * Initializing smart card libp11-test-2...ok Importing objects to token libp11-test-2 Finished Private Key Object; RSA label: label-2 ID: 01020304 Usage: decrypt, sign, unwrap Public Key Object; RSA 2048 bits label: label-2 ID: 01020304 Usage: encrypt, verify, wrap Certificate Object; type = X.509 cert label: label-2 subject: DN: CN=server-1 ID: 01020304 * Initializing smart card libp11-test-3...ok Importing objects to token libp11-test-3 Finished Certificate Object; type = X.509 cert label: label-3 subject: DN: CN=server-1 ID: 01020304 Public Key Object; RSA 2048 bits label: label-3 ID: 01020304 Usage: encrypt, verify, wrap Private Key Object; RSA label: label-3 ID: 01020304 Usage: decrypt, sign, unwrap * Initializing smart card libp11-test-4...ok Importing objects to token libp11-test-4 Finished Certificate Object; type = X.509 cert label: label-4 subject: DN: CN=server-1 ID: 01020304 Public Key Object; RSA 2048 bits label: label-4 ID: 01020304 Usage: encrypt, verify, wrap Private Key Object; RSA label: label-4 ID: 01020304 Usage: decrypt, sign, unwrap * Initializing smart card libp11-test-5...ok Importing objects to token libp11-test-5 Finished Private Key Object; RSA label: label-5 ID: 01020304 Usage: decrypt, sign, unwrap Certificate Object; type = X.509 cert label: label-5 subject: DN: CN=server-1 ID: 01020304 Public Key Object; RSA 2048 bits label: label-5 ID: 01020304 Usage: encrypt, verify, wrap Detected system: linux-gnu engine "pkcs11" set. Found uninitialized token Multiple matching slots (6); will not try to login PKCS11_get_private_key returned NULL cannot load Private Key from engine 140500593112976:error:80067065:pkcs11 engine:ctx_load_privkey:object not found:eng_back.c:952: 140500593112976:error:26096080:engine routines:ENGINE_load_private_key:failed loading private key:eng_pkey.c:124: unable to load Private Key Error initializing context engine "pkcs11" set. engine "pkcs11" set. Found uninitialized token Signature Verified Successfully Failed to verify the signature using the PKCS#11 URI pkcs11:object=label-0;type=public;pin-value=1234 RPM build errors: + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.XLKhS3 (%check) Bad exit status from /var/tmp/rpm-tmp.XLKhS3 (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M e042d41fac8f4ab4bd5167bbb80eb611 -D /var/lib/mock/dist-an7_9-updates-build-134908-49760/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.8iau1ubp:/etc/resolv.conf --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/openssl-pkcs11.spec