hread -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 -c -o leafpad-dialog.o `test -f 'dialog.c' || echo './'`dialog.c gcc -DHAVE_CONFIG_H -I. -I.. -DICONDIR=\"/usr/share/pixmaps\" -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 -pthread -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 -c -o leafpad-gtkprint.o `test -f 'gtkprint.c' || echo './'`gtkprint.c gcc -DHAVE_CONFIG_H -I. -I.. -DICONDIR=\"/usr/share/pixmaps\" -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 -pthread -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 -c -o leafpad-gnomeprint.o `test -f 'gnomeprint.c' || echo './'`gnomeprint.c BUILDSTDERR: gtkprint.c: In function 'create_error_dialog': BUILDSTDERR: gtkprint.c:168:3: error: format not a string literal and no format arguments [-Werror=format-security] BUILDSTDERR: message); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: dialog.c: In function 'run_dialog_message': BUILDSTDERR: dialog.c:39:3: error: format not a string literal and no format arguments [-Werror=format-security] BUILDSTDERR: str); BUILDSTDERR: ^~~ BUILDSTDERR: dialog.c: In function 'create_dialog_message_question': BUILDSTDERR: dialog.c:64:3: error: format not a string literal and no format arguments [-Werror=format-security] BUILDSTDERR: str); BUILDSTDERR: ^~~ BUILDSTDERR: cc1: some warnings being treated as errors BUILDSTDERR: make[2]: *** [Makefile:541: leafpad-dialog.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: cc1: some warnings being treated as errors BUILDSTDERR: make[2]: *** [Makefile:555: leafpad-gtkprint.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/leafpad-0.8.18.1/src' BUILDSTDERR: make[1]: *** [Makefile:286: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/leafpad-0.8.18.1' BUILDSTDERR: make: *** [Makefile:224: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.wtXvxB (%build) BUILDSTDERR: bogus date in %changelog: Sat Nov 27 2005 Ignacio Vazquez-Abrams 0.8.5-1 BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.wtXvxB (%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/leafpad.spec