p-overflow=] 803 | *((char *) tlv->value + slen) = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/target-isns-0.6.6/src/configfs.h:15, from /builddir/build/BUILD/target-isns-0.6.6/src/isns.c:30: /builddir/build/BUILD/target-isns-0.6.6/src/isns.c: In function 'isns_scn_handle': /builddir/build/BUILD/target-isns-0.6.6/src/isns_proto.h:33:11: note: at offset 0 to object 'value' with size 0 declared here 33 | uint32_t value[0]; | ^~~~~ [ 72%] Building C object tests/CMakeFiles/test-isns-fuzzing.dir/__/src/log.c.o cd /builddir/build/BUILD/target-isns-0.6.6/tests && /usr/bin/cc -I/builddir/build/BUILD/target-isns-0.6.6/tests/../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=gnu99 -o CMakeFiles/test-isns-fuzzing.dir/__/src/log.c.o -c /builddir/build/BUILD/target-isns-0.6.6/src/log.c [ 77%] Building C object src/CMakeFiles/target-isns.dir/log.c.o cd /builddir/build/BUILD/target-isns-0.6.6/src && /usr/bin/cc -I/builddir/build/BUILD/target-isns-0.6.6/src/. -I/builddir/build/BUILD/target-isns-0.6.6/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=gnu99 -o CMakeFiles/target-isns.dir/log.c.o -c /builddir/build/BUILD/target-isns-0.6.6/src/log.c cc1: all warnings being treated as errors make[2]: *** [tests/CMakeFiles/test-isns-fuzzing.dir/build.make:92: tests/CMakeFiles/test-isns-fuzzing.dir/__/src/isns.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 83%] Building C object src/CMakeFiles/target-isns.dir/util.c.o cd /builddir/build/BUILD/target-isns-0.6.6/src && /usr/bin/cc -I/builddir/build/BUILD/target-isns-0.6.6/src/. -I/builddir/build/BUILD/target-isns-0.6.6/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=gnu99 -o CMakeFiles/target-isns.dir/util.c.o -c /builddir/build/BUILD/target-isns-0.6.6/src/util.c cc1: all warnings being treated as errors make[2]: *** [src/CMakeFiles/target-isns.dir/build.make:79: src/CMakeFiles/target-isns.dir/isns.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/target-isns-0.6.6' make[1]: *** [CMakeFiles/Makefile2:202: tests/CMakeFiles/test-isns-fuzzing.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/target-isns-0.6.6' make[1]: *** [CMakeFiles/Makefile2:148: src/CMakeFiles/target-isns.dir/all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/target-isns-0.6.6' make: *** [Makefile:133: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.iRG3SQ (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.iRG3SQ (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status 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