Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/target-isns.spec'], chrootPath='/var/lib/mock/f33-build-218318-48451/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/target-isns.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1576800000 Wrote: /builddir/build/SRPMS/target-isns-0.6.6-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/target-isns.spec'], chrootPath='/var/lib/mock/f33-build-218318-48451/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/target-isns.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1576800000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.l7PHij + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf target-isns-0.6.6 + /usr/bin/xz -dc /builddir/build/SOURCES/target-isns-0.6.6.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd target-isns-0.6.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rGFuMj + umask 022 + cd /builddir/build/BUILD + cd target-isns-0.6.6 + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DSUPPORT_SYSTEMD=ON . -- The C compiler identification is GNU 10.0.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/target-isns-0.6.6 + make -j4 /usr/bin/cmake -S/builddir/build/BUILD/target-isns-0.6.6 -B/builddir/build/BUILD/target-isns-0.6.6 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/target-isns-0.6.6/CMakeFiles /builddir/build/BUILD/target-isns-0.6.6/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/target-isns-0.6.6' make -f src/CMakeFiles/ccan.dir/build.make src/CMakeFiles/ccan.dir/depend make[2]: Entering directory '/builddir/build/BUILD/target-isns-0.6.6' cd /builddir/build/BUILD/target-isns-0.6.6 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/target-isns-0.6.6 /builddir/build/BUILD/target-isns-0.6.6/src /builddir/build/BUILD/target-isns-0.6.6 /builddir/build/BUILD/target-isns-0.6.6/src /builddir/build/BUILD/target-isns-0.6.6/src/CMakeFiles/ccan.dir/DependInfo.cmake --color= Scanning dependencies of target ccan make[2]: Leaving directory '/builddir/build/BUILD/target-isns-0.6.6' make -f src/CMakeFiles/ccan.dir/build.make src/CMakeFiles/ccan.dir/build make[2]: Entering directory '/builddir/build/BUILD/target-isns-0.6.6' [ 5%] Building C object src/CMakeFiles/ccan.dir/ccan/list/list.c.o [ 11%] Building C object src/CMakeFiles/ccan.dir/ccan/daemonize/daemonize.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 -o CMakeFiles/ccan.dir/ccan/daemonize/daemonize.c.o -c /builddir/build/BUILD/target-isns-0.6.6/src/ccan/daemonize/daemonize.c 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 -o CMakeFiles/ccan.dir/ccan/list/list.c.o -c /builddir/build/BUILD/target-isns-0.6.6/src/ccan/list/list.c [ 16%] Linking C static library libccan.a cd /builddir/build/BUILD/target-isns-0.6.6/src && /usr/bin/cmake -P CMakeFiles/ccan.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/target-isns-0.6.6/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/ccan.dir/link.txt --verbose=1 /usr/bin/ar qc libccan.a CMakeFiles/ccan.dir/ccan/daemonize/daemonize.c.o CMakeFiles/ccan.dir/ccan/list/list.c.o /usr/bin/ranlib libccan.a make[2]: Leaving directory '/builddir/build/BUILD/target-isns-0.6.6' [ 16%] Built target ccan make -f src/CMakeFiles/target-isns.dir/build.make src/CMakeFiles/target-isns.dir/depend make -f tests/CMakeFiles/test-isns-fuzzing.dir/build.make tests/CMakeFiles/test-isns-fuzzing.dir/depend make[2]: Entering directory '/builddir/build/BUILD/target-isns-0.6.6' cd /builddir/build/BUILD/target-isns-0.6.6 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/target-isns-0.6.6 /builddir/build/BUILD/target-isns-0.6.6/src /builddir/build/BUILD/target-isns-0.6.6 /builddir/build/BUILD/target-isns-0.6.6/src /builddir/build/BUILD/target-isns-0.6.6/src/CMakeFiles/target-isns.dir/DependInfo.cmake --color= make[2]: Entering directory '/builddir/build/BUILD/target-isns-0.6.6' cd /builddir/build/BUILD/target-isns-0.6.6 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/target-isns-0.6.6 /builddir/build/BUILD/target-isns-0.6.6/tests /builddir/build/BUILD/target-isns-0.6.6 /builddir/build/BUILD/target-isns-0.6.6/tests /builddir/build/BUILD/target-isns-0.6.6/tests/CMakeFiles/test-isns-fuzzing.dir/DependInfo.cmake --color= Scanning dependencies of target test-isns-fuzzing make[2]: Leaving directory '/builddir/build/BUILD/target-isns-0.6.6' make -f tests/CMakeFiles/test-isns-fuzzing.dir/build.make tests/CMakeFiles/test-isns-fuzzing.dir/build Scanning dependencies of target target-isns make[2]: Leaving directory '/builddir/build/BUILD/target-isns-0.6.6' make -f src/CMakeFiles/target-isns.dir/build.make src/CMakeFiles/target-isns.dir/build make[2]: Entering directory '/builddir/build/BUILD/target-isns-0.6.6' make[2]: Entering directory '/builddir/build/BUILD/target-isns-0.6.6' [ 22%] Building C object tests/CMakeFiles/test-isns-fuzzing.dir/test-isns-fuzzing.c.o [ 27%] Building C object tests/CMakeFiles/test-isns-fuzzing.dir/__/src/isns.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/test-isns-fuzzing.c.o -c /builddir/build/BUILD/target-isns-0.6.6/tests/test-isns-fuzzing.c 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/isns.c.o -c /builddir/build/BUILD/target-isns-0.6.6/src/isns.c [ 33%] Building C object tests/CMakeFiles/test-isns-fuzzing.dir/__/src/configfs.c.o [ 38%] Building C object src/CMakeFiles/target-isns.dir/configfs.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/configfs.c.o -c /builddir/build/BUILD/target-isns-0.6.6/src/configfs.c 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/configfs.c.o -c /builddir/build/BUILD/target-isns-0.6.6/src/configfs.c [ 44%] Building C object src/CMakeFiles/target-isns.dir/isns.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/isns.c.o -c /builddir/build/BUILD/target-isns-0.6.6/src/isns.c [ 50%] Building C object tests/CMakeFiles/test-isns-fuzzing.dir/__/src/isns_proto.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/isns_proto.c.o -c /builddir/build/BUILD/target-isns-0.6.6/src/isns_proto.c [ 55%] Building C object tests/CMakeFiles/test-isns-fuzzing.dir/__/src/itimer.c.o In function 'isns_rsp_handle', inlined from 'isns_handle' at /builddir/build/BUILD/target-isns-0.6.6/src/isns.c:980:3: /builddir/build/BUILD/target-isns-0.6.6/src/isns.c:915:34: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] 915 | *((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_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]; | ^~~~~ 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/itimer.c.o -c /builddir/build/BUILD/target-isns-0.6.6/src/itimer.c In function 'isns_rsp_handle', inlined from 'isns_handle' at /builddir/build/BUILD/target-isns-0.6.6/src/isns.c:980:3: /builddir/build/BUILD/target-isns-0.6.6/src/isns.c:915:34: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] 915 | *((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_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]; | ^~~~~ In function 'print_scn_pdu', inlined from 'isns_scn_handle' at /builddir/build/BUILD/target-isns-0.6.6/src/isns.c:1064:10: /builddir/build/BUILD/target-isns-0.6.6/src/isns.c:803:35: error: writing 1 byte into a region of size 0 [-Werror=stringop-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]; | ^~~~~ [ 61%] 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 [ 66%] Building C object src/CMakeFiles/target-isns.dir/isns_proto.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/isns_proto.c.o -c /builddir/build/BUILD/target-isns-0.6.6/src/isns_proto.c In function 'print_scn_pdu', inlined from 'isns_scn_handle' at /builddir/build/BUILD/target-isns-0.6.6/src/isns.c:1064:10: /builddir/build/BUILD/target-isns-0.6.6/src/isns.c:803:35: error: writing 1 byte into a region of size 0 [-Werror=stringop-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]; | ^~~~~ cc1: all warnings being treated as errors make[2]: *** [tests/CMakeFiles/test-isns-fuzzing.dir/build.make:112: tests/CMakeFiles/test-isns-fuzzing.dir/__/src/isns.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make[2]: Leaving directory '/builddir/build/BUILD/target-isns-0.6.6' make[1]: *** [CMakeFiles/Makefile2:222: tests/CMakeFiles/test-isns-fuzzing.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 72%] Building C object src/CMakeFiles/target-isns.dir/itimer.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/itimer.c.o -c /builddir/build/BUILD/target-isns-0.6.6/src/itimer.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 [ 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 make[2]: *** [src/CMakeFiles/target-isns.dir/build.make:99: 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:168: src/CMakeFiles/target-isns.dir/all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/target-isns-0.6.6' make: *** [Makefile:153: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.rGFuMj (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.rGFuMj (%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