age(x) { printf x; printf("\n"); } BUILDSTDERR: ^ BUILDSTDERR: autoresponder.c: In function 'ext_yahoo_login_response': BUILDSTDERR: autoresponder.c:973:17: error: format not a string literal and no format arguments [-Werror=format-security] BUILDSTDERR: print_message((buff)); BUILDSTDERR: ^~~~ BUILDSTDERR: autoresponder.c:182:35: note: in definition of macro 'print_message' BUILDSTDERR: #define print_message(x) { printf x; printf("\n"); } BUILDSTDERR: ^ BUILDSTDERR: autoresponder.c: In function 'yahoo_callback': BUILDSTDERR: autoresponder.c:1158:19: error: format not a string literal and no format arguments [-Werror=format-security] BUILDSTDERR: print_message((buff)); BUILDSTDERR: ^~~~ BUILDSTDERR: autoresponder.c:182:35: note: in definition of macro 'print_message' BUILDSTDERR: #define print_message(x) { printf x; printf("\n"); } BUILDSTDERR: ^ BUILDSTDERR: autoresponder.c: In function 'process_commands': BUILDSTDERR: autoresponder.c:1294:2: warning: 'g_strncasecmp' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: if(!strncasecmp(cmd, "QUIT", strlen("QUIT"))) { BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/glib-2.0/glib.h:82, BUILDSTDERR: from yahoo_util.h:30, BUILDSTDERR: from autoresponder.c:60: BUILDSTDERR: /usr/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here BUILDSTDERR: gint g_strncasecmp (const gchar *s1, BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: autoresponder.c: In function 'main': BUILDSTDERR: autoresponder.c:1365:6: warning: variable 'status' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int status; BUILDSTDERR: ^~~~~~ BUILDSTDERR: autoresponder.c: In function 'yahoo_webcam_timeout_callback': BUILDSTDERR: autoresponder.c:338:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(image, length, 1, f_image); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -Wall -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 -Wall -ansi -pedantic -c libyahoo2.c -o libyahoo2.o >/dev/null 2>&1 BUILDSTDERR: cc1: some warnings being treated as errors BUILDSTDERR: make[3]: *** [Makefile:332: sample_client.o] Error 1 BUILDSTDERR: make[3]: *** Waiting for unfinished jobs.... BUILDSTDERR: cc1: some warnings being treated as errors BUILDSTDERR: make[3]: *** [Makefile:332: autoresponder.o] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/libyahoo2-1.0.1/src' make[2]: Leaving directory '/builddir/build/BUILD/libyahoo2-1.0.1/src' BUILDSTDERR: make[2]: *** [Makefile:382: all-recursive] Error 1 BUILDSTDERR: make[1]: *** [Makefile:296: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/libyahoo2-1.0.1' BUILDSTDERR: make: *** [Makefile:204: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.goIhDR (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.goIhDR (%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/libyahoo2.spec