Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/openssl-pkcs11.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.GXTHnr:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8f3e45300d9e4c71b81b7dc1ecb0d9a8', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.GXTHnr:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/openssl-pkcs11.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/openssl-pkcs11-0.4.8-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/openssl-pkcs11.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.GXTHnr:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5be23d775fab4bcdad4215a84210e8ce', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.GXTHnr:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/openssl-pkcs11.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZO5MLK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libp11-0.4.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/libp11-0.4.8.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libp11-0.4.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6dSztq + umask 022 + cd /builddir/build/BUILD + cd libp11-0.4.8 + autoreconf -fvi BUILDSTDERR: autoreconf: Entering directory `.' BUILDSTDERR: autoreconf: configure.ac: not using Gettext BUILDSTDERR: autoreconf: running: aclocal --force -I m4 BUILDSTDERR: autoreconf: configure.ac: tracing BUILDSTDERR: 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' BUILDSTDERR: autoreconf: running: /usr/bin/autoconf --force BUILDSTDERR: autoreconf: running: /usr/bin/autoheader --force BUILDSTDERR: autoreconf: running: automake --add-missing --copy --force-missing BUILDSTDERR: 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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' i386 == ppc64le ']' BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ 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)' BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ 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=i386-redhat-linux-gnu --host=i386-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --with-enginesdir=/usr/lib/engines-1.1 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 build system type... i386-redhat-linux-gnu checking host system type... i386-redhat-linux-gnu checking for i386-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for i386-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking 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 i386-redhat-linux-gnu file names to i386-redhat-linux-gnu format... func_convert_file_noop checking how to convert i386-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 i386-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i386-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i386-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i386-redhat-linux-gnu-strip... no checking for strip... strip checking for i386-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for i386-redhat-linux-gnu-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) 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 i386-redhat-linux-gnu-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 for __register_atfork... 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.8 libp11 directory: /usr/lib Engine directory: /usr/lib/engines-1.1 Default PKCS11 module: /usr/lib/p11-kit-proxy.so API doc support: no Host: i386-redhat-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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables Linker flags: -Wl,-z,relro Libraries: -ldl OPENSSL_CFLAGS: OPENSSL_LIBS: -lcrypto + make V=1 -j4 Making all in src make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/src' make all-am make[2]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o pkcs11_la-eng_err.lo `test -f 'eng_err.c' || echo './'`eng_err.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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c eng_back.c -fPIC -DPIC -o .libs/pkcs11_la-eng_back.o /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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o libp11_la-libpkcs11.lo `test -f 'libpkcs11.c' || echo './'`libpkcs11.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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c libpkcs11.c -fPIC -DPIC -o .libs/libp11_la-libpkcs11.o /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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o libp11_la-p11_attr.lo `test -f 'p11_attr.c' || echo './'`p11_attr.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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c p11_attr.c -fPIC -DPIC -o .libs/libp11_la-p11_attr.o BUILDSTDERR: In file included from libp11-int.h:27:0, BUILDSTDERR: from libpkcs11.c:26: BUILDSTDERR: atfork.h:42:19: warning: '_P11_detect_fork' defined but not used [-Wunused-function] BUILDSTDERR: inline static int _P11_detect_fork(unsigned int forkid) BUILDSTDERR: ^ BUILDSTDERR: atfork.h:49:28: warning: '_P11_get_forkid' defined but not used [-Wunused-function] BUILDSTDERR: inline static unsigned int _P11_get_forkid(void) BUILDSTDERR: ^ /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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o libp11_la-p11_cert.lo `test -f 'p11_cert.c' || echo './'`p11_cert.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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c p11_cert.c -fPIC -DPIC -o .libs/libp11_la-p11_cert.o BUILDSTDERR: In file included from libp11-int.h:27:0, BUILDSTDERR: from p11_attr.c:29: BUILDSTDERR: atfork.h:42:19: warning: '_P11_detect_fork' defined but not used [-Wunused-function] BUILDSTDERR: inline static int _P11_detect_fork(unsigned int forkid) BUILDSTDERR: ^ BUILDSTDERR: atfork.h:49:28: warning: '_P11_get_forkid' defined but not used [-Wunused-function] BUILDSTDERR: inline static unsigned int _P11_get_forkid(void) BUILDSTDERR: ^ /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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o libp11_la-p11_err.lo `test -f 'p11_err.c' || echo './'`p11_err.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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c p11_err.c -fPIC -DPIC -o .libs/libp11_la-p11_err.o BUILDSTDERR: In file included from libp11-int.h:27:0, BUILDSTDERR: from p11_cert.c:25: BUILDSTDERR: atfork.h:42:19: warning: '_P11_detect_fork' defined but not used [-Wunused-function] BUILDSTDERR: inline static int _P11_detect_fork(unsigned int forkid) BUILDSTDERR: ^ BUILDSTDERR: atfork.h:49:28: warning: '_P11_get_forkid' defined but not used [-Wunused-function] BUILDSTDERR: inline static unsigned int _P11_get_forkid(void) BUILDSTDERR: ^ /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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o libp11_la-p11_key.lo `test -f 'p11_key.c' || echo './'`p11_key.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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c p11_key.c -fPIC -DPIC -o .libs/libp11_la-p11_key.o /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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o libp11_la-p11_load.lo `test -f 'p11_load.c' || echo './'`p11_load.c BUILDSTDERR: In file included from libp11-int.h:27:0, BUILDSTDERR: from p11_ckr.c:20: BUILDSTDERR: atfork.h:42:19: warning: '_P11_detect_fork' defined but not used [-Wunused-function] BUILDSTDERR: inline static int _P11_detect_fork(unsigned int forkid) BUILDSTDERR: ^ BUILDSTDERR: atfork.h:49:28: warning: '_P11_get_forkid' defined but not used [-Wunused-function] BUILDSTDERR: inline static unsigned int _P11_get_forkid(void) BUILDSTDERR: ^ BUILDSTDERR: In file included from libp11-int.h:27:0, BUILDSTDERR: from p11_key.c:20: BUILDSTDERR: atfork.h:42:19: warning: '_P11_detect_fork' defined but not used [-Wunused-function] BUILDSTDERR: inline static int _P11_detect_fork(unsigned int forkid) BUILDSTDERR: ^ 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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c p11_load.c -fPIC -DPIC -o .libs/libp11_la-p11_load.o /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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o libp11_la-p11_rsa.lo `test -f 'p11_rsa.c' || echo './'`p11_rsa.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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c p11_rsa.c -fPIC -DPIC -o .libs/libp11_la-p11_rsa.o BUILDSTDERR: In file included from libp11-int.h:27:0, BUILDSTDERR: from p11_load.c:19: BUILDSTDERR: atfork.h:42:19: warning: '_P11_detect_fork' defined but not used [-Wunused-function] BUILDSTDERR: inline static int _P11_detect_fork(unsigned int forkid) BUILDSTDERR: ^ BUILDSTDERR: In file included from libp11-int.h:27:0, BUILDSTDERR: from p11_misc.c:20: BUILDSTDERR: atfork.h:42:19: warning: '_P11_detect_fork' defined but not used [-Wunused-function] BUILDSTDERR: inline static int _P11_detect_fork(unsigned int forkid) BUILDSTDERR: ^ BUILDSTDERR: atfork.h:49:28: warning: '_P11_get_forkid' defined but not used [-Wunused-function] BUILDSTDERR: inline static unsigned int _P11_get_forkid(void) BUILDSTDERR: ^ BUILDSTDERR: In file included from libp11-int.h:27:0, BUILDSTDERR: from p11_rsa.c:25: BUILDSTDERR: atfork.h:42:19: warning: '_P11_detect_fork' defined but not used [-Wunused-function] BUILDSTDERR: inline static int _P11_detect_fork(unsigned int forkid) BUILDSTDERR: ^ BUILDSTDERR: atfork.h:49:28: warning: '_P11_get_forkid' defined but not used [-Wunused-function] BUILDSTDERR: inline static unsigned int _P11_get_forkid(void) BUILDSTDERR: ^ /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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o libp11_la-p11_pkey.lo `test -f 'p11_pkey.c' || echo './'`p11_pkey.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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c p11_pkey.c -fPIC -DPIC -o .libs/libp11_la-p11_pkey.o BUILDSTDERR: In file included from libp11-int.h:27:0, BUILDSTDERR: from p11_ec.c:27: BUILDSTDERR: atfork.h:42:19: warning: '_P11_detect_fork' defined but not used [-Wunused-function] BUILDSTDERR: inline static int _P11_detect_fork(unsigned int forkid) BUILDSTDERR: ^ BUILDSTDERR: atfork.h:49:28: warning: '_P11_get_forkid' defined but not used [-Wunused-function] BUILDSTDERR: inline static unsigned int _P11_get_forkid(void) BUILDSTDERR: ^ BUILDSTDERR: In file included from libp11-int.h:27:0, BUILDSTDERR: from p11_pkey.c:20: BUILDSTDERR: atfork.h:42:19: warning: '_P11_detect_fork' defined but not used [-Wunused-function] BUILDSTDERR: inline static int _P11_detect_fork(unsigned int forkid) BUILDSTDERR: ^ BUILDSTDERR: atfork.h:49:28: warning: '_P11_get_forkid' defined but not used [-Wunused-function] BUILDSTDERR: inline static unsigned int _P11_get_forkid(void) BUILDSTDERR: ^ /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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o libp11_la-p11_front.lo `test -f 'p11_front.c' || echo './'`p11_front.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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c p11_slot.c -fPIC -DPIC -o .libs/libp11_la-p11_slot.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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c p11_front.c -fPIC -DPIC -o .libs/libp11_la-p11_front.o /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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o libp11_la-atfork.lo `test -f 'atfork.c' || echo './'`atfork.c BUILDSTDERR: In file included from libp11-int.h:27:0, BUILDSTDERR: from p11_slot.c:19: BUILDSTDERR: atfork.h:42:19: warning: '_P11_detect_fork' defined but not used [-Wunused-function] BUILDSTDERR: inline static int _P11_detect_fork(unsigned int forkid) BUILDSTDERR: ^ BUILDSTDERR: atfork.h:49:28: warning: '_P11_get_forkid' defined but not used [-Wunused-function] BUILDSTDERR: inline static unsigned int _P11_get_forkid(void) BUILDSTDERR: ^ 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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c atfork.c -fPIC -DPIC -o .libs/libp11_la-atfork.o BUILDSTDERR: In file included from libp11-int.h:27:0, BUILDSTDERR: from atfork.c:22: BUILDSTDERR: atfork.h:42:19: warning: '_P11_detect_fork' defined but not used [-Wunused-function] BUILDSTDERR: inline static int _P11_detect_fork(unsigned int forkid) BUILDSTDERR: ^ BUILDSTDERR: atfork.h:49:28: warning: '_P11_get_forkid' defined but not used [-Wunused-function] BUILDSTDERR: inline static unsigned int _P11_get_forkid(void) BUILDSTDERR: ^ /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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -module -shared -shrext .so -avoid-version -export-symbols "./pkcs11.exports" -Wl,-z,relro -o pkcs11.la -rpath /usr/lib/engines-1.1 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-atfork.lo -lcrypto -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -version-info 7:0:5 -Wl,--version-script=libp11.map -Wl,-z,relro -o libp11.la -rpath /usr/lib 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-atfork.lo -lcrypto -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-atfork.o -lcrypto -ldl -O2 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -Wl,--version-script=libp11.map -Wl,-z -Wl,relro -Wl,-soname -Wl,libp11.so.2 -o .libs/libp11.so.2.5.0 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-atfork.o -lcrypto -ldl -O2 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -Wl,-z -Wl,relro -Wl,-soname -Wl,pkcs11.so -Wl,-version-script -Wl,.libs/pkcs11.ver -o .libs/pkcs11.so libtool: link: (cd ".libs" && rm -f "libp11.so.2" && ln -s "libp11.so.2.5.0" "libp11.so.2") libtool: link: (cd ".libs" && rm -f "libp11.so" && ln -s "libp11.so.2.5.0" "libp11.so") libtool: link: ( cd ".libs" && rm -f "libp11.la" && ln -s "../libp11.la" "libp11.la" ) libtool: link: ( cd ".libs" && rm -f "pkcs11.la" && ln -s "../pkcs11.la" "pkcs11.la" ) make[2]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/src' make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/src' Making all in doc make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/doc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/doc' Making all in examples make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o listkeys.o listkeys.c BUILDSTDERR: decrypt.c: In function 'main': BUILDSTDERR: decrypt.c:211:2: warning: 'PKCS11_private_decrypt' is deprecated (declared at ../src/libp11.h:493): This function will be removed in libp11 0.5.0 [-Wdeprecated-declarations] BUILDSTDERR: rc = PKCS11_private_decrypt(len, encrypted, BUILDSTDERR: ^ BUILDSTDERR: auth.c: In function 'main': BUILDSTDERR: auth.c:200:2: warning: 'PKCS11_sign' is deprecated (declared at ../src/libp11.h:469): This function will be removed in libp11 0.5.0 [-Wdeprecated-declarations] BUILDSTDERR: rc = PKCS11_sign(NID_sha1, random, RANDOM_SIZE, BUILDSTDERR: ^ /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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z,relro -o getrandom getrandom.o ../src/libp11.la -lcrypto -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z,relro -o listkeys listkeys.o ../src/libp11.la -lcrypto -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z,relro -o decrypt decrypt.o ../src/libp11.la -lcrypto -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z,relro -o auth auth.o ../src/libp11.la -lcrypto -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z -Wl,relro -o .libs/getrandom getrandom.o ../src/.libs/libp11.so -lcrypto -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z -Wl,relro -o .libs/decrypt decrypt.o ../src/.libs/libp11.so -lcrypto -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z -Wl,relro -o .libs/listkeys listkeys.o ../src/.libs/libp11.so -lcrypto -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z -Wl,relro -o .libs/auth auth.o ../src/.libs/libp11.so -lcrypto -ldl make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/examples' Making all in tests make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/tests' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/tests' make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.8' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SB8jR4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386 + cd libp11-0.4.8 + mkdir -p /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib/engines-1.1 + make install DESTDIR=/builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386 Making install in src make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/src' make[2]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib/engines-1.1' /bin/sh ../libtool --mode=install /usr/bin/install -c pkcs11.la '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib/engines-1.1' libtool: install: /usr/bin/install -c .libs/pkcs11.so /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib/engines-1.1/pkcs11.so libtool: install: /usr/bin/install -c .libs/pkcs11.lai /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib/engines-1.1/pkcs11.la BUILDSTDERR: libtool: install: warning: remember to run `libtool --finish /usr/lib/engines-1.1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c libp11.la '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib' libtool: install: /usr/bin/install -c .libs/libp11.so.2.5.0 /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib/libp11.so.2.5.0 libtool: install: (cd /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib && { ln -s -f libp11.so.2.5.0 libp11.so.2 || { rm -f libp11.so.2 && ln -s libp11.so.2.5.0 libp11.so.2; }; }) libtool: install: (cd /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib && { ln -s -f libp11.so.2.5.0 libp11.so || { rm -f libp11.so && ln -s libp11.so.2.5.0 libp11.so; }; }) libtool: install: /usr/bin/install -c .libs/libp11.lai /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib/libp11.la BUILDSTDERR: libtool: install: warning: remember to run `libtool --finish /usr/lib' make install-exec-hook make[3]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/src' cd '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib/engines-1.1' && ln -s -f pkcs11.so libpkcs11.so make[3]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/include' /usr/bin/install -c -m 644 libp11.h p11_err.h '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/include' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib/pkgconfig' /usr/bin/install -c -m 644 libp11.pc '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib/pkgconfig' make[2]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/src' make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/src' Making install in doc make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/doc' make[2]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/doc' make[2]: Nothing to be done for `install-exec-am'. make[2]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/doc' make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/doc' Making install in examples make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/examples' make[2]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/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.8/examples' make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/examples' Making install in tests make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/tests' make[2]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/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.8/tests' make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/tests' make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.8' make[2]: Entering directory `/builddir/build/BUILD/libp11-0.4.8' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/share/doc/libp11' /usr/bin/install -c -m 644 NEWS '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/share/doc/libp11' make[2]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8' make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8' + rm -f /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib/libp11.la + rm -f /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib/engines-1.1/pkcs11.la + rm -f /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib/libp11.so + rm -f /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib/pkgconfig/libp11.pc + rm -f /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/include/libp11.h /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/include/p11_err.h + rm -rf /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/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 50000000 /builddir/build/BUILD/libp11-0.4.8 extracting debug info from /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib/engines-1.1/pkcs11.so extracting debug info from /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/lib/libp11.so.2.5.0 /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib/engines-1.1/pkcs11.so.debug to /usr/lib/debug/usr/lib/engines-1.1/libpkcs11.so.debug symlinked /usr/lib/debug/usr/lib/libp11.so.2.5.0.debug to /usr/lib/debug/usr/lib/libp11.so.2.debug BUILDSTDERR: 518 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.PzViwM + umask 022 + cd /builddir/build/BUILD + cd libp11-0.4.8 + make check -j4 Making check in src make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/src' make check-local make[2]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/src' cd .libs && ln -s -f pkcs11.so libpkcs11.so make[2]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/src' make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/src' Making check in doc make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/doc' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/doc' Making check in examples make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/examples' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/examples' Making check in tests make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/tests' make openssl_version fork-test evp-sign fork-change-slot list-tokens rsa-pss-sign rsa-oaep \ rsa-testpkcs11.softhsm rsa-testfork.softhsm rsa-testlistkeys.softhsm rsa-evp-sign.softhsm ec-testfork.softhsm fork-change-slot.softhsm rsa-pss-sign.softhsm rsa-oaep.softhsm case-insensitive.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.8/tests' CC openssl_version.o CC evp-sign.o CC fork-test.o CC fork-change-slot.o CC list-tokens.o BUILDSTDERR: list-tokens.c: In function 'main': BUILDSTDERR: list-tokens.c:15:15: warning: unused variable 'certs' [-Wunused-variable] BUILDSTDERR: PKCS11_CERT *certs; BUILDSTDERR: ^ CC rsa-pss-sign.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-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 `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 CCLD evp-sign CCLD openssl_version CCLD fork-change-slot CCLD list-tokens CCLD rsa-pss-sign CCLD rsa-oaep CCLD fork-test make[2]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/tests' make check-TESTS make[2]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/tests' make[3]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/tests' PASS: rsa-testfork.softhsm PASS: rsa-testlistkeys.softhsm PASS: rsa-evp-sign.softhsm PASS: rsa-testpkcs11.softhsm PASS: ec-testfork.softhsm PASS: rsa-pss-sign.softhsm PASS: rsa-oaep.softhsm PASS: case-insensitive.softhsm PASS: fork-change-slot.softhsm make[4]: Entering directory `/builddir/build/BUILD/libp11-0.4.8/tests' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/tests' ============================================================================ Testsuite summary for libp11 0.4.8 ============================================================================ # TOTAL: 9 # PASS: 9 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/tests' make[2]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/tests' make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8/tests' make[1]: Entering directory `/builddir/build/BUILD/libp11-0.4.8' make[1]: Nothing to be done for `check-am'. make[1]: Leaving directory `/builddir/build/BUILD/libp11-0.4.8' + exit 0 Processing files: openssl-pkcs11-0.4.8-1.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.omqFAK + umask 022 + cd /builddir/build/BUILD + cd libp11-0.4.8 + DOCDIR=/builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/share/doc/openssl-pkcs11-0.4.8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/share/doc/openssl-pkcs11-0.4.8 + cp -pr NEWS /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/share/doc/openssl-pkcs11-0.4.8 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6Bl6GI + umask 022 + cd /builddir/build/BUILD + cd libp11-0.4.8 + LICENSEDIR=/builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/share/licenses/openssl-pkcs11-0.4.8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/share/licenses/openssl-pkcs11-0.4.8 + cp -pr COPYING /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386/usr/share/licenses/openssl-pkcs11-0.4.8 + exit 0 Provides: engine_pkcs11(x86-32) = 0.4.8-1.el7 libp11(x86-32) = 0.4.8-1.el7 libp11.so.2 libp11.so.2(LIBP11_2) openssl-pkcs11 = 0.4.8-1.el7 openssl-pkcs11(x86-32) = 0.4.8-1.el7 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.2) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcrypto.so.10 libcrypto.so.10(OPENSSL_1.0.1_EC) libcrypto.so.10(libcrypto.so.10) libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) rtld(GNU_HASH) Obsoletes: libp11 < 0.4.7-4 engine_pkcs11 < 0.4.7-4 Processing files: openssl-pkcs11-debuginfo-0.4.8-1.el7.i686 Provides: openssl-pkcs11-debuginfo = 0.4.8-1.el7 openssl-pkcs11-debuginfo(x86-32) = 0.4.8-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386 Wrote: /builddir/build/RPMS/openssl-pkcs11-0.4.8-1.el7.i686.rpm Wrote: /builddir/build/RPMS/openssl-pkcs11-debuginfo-0.4.8-1.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.n43iyE + umask 022 + cd /builddir/build/BUILD + cd libp11-0.4.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/openssl-pkcs11-0.4.8-1.el7.i386 + exit 0 Child return code was: 0