<86>Aug 3 07:49:19 userdel[2012574]: delete user 'rooter' <86>Aug 3 07:49:19 userdel[2012574]: removed group 'rooter' owned by 'rooter' <86>Aug 3 07:49:19 userdel[2012574]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 3 07:49:19 groupadd[2012584]: group added to /etc/group: name=rooter, GID=585 <86>Aug 3 07:49:19 groupadd[2012584]: group added to /etc/gshadow: name=rooter <86>Aug 3 07:49:19 groupadd[2012584]: new group: name=rooter, GID=585 <86>Aug 3 07:49:19 useradd[2012592]: new user: name=rooter, UID=585, GID=585, home=/root, shell=/bin/bash <86>Aug 3 07:49:19 userdel[2012608]: delete user 'builder' <86>Aug 3 07:49:19 userdel[2012608]: removed group 'builder' owned by 'builder' <86>Aug 3 07:49:19 userdel[2012608]: removed shadow group 'builder' owned by 'builder' <86>Aug 3 07:49:19 groupadd[2012619]: group added to /etc/group: name=builder, GID=586 <86>Aug 3 07:49:19 groupadd[2012619]: group added to /etc/gshadow: name=builder <86>Aug 3 07:49:19 groupadd[2012619]: new group: name=builder, GID=586 <86>Aug 3 07:49:19 useradd[2012628]: new user: name=builder, UID=586, GID=586, home=/usr/src, shell=/bin/bash warning: user glebfm does not exist - using root warning: group glebfm does not exist - using root warning: user glebfm does not exist - using root warning: group glebfm does not exist - using root warning: user glebfm does not exist - using root warning: group glebfm does not exist - using root <13>Aug 3 07:49:22 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066927 installed <13>Aug 3 07:49:22 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Aug 3 07:49:22 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Aug 3 07:49:22 rpmi: libsystemd-1:245.7-alt1 sisyphus+255466.100.2.1 1595951700 installed <13>Aug 3 07:49:22 rpmi: libdbus-1.12.18-alt1 sisyphus+252758.100.1.1 1591203693 installed <13>Aug 3 07:49:22 rpmi: libpcap0.8-2:1.9.1-alt2 sisyphus+252303.100.1.1 1590571652 installed <13>Aug 3 07:49:22 rpmi: gcc-c++-common-1.4.25-alt1 sisyphus+255450.100.1.1 1595851517 installed <13>Aug 3 07:49:23 rpmi: libstdc++9-devel-9.3.1-alt1 sisyphus+251917.40.3.1 1589812684 installed <13>Aug 3 07:49:25 rpmi: gcc9-c++-9.3.1-alt1 sisyphus+251917.40.3.1 1589812684 installed <13>Aug 3 07:49:25 rpmi: gcc-c++-9-alt2 sisyphus+251923.100.2.2 1589881401 installed <13>Aug 3 07:49:25 rpmi: libpcap-devel-2:1.9.1-alt2 sisyphus+252303.100.1.1 1590571652 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/xprobe2-0.3-alt2.qa1.nosrc.rpm Installing xprobe2-0.3-alt2.qa1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.6619 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf xprobe2-0.3 + echo 'Source #0 (xprobe2-0.3.tar.gz):' Source #0 (xprobe2-0.3.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/xprobe2-0.3.tar.gz + /bin/tar -xf - + cd xprobe2-0.3 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (xprobe2-0.3-gcc43.patch):' Patch #0 (xprobe2-0.3-gcc43.patch): + /usr/bin/patch -p0 patching file libs-external/USI++/src/misc.cc patching file libs-external/USI++/src/ip.cc patching file libs-external/USI++/usi++/tcp.h + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.6619 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd xprobe2-0.3 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ANSI C... none needed checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking how to run the C++ preprocessor... i586-alt-linux-g++ -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking glib.h usability... no checking glib.h presence... no checking for glib.h... no checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking if sa_len is in struct sockaddr... no checking for pcap_datalink in -lpcap... yes checking for dlfcn.h... (cached) yes checking for a BSD-compatible install... /bin/install -c checking whether make sets $(MAKE)... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/defines.h config.status: creating src/Makefile config.status: creating src/xplib/Makefile config.status: creating src/xpmodules/Makefile config.status: creating src/xpmodules/alive_probe/Makefile config.status: creating src/xpmodules/alive_probe/ttl_calc/Makefile config.status: creating src/xpmodules/alive_probe/portscanner/Makefile config.status: creating src/xpmodules/os_probe/Makefile config.status: creating src/xpmodules/os_probe/icmp_echo_id/Makefile config.status: creating src/xpmodules/os_probe/icmp_timestamp/Makefile config.status: creating src/xpmodules/os_probe/icmp_addrmask/Makefile config.status: creating src/xpmodules/os_probe/icmp_inforeq/Makefile config.status: creating src/xpmodules/os_probe/icmp_port_unreach/Makefile config.status: creating src/xpmodules/os_probe/tcp_handshake/Makefile config.status: creating src/xpmodules/os_probe/tcp_rst/Makefile config.status: creating src/xpmodules/os_probe/smb/Makefile config.status: creating src/xpmodules/os_probe/snmp/Makefile config.status: creating src/config.h configure: configuring in libs-external/USI++/src configure: running /bin/sh './configure' --prefix=/usr '--build=i586-alt-linux' '--host=i586-alt-linux' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--disable-silent-rules' '--without-included-gettext' 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' 'build_alias=i586-alt-linux' 'host_alias=i586-alt-linux' --cache-file=/dev/null --srcdir=. checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking for i586-alt-linux-g++... i586-alt-linux-g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking for a BSD-compatible install... /bin/install -c checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ANSI C... none needed checking for main in -lpcap... yes checking for pcap_setnonblock in -lpcap... yes checking for socket in -lsocket... no checking for inet_ntoa in -lnsl... no checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking linux/filter.h usability... yes checking linux/filter.h presence... yes checking for linux/filter.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether byte ordering is bigendian... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h + make -j8 cd libs-external/USI++/src; make make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -I/usr/include/pcap -I. -Wall -c -O2 datalink.cc In file included from /usr/include/string.h:508, from datalink.cc:15: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'virtual int usipp::Pcap::init_device(char*, int, size_t)' at datalink.cc:272:9: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 10 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -I/usr/include/pcap -I. -Wall -c -O2 TX_IP.cc TX_IP.cc: In member function 'virtual int usipp::TX_IP::sendpack(void*, size_t, sockaddr*)': TX_IP.cc:33:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 33 | if (tx_timeout != false) | ^~ TX_IP.cc:37:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 37 | int r; | ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -I/usr/include/pcap -I. -Wall -c -O2 tcp.cc tcp.cc: In member function 'virtual int usipp::TCP::init_device(char*, int, size_t)': tcp.cc:321:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 321 | r = Layer2::setfilter("tcp"); | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -I/usr/include/pcap -I. -Wall -c -O2 ip.cc ip.cc: In member function 'virtual int usipp::IP::init_device(char*, int, size_t)': ip.cc:559:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 559 | r = Layer2::setfilter("ip"); | ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -I/usr/include/pcap -I. -Wall -c -O2 udp.cc udp.cc: In member function 'virtual int usipp::UDP::init_device(char*, int, size_t)': udp.cc:217:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 217 | r = Layer2::setfilter("udp"); | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -I/usr/include/pcap -I. -Wall -c -O2 arp.cc make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -I/usr/include/pcap -I. -Wall -c -O2 icmp.cc icmp.cc: In member function 'virtual int usipp::ICMP::init_device(char*, int, size_t)': icmp.cc:296:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 296 | r = Layer2::setfilter("icmp"); | ^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -I/usr/include/pcap -I. -Wall -c -O2 Layer2.cc make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -I/usr/include/pcap -I. -Wall -c -O2 misc.cc make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' ar cr libusi++.a *.o ranlib libusi++.a rm -f *.o make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/libs-external/USI++/src' cd src; make make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' Makefile:60: warning: ignoring prerequisites on suffix rule definition Makefile:63: warning: ignoring prerequisites on suffix rule definition make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' cd xplib; make make[2]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' i586-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ../ xp_get_interface.cc In file included from ../xprobe.h:141, from xplib.h:25, from xp_get_interface.h:28, from xp_get_interface.cc:26: ../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' make[2]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' i586-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ../ xp_get_iface_addr.cc In file included from ../xprobe.h:141, from xplib.h:25, from xp_get_iface_addr.h:28, from xp_get_iface_addr.cc:26: ../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ In file included from /usr/include/string.h:508, from ../xprobe.h:34, from xplib.h:25, from xp_get_iface_addr.h:28, from xp_get_iface_addr.cc:26: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'in_addr xp_get_iface_addr(char*)' at xp_get_iface_addr.cc:46:12: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' make[2]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' i586-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ../ xp_get_random_data.cc In file included from ../xprobe.h:141, from xplib.h:25, from xp_get_random_data.h:25, from xp_get_random_data.cc:23: ../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' make[2]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' i586-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ../ xp_get_ping_payload.cc In file included from ../xprobe.h:141, from xplib.h:25, from xp_get_ping_payload.cc:23: ../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' make[2]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' i586-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ../ xp_get_src_addr.cc In file included from ../xprobe.h:141, from xplib.h:25, from xp_get_src_addr.cc:23: ../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' i586-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ./ -I ../libs-external/USI++/src/ cmd_opts.cc In file included from xprobe.h:141, from cmd_opts.cc:23: defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ cmd_opts.cc: In member function 'int Cmd_Opts::parse(int, char**)': cmd_opts.cc:83:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 83 | while((c = getopt(argc, argv, "vi:p:ho:t:d:c:rD:m:M:PT:U:s:fLFXBA")) !=EOF) | ^~~~~ cmd_opts.cc:209:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 209 | if (xml && !logfile) { | ^~ In file included from xprobe.h:141, from cmd_opts.cc:23: cmd_opts.cc: In constructor 'Cmd_Opts::Cmd_Opts()': defines.h:35:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 35 | #define DEFAULT_CONFIG "/etc/xprobe2/xprobe2.conf" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd_opts.cc:326:27: note: in expansion of macro 'DEFAULT_CONFIG' 326 | default_config_file = DEFAULT_CONFIG; | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' i586-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ./ -I ../libs-external/USI++/src/ os_matrix.cc In file included from xprobe.h:141, from os_matrix.cc:22: defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' make[2]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' i586-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ../ xp_sha1.cc In file included from ../xprobe.h:141, from xplib.h:25, from xp_sha1.h:34, from xp_sha1.cc:40: ../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' i586-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ./ -I ../libs-external/USI++/src/ interface_con.cc In file included from xprobe.h:141, from interface_con.cc:23: defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' make[2]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' i586-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ../ xp_lib.cc In file included from ../xprobe.h:141, from xplib.h:25, from xp_lib.h:26, from xp_lib.cc:22: ../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' make[2]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' ar cr libxplib.a *.o ranlib libxplib.a make[2]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' i586-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ./ -I ../libs-external/USI++/src/ interface.cc In file included from xprobe.h:141, from interface.cc:23: defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' i586-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ./ -I ../libs-external/USI++/src/ scan_engine.cc In file included from xprobe.h:141, from scan_engine.cc:23: defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' cd xpmodules; make make[2]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules' Makefile:53: warning: ignoring prerequisites on suffix rule definition make[2]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules' cd alive_probe; make make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' i586-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ./ -I ../libs-external/USI++/src/ targets_list.cc In file included from xprobe.h:141, from targets_list.cc:23: defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe' g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../xplib -I ../../../libs-external/USI++ -c icmp_ping.cc In file included from ../../xprobe.h:141, from icmp_ping.cc:24: ../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ icmp_ping.cc: In member function 'int ICMP_Ping_Mod::do_icmp_ping(Target*)': icmp_ping.cc:91:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 91 | int ret; | ^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' i586-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ./ -I ../libs-external/USI++/src/ xprobe_module_param.cc In file included from xprobe.h:141, from xprobe_module_param.cc:22: defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ xprobe_module_param.cc: In member function 'int Xprobe_Module_Param::add_param(int, int, OS_Matrix*)': xprobe_module_param.cc:50:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 50 | param != 0 && (*sig_i).second.low == 1) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ xprobe_module_param.cc: In member function 'int Xprobe_Module_Param::parse_param(int, const char*)': xprobe_module_param.cc:159:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 159 | if (type == XPROBE_MODULE_PARAM_ZNZORIG && !(strncasecmp(param, "SENT", 4))) { | ^~ xprobe_module_param.cc:164:17: note: here 164 | default: | ^~~~~~~ In file included from xprobe_module_param.cc:23: xprobe_module_param.h:56:16: warning: 'p.xprobe_module_param_val::high' may be used uninitialized in this function [-Wmaybe-uninitialized] 56 | typedef struct xprobe_module_param_val { | ^~~~~~~~~~~~~~~~~~~~~~~ xprobe_module_param.h:56:16: warning: 'p.xprobe_module_param_val::high' may be used uninitialized in this function [-Wmaybe-uninitialized] 56 | typedef struct xprobe_module_param_val { | ^~~~~~~~~~~~~~~~~~~~~~~ xprobe_module_param.h:56:16: warning: 'p.xprobe_module_param_val::high' may be used uninitialized in this function [-Wmaybe-uninitialized] 56 | typedef struct xprobe_module_param_val { | ^~~~~~~~~~~~~~~~~~~~~~~ xprobe_module_param.h:56:16: warning: 'p.xprobe_module_param_val::high' may be used uninitialized in this function [-Wmaybe-uninitialized] 56 | typedef struct xprobe_module_param_val { | ^~~~~~~~~~~~~~~~~~~~~~~ xprobe_module_param.h:56:16: warning: 'p.xprobe_module_param_val::high' may be used uninitialized in this function [-Wmaybe-uninitialized] 56 | typedef struct xprobe_module_param_val { | ^~~~~~~~~~~~~~~~~~~~~~~ xprobe_module_param.h:56:16: warning: 'p.xprobe_module_param_val::high' may be used uninitialized in this function [-Wmaybe-uninitialized] 56 | typedef struct xprobe_module_param_val { | ^~~~~~~~~~~~~~~~~~~~~~~ xprobe_module_param.h:56:16: warning: 'p.xprobe_module_param_val::high' may be used uninitialized in this function [-Wmaybe-uninitialized] 56 | typedef struct xprobe_module_param_val { | ^~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' cd ttl_calc; make make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' i586-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ./ -I ../libs-external/USI++/src/ xprobe.cc In file included from xprobe.h:141, from xprobe.cc:22: defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' cd portscanner; make make[3]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe' g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../xplib -I ../../../libs-external/USI++ -c udp_ping.cc In file included from ../../xprobe.h:141, from udp_ping.cc:24: ../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ udp_ping.cc: In member function 'virtual int UDP_Ping_Mod::exec(Target*, OS_Matrix*)': udp_ping.cc:90:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | udpp.sendpack(""); | ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' i586-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ./ -I ../libs-external/USI++/src/ log.cc In file included from xprobe.h:141, from log.cc:1: defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ log.cc: In member function 'int XML_Log::log_port(const char*, va_list)': log.cc:245:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 245 | state="closed"; | ^~~~~~~~ log.cc:248:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 248 | state="open"; | ^~~~~~ log.cc:251:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 251 | state="filtered"; | ^~~~~~~~~~ log.cc:254:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 254 | state="unknown"; | ^~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' i586-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ./ -I ../libs-external/USI++/src/ xprobe_module_hdlr.cc In file included from xprobe.h:141, from xprobe_module_hdlr.cc:22: defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ In file included from xprobe_module_hdlr.cc:26: xpmodules/static_modules.h:50:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | {"ping:icmp_ping", icmp_ping_mod_init}, | ^~~~~~~~~~~~~~~~ xpmodules/static_modules.h:51:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | {"ping:tcp_ping", tcp_ping_mod_init}, | ^~~~~~~~~~~~~~~ xpmodules/static_modules.h:52:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | {"ping:udp_ping", udp_ping_mod_init }, | ^~~~~~~~~~~~~~~ xpmodules/static_modules.h:53:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 53 | {"infogather:ttl_calc",ttl_mod_init }, | ^~~~~~~~~~~~~~~~~~~~~ xpmodules/static_modules.h:54:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 54 | {"infogather:portscan", portscan_mod_init}, | ^~~~~~~~~~~~~~~~~~~~~ xpmodules/static_modules.h:55:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | {"fingerprint:icmp_echo", icmp_echo_id_mod_init}, | ^~~~~~~~~~~~~~~~~~~~~~~ xpmodules/static_modules.h:56:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 56 | {"fingerprint:icmp_tstamp", icmp_timestamp_mod_init}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ xpmodules/static_modules.h:57:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | {"fingerprint:icmp_amask", icmp_addrmask_mod_init}, | ^~~~~~~~~~~~~~~~~~~~~~~~ xpmodules/static_modules.h:58:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 58 | {"fingerprint:icmp_info", icmp_inforeq_mod_init }, | ^~~~~~~~~~~~~~~~~~~~~~~ xpmodules/static_modules.h:59:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 59 | {"fingerprint:icmp_port_unreach", icmp_port_unreach_init}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpmodules/static_modules.h:60:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 60 | {"fingerprint:tcp_hshake", tcp_handshake_mod_init}, | ^~~~~~~~~~~~~~~~~~~~~~~~ xpmodules/static_modules.h:61:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 61 | {"fingerprint:tcp_rst", tcp_rst_mod_init}, | ^~~~~~~~~~~~~~~~~~~~~ xpmodules/static_modules.h:62:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 62 | {"fingerprint:smb", smb_mod_init}, | ^~~~~~~~~~~~~~~~~ xpmodules/static_modules.h:63:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 63 | {"fingerprint:snmp", snmp_mod_init}, | ^~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' cd os_probe; make cd icmp_port_unreach; make make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' i586-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ./ -I ../libs-external/USI++/src/ config_set.cc In file included from xprobe.h:141, from config_set.cc:23: defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe/ttl_calc' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ ttl_calc.cc In file included from ../../../xprobe.h:141, from ttl_calc.cc:1: ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ ttl_calc.cc: In member function 'int TTL_Mod::get_ttl_distance(Target*)': ttl_calc.cc:146:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 146 | tcp.sendpack(""); | ^~ make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe/ttl_calc' make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe/ttl_calc' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ getrandom.cc In file included from ../../../xprobe.h:141, from ttl_calc.h:26, from getrandom.cc:1: ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe/ttl_calc' cd icmp_echo_id; make make[3]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe' g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../xplib -I ../../../libs-external/USI++ -c tcp_ping.cc In file included from ../../xprobe.h:141, from tcp_ping.cc:24: ../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ tcp_ping.cc: In member function 'virtual int TCP_Ping_Mod::exec(Target*, OS_Matrix*)': tcp_ping.cc:69:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 69 | if ((port = tg->get_port(IPPROTO_TCP, XPROBE_TARGETP_OPEN)) == -1 ) | ^~ tcp_ping.cc:72:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 72 | sn.init_device(tg->get_interface(), 0, 1500); | ^~ tcp_ping.cc:89:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 89 | tcpp->sendpack(""); | ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe' cd icmp_timestamp; make make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_port_unreach' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ build_DNS_reply.cc In file included from ../../../xprobe.h:141, from icmp_port_unreach.h:27, from build_DNS_reply.cc:1: ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ In file included from /usr/include/string.h:508, from ../../../xprobe.h:34, from icmp_port_unreach.h:27, from build_DNS_reply.cc:1: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void icmp_port_unreach::build_DNS_reply(u_char*)' at build_DNS_reply.cc:56:15: /usr/include/bits/string_fortified.h:34:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' forming offset [3, 4] is out of the bounds [0, 2] of object 'one' with type 'u_short' {aka 'short unsigned int'} [-Warray-bounds] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_DNS_reply.cc: In member function 'void icmp_port_unreach::build_DNS_reply(u_char*)': build_DNS_reply.cc:23:17: note: 'one' declared here 23 | u_short one = htons(1); | ^~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_port_unreach' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' i586-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ./ -I ../libs-external/USI++/src/ target.cc In file included from xprobe.h:141, from target.cc:23: defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ In file included from /usr/include/net/route.h:26, from xprobe.h:74, from target.cc:23: target.cc: In member function 'long unsigned int Target_Net::getnext()': target.cc:116:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 116 | if (counter > ntohl(addr|mask^0xffffffff)) | ~~~~^~~~~~~~~~~ target.cc:116:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 116 | if (counter > ntohl(addr|mask^0xffffffff)) | ^~ target.cc:118:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 118 | if (counter == htonl(addr)) { // network number | ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' cd icmp_inforeq; make make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_port_unreach' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ getrandom.cc In file included from ../../../xprobe.h:141, from icmp_port_unreach.h:27, from getrandom.cc:1: ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_port_unreach' cd icmp_addrmask; make make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe/ttl_calc' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ build_DNS_reply.cc In file included from ../../../xprobe.h:141, from ttl_calc.h:26, from build_DNS_reply.cc:1: ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ In file included from /usr/include/string.h:508, from ../../../xprobe.h:34, from ttl_calc.h:26, from build_DNS_reply.cc:1: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void TTL_Mod::build_DNS_reply(u_char*)' at build_DNS_reply.cc:56:15: /usr/include/bits/string_fortified.h:34:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' forming offset [3, 4] is out of the bounds [0, 2] of object 'one' with type 'u_short' {aka 'short unsigned int'} [-Warray-bounds] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_DNS_reply.cc: In member function 'void TTL_Mod::build_DNS_reply(u_char*)': build_DNS_reply.cc:23:17: note: 'one' declared here 23 | u_short one = htons(1); | ^~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe/ttl_calc' make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe/ttl_calc' ttl_mod done make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe/ttl_calc' cd tcp_handshake; make make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_port_unreach' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ parse_keyword.cc In file included from ../../../xprobe.h:141, from parse_keyword.cc:1: ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ In file included from parse_keyword.cc:4: parse_keyword.h:4:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4 | "icmp_unreach_reply_ttl", | ^~~~~~~~~~~~~~~~~~~~~~~~ parse_keyword.h:5:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 5 | "icmp_unreach_echoed_dtsize", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse_keyword.h:6:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6 | "icmp_unreach_echoed_udp_cksum", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse_keyword.h:7:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7 | "icmp_unreach_echoed_ip_cksum", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse_keyword.h:8:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 8 | "icmp_unreach_echoed_ip_id", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ parse_keyword.h:9:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 9 | "icmp_unreach_echoed_total_len", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse_keyword.h:10:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 10 | "icmp_unreach_echoed_3bit_flags", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse_keyword.h:11:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 11 | "icmp_unreach_precedence_bits", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse_keyword.h:12:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 12 | "icmp_unreach_df_bit", | ^~~~~~~~~~~~~~~~~~~~~ parse_keyword.h:13:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 13 | "icmp_unreach_ip_id", | ^~~~~~~~~~~~~~~~~~~~ parse_keyword.h:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 14 | "icmp_unreach_reply", | ^~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_port_unreach' cd tcp_rst; make make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_echo_id' g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ -c icmp_echo_id.cc In file included from ../../../xprobe.h:141, from icmp_echo_id.cc:24: ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ icmp_echo_id.cc: In function 'int icmp_echo_id_mod_init(Xprobe_Module_Hdlr*, char*)': icmp_echo_id.cc:48:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | pt->add_keyword(module->get_id(),"icmp_echo_reply"); | ^~~~~~~~~~~~~~~~~ icmp_echo_id.cc:49:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 49 | pt->add_keyword(module->get_id(),"icmp_echo_code"); | ^~~~~~~~~~~~~~~~ icmp_echo_id.cc:50:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | pt->add_keyword(module->get_id(),"icmp_echo_ip_id"); | ^~~~~~~~~~~~~~~~~ icmp_echo_id.cc:51:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | pt->add_keyword(module->get_id(),"icmp_echo_tos_bits"); | ^~~~~~~~~~~~~~~~~~~~ icmp_echo_id.cc:52:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | pt->add_keyword(module->get_id(),"icmp_echo_df_bit"); | ^~~~~~~~~~~~~~~~~~ icmp_echo_id.cc:53:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 53 | pt->add_keyword(module->get_id(),"icmp_echo_reply_ttl"); | ^~~~~~~~~~~~~~~~~~~~~ icmp_echo_id.cc: In member function 'int ICMP_Echo_Id_Mod::do_icmp_ping(Target*)': icmp_echo_id.cc:152:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 152 | int ret; | ^~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_echo_id' cd smb; make make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/smb' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ smbutil.cc make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/smb' make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_inforeq' g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ icmp_inforeq.cc In file included from ../../../xprobe.h:141, from icmp_inforeq.cc:24: ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ icmp_inforeq.cc: In function 'int icmp_inforeq_mod_init(Xprobe_Module_Hdlr*, char*)': icmp_inforeq.cc:47:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 47 | pt->add_keyword(module->get_id(),"icmp_info_reply"); | ^~~~~~~~~~~~~~~~~ icmp_inforeq.cc:48:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | pt->add_keyword(module->get_id(),"icmp_info_reply_ttl"); | ^~~~~~~~~~~~~~~~~~~~~ icmp_inforeq.cc:49:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 49 | pt->add_keyword(module->get_id(), "icmp_info_reply_ip_id"); | ^~~~~~~~~~~~~~~~~~~~~~~ icmp_inforeq.cc: In member function 'int ICMP_Inforeq_Mod::do_icmp_query(Target*)': icmp_inforeq.cc:135:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 135 | ret = icmpp.sendpack(""); | ^~ icmp_inforeq.cc:110:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 110 | int ret; | ^~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_inforeq' cd snmp; make make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/tcp_rst' g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ -c tcp_rst.cc In file included from ../../../xprobe.h:141, from tcp_rst.cc:23: ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ tcp_rst.cc: In function 'int tcp_rst_mod_init(Xprobe_Module_Hdlr*, char*)': tcp_rst.cc:41:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 41 | pt->add_keyword(rst->get_id(), "tcp_rst_df"); | ^~~~~~~~~~~~ tcp_rst.cc:42:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 42 | pt->add_keyword(rst->get_id(), "tcp_rst_ip_id_1"); | ^~~~~~~~~~~~~~~~~ tcp_rst.cc:43:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 43 | pt->add_keyword(rst->get_id(), "tcp_rst_ip_id_2"); | ^~~~~~~~~~~~~~~~~ tcp_rst.cc:44:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 44 | pt->add_keyword(rst->get_id(), "tcp_rst_ip_id_strategy"); | ^~~~~~~~~~~~~~~~~~~~~~~~ tcp_rst.cc:45:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 45 | pt->add_keyword(rst->get_id(), "tcp_rst_ttl"); | ^~~~~~~~~~~~~ tcp_rst.cc:46:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 46 | pt->add_keyword(rst->get_id(), "tcp_rst_reply"); | ^~~~~~~~~~~~~~~ tcp_rst.cc: In member function 'virtual int TCP_Rst_Mod::exec(Target*, OS_Matrix*)': tcp_rst.cc:124:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 124 | request.sendpack(""); | ^~ tcp_rst.cc:145:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 145 | request.sendpack(""); | ^~ tcp_rst.cc:91:14: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 91 | int done=0, ret; | ^~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/tcp_rst' make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_timestamp' g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ icmp_timestamp.cc In file included from ../../../xprobe.h:141, from icmp_timestamp.cc:24: ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ icmp_timestamp.cc: In function 'int icmp_timestamp_mod_init(Xprobe_Module_Hdlr*, char*)': icmp_timestamp.cc:47:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 47 | pt->add_keyword(module->get_id(),"icmp_timestamp_reply"); | ^~~~~~~~~~~~~~~~~~~~~~ icmp_timestamp.cc:48:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | pt->add_keyword(module->get_id(),"icmp_timestamp_reply_ttl"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ icmp_timestamp.cc:49:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 49 | pt->add_keyword(module->get_id(),"icmp_timestamp_reply_ip_id"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ icmp_timestamp.cc: In member function 'int ICMP_Timestamp_Mod::do_icmp_query(Target*)': icmp_timestamp.cc:109:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 109 | int ret; | ^~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_timestamp' make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/tcp_handshake' g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ -c tcp_handshake.cc In file included from ../../../xprobe.h:141, from tcp_handshake.cc:24: ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ tcp_handshake.cc: In member function 'int TCP_Handshake_Mod::run_probe(Target*, OS_Matrix*)': tcp_handshake.cc:143:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 143 | request->sendpack(""); | ^~ tcp_handshake.cc:87:14: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 87 | int done=0, ret, have_more_ports=1; | ^~~ tcp_handshake.cc: In function 'int tcp_handshake_mod_init(Xprobe_Module_Hdlr*, char*)': tcp_handshake.cc:611:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 611 | pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_ttl"); | ^~~~~~~~~~~~~~~~~ tcp_handshake.cc:612:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 612 | pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_ip_id"); | ^~~~~~~~~~~~~~~~~~~ tcp_handshake.cc:613:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 613 | pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_tos"); | ^~~~~~~~~~~~~~~~~ tcp_handshake.cc:614:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 614 | pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_df"); | ^~~~~~~~~~~~~~~~ tcp_handshake.cc:615:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 615 | pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_ack"); | ^~~~~~~~~~~~~~~~~ tcp_handshake.cc:616:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 616 | pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_window_size"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ tcp_handshake.cc:617:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 617 | pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_options_order"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tcp_handshake.cc:618:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 618 | pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_wscale"); | ^~~~~~~~~~~~~~~~~~~~ tcp_handshake.cc:619:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 619 | pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_tsval"); | ^~~~~~~~~~~~~~~~~~~ tcp_handshake.cc:620:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 620 | pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_tsecr"); | ^~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/tcp_handshake' make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/smb' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ smb.cc In file included from ../../../xprobe.h:141, from ../../../interface.h:25, from smb.cc:35: ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/smb' make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe/portscanner' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ portscanner.cc In file included from ../../../xprobe.h:141, from portscanner.cc:23: ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ portscanner.cc: In member function 'virtual int Portscanner::exec(Target*, OS_Matrix*)': portscanner.cc:112:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 112 | for (k=0; k < tcpport.size(); k++) | ^~~ portscanner.cc:118:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 118 | tcp_ignore_state = get_ignore_state(IPPROTO_TCP); | ^~~~~~~~~~~~~~~~ portscanner.cc:125:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 125 | for (k=0; k < udpport.size(); k++) | ^~~ portscanner.cc:131:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 131 | xml->log(XPROBELOG_PS_SESS_START, "%d", ((end.tv_sec - start.tv_sec) * 1000 + (end.tv_usec - start.tv_usec)/1000)/1000.0); | ^~~ portscanner.cc: In member function 'int Portscanner::send_packets(Target*)': portscanner.cc:306:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 306 | udpp.sendpack(""); | ^~ portscanner.cc:340:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 340 | tcpp.sendpack(""); | ^~ portscanner.cc: In member function 'int Portscanner::receive_packets(Target*)': portscanner.cc:362:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 362 | int ret, done=0; | ^~~ portscanner.cc:369:17: warning: variable 'remote' set but not used [-Wunused-but-set-variable] 369 | struct in_addr remote=tg->get_addr(), local=tg->get_interface_addr(); | ^~~~~~ portscanner.cc: In member function 'void Portscanner::analyze_packets()': portscanner.cc:578:7: warning: variable 'detected' set but not used [-Wunused-but-set-variable] 578 | bool detected=false; | ^~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe/portscanner' make[3]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe' ar cr alive_probe.a *.o ttl_calc/*.o portscanner/*.o ranlib alive_probe.a make[3]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe' make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/snmp' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ snmp.cc In file included from ../../../xprobe.h:141, from snmp_mod.h:26, from snmp.h:26, from snmp.cc:23: ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/snmp' make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_port_unreach' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ icmp_port_unreach.cc In file included from ../../../xprobe.h:141, from icmp_port_unreach.cc:1: ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_port_unreach' make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_port_unreach' icmp_port_unreach done make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_port_unreach' make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_addrmask' g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ icmp_addrmask.cc In file included from ../../../xprobe.h:141, from icmp_addrmask.cc:24: ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ icmp_addrmask.cc: In function 'int icmp_addrmask_mod_init(Xprobe_Module_Hdlr*, char*)': icmp_addrmask.cc:47:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 47 | pt->add_keyword(module->get_id(),"icmp_addrmask_reply"); | ^~~~~~~~~~~~~~~~~~~~~ icmp_addrmask.cc:48:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | pt->add_keyword(module->get_id(),"icmp_addrmask_reply_ttl"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ icmp_addrmask.cc:49:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 49 | pt->add_keyword(module->get_id(), "icmp_addrmask_reply_ip_id"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_addrmask' make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/snmp' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ snmp_mod.cc In file included from ../../../xprobe.h:141, from snmp_mod.cc:23: ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ snmp_mod.cc: In function 'int snmp_mod_init(Xprobe_Module_Hdlr*, char*)': snmp_mod.cc:43:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 43 | pt->add_keyword(snmp->get_id(), "snmp_sysdescr"); | ^~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/snmp' make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/snmp' snmp done make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/snmp' make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/smb' i586-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ smb_mod.cc In file included from ../../../xprobe.h:141, from smb_mod.cc:23: ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27 | "\nXprobe2 v."VERSION\ | ^ smb_mod.cc: In function 'int smb_mod_init(Xprobe_Module_Hdlr*, char*)': smb_mod.cc:41:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 41 | pt->add_keyword(smb->get_id(), "smb_nativeos"); | ^~~~~~~~~~~~~~ smb_mod.cc:42:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 42 | pt->add_keyword(smb->get_id(), "smb_lanman"); | ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/smb' make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/smb' smb done make[4]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/smb' make[3]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe' ar cr os_probe.a icmp_port_unreach/*.o icmp_echo_id/*.o icmp_timestamp/*.o \ icmp_inforeq/*.o icmp_addrmask/*.o tcp_handshake/*.o tcp_rst/*.o smb/*.o snmp/*.o ranlib os_probe.a make[3]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' i586-alt-linux-g++ -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ./ -I ../libs-external/USI++/src/ cmd_opts.o config_set.o interface.o interface_con.o log.o os_matrix.o scan_engine.o target.o targets_list.o xprobe.o xprobe_module_hdlr.o xprobe_module_param.o xpmodules/alive_probe/alive_probe.a xpmodules/os_probe/os_probe.a xplib/libxplib.a ../libs-external/USI++/src/libusi++.a -o xprobe2 -ldl -rdynamic -lpcap strip xprobe2 make[1]: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.25978 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/xprobe2-buildroot + : + /bin/rm -rf -- /usr/src/tmp/xprobe2-buildroot + cd xprobe2-0.3 + make 'INSTALL=/bin/install -p' DESTDIR=/usr/src/tmp/xprobe2-buildroot install make: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3' /bin/install -p -d /usr/src/tmp/xprobe2-buildroot//usr/bin /bin/install -p -d /usr/src/tmp/xprobe2-buildroot//usr/share/man/man1 /bin/install -p -d /usr/src/tmp/xprobe2-buildroot//etc/xprobe2 /bin/install -p -m 0755 src/xprobe2 /usr/src/tmp/xprobe2-buildroot//usr/bin /bin/install -p -m 0444 etc/xprobe2.conf /usr/src/tmp/xprobe2-buildroot//etc/xprobe2 /bin/install -p -m 644 docs/xprobe2.1 /usr/src/tmp/xprobe2-buildroot//usr/share/man/man1 make: Leaving directory '/usr/src/RPM/BUILD/xprobe2-0.3' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/xprobe2-buildroot (auto) Verifying and fixing files in /usr/src/tmp/xprobe2-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/xprobe2-buildroot/ (default) Compressing files in /usr/src/tmp/xprobe2-buildroot (auto) Verifying ELF objects in /usr/src/tmp/xprobe2-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/xprobe2: uses non-LFS functions: fopen Hardlinking identical .pyc and .pyo files Processing files: xprobe2-0.3-alt2.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jMAOWA find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mzQbbC find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libpcap.so.0.8 >= set:kgzkeZ5Zm36akQZqPxupwRQqbX5htw2, libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RhKn9A Wrote: /usr/src/RPM/RPMS/i586/xprobe2-0.3-alt2.qa1.i586.rpm 82.70user 10.67system 0:32.96elapsed 283%CPU (0avgtext+0avgdata 97180maxresident)k 0inputs+0outputs (0major+1705519minor)pagefaults 0swaps 91.94user 17.00system 0:47.66elapsed 228%CPU (0avgtext+0avgdata 111116maxresident)k 28416inputs+0outputs (0major+1989493minor)pagefaults 0swaps --- xprobe2-0.3-alt2.qa1.i586.rpm.repo 2016-04-12 21:50:58.000000000 +0000 +++ xprobe2-0.3-alt2.qa1.i586.rpm.hasher 2020-08-03 07:50:02.237749084 +0000 @@ -9,3 +9,2 @@ Requires: libc.so.6(GLIBC_2.15) -Requires: libc.so.6(GLIBC_2.3) Requires: libc.so.6(GLIBC_2.3.4) @@ -16,2 +15,4 @@ Requires: libstdc++.so.6(CXXABI_1.3) +Requires: libstdc++.so.6(CXXABI_1.3.8) +Requires: libstdc++.so.6(CXXABI_1.3.9) Requires: libstdc++.so.6(GLIBCXX_3.4)