D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: line 18: It's not recommended to have unversioned Obsoletes: Obsoletes: hping2 Installing /home/pterjan/rpmbuild/SRPMS/hping3-20051105-11.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7lspyu Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.I8n1yj + umask 022 + cd /home/pterjan/rpmbuild/BUILD/hping3-20051105-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/hping3-20051105-build + rm -rf hping3-20051105 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/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 . + echo 'Patch #0 (hping3-include.patch):' 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 + echo 'Patch #1 (hping3-bytesex.patch):' Patch #1 (hping3-bytesex.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .bytesex --fuzz=0 patching file bytesex.h + echo 'Patch #2 (hping3-getifnamedebug.patch):' 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). + echo 'Patch #3 (hping3-cflags.patch):' Patch #3 (hping3-cflags.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .cflags --fuzz=0 patching file Makefile.in + echo 'Patch #4 (hping3-man.patch):' Patch #4 (hping3-man.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .man --fuzz=0 patching file docs/hping3.8 + echo 'Patch #5 (hping3-20051105-typo.patch):' Patch #5 (hping3-20051105-typo.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file statistics.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cSOcdZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/hping3-20051105-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hping3-20051105 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 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' + /usr/bin/make -O -j16 V=1 VERBOSE=1 gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g gethostname.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g getlhs.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g datahandler.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g binding.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g getusec.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g opensockraw.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g logicmp.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g resolve.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g sendip.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g sendudp.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g datafiller.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g main.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g getifname.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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g sendicmp.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: '__builtin___memcpy_chk' 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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g memstr.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g version.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g sockopt.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g usage.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g cksum.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g statistics.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g sendhcmp.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g memlockall.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g memunlockall.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g memlock.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g listen.c listen.c: In function 'listenmain': listen.c:77:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 77 | write(stdoutFD, p, size-(p-ip_packet)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g memunlock.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g sendtcp.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g relid.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g parseoptions.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g sendip_handler.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g rtt.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); | ^ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g scan.c In file included from scan.c:52: hstring.h:1: warning: header guard 'HPING_HSTRNIG_H' followed by '#define' of a different macro [-Wheader-guard] 1 | #ifndef HPING_HSTRNIG_H hstring.h:2: note: 'HPING_HSTRING_H' is defined here; did you mean 'HPING_HSTRNIG_H'? 2 | #define HPING_HSTRING_H scan.c: In function 'receiver': scan.c:458:27: 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: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: '__builtin___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; | ^~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g rapd.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g split.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g ars.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; | ^~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g script.c 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': 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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g apd.c In file included from apd.c:20: hstring.h:1: warning: header guard 'HPING_HSTRNIG_H' followed by '#define' of a different macro [-Wheader-guard] 1 | #ifndef HPING_HSTRNIG_H hstring.h:2: note: 'HPING_HSTRING_H' is defined here; did you mean 'HPING_HSTRNIG_H'? 2 | #define HPING_HSTRING_H 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; | ^~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUSE_TCL -g sbignum.c In function 'mpz_clear', inlined from 'mpz_muli_raw' at sbignum.c:942:2: sbignum.c:259:9: warning: 't[0].d' may be used uninitialized [-Wmaybe-uninitialized] 259 | free(z->d); | ^~~~~~~~~~ sbignum.c: In function 'mpz_muli_raw': sbignum.c:893:15: note: 't[0].d' was declared here 893 | mpz_t t, rt; | ^ gcc -o hping3 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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 ./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 /home/pterjan/rpmbuild/tmp/rpm-tmp.ctsizl + umask 022 + cd /home/pterjan/rpmbuild/BUILD/hping3-20051105-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/hping3-20051105-build + mkdir /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hping3-20051105 + '[' 1 -eq 1 ']' + install -d 755 /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/BUILDROOT/usr/sbin + install -m 755 hping3 /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/BUILDROOT/usr/sbin + pushd /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/BUILDROOT/usr/sbin ~/rpmbuild/BUILD/hping3-20051105-build/BUILDROOT/usr/sbin ~/rpmbuild/BUILD/hping3-20051105-build/hping3-20051105 + ln -sf hping3 hping + ln -sf hping3 hping2 + popd ~/rpmbuild/BUILD/hping3-20051105-build/hping3-20051105 + install -d 755 /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/BUILDROOT/usr/share/man/man8 + install -m 644 docs/hping3.8 /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/BUILDROOT/usr/share/man/man8 + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 20051105-11.mga10 --unique-debug-suffix -20051105-11.mga10.x86_64 --unique-debug-src-base hping3-20051105-11.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/hping3-20051105 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/hping3-20051105-11.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/SPECPARTS/rpm-debuginfo.specpart Processing files: hping3-20051105-11.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.07TrTi + umask 022 + cd /home/pterjan/rpmbuild/BUILD/hping3-20051105-build + cd hping3-20051105 + DOCDIR=/home/pterjan/rpmbuild/BUILD/hping3-20051105-build/BUILDROOT/usr/share/doc/hping3 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/BUILDROOT/usr/share/doc/hping3 + cp -pr /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/hping3-20051105/BUGS /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/BUILDROOT/usr/share/doc/hping3 + cp -pr /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/hping3-20051105/CHANGES /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/BUILDROOT/usr/share/doc/hping3 + cp -pr /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/hping3-20051105/COPYING /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/BUILDROOT/usr/share/doc/hping3 + cp -pr /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/hping3-20051105/INSTALL /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/BUILDROOT/usr/share/doc/hping3 + cp -pr /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/hping3-20051105/KNOWN-BUGS /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/BUILDROOT/usr/share/doc/hping3 + cp -pr /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/hping3-20051105/TODO /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/BUILDROOT/usr/share/doc/hping3 + RPM_EC=0 ++ jobs -p + exit 0 Provides: hping3 = 20051105-11.mga10 hping3(x86-64) = 20051105-11.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libm.so.6()(64bit) libpcap.so.1()(64bit) libtcl8.6.so()(64bit) Obsoletes: hping2 Processing files: hping3-debugsource-20051105-11.mga10.x86_64 Provides: hping3-debugsource = 20051105-11.mga10 hping3-debugsource(x86-64) = 20051105-11.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: hping3-debuginfo-20051105-11.mga10.x86_64 Provides: debuginfo(build-id) = 8a32391b7f79dcccb5dad8ef2abbe7afa12fb93c hping3-debuginfo = 20051105-11.mga10 hping3-debuginfo(x86-64) = 20051105-11.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: hping3-debugsource(x86-64) = 20051105-11.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/hping3-20051105-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/hping3-20051105-11.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/hping3-debuginfo-20051105-11.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/hping3-debugsource-20051105-11.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7q46rO + umask 022 + cd /home/pterjan/rpmbuild/BUILD/hping3-20051105-build + test -d /home/pterjan/rpmbuild/BUILD/hping3-20051105-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/hping3-20051105-build + rm -rf /home/pterjan/rpmbuild/BUILD/hping3-20051105-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: line 18: It's not recommended to have unversioned Obsoletes: Obsoletes: hping2 D: [iurt_root_command] Success!