0 -pthread -I../libcwiid -c -o interface.o interface.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -W -DHAVE_CONFIG_H -I/builddir/build/BUILD/abstrakraft-cwiid-fadf11e/common/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I../libcwiid -c -o support.o support.c BUILDSTDERR: support.c: In function 'create_pixmap': BUILDSTDERR: support.c:77:58: warning: unused parameter 'widget' [-Wunused-parameter] BUILDSTDERR: create_pixmap (GtkWidget *widget, BUILDSTDERR: ~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: main.c: In function 'main': BUILDSTDERR: main.c:191:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: g_thread_init(NULL); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/glib.h:108, BUILDSTDERR: from main.c:38: BUILDSTDERR: /usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here BUILDSTDERR: void g_thread_init (gpointer vtable); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: main.c: In function 'message': BUILDSTDERR: main.c:445:2: error: format not a string literal and no format arguments [-Werror=format-security] BUILDSTDERR: dialog = gtk_message_dialog_new(parent, 0, type, GTK_BUTTONS_OK, message); BUILDSTDERR: ^~~~~~ BUILDSTDERR: main.c: In function 'drawStick_expose_event': BUILDSTDERR: main.c:824:67: warning: unused parameter 'event' [-Wunused-parameter] BUILDSTDERR: void drawStick_expose_event(GtkWidget *drawStick, GdkEventExpose *event, BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: main.c: In function 'cwiid_callback': BUILDSTDERR: main.c:1051:4: warning: enumeration value 'CWIID_EXT_BALANCE' not handled in switch [-Wswitch] BUILDSTDERR: switch (mesg_array[i].status_mesg.ext_type) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: main.c:1036:69: warning: unused parameter 'timestamp' [-Wunused-parameter] BUILDSTDERR: union cwiid_mesg mesg_array[], struct timespec *timestamp) BUILDSTDERR: ~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: main.c:1076:4: warning: 'ext_str' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: gtk_statusbar_push(GTK_STATUSBAR(statExtension), 0, ext_str); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cc1: some warnings being treated as errors BUILDSTDERR: make[1]: *** [: main.o] Error 1 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/builddir/build/BUILD/abstrakraft-cwiid-fadf11e/wmgui' BUILDSTDERR: make: *** [Makefile:33: wmgui] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.GjQh2Y (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.GjQh2Y (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cwiid.spec