s-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g random.c random.c: In function 'hp_rand_init': random.c:32:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 32 | read(fd, rc4_sbox, 256); | ^~~~~~~~~~~~~~~~~~~~~~~ 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" | ^~~~~ 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 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 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' []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-bounds-Warray-bounds]8;;] 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.TrVwku (%build) RPM build errors: line 18: It's not recommended to have unversioned Obsoletes: Obsoletes: hping2 Bad exit status from /var/tmp/rpm-tmp.TrVwku (%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: # /usr/bin/systemd-nspawn -q -M 94da496dd5164999a1d562c61521d640 -D /var/lib/mock/f33-build-218736-48451/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.9eo2x7gt:/etc/resolv.conf --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=en_US.UTF-8 -u mockbuild bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/hping3.spec