chronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g strlcpy.c gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g arsglue.c gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g random.c gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g scan.c In file included from ars.h:20, from arsglue.c:7: bytesex.h:28:3: error: #error can not find the byte order for this architecture, fix bytesex.h 28 | # error can not find the byte order for this architecture, fix bytesex.h | ^~~~~ In file included from arsglue.c:7: ars.h:190:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" 190 | #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" | ^~~~~ ars.h:254:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" 254 | #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" | ^~~~~ ars.h:323:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" 323 | #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" | ^~~~~ random.c: In function 'hp_rand_init': random.c:32:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | read(fd, rc4_sbox, 256); | ^~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:66: arsglue.o] Error 1 make: *** Waiting for unfinished jobs.... scan.c: In function 'receiver': scan.c:458:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 458 | p = packet+linkhdr_size+iphdrlen; | ^ In file included from /usr/include/string.h:519, from scan.c:17: In function 'memcpy', inlined from 'receiver' at scan.c:459:4, inlined from 'scanmain' at scan.c:545:3: /usr/include/bits/string_fortified.h:29:10: warning: '__memcpy_chk' forming offset [8, 19] is out of the bounds [0, 8] of object 'icmp' with type 'struct myicmphdr' [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scan.c: In function 'scanmain': scan.c:445:21: note: 'icmp' declared here 445 | struct myicmphdr icmp; | ^~~~ error: Bad exit status from /var/tmp/rpm-tmp.67GoAA (%build) RPM build errors: line 19: It's not recommended to have unversioned Obsoletes: Obsoletes: hping2 Bad exit status from /var/tmp/rpm-tmp.67GoAA (%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/hping3.spec