D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/latencytop-0.5-10.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6XzuYS + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf latencytop-0.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/latencytop-0.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd latencytop-0.5 + rm -rf /home/pterjan/rpmbuild/BUILD/latencytop-0.5-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/latencytop-0.5-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cEl5tw + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd latencytop-0.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw' + /usr/bin/make -O -j8 V=1 VERBOSE=1 gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -W -g `pkg-config --cflags glib-2.0` -D_FORTIFY_SOURCE=2 -Wno-sign-compare `pkg-config --cflags gtk+-2.0` -DHAS_GTK_GUI fsync.c -o fsync.o fsync.c:54:8: error: return type defaults to 'int' [-Wimplicit-int] 54 | static chain_file(struct fsync_process *proc, char *filename) | ^~~~~~~~~~ fsync.c: In function 'chain_file': fsync.c:66:25: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 66 | return; | ^~~~~~ fsync.c:54:8: note: declared here 54 | static chain_file(struct fsync_process *proc, char *filename) | ^~~~~~~~~~ fsync.c:71:17: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 71 | return; | ^~~~~~ fsync.c:54:8: note: declared here 54 | static chain_file(struct fsync_process *proc, char *filename) | ^~~~~~~~~~ fsync.c: At top level: fsync.c:78:8: error: return type defaults to 'int' [-Wimplicit-int] 78 | static report_file(char *process, char *file) | ^~~~~~~~~~~ fsync.c: In function 'report_file': fsync.c:89:25: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 89 | return; | ^~~~~~ fsync.c:78:8: note: declared here 78 | static report_file(char *process, char *file) | ^~~~~~~~~~~ fsync.c:95:17: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 95 | return; | ^~~~~~ fsync.c:78:8: note: declared here 78 | static report_file(char *process, char *file) | ^~~~~~~~~~~ fsync.c: In function 'fsync_display': fsync.c:330:17: error: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] 330 | gettimeofday(&start, NULL); | ^~~~~~~~~~~~ fsync.c: In function 'parse_ftrace': fsync.c:290:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 290 | fgets(line, PATH_MAX-1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:29: fsync.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -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 -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -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 -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -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 -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -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 In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from gtk_display.c:36: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from gtk_display.c:35: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ gtk_display.c:597:8: error: return type defaults to 'int' [-Wimplicit-int] 597 | static load_icons(void) | ^~~~~~~~~~ make: *** [Makefile:29: gtk_display.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.cEl5tw (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.cEl5tw (%build) I: [iurt_root_command] ERROR: chroot