Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/which.spec'], chrootPath='/var/lib/mock/f33-build-134015-41475/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/which.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1585094400 Wrote: /builddir/build/SRPMS/which-2.21-19.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/which.spec'], chrootPath='/var/lib/mock/f33-build-134015-41475/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/which.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1585094400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cQPgtw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf which-2.21 + /usr/bin/gzip -dc /builddir/build/SOURCES/which-2.21.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd which-2.21 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (which-2.21-coverity-fixes.patch):' Patch #0 (which-2.21-coverity-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .coverity --fuzz=0 patching file tilde/tilde.c patching file which.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eEpMBt + umask 022 + cd /builddir/build/BUILD + cd which-2.21 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for xmalloc in libiberty.a... no checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking for string.h... (cached) yes checking libiberty.h usability... no checking libiberty.h presence... no checking for libiberty.h... no checking whether stat file-mode macros are broken... no checking for an ANSI C-conforming const... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for strchr... yes checking for memcpy... yes checking for getopt_long... yes checking for getcwd... yes checking for getwd... yes checking for sysconf... yes checking for getgroups... yes checking for eaccess... yes checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for stdlib.h... (cached) yes checking for memory.h... (cached) yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for strings.h... (cached) yes checking for getpwent... yes checking for getpwnam... yes checking for getpwuid... yes checking whether programs are able to redeclare getpw functions... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating maintMakefile config.status: creating tilde/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in tilde make[2]: Entering directory '/builddir/build/BUILD/which-2.21/tilde' gcc -DHAVE_CONFIG_H -I. -I.. -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 shell.o shell.c make[2]: Leaving directory '/builddir/build/BUILD/which-2.21/tilde' make[2]: Entering directory '/builddir/build/BUILD/which-2.21/tilde' gcc -DHAVE_CONFIG_H -I. -I.. -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 tilde.o tilde.c make[2]: Leaving directory '/builddir/build/BUILD/which-2.21/tilde' make[2]: Entering directory '/builddir/build/BUILD/which-2.21/tilde' rm -f libtilde.a ar cru libtilde.a tilde.o shell.o ranlib libtilde.a make[2]: Leaving directory '/builddir/build/BUILD/which-2.21/tilde' Making all in . make[2]: Entering directory '/builddir/build/BUILD/which-2.21' gcc -DHAVE_CONFIG_H -I. -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 getopt.o getopt.c make[2]: Leaving directory '/builddir/build/BUILD/which-2.21' make[2]: Entering directory '/builddir/build/BUILD/which-2.21' gcc -DHAVE_CONFIG_H -I. -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 getopt1.o getopt1.c make[2]: Leaving directory '/builddir/build/BUILD/which-2.21' make[2]: Entering directory '/builddir/build/BUILD/which-2.21' gcc -DHAVE_CONFIG_H -I. -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 bash.o bash.c make[2]: Leaving directory '/builddir/build/BUILD/which-2.21' make[2]: Entering directory '/builddir/build/BUILD/which-2.21' gcc -DHAVE_CONFIG_H -I. -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 which.o which.c make[2]: Leaving directory '/builddir/build/BUILD/which-2.21' make[2]: Entering directory '/builddir/build/BUILD/which-2.21' gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o which getopt.o getopt1.o bash.o which.o ./tilde/libtilde.a make[2]: Leaving directory '/builddir/build/BUILD/which-2.21' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Osfcrt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64 + cd which-2.21 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64 'INSTALL=/usr/bin/install -p' /usr/bin/make install-recursive make[1]: Entering directory '/builddir/build/BUILD/which-2.21' Making install in tilde make[2]: Entering directory '/builddir/build/BUILD/which-2.21/tilde' make[3]: Entering directory '/builddir/build/BUILD/which-2.21/tilde' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/which-2.21/tilde' make[2]: Leaving directory '/builddir/build/BUILD/which-2.21/tilde' Making install in . make[2]: Entering directory '/builddir/build/BUILD/which-2.21' make[3]: Entering directory '/builddir/build/BUILD/which-2.21' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/bin' /usr/bin/install -p which '/builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/share/info' /usr/bin/install -p -m 644 ./which.info '/builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/share/info' install-info --info-dir='/builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/share/info' '/builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/share/info/which.info' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 which.1 '/builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/share/man/man1' make[3]: Leaving directory '/builddir/build/BUILD/which-2.21' make[2]: Leaving directory '/builddir/build/BUILD/which-2.21' make[1]: Leaving directory '/builddir/build/BUILD/which-2.21' + mkdir -p /builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/etc/profile.d + install -p -m 644 /builddir/build/SOURCES/which2.sh /builddir/build/SOURCES/which2.csh /builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/etc/profile.d/ + rm -f /builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/share/info/dir + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.21-19.fc33 --unique-debug-suffix -2.21-19.fc33.riscv64 --unique-debug-src-base which-2.21-19.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/which-2.21 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/bin/which extracting debug info from /builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/bin/which original debug info size: 116kB, size after compression: 116kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 106 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: which-2.21-19.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DLe1yt + umask 022 + cd /builddir/build/BUILD + cd which-2.21 + DOCDIR=/builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/share/doc/which + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/share/doc/which + cp -pr EXAMPLES /builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/share/doc/which + cp -pr README /builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/share/doc/which + cp -pr AUTHORS /builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/share/doc/which + cp -pr NEWS /builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/share/doc/which + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.jZDnxu + umask 022 + cd /builddir/build/BUILD + cd which-2.21 + LICENSEDIR=/builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/share/licenses/which + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/share/licenses/which + cp -pr COPYING /builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64/usr/share/licenses/which + RPM_EC=0 ++ jobs -p + exit 0 Provides: which = 2.21-19.fc33 which(riscv-64) = 2.21-19.fc33 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) rtld(GNU_HASH) Processing files: which-debugsource-2.21-19.fc33.riscv64 Provides: which-debugsource = 2.21-19.fc33 which-debugsource(riscv-64) = 2.21-19.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: which-debuginfo-2.21-19.fc33.riscv64 Provides: debuginfo(build-id) = f64ce02d9000547babbb9b4cddc3886602053a67 which-debuginfo = 2.21-19.fc33 which-debuginfo(riscv-64) = 2.21-19.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: which-debugsource(riscv-64) = 2.21-19.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64 Wrote: /builddir/build/RPMS/which-debugsource-2.21-19.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/which-2.21-19.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/which-debuginfo-2.21-19.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9nyxHv + umask 022 + cd /builddir/build/BUILD + cd which-2.21 + /usr/bin/rm -rf /builddir/build/BUILDROOT/which-2.21-19.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0