/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g strlcpy.c gcc -c -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 -DUSE_TCL -g arsglue.c gcc -c -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 -DUSE_TCL -g random.c gcc -c -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 -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:495, 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:34:10: warning: '__builtin___memcpy_chk' forming offset [8, 19] is out of the bounds [0, 8] of object 'icmp' with type 'struct myicmphdr' [-Warray-bounds] 34 | 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.MIrUtI (%build) RPM build errors: line 18: It's not recommended to have unversioned Obsoletes: Obsoletes: hping2 Bad exit status from /var/tmp/rpm-tmp.MIrUtI (%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