-I. -I.. -I/usr/include/taglib -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/fribidi -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 -I/usr/include/libmpd-1.0/ -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -pthread -DPREFIX=\"/usr\" -fPIC -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 -DHAVE_TAGEDITOR -DHAVE_LYRICS -DHAVE_COVER_PLUGIN -pipe -Wall -c gimmix-core.c BUILDSTDERR: gimmix-config.c: In function 'gimmix_config_get_bool': BUILDSTDERR: gimmix-config.c:96:12: warning: zero-length gnu_printf format string [-Wformat-zero-length] BUILDSTDERR: g_print (""); BUILDSTDERR: ^~ BUILDSTDERR: gimmix-config.c: In function 'gimmix_config_get_proxy_string': BUILDSTDERR: gimmix-config.c:149:4: error: format not a string literal and no format arguments [-Werror=format-security] BUILDSTDERR: ret = g_strdup_printf (host); BUILDSTDERR: ^~~ BUILDSTDERR: sexy-tooltip.c: In function 'sexy_tooltip_init': BUILDSTDERR: sexy-tooltip.c:61:13: warning: variable 'window' set but not used [-Wunused-but-set-variable] BUILDSTDERR: GtkWindow *window; BUILDSTDERR: ^~~~~~ BUILDSTDERR: cc1: some warnings being treated as errors BUILDSTDERR: make[2]: *** [Makefile:386: gimmix-config.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: gimmix-core.c: In function 'gimmix_get_progress_status': BUILDSTDERR: gimmix-core.c:182:37: warning: '%02i' directive output may be truncated writing between 2 and 9 bytes into a region of size between 4 and 12 [-Wformat-truncation=] BUILDSTDERR: snprintf (time, 20, "%02i:%02i / %02i:%02i", elapsed/60, BUILDSTDERR: ^~~~ BUILDSTDERR: gimmix-core.c:182:24: note: directive argument in the range [-35791394, 35791394] BUILDSTDERR: snprintf (time, 20, "%02i:%02i / %02i:%02i", elapsed/60, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gimmix-core.c:182:24: note: directive argument in the range [-59, 59] BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from gimmix-core.h:4, BUILDSTDERR: from gimmix-core.c:24: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 14 and 30 bytes into a destination of size 20 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/gimmix-0.5.7.2/src' make[1]: Leaving directory '/builddir/build/BUILD/gimmix-0.5.7.2' RPM build errors: BUILDSTDERR: make[1]: *** [Makefile:513: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:338: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.RUG8XM (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.RUG8XM (%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/gimmix.spec