D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/gperiodic-3.0.3-3.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wdqmMX + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf gperiodic-3.0.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gperiodic-3.0.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gperiodic-3.0.3 + rm -rf /home/pterjan/rpmbuild/BUILD/gperiodic-3.0.3-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/gperiodic-3.0.3-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.juk4fG + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd gperiodic-3.0.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 V=1 VERBOSE=1 'LDFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' /usr/bin/make gperiodic make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gperiodic-3.0.3' gcc -c `pkg-config --cflags gtk+-2.0` -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full gperiodic.c 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 gperiodic.c:26: /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 /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ In file included from gperiodic.c:36: table_data.h: In function 'dump_table': table_data.h:246:35: warning: format '%d' expects argument of type 'int', but argument 9 has type 'char *' [-Wformat=] 246 | printf("%s,%s,%s,%s,%s,%s,%s,%d,%d,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,0x%08X,0x%08X,0x%08X,0x%08X\n ", | ~^ | | | int | %s ...... 254 | p->info[ATOMIC_RADIUS], /* 8 */ | ~~~~~~~~~~~~~~~~~~~~~~ | | | char * table_data.h:246:38: warning: format '%d' expects argument of type 'int', but argument 10 has type 'char *' [-Wformat=] 246 | printf("%s,%s,%s,%s,%s,%s,%s,%d,%d,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,0x%08X,0x%08X,0x%08X,0x%08X\n ", | ~^ | | | int | %s ...... 255 | p->info[COVALENT_RADIUS], /* 9 */ | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * table_data.h:246:12: warning: too many arguments for format [-Wformat-extra-args] 246 | printf("%s,%s,%s,%s,%s,%s,%s,%d,%d,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,0x%08X,0x%08X,0x%08X,0x%08X\n ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gperiodic.c: In function 'gpparse_print_element_data_for_num': gperiodic.c:77:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 77 | fillout[n] = (char) NULL; | ^ gperiodic.c: In function 'display_element_dialog': gperiodic.c:140:41: error: passing argument 1 of 'gtk_label_set_selectable' from incompatible pointer type [-Wincompatible-pointer-types] 140 | gtk_label_set_selectable (label, TRUE); | ^~~~~ | | | GtkWidget * {aka struct _GtkWidget *} In file included from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:38, from /usr/include/gtk-2.0/gtk/gtk.h:35: /usr/include/gtk-2.0/gtk/gtklabel.h:158:70: note: expected 'GtkLabel *' {aka 'struct _GtkLabel *'} but argument is of type 'GtkWidget *' {aka 'struct _GtkWidget *'} 158 | void gtk_label_set_selectable (GtkLabel *label, | ~~~~~~~~~~~~~~~~~~^~~~~ make[1]: *** [Makefile:15: gperiodic.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gperiodic-3.0.3' make: *** [Makefile:18: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.juk4fG (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.juk4fG (%build) I: [iurt_root_command] ERROR: chroot