/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: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/gui/elems/actionEditor/pianoRoll.cpp:192:19: error: '%d' directive writing between 1 and 11 bytes into a region of size 6 [-Werror=format-overflow=] BUILDSTDERR: sprintf(note, "%d G#", octave); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/gui/elems/actionEditor/pianoRoll.cpp:192: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 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: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.... BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.rQUQmL (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.rQUQmL (%build) RPM build errors: 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