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/rzip.spec'], chrootPath='/var/lib/mock/f31-build-66332-29841/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/rzip.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=1564099200 Wrote: /builddir/build/SRPMS/rzip-2.1-23.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rzip.spec'], chrootPath='/var/lib/mock/f31-build-66332-29841/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/rzip.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=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9JOLlq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rzip-2.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/rzip-2.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rzip-2.1 + /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.Ktosdp + umask 022 + cd /builddir/build/BUILD + cd rzip-2.1 + export '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 -fPIE -pie' + 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 -fPIE -pie' + 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 -fPIE -pie' + 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 BUILDSTDERR: rzip.c: In function 'find_best_match': BUILDSTDERR: rzip.c:330:18: warning: variable 'best_h' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 330 | unsigned int h, best_h; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c: In function 'preserve_perms': BUILDSTDERR: main.c:119:2: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 119 | fchown(fd_out, st.st_uid, st.st_gid); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (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 -fPIE -pie -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (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 -fPIE -pie -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for _XOPEN_SOURCE value needed for large files... no checking how to run the C preprocessor... gcc -E checking for fcntl.h... yes checking for sys/time.h... yes checking for sys/unistd.h... yes checking for unistd.h... yes checking for sys/param.h... yes checking for ctype.h... yes checking for sys/wait.h... yes checking for sys/ioctl.h... yes checking for string.h... yes checking for stdlib.h... yes checking for sys/types.h... yes checking for ANSI C header files... yes checking for off_t... yes checking for size_t... yes checking size of int... 4 checking size of long... 8 checking size of short... 2 checking for large file support... yes checking for inline... inline checking for BZ2_bzBuffToBuffCompress in -lbz2... yes checking for errno in errno.h... yes checking for mmap... yes checking for strerror... yes checking for getopt_long... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h gcc -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 -fPIE -pie -c rzip.c -o rzip.o gcc -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 -fPIE -pie -c runzip.c -o runzip.o gcc -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 -fPIE -pie -c main.c -o main.o gcc -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 -fPIE -pie -c stream.c -o stream.o gcc -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 -fPIE -pie -c util.c -o util.o BUILDSTDERR: gcc -I. -I. -O2 -g -pipe -Wall -Werror=format-srzip.c: In function 'rzip_fd': BUILDSTDERR: rzip.c:134:10: warning: 'current.ofs' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 134 | offset += n; BUILDSTDERR: | ~~~~~~~^~~~ BUILDSTDERR: rzip.c:398:4: note: 'current.ofs' was declared here BUILDSTDERR: 398 | } current; BUILDSTDERR: | ^~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 ecurity -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 -fPIE -pie -c crc32.c -o crc32.o 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 -fPIE -pie -o rzip rzip.o runzip.o main.o stream.o util.o crc32.o -lbz2 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gdYLCq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rzip-2.1-23.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rzip-2.1-23.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rzip-2.1-23.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rzip-2.1-23.fc31.riscv64 + cd rzip-2.1 + rm -rf /builddir/build/BUILDROOT/rzip-2.1-23.fc31.riscv64 + make install INSTALL_BIN=/builddir/build/BUILDROOT/rzip-2.1-23.fc31.riscv64/usr/bin INSTALL_MAN=/builddir/build/BUILDROOT/rzip-2.1-23.fc31.riscv64/usr/share/man + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.1-23.fc31 --unique-debug-suffix -2.1-23.fc31.riscv64 --unique-debug-src-base rzip-2.1-23.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rzip-2.1 BUILDSTDERR: 91 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/rzip-2.1-23.fc31.riscv64/usr/bin /usr/bin/install -c -m 755 rzip /builddir/build/BUILDROOT/rzip-2.1-23.fc31.riscv64/usr/bin mkdir -p /builddir/build/BUILDROOT/rzip-2.1-23.fc31.riscv64/usr/share/man/man1 /usr/bin/install -c -m 644 ./rzip.1 /builddir/build/BUILDROOT/rzip-2.1-23.fc31.riscv64/usr/share/man/man1/ explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rzip-2.1-23.fc31.riscv64/usr/bin/rzip extracting debug info from /builddir/build/BUILDROOT/rzip-2.1-23.fc31.riscv64/usr/bin/rzip original debug info size: 140kB, size after compression: 128kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: rzip-2.1-23.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Buc7eq + umask 022 + cd /builddir/build/BUILD + cd rzip-2.1 + DOCDIR=/builddir/build/BUILDROOT/rzip-2.1-23.fc31.riscv64/usr/share/doc/rzip + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rzip-2.1-23.fc31.riscv64/usr/share/doc/rzip + cp -pr COPYING /builddir/build/BUILDROOT/rzip-2.1-23.fc31.riscv64/usr/share/doc/rzip + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: rzip = 2.1-23.fc31 rzip(riscv-64) = 2.1-23.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) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: rzip-debugsource-2.1-23.fc31.riscv64 Provides: rzip-debugsource = 2.1-23.fc31 rzip-debugsource(riscv-64) = 2.1-23.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rzip-debuginfo-2.1-23.fc31.riscv64 Provides: debuginfo(build-id) = 9570dcaabaae877c0a57169661a00125b785ab0a rzip-debuginfo = 2.1-23.fc31 rzip-debuginfo(riscv-64) = 2.1-23.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rzip-debugsource(riscv-64) = 2.1-23.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rzip-2.1-23.fc31.riscv64 Wrote: /builddir/build/RPMS/rzip-2.1-23.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rzip-debugsource-2.1-23.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rzip-debuginfo-2.1-23.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hIEDbp + umask 022 + cd /builddir/build/BUILD + cd rzip-2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rzip-2.1-23.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0