+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/latencytop.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.8sK7EA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf latencytop-0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/latencytop-0.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd latencytop-0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (latencytop-Makefile-fixes.patch):' Patch #0 (latencytop-Makefile-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + echo 'Patch #1 (latencytop-Makefile-default-to-no-gtk.patch):' Patch #1 (latencytop-Makefile-default-to-no-gtk.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + echo 'Patch #2 (latencytop-remove-the-fsync-view.patch):' Patch #2 (latencytop-remove-the-fsync-view.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 patching file Makefile Hunk #1 succeeded at 7 (offset 1 line). patching file fsync.c patching file latencytop.8 patching file latencytop.c Hunk #1 succeeded at 527 (offset -5 lines). Hunk #2 succeeded at 534 (offset -5 lines). patching file latencytop.h Hunk #1 succeeded at 52 (offset -1 lines). patching file latencytop.trans Hunk #1 succeeded at 140 (offset -2 lines). patching file text_display.c + echo 'Patch #3 (latencytop-better-error-message.patch):' Patch #3 (latencytop-better-error-message.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 patching file latencytop.c Hunk #4 succeeded at 546 (offset -5 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jgPewg + umask 022 + cd /builddir/build/BUILD + cd latencytop-0.5 + 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 gcc -c -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 -W -g `pkg-config --cflags glib-2.0` -D_FORTIFY_SOURCE=2 -Wno-sign-compare latencytop.c -o latencytop.o gcc -c -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 -W -g `pkg-config --cflags glib-2.0` -D_FORTIFY_SOURCE=2 -Wno-sign-compare text_display.c -o text_display.o gcc -c -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 -W -g `pkg-config --cflags glib-2.0` -D_FORTIFY_SOURCE=2 -Wno-sign-compare translate.c -o translate.o translate.c: In function 'init_translations': translate.c:116:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(trans, 0, sizeof(trans)); ^ latencytop.c: In function 'parse_process': latencytop.c:304:14: warning: unused variable 'c2' [-Wunused-variable] char *c, *c2; ^~ text_display.c: In function 'display_process_list': text_display.c:135:9: warning: variable 'entry' set but not used [-Wunused-but-set-variable] GList *entry, *start = NULL; ^~~~~ text_display.c: In function 'preinitialize_text_ui': text_display.c:389:33: warning: unused parameter 'argc' [-Wunused-parameter] void preinitialize_text_ui(int *argc, char ***argv) ^~~~ text_display.c:389:47: warning: unused parameter 'argv' [-Wunused-parameter] void preinitialize_text_ui(int *argc, char ***argv) ^~~~ 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 latencytop.o text_display.o translate.o -Wl,--as-needed `pkg-config --libs glib-2.0` -lncursesw -o latencytop + mv latencytop latencytop-tui + make clean rm -f *~ latencytop DEADJOE *.o + make -j4 HAS_GTK_GUI=1 gcc -c -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 -W -g `pkg-config --cflags glib-2.0` -D_FORTIFY_SOURCE=2 -Wno-sign-compare `pkg-config --cflags gtk+-2.0` -DHAS_GTK_GUI latencytop.c -o latencytop.o gcc -c -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 -W -g `pkg-config --cflags glib-2.0` -D_FORTIFY_SOURCE=2 -Wno-sign-compare `pkg-config --cflags gtk+-2.0` -DHAS_GTK_GUI text_display.c -o text_display.o gcc -c -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 -W -g `pkg-config --cflags glib-2.0` -D_FORTIFY_SOURCE=2 -Wno-sign-compare `pkg-config --cflags gtk+-2.0` -DHAS_GTK_GUI translate.c -o translate.o gcc -c -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 -W -g `pkg-config --cflags glib-2.0` -D_FORTIFY_SOURCE=2 -Wno-sign-compare `pkg-config --cflags gtk+-2.0` -DHAS_GTK_GUI gtk_display.c -o gtk_display.o translate.c: In function 'init_translations': translate.c:116:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(trans, 0, sizeof(trans)); ^ latencytop.c: In function 'parse_process': latencytop.c:304:14: warning: unused variable 'c2' [-Wunused-variable] char *c, *c2; ^~ text_display.c: In function 'display_process_list': text_display.c:135:9: warning: variable 'entry' set but not used [-Wunused-but-set-variable] GList *entry, *start = NULL; ^~~~~ text_display.c: In function 'preinitialize_text_ui': text_display.c:389:33: warning: unused parameter 'argc' [-Wunused-parameter] void preinitialize_text_ui(int *argc, char ***argv) ^~~~ text_display.c:389:47: warning: unused parameter 'argv' [-Wunused-parameter] void preinitialize_text_ui(int *argc, char ***argv) ^~~~ gtk_display.c: In function 'target_select': gtk_display.c:248:56: warning: unused parameter 'data' [-Wunused-parameter] static gint target_select(GtkTreeSelection *sel, void *data) ^~~~ gtk_display.c: In function 'backtrace_select': gtk_display.c:277:59: warning: unused parameter 'data' [-Wunused-parameter] static gint backtrace_select(GtkTreeSelection *sel, void *data) ^~~~ gtk_display.c: In function 'timer_tick': gtk_display.c:327:30: warning: unused parameter 'data' [-Wunused-parameter] static gint timer_tick(void *data) ^~~~ gtk_display.c: In function 'refresh_clicked': gtk_display.c:343:40: warning: unused parameter 'btn' [-Wunused-parameter] static void refresh_clicked(GtkButton *btn, void *data) ^~~ gtk_display.c:343:51: warning: unused parameter 'data' [-Wunused-parameter] static void refresh_clicked(GtkButton *btn, void *data) ^~~~ gtk_display.c: In function 'freeze_toggled': gtk_display.c:350:56: warning: unused parameter 'data' [-Wunused-parameter] static void freeze_toggled(GtkToggleButton *btn, void *data) ^~~~ gtk_display.c: At top level: gtk_display.c:597:8: warning: return type defaults to 'int' [-Wimplicit-int] static load_icons(void) ^~~~~~~~~~ gtk_display.c: In function 'load_icons': gtk_display.c:639:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 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 latencytop.o text_display.o translate.o gtk_display.o -Wl,--as-needed `pkg-config --libs glib-2.0` -lncursesw `pkg-config --libs gtk+-2.0` -o latencytop + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FIgdRq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/latencytop-0.5-19.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/latencytop-0.5-19.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/latencytop-0.5-19.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/latencytop-0.5-19.fc28.riscv64 + cd latencytop-0.5 + rm -rf /builddir/build/BUILDROOT/latencytop-0.5-19.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/latencytop-0.5-19.fc28.riscv64 mkdir -p /builddir/build/BUILDROOT/latencytop-0.5-19.fc28.riscv64/usr/share/latencytop mkdir -p /builddir/build/BUILDROOT/latencytop-0.5-19.fc28.riscv64/usr/share/man/man8 mkdir -p /builddir/build/BUILDROOT/latencytop-0.5-19.fc28.riscv64/usr/sbin install -m 0644 latencytop.trans /builddir/build/BUILDROOT/latencytop-0.5-19.fc28.riscv64/usr/share/latencytop/latencytop.trans install -m 0644 *.png /builddir/build/BUILDROOT/latencytop-0.5-19.fc28.riscv64/usr/share/latencytop/ install -m 0755 latencytop /builddir/build/BUILDROOT/latencytop-0.5-19.fc28.riscv64/usr/sbin/ install -m 0644 latencytop.8 /builddir/build/BUILDROOT/latencytop-0.5-19.fc28.riscv64/usr/share/man/man8/ + install -m 0755 latencytop-tui /builddir/build/BUILDROOT/latencytop-0.5-19.fc28.riscv64/usr/sbin/ + ln -s latencytop.8 /builddir/build/BUILDROOT/latencytop-0.5-19.fc28.riscv64/usr/share/man/man8/latencytop-tui.8 + /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: latencytop-0.5-19.fc28.riscv64 Provides: latencytop = 0.5-19.fc28 latencytop(riscv-64) = 0.5-19.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) libgdk_pixbuf-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libncursesw.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: latencytop-tui-0.5-19.fc28.riscv64 Provides: latencytop-tui = 0.5-19.fc28 latencytop-tui(riscv-64) = 0.5-19.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) libglib-2.0.so.0()(64bit) libncursesw.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: latencytop-common-0.5-19.fc28.riscv64 Provides: latencytop-common = 0.5-19.fc28 latencytop-common(riscv-64) = 0.5-19.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/latencytop-0.5-19.fc28.riscv64 Wrote: /builddir/build/SRPMS/latencytop-0.5-19.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/latencytop-0.5-19.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/latencytop-tui-0.5-19.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/latencytop-common-0.5-19.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lH06at + umask 022 + cd /builddir/build/BUILD + cd latencytop-0.5 + rm -rf /builddir/build/BUILDROOT/latencytop-0.5-19.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