usr/include/c++/8/ext/string_conversions.h:43, BUILDSTDERR: from /usr/include/c++/8/bits/basic_string.h:6361, BUILDSTDERR: from /usr/include/c++/8/string:52, BUILDSTDERR: from src/gui/elems/actionEditor/../../../core/conf.h:33, BUILDSTDERR: from src/gui/elems/actionEditor/pianoRoll.cpp:29: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 15 bytes into a destination of size 6 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/gui/elems/actionEditor/pianoRoll.cpp:189:19: error: '%d' directive writing between 1 and 11 bytes into a region of size 6 [-Werror=format-overflow=] BUILDSTDERR: sprintf(note, "%d A", octave); BUILDSTDERR: ^~~~~~ BUILDSTDERR: src/gui/elems/actionEditor/pianoRoll.cpp:189:19: note: directive argument in the range [-2147483648, 9] BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from /usr/include/c++/8/ext/string_conversions.h:43, BUILDSTDERR: from /usr/include/c++/8/bits/basic_string.h:6361, BUILDSTDERR: from /usr/include/c++/8/string:52, BUILDSTDERR: from src/gui/elems/actionEditor/../../../core/conf.h:33, BUILDSTDERR: from src/gui/elems/actionEditor/pianoRoll.cpp:29: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 4 and 14 bytes into a destination of size 6 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"giada\" -DPACKAGE_TARNAME=\"giada\" -DPACKAGE_VERSION=\"0.14\" -DPACKAGE_STRING=\"giada\ 0.14\" -DPACKAGE_BUGREPORT=\"giadaloopmachine@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"giada\" -DVERSION=\"0.14\" -DNDEBUG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -D__LINUX_ALSA__ -D__LINUX_PULSE__ -D__UNIX_JACK__ -std=c++11 -Wall -Werror -Wno-error=unused-function -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 -c -o src/gui/elems/actionEditor/giada-pianoItemOrphaned.o `test -f 'src/gui/elems/actionEditor/pianoItemOrphaned.cpp' || echo './'`src/gui/elems/actionEditor/pianoItemOrphaned.cpp BUILDSTDERR: cc1plus: all warnings being treated as errors BUILDSTDERR: make: *** [Makefile:3059: src/gui/elems/actionEditor/giada-pianoRoll.o] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.RYTkE3 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.RYTkE3 (%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/giada.spec