-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 BUILDSTDERR: In file included from ars.h:20, BUILDSTDERR: from arsglue.c:7: BUILDSTDERR: bytesex.h:28:3: error: #error can not find the byte order for this architecture, fix bytesex.h BUILDSTDERR: # error can not find the byte order for this architecture, fix bytesex.h BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from arsglue.c:7: BUILDSTDERR: ars.h:190:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" BUILDSTDERR: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" BUILDSTDERR: ^~~~~ BUILDSTDERR: ars.h:254:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" BUILDSTDERR: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" BUILDSTDERR: ^~~~~ BUILDSTDERR: ars.h:323:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" BUILDSTDERR: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" BUILDSTDERR: ^~~~~ BUILDSTDERR: make: *** [Makefile:66: arsglue.o] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... BUILDSTDERR: random.c: In function 'hp_rand_init': BUILDSTDERR: random.c:32:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read(fd, rc4_sbox, 256); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: scan.c: In function 'receiver': BUILDSTDERR: scan.c:458:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: p = packet+linkhdr_size+iphdrlen; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from scan.c:17: BUILDSTDERR: In function 'memcpy', BUILDSTDERR: inlined from 'receiver.isra.0' at scan.c:459:4, BUILDSTDERR: inlined from 'scanmain' at scan.c:545:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin___memcpy_chk' forming offset [9, 20] is out of the bounds [0, 8] of object 'icmp' with type 'struct myicmphdr' [-Warray-bounds] BUILDSTDERR: return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: scan.c: In function 'scanmain': BUILDSTDERR: scan.c:445:21: note: 'icmp' declared here BUILDSTDERR: struct myicmphdr icmp; BUILDSTDERR: ^~~~ BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.KqxEd5 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.KqxEd5 (%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/hping3.spec