<86>Feb 29 04:30:45 userdel[2953793]: delete user 'rooter' <86>Feb 29 04:30:45 userdel[2953793]: removed group 'rooter' owned by 'rooter' <86>Feb 29 04:30:45 userdel[2953793]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 29 04:30:45 groupadd[2953802]: group added to /etc/group: name=rooter, GID=555 <86>Feb 29 04:30:45 groupadd[2953802]: group added to /etc/gshadow: name=rooter <86>Feb 29 04:30:45 groupadd[2953802]: new group: name=rooter, GID=555 <86>Feb 29 04:30:45 useradd[2953817]: new user: name=rooter, UID=555, GID=555, home=/root, shell=/bin/bash <86>Feb 29 04:30:45 userdel[2953874]: delete user 'builder' <86>Feb 29 04:30:45 userdel[2953874]: removed group 'builder' owned by 'builder' <86>Feb 29 04:30:45 userdel[2953874]: removed shadow group 'builder' owned by 'builder' <86>Feb 29 04:30:45 groupadd[2953879]: group added to /etc/group: name=builder, GID=556 <86>Feb 29 04:30:45 groupadd[2953879]: group added to /etc/gshadow: name=builder <86>Feb 29 04:30:45 groupadd[2953879]: new group: name=builder, GID=556 <86>Feb 29 04:30:45 useradd[2953883]: new user: name=builder, UID=556, GID=556, 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>Feb 29 04:30:49 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066861 installed <13>Feb 29 04:30:49 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed <13>Feb 29 04:30:49 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746563 installed <13>Feb 29 04:30:49 rpmi: libsystemd-1:244.3-alt2 sisyphus+246535.200.2.1 1581950419 installed <13>Feb 29 04:30:49 rpmi: libdbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547688 installed <13>Feb 29 04:30:49 rpmi: libpcap0.8-2:1.9.1-alt1 sisyphus+239373.240.3.1 1573482495 installed <13>Feb 29 04:30:49 rpmi: gcc-c++-common-1.4.24-alt3 sisyphus+243033.100.1.1 1576462403 installed <13>Feb 29 04:30:50 rpmi: libstdc++9-devel-9.2.1-alt3 sisyphus+245055.100.1.1 1580041305 installed <13>Feb 29 04:30:51 rpmi: gcc9-c++-9.2.1-alt3 sisyphus+245055.100.1.1 1580041305 installed <13>Feb 29 04:30:51 rpmi: gcc-c++-9-alt1 sisyphus+239632.300.3.1 1571789214 installed <13>Feb 29 04:30:51 rpmi: libpcap-devel-2:1.9.1-alt1 sisyphus+239373.240.3.1 1573482495 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/xprobe2-0.3-alt2.qa1.nosrc.rpm Installing xprobe2-0.3-alt2.qa1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.98173 + 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.98173 + 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' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --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 x86_64-alt-linux-gcc... x86_64-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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ANSI C... none needed checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking how to run the C++ preprocessor... x86_64-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=x86_64-alt-linux' '--host=x86_64-alt-linux' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--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' 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2' 'build_alias=x86_64-alt-linux' 'host_alias=x86_64-alt-linux' --cache-file=/dev/null --srcdir=. checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking for x86_64-alt-linux-g++... x86_64-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 x86_64-alt-linux-g++ accepts -g... yes checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking for a BSD-compatible install... /bin/install -c checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-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... x86_64-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' x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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' x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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' x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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' x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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' x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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' x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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' x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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' x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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' x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -I/usr/include/pcap -I. -Wall -c -O2 datalink.cc In file included from /usr/include/string.h:507, 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*, long 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' 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 cd xplib; make make[2]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' x86_64-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' x86_64-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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' x86_64-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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:132:56: warning: comparison is always false due to limited range of data type [-Wtype-limits] 132 | if (errno == ERANGE && (mod_to_disable == LONG_MAX || mod_to_disable == LONG_MIN)) { | ^ cmd_opts.cc:154:55: warning: comparison is always false due to limited range of data type [-Wtype-limits] 154 | if (errno == ERANGE && (mod_to_enable == LONG_MAX || mod_to_enable == LONG_MIN)) { | ^ cmd_opts.cc:167:54: warning: comparison is always false due to limited range of data type [-Wtype-limits] 167 | if (errno == ERANGE && (numofmatches == LONG_MAX || numofmatches == LONG_MIN)) { | ^ 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[2]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' x86_64-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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' x86_64-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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' x86_64-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' x86_64-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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_tag*)': 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[2]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' x86_64-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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:507, 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*, long 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' x86_64-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' x86_64-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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' make[2]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' x86_64-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' x86_64-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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 xpmodules; make cd alive_probe; make make[3]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe' g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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[2]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xplib' x86_64-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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[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[3]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe' g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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' cd ttl_calc; make make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe/ttl_calc' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -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[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' x86_64-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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 portscanner; make make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe/ttl_calc' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -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:507, 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*, long 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' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -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' 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 os_probe; make cd icmp_port_unreach; make make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' x86_64-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe/portscanner' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -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' cd icmp_echo_id; make make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_port_unreach' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -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' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -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' make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' x86_64-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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' cd icmp_timestamp; make make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/icmp_port_unreach' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -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 icmp_inforeq; 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 -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 icmp_addrmask; make make[3]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/alive_probe' g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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' 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' cd tcp_handshake; make make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' x86_64-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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' cd tcp_rst; make 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 -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' cd smb; make make[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' x86_64-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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' 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 -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/icmp_addrmask' g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -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[1]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src' x86_64-alt-linux-g++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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' make[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/smb' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -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_port_unreach' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -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:507, 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*, long 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[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/tcp_rst' g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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/smb' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -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/os_probe/smb' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -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[4]: Entering directory '/usr/src/RPM/BUILD/xprobe2-0.3/src/xpmodules/os_probe/snmp' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -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' x86_64-alt-linux-g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -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/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/tcp_handshake' g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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[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' x86_64-alt-linux-g++ -Wall -W -Wcast-align -Wcast-qual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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.71426 + 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) 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.xR1rvP 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.5arVvM find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib64/ld-linux-x86-64.so.2, 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.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libpcap.so.0.8()(64bit) >= set:kgzkeZ5Zm36akQZqPxupwRQqbX5htw2, libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.20)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), 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.XjEi5Q Wrote: /usr/src/RPM/RPMS/x86_64/xprobe2-0.3-alt2.qa1.x86_64.rpm 34.37user 4.18system 0:38.36elapsed 100%CPU (0avgtext+0avgdata 140620maxresident)k 0inputs+0outputs (0major+1832080minor)pagefaults 0swaps 39.15user 6.54system 0:49.48elapsed 92%CPU (0avgtext+0avgdata 140620maxresident)k 0inputs+0outputs (0major+2110491minor)pagefaults 0swaps --- xprobe2-0.3-alt2.qa1.x86_64.rpm.repo 2016-04-12 21:50:55.000000000 +0000 +++ xprobe2-0.3-alt2.qa1.x86_64.rpm.hasher 2020-02-29 04:31:32.121903640 +0000 @@ -8,3 +8,2 @@ Requires: libc.so.6(GLIBC_2.2.5)(64bit) -Requires: libc.so.6(GLIBC_2.3)(64bit) Requires: libc.so.6(GLIBC_2.3.4)(64bit) @@ -15,2 +14,4 @@ Requires: libstdc++.so.6(CXXABI_1.3)(64bit) +Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit) +Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit) Requires: libstdc++.so.6(GLIBCXX_3.4)(64bit)