Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/p11-remote.spec'], chrootPath='/var/lib/mock/f30-build-38953-22306/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/p11-remote.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/p11-remote-0.3-5.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/p11-remote.spec'], chrootPath='/var/lib/mock/f30-build-38953-22306/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/p11-remote.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EYDPWt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf p11-remote-0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/p11-remote-0.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd p11-remote-0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jOsoJD + umask 022 + cd /builddir/build/BUILD + cd p11-remote-0.3 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./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' + for i in $(find $(dirname ./configure) -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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 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 build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for riscv64-koji-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for riscv64-koji-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 for P11KIT... yes checking for CRYPTO... yes checking for SYSTEMD... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make -j4 make all-am make[1]: Entering directory '/builddir/build/BUILD/p11-remote-0.3' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DP11KIT_P11_MODULE_PATH='"/usr/lib64/pkcs11"' -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libp11_kit_engine_la-engine.lo `test -f 'engine.c' || echo './'`engine.c sed -e 's|@bindir[@]|/usr/bin|g' \ -e 's|@p11kit_proxy_module[@]|/usr/lib64/p11-kit-proxy.so|g' p11-kit-remote@.service.in >p11-kit-remote@.service libtool: compile: gcc -DHAVE_CONFIG_H -I. -DP11KIT_P11_MODULE_PATH=\"/usr/lib64/pkcs11\" -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c engine.c -fPIC -DPIC -o .libs/libp11_kit_engine_la-engine.o /bin/sh ./libtool --tag=CC --mode=link gcc -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libp11-kit-engine.la -rpath /usr/lib64/engines-1.1 libp11_kit_engine_la-engine.lo -lp11-kit -lcrypto libtool: link: gcc -shared -fPIC -DPIC .libs/libp11_kit_engine_la-engine.o -lp11-kit -lcrypto -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,libp11-kit-engine.so -o .libs/libp11-kit-engine.so libtool: link: ( cd ".libs" && rm -f "libp11-kit-engine.la" && ln -s "../libp11-kit-engine.la" "libp11-kit-engine.la" ) make[1]: Leaving directory '/builddir/build/BUILD/p11-remote-0.3' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bFbaB9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64 + cd p11-remote-0.3 + make install DESTDIR=/builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64 make[1]: Entering directory '/builddir/build/BUILD/p11-remote-0.3' make install-exec-hook make[2]: Entering directory '/builddir/build/BUILD/p11-remote-0.3' /usr/bin/mkdir -p /builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64/usr/lib64 /builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64/usr/lib64/engines-1.1 ln -s -f "$(realpath --relative-to=/builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64/usr/lib64 /builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64/usr/lib64/engines-1.1/libp11-kit-engine.so)" \ /builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64/usr/lib64/libp11-kit-engine.so make[2]: Leaving directory '/builddir/build/BUILD/p11-remote-0.3' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64/usr/lib64/engines-1.1' /bin/sh ./libtool --mode=install /usr/bin/install -c libp11-kit-engine.la '/builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64/usr/lib64/engines-1.1' libtool: install: /usr/bin/install -c .libs/libp11-kit-engine.so /builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64/usr/lib64/engines-1.1/libp11-kit-engine.so libtool: install: /usr/bin/install -c .libs/libp11-kit-engine.lai /builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64/usr/lib64/engines-1.1/libp11-kit-engine.la BUILDSTDERR: libtool: warning: remember to run 'libtool --finish /usr/lib64/engines-1.1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64/usr/share/man/man1' /usr/bin/install -c -m 644 libp11-kit-engine.so.1 '/builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64/usr/share/man/man5' /usr/bin/install -c -m 644 p11-kit-remote.socket.5 p11-kit-remote@.service.5 '/builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64/usr/lib/systemd/user' /usr/bin/install -c -m 644 p11-kit-remote.socket p11-kit-remote@.service '/builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64/usr/lib/systemd/user' make install-data-hook make[2]: Entering directory '/builddir/build/BUILD/p11-remote-0.3' /usr/bin/mkdir -p /builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64/usr/lib/systemd/user/sockets.target.wants ln -s -f ../p11-kit-remote.socket /builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64/usr/lib/systemd/user/sockets.target.wants/p11-kit-remote.socket make[2]: Leaving directory '/builddir/build/BUILD/p11-remote-0.3' make[1]: Leaving directory '/builddir/build/BUILD/p11-remote-0.3' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.3-5.fc30 --unique-debug-suffix -0.3-5.fc30.riscv64 --unique-debug-src-base p11-remote-0.3-5.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/p11-remote-0.3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64/usr/lib64/engines-1.1/libp11-kit-engine.so extracting debug info from /builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64/usr/lib64/engines-1.1/libp11-kit-engine.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 41 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** WARNING: ./usr/lib64/engines-1.1/libp11-kit-engine.la is executable but has empty or no shebang, removing executable bit Processing files: p11-remote-0.3-5.fc30.riscv64 Provides: libp11-kit-engine.so()(64bit) p11-remote = 0.3-5.fc30 p11-remote(riscv-64) = 0.3-5.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libp11-kit.so.0()(64bit) rtld(GNU_HASH) Processing files: p11-remote-debugsource-0.3-5.fc30.riscv64 Provides: p11-remote-debugsource = 0.3-5.fc30 p11-remote-debugsource(riscv-64) = 0.3-5.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: p11-remote-debuginfo-0.3-5.fc30.riscv64 Provides: debuginfo(build-id) = bb9d3f2514985e322b9d6f43516d948cab55390f p11-remote-debuginfo = 0.3-5.fc30 p11-remote-debuginfo(riscv-64) = 0.3-5.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: p11-remote-debugsource(riscv-64) = 0.3-5.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64 Wrote: /builddir/build/RPMS/p11-remote-0.3-5.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/p11-remote-debugsource-0.3-5.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/p11-remote-debuginfo-0.3-5.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fabWnk + umask 022 + cd /builddir/build/BUILD + cd p11-remote-0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/p11-remote-0.3-5.fc30.riscv64 + exit 0 Child return code was: 0