In function 'enable_bearer': BUILDSTDERR: tipc-config.c:1222:28: note: 'req_tlv' declared here BUILDSTDERR: struct tipc_bearer_config req_tlv; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tipc-config.c:40: BUILDSTDERR: In function 'memcpy', BUILDSTDERR: inlined from 'TLV_SET' at /usr/include/linux/tipc_config.h:304:3, BUILDSTDERR: inlined from 'show_name_table' at tipc-config.c:924:14: BUILDSTDERR: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [17, 20] is out of the bounds [0, 16] of object 'query_info' with type 'struct tipc_name_table_query' [-Warray-bounds] BUILDSTDERR: return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tipc-config.c: In function 'show_name_table': BUILDSTDERR: tipc-config.c:876:31: note: 'query_info' declared here BUILDSTDERR: struct tipc_name_table_query query_info; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tipc-config.c:40: BUILDSTDERR: In function 'memcpy', BUILDSTDERR: inlined from 'TLV_SET' at /usr/include/linux/tipc_config.h:304:3, BUILDSTDERR: inlined from 'disable_bearer' at tipc-config.c:1287:14: BUILDSTDERR: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [33, 36] is out of the bounds [0, 32] of object 'bearer_name' with type 'char[32]' [-Warray-bounds] BUILDSTDERR: return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tipc-config.c: In function 'disable_bearer': BUILDSTDERR: tipc-config.c:1276:7: note: 'bearer_name' declared here BUILDSTDERR: char bearer_name[TIPC_MAX_BEARER_NAME]; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tipc-config.c:40: BUILDSTDERR: In function 'memcpy', BUILDSTDERR: inlined from 'TLV_SET' at /usr/include/linux/tipc_config.h:304:3, BUILDSTDERR: inlined from 'set_link_value' at tipc-config.c:1084:14: BUILDSTDERR: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [65, 68] is out of the bounds [0, 64] of object 'req_tlv' with type 'struct tipc_link_config' [-Warray-bounds] BUILDSTDERR: return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tipc-config.c: In function 'set_link_value': BUILDSTDERR: tipc-config.c:1074:26: note: 'req_tlv' declared here BUILDSTDERR: struct tipc_link_config req_tlv; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: cc1: some warnings being treated as errors BUILDSTDERR: make[2]: *** [Makefile:348: tipc-config.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/tipcutils-2.0.6/tipc-config' make[1]: Leaving directory '/builddir/build/BUILD/tipcutils-2.0.6' BUILDSTDERR: make[1]: *** [Makefile:350: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:291: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.36swaB (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.36swaB (%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/tipcutils.spec