^ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /builddir/build/BUILD/gmt-5.4.4/src/postscriptlight.h:47, BUILDSTDERR: from /builddir/build/BUILD/gmt-5.4.4/src/gmt_dev.h:96, BUILDSTDERR: from /builddir/build/BUILD/gmt-5.4.4/src/gmt_api.c:179: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/gmt-5.4.4/src/gmt_api.c:753:41: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: snprintf (path, GMT_LEN256, "%s/%s", plugindir, list[k]); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /builddir/build/BUILD/gmt-5.4.4/src/postscriptlight.h:47, BUILDSTDERR: from /builddir/build/BUILD/gmt-5.4.4/src/gmt_dev.h:96, BUILDSTDERR: from /builddir/build/BUILD/gmt-5.4.4/src/gmt_api.c:179: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/gmt-5.4.4/src/gmt_api.c: In function 'GMT_Encode_Options': BUILDSTDERR: /builddir/build/BUILD/gmt-5.4.4/src/gmt_api.c:9940:39: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: snprintf (txt, GMT_LEN256, "%s?%s", argument, &opt->arg[2]); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /builddir/build/BUILD/gmt-5.4.4/src/postscriptlight.h:47, BUILDSTDERR: from /builddir/build/BUILD/gmt-5.4.4/src/gmt_dev.h:96, BUILDSTDERR: from /builddir/build/BUILD/gmt-5.4.4/src/gmt_api.c:179: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/gmt-5.4.4/build' make[1]: Leaving directory '/builddir/build/BUILD/gmt-5.4.4/build' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:279: src/CMakeFiles/gmtlib.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:155: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.UugRM9 (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.UugRM9 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, 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/GMT.spec