+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/zisofs-tools.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 warning: Macro expanded in comment on line 8: %{version}.tar.bz2 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3r3SK7 + 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 . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4OkUSb + 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 ' + 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 checking for riscv64-redhat-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-redhat-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 + make -j4 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 -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 -Wall -W -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wshadow -Wcast-align -pipe -c workers.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 -Wall -W -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -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 -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 -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 -Wall -W -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wshadow -Wcast-align -pipe -c copytime.c walk.c: In function 'munge_file': walk.c:87:5: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(outpath, st->st_uid, st->st_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -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 -Wall -W -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wshadow -Wcast-align -pipe -c mkzftree.c compress.c: In function 'block_compress_file': compress.c:132:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno(output), position); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sJlmX0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/zisofs-tools-1.0.8-18.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/zisofs-tools-1.0.8-18.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/zisofs-tools-1.0.8-18.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/zisofs-tools-1.0.8-18.fc28.riscv64 + cd zisofs-tools-1.0.8 + rm -rf /builddir/build/BUILDROOT/zisofs-tools-1.0.8-18.fc28.riscv64 + make install INSTALLROOT=/builddir/build/BUILDROOT/zisofs-tools-1.0.8-18.fc28.riscv64 mkdir -p /builddir/build/BUILDROOT/zisofs-tools-1.0.8-18.fc28.riscv64/usr/bin /usr/bin/install -c mkzftree /builddir/build/BUILDROOT/zisofs-tools-1.0.8-18.fc28.riscv64/usr/bin mkdir -p /builddir/build/BUILDROOT/zisofs-tools-1.0.8-18.fc28.riscv64/usr/share/man/man1 /usr/bin/install -c -m 644 mkzftree.1 /builddir/build/BUILDROOT/zisofs-tools-1.0.8-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: zisofs-tools-1.0.8-18.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.waBxB4 + umask 022 + cd /builddir/build/BUILD + cd zisofs-tools-1.0.8 + DOCDIR=/builddir/build/BUILDROOT/zisofs-tools-1.0.8-18.fc28.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-18.fc28.riscv64/usr/share/doc/zisofs-tools + cp -pr README /builddir/build/BUILDROOT/zisofs-tools-1.0.8-18.fc28.riscv64/usr/share/doc/zisofs-tools + cp -pr zisofs.magic /builddir/build/BUILDROOT/zisofs-tools-1.0.8-18.fc28.riscv64/usr/share/doc/zisofs-tools + cp -pr COPYING /builddir/build/BUILDROOT/zisofs-tools-1.0.8-18.fc28.riscv64/usr/share/doc/zisofs-tools + exit 0 Provides: zisofs-tools = 1.0.8-18.fc28 zisofs-tools(riscv-64) = 1.0.8-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) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/zisofs-tools-1.0.8-18.fc28.riscv64 Wrote: /builddir/build/SRPMS/zisofs-tools-1.0.8-18.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/zisofs-tools-1.0.8-18.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GUJRQc + umask 022 + cd /builddir/build/BUILD + cd zisofs-tools-1.0.8 + rm -rf /builddir/build/BUILDROOT/zisofs-tools-1.0.8-18.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff