-DSYSTEM_QSCINTILLA -DHAVE_REGCOMP -DHAVE_STDLIB_H -DHAVE_FGETPOS -DHAVE_SYS_STAT_H -DHAVE_FCNTL_H -DHAVE_REGEX -DHAVE_UNISTD_H -DHAVE_STRSTR -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I../build/Linux-riscv64/release/ui -Ictags -I/usr/X11R6/include -o ../build/Linux-riscv64/release/obj/lregex.o ctags/lregex.c BUILDSTDERR: ctags/lregex.c: In function 'processLanguageRegex': BUILDSTDERR: ctags/lregex.c:411:13: error: format not a string literal and no format arguments [-Werror=format-security] BUILDSTDERR: error (WARNING | PERROR, regexfile); BUILDSTDERR: ^~~~~ gcc -c -pipe -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 -fPIC -D_REENTRANT -Wall -W -DSYSTEM_QSCINTILLA -DHAVE_REGCOMP -DHAVE_STDLIB_H -DHAVE_FGETPOS -DHAVE_SYS_STAT_H -DHAVE_FCNTL_H -DHAVE_REGEX -DHAVE_UNISTD_H -DHAVE_STRSTR -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I../build/Linux-riscv64/release/ui -Ictags -I/usr/X11R6/include -o ../build/Linux-riscv64/release/obj/lua.o ctags/lua.c gcc -c -pipe -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 -fPIC -D_REENTRANT -Wall -W -DSYSTEM_QSCINTILLA -DHAVE_REGCOMP -DHAVE_STDLIB_H -DHAVE_FGETPOS -DHAVE_SYS_STAT_H -DHAVE_FCNTL_H -DHAVE_REGEX -DHAVE_UNISTD_H -DHAVE_STRSTR -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I../build/Linux-riscv64/release/ui -Ictags -I/usr/X11R6/include -o ../build/Linux-riscv64/release/obj/make.o ctags/make.c gcc -c -pipe -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 -fPIC -D_REENTRANT -Wall -W -DSYSTEM_QSCINTILLA -DHAVE_REGCOMP -DHAVE_STDLIB_H -DHAVE_FGETPOS -DHAVE_SYS_STAT_H -DHAVE_FCNTL_H -DHAVE_REGEX -DHAVE_UNISTD_H -DHAVE_STRSTR -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I../build/Linux-riscv64/release/ui -Ictags -I/usr/X11R6/include -o ../build/Linux-riscv64/release/obj/options.o ctags/options.c BUILDSTDERR: cc1: some warnings being treated as errors BUILDSTDERR: make[1]: *** [Makefile:636: ../build/Linux-riscv64/release/obj/lregex.o] Error 1 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... BUILDSTDERR: ctags/options.c:372:13: warning: 'freeString' defined but not used [-Wunused-function] BUILDSTDERR: static void freeString (char **const pString) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ctags/options.c:100:26: warning: 'HeaderExtensions' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char *const HeaderExtensions [] = { BUILDSTDERR: ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/mks-svn4524/ctags' BUILDSTDERR: make: *** [Makefile:79: sub-ctags-make_default-ordered] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.gRISvU (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.gRISvU (%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/monkeystudio.spec