+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/fatrace.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.qCm4Ok + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fatrace-0.12 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/fatrace-0.12.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fatrace-0.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6aDAiI + umask 022 + cd /builddir/build/BUILD + cd fatrace-0.12 + 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 ' + 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 ' + make -j4 cc -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 -c -o fatrace.o fatrace.c fatrace.c: In function 'print_event': fatrace.c:138:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . snprintf (pathname, sizeof (pathname), "device %i:%i inode %ld\n", major (st.st_dev), minor (st.st_dev), st.st_ino); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fatrace.c:138:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . snprintf (pathname, sizeof (pathname), "device %i:%i inode %ld\n", major (st.st_dev), minor (st.st_dev), st.st_ino); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_GNU_SOURCE -o fatrace fatrace.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gdt9GS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fatrace-0.12-5.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fatrace-0.12-5.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/fatrace-0.12-5.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fatrace-0.12-5.fc28.riscv64 + cd fatrace-0.12 + export PREFIX=/usr + PREFIX=/usr + make install DESTDIR=/builddir/build/BUILDROOT/fatrace-0.12-5.fc28.riscv64 install -m 755 -D fatrace /builddir/build/BUILDROOT/fatrace-0.12-5.fc28.riscv64/usr/sbin/fatrace install -m 755 power-usage-report /builddir/build/BUILDROOT/fatrace-0.12-5.fc28.riscv64/usr/sbin/ install -d /builddir/build/BUILDROOT/fatrace-0.12-5.fc28.riscv64/usr/share/man/man1/ install -m 644 *.1 /builddir/build/BUILDROOT/fatrace-0.12-5.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: fatrace-0.12-5.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NpLD1x + umask 022 + cd /builddir/build/BUILD + cd fatrace-0.12 + DOCDIR=/builddir/build/BUILDROOT/fatrace-0.12-5.fc28.riscv64/usr/share/doc/fatrace + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/fatrace-0.12-5.fc28.riscv64/usr/share/doc/fatrace + cp -pr COPYING /builddir/build/BUILDROOT/fatrace-0.12-5.fc28.riscv64/usr/share/doc/fatrace + cp -pr NEWS /builddir/build/BUILDROOT/fatrace-0.12-5.fc28.riscv64/usr/share/doc/fatrace + exit 0 Provides: fatrace = 0.12-5.fc28 fatrace(riscv-64) = 0.12-5.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/fatrace-0.12-5.fc28.riscv64 Wrote: /builddir/build/SRPMS/fatrace-0.12-5.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/fatrace-0.12-5.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TAU6PE + umask 022 + cd /builddir/build/BUILD + cd fatrace-0.12 + /usr/bin/rm -rf /builddir/build/BUILDROOT/fatrace-0.12-5.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