Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/hping3.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79343-53294/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/hping3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (7 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/hping3-0.0.20051105-1.oc9.src.rpm RPM build warnings: %patchN is deprecated (7 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/hping3.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79343-53294/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/hping3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (7 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3Bw5vM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hping3-20051105 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hping3-20051105.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd hping3-20051105 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (hping3-include.patch): + echo 'Patch #0 (hping3-include.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .include --fuzz=0 patching file script.c patching file libpcap_stuff.c Patch #1 (hping3-bytesex.patch): + echo 'Patch #1 (hping3-bytesex.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .bytesex --fuzz=0 patching file bytesex.h Patch #2 (hping3-getifnamedebug.patch): + echo 'Patch #2 (hping3-getifnamedebug.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .getifnamedebug --fuzz=0 patching file getifname.c Hunk #1 succeeded at 59 (offset -1 lines). Patch #3 (hping3-cflags.patch): + echo 'Patch #3 (hping3-cflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .cflags --fuzz=0 patching file Makefile.in Patch #4 (hping3-man.patch): + echo 'Patch #4 (hping3-man.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .man --fuzz=0 patching file docs/hping3.8 Patch #5 (hping3-20051105-typo.patch): + echo 'Patch #5 (hping3-20051105-typo.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file statistics.c Patch #6 (hping3-common.patch): + echo 'Patch #6 (hping3-common.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .common --fuzz=0 patching file hping2.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZUcZ6u + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hping3-20051105 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --force-libpcap build byteorder.c... create byteorder.h... ./configure: line 81: -: command not found -------------------------------------- system type: LINUX LIBPCAP : PCAP=-lpcap PCAP_INCLUDE : MANPATH : /usr/local/man USE_TCL : -DUSE_TCL TCL_VER : TCL_INC : LIBTCL : -ltcl -lm -lpthread TCLSH : (to modify try configure --help) -------------------------------------- creating Makefile... creating dependences... now you can try `make' + make -j8 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g main.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g getifname.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g getlhs.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g parseoptions.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g datafiller.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g datahandler.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g gethostname.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g binding.c getifname.c: In function 'get_output_if': getifname.c:343:65: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 343 | if (getsockname(sock_rt, (struct sockaddr *)&iface_out, &len) == -1 ) { | ^~~~ | | | int * In file included from getifname.c:14: /usr/include/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g getusec.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g opensockraw.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g logicmp.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g waitpacket.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g resolve.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g sendip.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g sendicmp.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g sendudp.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g sendtcp.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g cksum.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g statistics.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g usage.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g version.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g antigetopt.c In file included from /usr/include/string.h:548, from sendicmp.c:19: In function 'memcpy', inlined from 'send_icmp_other' at sendicmp.c:256:2: /usr/include/bits/string_fortified.h:29:10: warning: 'memcpy' forming offset [20, 27] is out of the bounds [0, 20] of object 'icmp_ip' with type 'struct myiphdr' [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ sendicmp.c: In function 'send_icmp_other': sendicmp.c:197:24: note: 'icmp_ip' declared here 197 | struct myiphdr icmp_ip; | ^~~~~~~ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g sockopt.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g listen.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g sendhcmp.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g memstr.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g rtt.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g relid.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g sendip_handler.c rtt.c: In function 'rtt': rtt.c:43:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 43 | for (i=0; ibuf + adbuf_used(b); | ^ In file included from /usr/include/string.h:548, 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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ scan.c: In function 'scanmain': scan.c:445:42: note: 'icmp' declared here 445 | struct myicmphdr icmp; | ^~~~ script.c: In function 'GetPacketDescription': script.c:265:28: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 265 | unsigned char *p = (char*)data; | ^ script.c: In function 'HpingSetFieldCmd': script.c:603:31: warning: variable 'value' set but not used [-Wunused-but-set-variable] 603 | char *layer, *field, *value, *packet; | ^~~~~ script.c: In function 'Tcl_SetMpzObj': 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g ars.c script.c:982:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 982 | typePtr = objPtr->typePtr; | ^ script.c: In function 'SetMpzFromAny': script.c:1090:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1090 | typePtr = objPtr->typePtr; | ^ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g apd.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g split.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g rapd.c In file included from ars.c:15: ars.c: In function 'ars_multi_cksum': ars.c:485:60: warning: comparison with string literal results in unspecified behavior [-Waddress] 485 | assert("else reached in ars_multi_cksum()" == ""); | ^~ ars.c:485:60: warning: comparison with string literal results in unspecified behavior [-Waddress] 485 | assert("else reached in ars_multi_cksum()" == ""); | ^~ ars.c: In function 'ars_bsd_fix': ars.c:909:27: warning: variable 'ip' set but not used [-Wunused-but-set-variable] 909 | struct ars_iphdr *ip; | ^~ apd.c: In function 'ars_decode_hex': apd.c:823:16: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 823 | return saved; | ^~~~~ apd.c: In function 'ars_decode_string': apd.c:852:16: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 852 | return saved; | ^~~~~ apd.c: In function 'ars_d_set_data': apd.c:889:21: warning: variable 'err' set but not used [-Wunused-but-set-variable] 889 | int err, blen; | ^~~ In function 'mpz_clear', inlined from 'mpz_muli_raw' at sbignum.c:942:2: sbignum.c:259:9: warning: 'MEM[(struct struct_sbnz *)&t].d' may be used uninitialized [-Wmaybe-uninitialized] 259 | free(z->d); | ^~~~~~~~~~ sbignum.c: In function 'mpz_muli_raw': sbignum.c:893:15: note: 'MEM[(struct struct_sbnz *)&t].d' was declared here 893 | mpz_t t, rt; | ^ gcc -o hping3 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DUSE_TCL -g main.o getifname.o getlhs.o parseoptions.o datafiller.o datahandler.o gethostname.o binding.o getusec.o opensockraw.o logicmp.o waitpacket.o resolve.o sendip.o sendicmp.o sendudp.o sendtcp.o cksum.o statistics.o usage.o version.o antigetopt.o sockopt.o listen.o sendhcmp.o memstr.o rtt.o relid.o sendip_handler.o libpcap_stuff.o memlockall.o memunlockall.o memlock.o memunlock.o ip_opt_build.o display_ipopt.o sendrawip.o signal.o send.o strlcpy.o arsglue.o random.o scan.o hstring.o script.o interface.o adbuf.o hex.o apdutils.o sbignum.o sbignum-tables.o ars.o apd.o split.o rapd.o -L/usr/local/lib -lpcap -ltcl -lm -lpthread globals.h:130:17: warning: type of 'ip_optlen' does not match original declaration [-Wlto-type-mismatch] 130 | ip_optlen, | ^ main.c:154:9: note: type 'unsigned int' should match type 'char' 154 | ip_optlen = 0; | ^ main.c:154:9: note: 'ip_optlen' was previously declared here In function 'memcpy', inlined from 'send_icmp_other' at sendicmp.c:256:2: /usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' reading between 28 and 65563 bytes from a region of size 20 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^ sendicmp.c: In function 'send_icmp_other': sendicmp.c:197:24: note: source object 'icmp_ip' of size 20 197 | struct myiphdr icmp_ip; | ^ In function 'memcpy', inlined from 'receiver' at scan.c:459:4, inlined from 'scanmain' at scan.c:545:3, inlined from 'main' at main.c:318:3: /usr/include/bits/string_fortified.h:29:10: warning: '__builtin___memcpy_chk' writing 20 bytes into a region of size 8 overflows the destination [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^ ./hping3 -v hping version 3.0.0-alpha-1 ($Id: release.h,v 1.4 2004/04/09 23:38:56 antirez Exp $) This binary is TCL scripting capable use `make strip' to strip hping3 binary use `make install' to install hping3 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nVoauV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64 + cd hping3-20051105 + rm -rf /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64 + install -d /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/sbin /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/share/man/man8 + install -m0755 hping3 /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/sbin + install -m0644 docs/hping3.8 /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/share/man/man8 + ln -sf hping3 /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/sbin/hping + ln -sf hping3 /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/sbin/hping2 + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.0.20051105-1.oc9 --unique-debug-suffix -0.0.20051105-1.oc9.aarch64 --unique-debug-src-base hping3-0.0.20051105-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/hping3-20051105 extracting debug info from /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/sbin/hping3 766 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: hping3-0.0.20051105-1.oc9.aarch64 warning: Explicit %attr() mode not applicable to symlink: /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/sbin/hping warning: Explicit %attr() mode not applicable to symlink: /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/sbin/hping2 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.w4Xodc + umask 022 + cd /builddir/build/BUILD + cd hping3-20051105 + DOCDIR=/builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/share/doc/hping3 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/share/doc/hping3 + cp -pr COPYING /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/share/doc/hping3 + cp -pr BUGS KNOWN-BUGS /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/share/doc/hping3 + cp -pr CHANGES /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/share/doc/hping3 + cp -pr README /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/share/doc/hping3 + cp -pr TODO /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/share/doc/hping3 + cp -pr docs/AS-BACKDOOR /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/share/doc/hping3 + cp -pr docs/HPING2-HOWTO.txt /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/share/doc/hping3 + cp -pr docs/HPING2-IS-OPEN /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/share/doc/hping3 + cp -pr docs/MORE-FUN-WITH-IPID /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/share/doc/hping3 + cp -pr docs/SPOOFED_SCAN.txt /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/share/doc/hping3 + cp -pr docs/HPING3.txt /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/share/doc/hping3 + RPM_EC=0 ++ jobs -p + exit 0 Provides: hping2 hping3 = 0.0.20051105-1.oc9 hping3(aarch-64) = 0.0.20051105-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libm.so.6()(64bit) libpcap.so.1()(64bit) libtcl8.6.so()(64bit) rtld(GNU_HASH) Processing files: hping3-debugsource-0.0.20051105-1.oc9.aarch64 Provides: hping3-debugsource = 0.0.20051105-1.oc9 hping3-debugsource(aarch-64) = 0.0.20051105-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: hping3-debuginfo-0.0.20051105-1.oc9.aarch64 Provides: debuginfo(build-id) = 1afeea413677232867eb39c8d50e118be7d19c98 hping3-debuginfo = 0.0.20051105-1.oc9 hping3-debuginfo(aarch-64) = 0.0.20051105-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: hping3-debugsource(aarch-64) = 0.0.20051105-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64 Wrote: /builddir/build/RPMS/hping3-debugsource-0.0.20051105-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/hping3-0.0.20051105-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/hping3-debuginfo-0.0.20051105-1.oc9.aarch64.rpm RPM build warnings: %patchN is deprecated (7 usages found), use %patch N (or %patch -P N) Explicit %attr() mode not applicable to symlink: /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/sbin/hping Explicit %attr() mode not applicable to symlink: /builddir/build/BUILDROOT/hping3-0.0.20051105-1.oc9.aarch64/usr/sbin/hping2 Child return code was: 0