Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/zisofs-tools.spec'], chrootPath='/var/lib/mock/f31-build-71809-30683/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/zisofs-tools.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 BUILDSTDERR: warning: Macro expanded in comment on line 7: %{version}.tar.bz2 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Wrote: /builddir/build/SRPMS/zisofs-tools-1.0.8-22.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/zisofs-tools.spec'], chrootPath='/var/lib/mock/f31-build-71809-30683/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/zisofs-tools.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 BUILDSTDERR: warning: Macro expanded in comment on line 7: %{version}.tar.bz2 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HrCs3E + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zisofs-tools-1.0.8 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/zisofs-tools-1.0.8.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd zisofs-tools-1.0.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DYHmVF + umask 022 + cd /builddir/build/BUILD + cd zisofs-tools-1.0.8 + 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 + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name 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 + make -j4 checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for an ANSI C-conforming const... yes checking for inline... inline checking if gcc accepts -Wall... yes checking if gcc accepts -W... yes checking if gcc accepts -Wpointer-arith... yes checking if gcc accepts -Wbad-function-cast... yes checking if gcc accepts -Wcast-equal... no checking if gcc accepts -Wstrict-prototypes... yes checking if gcc accepts -Wmissing-prototypes... yes checking if gcc accepts -Wmissing-declarations... yes checking if gcc accepts -Wnested-externs... yes checking if gcc accepts -Winline... yes checking if gcc accepts -Wshadow... yes checking if gcc accepts -Wcast-align... yes checking if gcc accepts -pipe... yes checking how to run the C preprocessor... gcc -E checking for egrep... 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 for inttypes.h... (cached) yes checking sysexits.h usability... yes checking sysexits.h presence... yes checking for sysexits.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking for off_t... yes checking for size_t... yes checking for ssize_t... yes checking for lchown... yes checking for utimes... yes checking for struct stat.st_mtim.tv_usec... no checking for struct stat.st_mtim.tv_nsec... yes checking for library containing compress2... -lz checking for library containing getopt_long... none required checking for getopt_long... yes checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating MCONFIG config.status: creating config.h echo "#define ZISOFS_TOOLS_VERSION \"1.0.8\"" > version.h 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 -Wall -W -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wshadow -Wcast-align -pipe -c walk.c 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 -Wall -W -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wshadow -Wcast-align -pipe -c workers.c BUILDSTDERR: 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 -Wall -W -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline walk.c: In function 'munge_file': BUILDSTDERR: walk.c:87:5: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 87 | chown(outpath, st->st_uid, st->st_gid); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: compress.c: In function 'block_compress_file': BUILDSTDERR: compress.c:132:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 132 | ftruncate(fileno(output), position); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 -Wshadow -Wcast-align -pipe -c util.c 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 -Wall -W -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wshadow -Wcast-align -pipe -c hash.c 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 -Wall -W -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wshadow -Wcast-align -pipe -c iso9660.c 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 -Wall -W -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wshadow -Wcast-align -pipe -c copytime.c 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 -Wall -W -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wshadow -Wcast-align -pipe -c compress.c 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 -Wall -W -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wshadow -Wcast-align -pipe -c uncompress.c 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 -Wall -W -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wshadow -Wcast-align -pipe -c mkzftree.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mkzftree mkzftree.o walk.o workers.o util.o hash.o iso9660.o copytime.o compress.o uncompress.o -lz Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Nq9EPF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/zisofs-tools-1.0.8-22.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/zisofs-tools-1.0.8-22.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/zisofs-tools-1.0.8-22.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/zisofs-tools-1.0.8-22.fc31.riscv64 + cd zisofs-tools-1.0.8 + rm -rf /builddir/build/BUILDROOT/zisofs-tools-1.0.8-22.fc31.riscv64 + make install INSTALLROOT=/builddir/build/BUILDROOT/zisofs-tools-1.0.8-22.fc31.riscv64 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.8-22.fc31 --unique-debug-suffix -1.0.8-22.fc31.riscv64 --unique-debug-src-base zisofs-tools-1.0.8-22.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/zisofs-tools-1.0.8 BUILDSTDERR: 76 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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 mkdir -p /builddir/build/BUILDROOT/zisofs-tools-1.0.8-22.fc31.riscv64/usr/bin /usr/bin/install -c mkzftree /builddir/build/BUILDROOT/zisofs-tools-1.0.8-22.fc31.riscv64/usr/bin mkdir -p /builddir/build/BUILDROOT/zisofs-tools-1.0.8-22.fc31.riscv64/usr/share/man/man1 /usr/bin/install -c -m 644 mkzftree.1 /builddir/build/BUILDROOT/zisofs-tools-1.0.8-22.fc31.riscv64/usr/share/man/man1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/zisofs-tools-1.0.8-22.fc31.riscv64/usr/bin/mkzftree extracting debug info from /builddir/build/BUILDROOT/zisofs-tools-1.0.8-22.fc31.riscv64/usr/bin/mkzftree original debug info size: 100kB, size after compression: 92kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: zisofs-tools-1.0.8-22.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2VNrCF + umask 022 + cd /builddir/build/BUILD + cd zisofs-tools-1.0.8 + DOCDIR=/builddir/build/BUILDROOT/zisofs-tools-1.0.8-22.fc31.riscv64/usr/share/doc/zisofs-tools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/zisofs-tools-1.0.8-22.fc31.riscv64/usr/share/doc/zisofs-tools + cp -pr README /builddir/build/BUILDROOT/zisofs-tools-1.0.8-22.fc31.riscv64/usr/share/doc/zisofs-tools + cp -pr zisofs.magic /builddir/build/BUILDROOT/zisofs-tools-1.0.8-22.fc31.riscv64/usr/share/doc/zisofs-tools + cp -pr COPYING /builddir/build/BUILDROOT/zisofs-tools-1.0.8-22.fc31.riscv64/usr/share/doc/zisofs-tools + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: zisofs-tools = 1.0.8-22.fc31 zisofs-tools(riscv-64) = 1.0.8-22.fc31 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) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: zisofs-tools-debugsource-1.0.8-22.fc31.riscv64 Provides: zisofs-tools-debugsource = 1.0.8-22.fc31 zisofs-tools-debugsource(riscv-64) = 1.0.8-22.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: zisofs-tools-debuginfo-1.0.8-22.fc31.riscv64 Provides: debuginfo(build-id) = 6854cc5419aa05bf09ec6808091091cdbe5e01ac zisofs-tools-debuginfo = 1.0.8-22.fc31 zisofs-tools-debuginfo(riscv-64) = 1.0.8-22.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: zisofs-tools-debugsource(riscv-64) = 1.0.8-22.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/zisofs-tools-1.0.8-22.fc31.riscv64 Wrote: /builddir/build/RPMS/zisofs-tools-1.0.8-22.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/zisofs-tools-debugsource-1.0.8-22.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/zisofs-tools-debuginfo-1.0.8-22.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Bzw6tI + umask 022 + cd /builddir/build/BUILD + cd zisofs-tools-1.0.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/zisofs-tools-1.0.8-22.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0