+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/rzip.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MQs994 + 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 . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pFbUoA + 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 -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 -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 -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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-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 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 -fPIE -pie -Wl,-z,relro -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 -fPIE -pie -Wl,-z,relro -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 + make -j4 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 -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 -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 -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 -fPIE -pie -c stream.c -o stream.o main.c: In function 'preserve_perms': main.c:119:2: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] fchown(fd_out, st.st_uid, st.st_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rzip.c: In function 'find_best_match': rzip.c:330:18: warning: variable 'best_h' set but not used [-Wunused-but-set-variable] unsigned int h, best_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 -fPIE -pie -c util.c -o util.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 -fPIE -pie -c crc32.c -o crc32.o rzip.c: In function 'rzip_fd': rzip.c:134:10: warning: 'current.ofs' may be used uninitialized in this function [-Wmaybe-uninitialized] offset += n; ~~~~~~~^~~~ rzip.c:398:4: note: 'current.ofs' was declared here } current; ^~~~~~~ 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 -fPIE -pie -o rzip rzip.o runzip.o main.o stream.o util.o crc32.o -lbz2 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.b9vXah + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rzip-2.1-18.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rzip-2.1-18.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/rzip-2.1-18.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rzip-2.1-18.fc28.riscv64 + cd rzip-2.1 + rm -rf /builddir/build/BUILDROOT/rzip-2.1-18.fc28.riscv64 + make install INSTALL_BIN=/builddir/build/BUILDROOT/rzip-2.1-18.fc28.riscv64/usr/bin INSTALL_MAN=/builddir/build/BUILDROOT/rzip-2.1-18.fc28.riscv64/usr/share/man mkdir -p /builddir/build/BUILDROOT/rzip-2.1-18.fc28.riscv64/usr/bin /usr/bin/install -c -m 755 rzip /builddir/build/BUILDROOT/rzip-2.1-18.fc28.riscv64/usr/bin mkdir -p /builddir/build/BUILDROOT/rzip-2.1-18.fc28.riscv64/usr/share/man/man1 /usr/bin/install -c -m 644 ./rzip.1 /builddir/build/BUILDROOT/rzip-2.1-18.fc28.riscv64/usr/share/man/man1/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: rzip-2.1-18.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.L84Drr + umask 022 + cd /builddir/build/BUILD + cd rzip-2.1 + DOCDIR=/builddir/build/BUILDROOT/rzip-2.1-18.fc28.riscv64/usr/share/doc/rzip + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rzip-2.1-18.fc28.riscv64/usr/share/doc/rzip + cp -pr COPYING /builddir/build/BUILDROOT/rzip-2.1-18.fc28.riscv64/usr/share/doc/rzip + exit 0 Provides: rzip = 2.1-18.fc28 rzip(riscv-64) = 2.1-18.fc28 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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rzip-2.1-18.fc28.riscv64 Wrote: /builddir/build/SRPMS/rzip-2.1-18.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/rzip-2.1-18.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LhPOwx + umask 022 + cd /builddir/build/BUILD + cd rzip-2.1 + rm -rf /builddir/build/BUILDROOT/rzip-2.1-18.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff