^~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /builddir/build/BUILD/target-isns-0.6.2/src/configfs.c:43: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 515 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/target-isns-0.6.2/src/configfs.c: In function 'configfs_tpg_init': BUILDSTDERR: /builddir/build/BUILD/target-isns-0.6.2/src/configfs.c:163:40: error: '/np' directive output may be truncated writing 3 bytes into a region of size between 1 and 512 [-Werror=format-truncation=] BUILDSTDERR: snprintf(np_path, sizeof(np_path), "%s/np", path); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /builddir/build/BUILD/target-isns-0.6.2/src/configfs.c:43: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 515 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cc1: all warnings being treated as errors BUILDSTDERR: cc1: all warnings being treated as errors BUILDSTDERR: make[2]: *** [tests/CMakeFiles/test-isns-fuzzing.dir/build.make:79: tests/CMakeFiles/test-isns-fuzzing.dir/__/src/configfs.c.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: make[2]: *** [src/CMakeFiles/target-isns.dir/build.make:66: src/CMakeFiles/target-isns.dir/configfs.c.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... [ 50%] Building C object src/CMakeFiles/target-isns.dir/isns_proto.c.o cd /builddir/build/BUILD/target-isns-0.6.2/src && /usr/bin/cc -I/builddir/build/BUILD/target-isns-0.6.2/src/. -I/builddir/build/BUILD/target-isns-0.6.2/src -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 -Werror -std=c99 -o CMakeFiles/target-isns.dir/isns_proto.c.o -c /builddir/build/BUILD/target-isns-0.6.2/src/isns_proto.c make[2]: Leaving directory '/builddir/build/BUILD/target-isns-0.6.2' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:220: tests/CMakeFiles/test-isns-fuzzing.dir/all] Error 2 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/target-isns-0.6.2' make[1]: Leaving directory '/builddir/build/BUILD/target-isns-0.6.2' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:128: src/CMakeFiles/target-isns.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:133: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.GJB8lI (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.GJB8lI (%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/target-isns.spec