Diff of the two buildlogs: -- --- b1/build.log 2021-08-18 18:01:29.754317207 +0000 +++ b2/build.log 2021-08-18 18:02:02.729087339 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Aug 18 05:49:30 -12 2021 -I: pbuilder-time-stamp: 1629308970 +I: Current time: Wed Sep 21 14:24:30 +14 2022 +I: pbuilder-time-stamp: 1663719870 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./xprobe_0.3-5.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.hhjBEqAl/trustedkeys.kbx': General error -gpgv: Signature made Mon Feb 1 10:52:02 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.TduJRf5R/trustedkeys.kbx': General error +gpgv: Signature made Tue Feb 2 12:52:02 2021 +14 gpgv: using RSA key 05DB6A837E105F4B1D02C55FBBA9FAADCCFB4707 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./xprobe_0.3-5.dsc @@ -34,137 +34,171 @@ dpkg-source: info: applying cross.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/28279/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/14475/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/14475/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/14475/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='f0c4a2b997b6443f9609914fa8b856be' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='28279' - PS1='# ' - PS2='> ' + INVOCATION_ID=2fb9aff3efe1419e9244af671ee32de0 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=14475 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.dIwumyIf6e/pbuilderrc_oFW1 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.dIwumyIf6e/b1 --logfile b1/build.log xprobe_0.3-5.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.dIwumyIf6e/pbuilderrc_wtxj --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.dIwumyIf6e/b2 --logfile b2/build.log xprobe_0.3-5.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos12-i386 5.10.0-8-686-pae #1 SMP Debian 5.10.46-4 (2021-08-03) i686 GNU/Linux + Linux i-capture-the-hostname 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64 GNU/Linux I: ls -l /bin - total 5796 - -rwxr-xr-x 1 root root 1367848 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Jul 28 07:09 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Jul 28 07:09 more - -rwsr-xr-x 1 root root 50720 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 13856 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 15 21:27 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Jul 28 07:09 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/28279/tmp/hooks/D02_print_environment finished + total 5776 + -rwxr-xr-x 1 root root 1367848 Aug 5 2021 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Jul 29 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Jul 29 2021 more + -rwsr-xr-x 1 root root 50720 Jul 29 2021 mount + -rwxr-xr-x 1 root root 13856 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 21 14:24 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 19 05:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Jul 29 2021 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 2021 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Jul 29 2021 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/14475/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -240,7 +274,7 @@ Get: 36 http://deb.debian.org/debian bullseye/main i386 libpcap0.8 i386 1.10.0-2 [166 kB] Get: 37 http://deb.debian.org/debian bullseye/main i386 libpcap0.8-dev i386 1.10.0-2 [291 kB] Get: 38 http://deb.debian.org/debian bullseye/main i386 libpcap-dev i386 1.10.0-2 [31.1 kB] -Fetched 21.1 MB in 14s (1459 kB/s) +Fetched 21.1 MB in 0s (81.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19675 files and directories currently installed.) @@ -409,7 +443,8 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/xprobe-0.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../xprobe_0.3-5_source.changes +hostname: Name or service not known +I: Running cd /build/xprobe-0.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../xprobe_0.3-5_source.changes dpkg-buildpackage: info: source package xprobe dpkg-buildpackage: info: source version 0.3-5 dpkg-buildpackage: info: source distribution unstable @@ -533,7 +568,7 @@ config.status: WARNING: 'src/xpmodules/os_probe/snmp/Makefile.in' seems to ignore the --datarootdir setting config.status: creating src/config.h === configuring in libs-external/USI++/src (/build/xprobe-0.3/libs-external/USI++/src) -configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr' '--build=i686-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/i386-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=i686-linux-gnu' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security' --cache-file=/dev/null --srcdir=. +configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=i686-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/i386-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=i686-linux-gnu' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security' --cache-file=/dev/null --srcdir=. checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for g++... g++ @@ -588,7 +623,7 @@ config.status: creating Makefile config.status: creating config.h dh_auto_build - make -j8 + make -j15 make[1]: Entering directory '/build/xprobe-0.3' cd libs-external/USI++/src; make make[2]: Entering directory '/build/xprobe-0.3/libs-external/USI++/src' @@ -600,10 +635,7 @@ g++ -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/pcap -I. -Wall -c -O2 tcp.cc g++ -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/pcap -I. -Wall -c -O2 TX_IP.cc g++ -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/pcap -I. -Wall -c -O2 Layer2.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"); - | ^~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/pcap -I. -Wall -c -O2 arp.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) @@ -611,14 +643,14 @@ 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; | ^~~ +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"); + | ^~~~~ 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"); | ^~~~~ -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"); - | ^~~~ datalink.cc: In constructor 'usipp::Pcap::Pcap(char*)': datalink.cc:49:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 1000 equals destination size [-Wstringop-truncation] 49 | strncpy(d_filter_string, filterStr, sizeof(d_filter_string)); @@ -627,11 +659,14 @@ icmp.cc:296:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 296 | r = Layer2::setfilter("icmp"); | ^~~~~~ +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"); + | ^~~~ datalink.cc: In member function 'virtual int usipp::Pcap::init_device(char*, int, size_t)': datalink.cc:272:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 10 equals destination size [-Wstringop-truncation] 272 | strncpy(d_dev, dev, sizeof(d_dev)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/pcap -I. -Wall -c -O2 arp.cc ar cr libusi++.a `LC_ALL=C ls *.o` ranlib libusi++.a rm -f *.o @@ -644,22 +679,42 @@ g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ cmd_opts.cc g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ config_set.cc g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ interface.cc +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ interface_con.cc +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ log.cc +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ os_matrix.cc +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ scan_engine.cc make[3]: Entering directory '/build/xprobe-0.3/src/xplib' g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ../ xp_get_interface.cc -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ interface_con.cc +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ target.cc g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ../ xp_get_iface_addr.cc -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ log.cc +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ targets_list.cc g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ../ xp_get_random_data.cc +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ xprobe.cc +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ../ xp_get_ping_payload.cc +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ xprobe_module_hdlr.cc In file included from xprobe.h:141, - from interface.cc:23: + 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 ../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] +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\ + | ^ +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\ + | ^ +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\ + | ^ +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\ | ^ In file included from xprobe.h:141, @@ -667,6 +722,16 @@ 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.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\ + | ^ +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\ + | ^ In file included from ../xprobe.h:141, from xplib.h:25, from xp_get_interface.h:28, @@ -674,28 +739,54 @@ ../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.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 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\ | ^ In file included from xprobe.h:141, - from cmd_opts.cc:23: + 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\ | ^ 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: + 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\ | ^ In file included from xprobe.h:141, - from log.cc:1: + 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.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\ + | ^ +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 + | ^~ In file included from /usr/include/string.h:495, from ../xprobe.h:34, from xplib.h:25, @@ -706,26 +797,8 @@ /usr/include/i386-linux-gnu/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ../ xp_get_ping_payload.cc -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ os_matrix.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\ - | ^ +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ xprobe_module_param.cc g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ../ xp_get_src_addr.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\ - | ^ -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\ - | ^ g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ../ xp_sha1.cc 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] @@ -747,15 +820,8 @@ 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; - | ^~~~~~~~~~~~~~ +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ../ xp_lib.cc +cd xpmodules; make In file included from ../xprobe.h:141, from xplib.h:25, from xp_sha1.h:34, @@ -763,98 +829,8 @@ ../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\ | ^ -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -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\ - | ^ -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ../ xp_lib.cc -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -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 ../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\ - | ^ -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -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\ - | ^ -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 - | ^~ -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -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\ - | ^ -ar cr libxplib.a `LC_ALL=C ls *.o` -ranlib libxplib.a -make[3]: Leaving directory '/build/xprobe-0.3/src/xplib' -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ xprobe_module_hdlr.cc -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -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\ - | ^ -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\ - | ^ -cd xpmodules; make make[3]: Entering directory '/build/xprobe-0.3/src/xpmodules' Makefile:53: warning: ignoring prerequisites on suffix rule definition -cd alive_probe; make -cd os_probe; make -make[4]: Entering directory '/build/xprobe-0.3/src/xpmodules/alive_probe' -g++ -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../xplib -I ../../../libs-external/USI++ -c icmp_ping.cc -make[4]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe' -cd icmp_port_unreach; make -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach' -g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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_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\ - | ^ -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\ - | ^ -g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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\ - | ^ -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) { - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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}, @@ -889,6 +865,7 @@ 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}, | ^~~~~~~~~~~~~~~~~~~~~~~~ +cd alive_probe; make 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}, | ^~~~~~~~~~~~~~~~~~~~~ @@ -898,6 +875,115 @@ 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[4]: Entering directory '/build/xprobe-0.3/src/xpmodules/alive_probe' +g++ -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 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\ + | ^ +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\ + | ^ +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; + | ^~~~~~~~~~~~~~ +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\ + | ^ +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\ + | ^ +g++ -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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\ + | ^ +cd os_probe; make +make[4]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe' +cd icmp_port_unreach; make +make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach' +g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ icmp_port_unreach.cc +g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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.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 ../../../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\ + | ^ +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(""); + | ^~ +g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ getrandom.cc +cd icmp_echo_id; make +make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_echo_id' +g++ -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ -c icmp_echo_id.cc +cd icmp_timestamp; make +make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_timestamp' +g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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_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\ + | ^ +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\ + | ^ +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) { + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +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\ + | ^ +cd icmp_inforeq; make +make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_inforeq' +g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ icmp_inforeq.cc +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; + | ^~~ +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\ + | ^ +cd icmp_addrmask; make +make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_addrmask' +g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ icmp_addrmask.cc 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))) { @@ -905,10 +991,37 @@ xprobe_module_param.cc:164:17: note: here 164 | default: | ^~~~~~~ -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; - | ^~~ +g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ parse_keyword.cc +cd tcp_handshake; make +make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake' +g++ -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 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\ + | ^ +ar cr libxplib.a `LC_ALL=C ls *.o` +ranlib libxplib.a +make[3]: Leaving directory '/build/xprobe-0.3/src/xplib' +g++ -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 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 ../../../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\ + | ^ +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\ + | ^ +cd tcp_rst; make +make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/tcp_rst' +g++ -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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_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 { @@ -934,19 +1047,43 @@ 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 { | ^~~~~~~~~~~~~~~~~~~~~~~ -g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ getrandom.cc -g++ -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../xplib -I ../../../libs-external/USI++ -c tcp_ping.cc +cd ttl_calc; make +make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc' +g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ ttl_calc.cc +cd portscanner; make +make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/alive_probe/portscanner' +g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 icmp_port_unreach.h:27, - from getrandom.cc:1: + 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\ | ^ -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] +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\ + | ^ +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\ | ^ +cd smb; make +make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/smb' +g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ smbutil.cc +cd snmp; make +make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/snmp' +g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ snmp.cc +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"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../../../xprobe.h:34, from icmp_port_unreach.h:27, @@ -960,47 +1097,91 @@ build_DNS_reply.cc:23:17: note: 'one' declared here 23 | u_short one = htons(1); | ^~~ -g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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: + 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\ | ^ -g++ -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../xplib -I ../../../libs-external/USI++ -c udp_ping.cc -cd ttl_calc; make -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc' -g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 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] +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; + | ^~~ +g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ snmp_mod.cc +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_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"); + | ^~~~~~~~~~~~~~~~~~~~~~~ +g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 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\ | ^ +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; + | ^~~ +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; + | ^~~ In file included from ../../../xprobe.h:141, - from ttl_calc.cc:1: + 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\ | ^ -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(""); - | ^~ -cd portscanner; make -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/alive_probe/portscanner' -g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ portscanner.cc +g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 portscanner.cc:23: + 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\ | ^ -cd icmp_echo_id; make -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_echo_id' -g++ -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ -c icmp_echo_id.cc +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(""); + | ^~ +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"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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", @@ -1035,153 +1216,17 @@ parse_keyword.h:14:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 14 | "icmp_unreach_reply", | ^~~~~~~~~~~~~~~~~~~~ -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\ - | ^ -cd icmp_timestamp; make -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_timestamp' -g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ icmp_timestamp.cc 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(""); | ^~ -cd icmp_inforeq; make -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_inforeq' -g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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_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\ - | ^ -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(""); - | ^~ -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\ - | ^ -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; - | ^~~~~~~~ -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; - | ^~~ -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; - | ^~~ -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; - | ^~~ -icmp_port_unreach done -make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach' -cd icmp_addrmask; make -cd tcp_handshake; make -cd tcp_rst; make -g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ build_DNS_reply.cc -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_addrmask' -g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ icmp_addrmask.cc -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/tcp_rst' -g++ -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ -c tcp_rst.cc -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake' -g++ -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 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 ../../../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\ - | ^ -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\ - | ^ -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_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"); @@ -1201,53 +1246,6 @@ 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; - | ^~~ -In file included from /usr/include/string.h:495, - 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/i386-linux-gnu/bits/string_fortified.h:34:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' forming offset [2, 3] 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); - | ^~~ -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"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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\ - | ^ -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"); @@ -1279,47 +1277,85 @@ 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[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_timestamp' -cd smb; make -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/smb' -g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ smbutil.cc -make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/alive_probe/portscanner' -g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ smb.cc -ttl_mod done -make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc' +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; + | ^~~ +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(); + | ^~~~~~ +g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ getrandom.cc +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; + | ^~~~~~~~ In file included from ../../../xprobe.h:141, - from ../../../interface.h:25, - from smb.cc:35: + 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\ | ^ -ar cr alive_probe.a `LC_ALL=C ls *.o ttl_calc/*.o portscanner/*.o` +In file included from /usr/include/string.h:495, + 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/i386-linux-gnu/bits/string_fortified.h:34:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' forming offset [2, 3] 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); + | ^~~ g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ smb_mod.cc +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"); + | ^~~~~~~~~~~~~~~ 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\ | ^ +icmp_port_unreach done +make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach' make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_inforeq' -cd snmp; make -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/snmp' -g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ snmp.cc +make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_timestamp' +ttl_mod done +make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc' +make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_addrmask' make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_echo_id' -ranlib alive_probe.a -g++ -c -g -O2 -fdebug-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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.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\ - | ^ -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\ - | ^ -make[4]: Leaving directory '/build/xprobe-0.3/src/xpmodules/alive_probe' 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"); @@ -1327,17 +1363,16 @@ 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"); | ^~~~~~~~~~~~ -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[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_addrmask' +snmp done +make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/snmp' make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/tcp_rst' smb done make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/smb' +make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/alive_probe/portscanner' +ar cr alive_probe.a `LC_ALL=C ls *.o ttl_calc/*.o portscanner/*.o` +ranlib alive_probe.a +make[4]: Leaving directory '/build/xprobe-0.3/src/xpmodules/alive_probe' make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake' -snmp done -make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/snmp' ar cr os_probe.a `LC_ALL=C ls 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 @@ -1350,7 +1385,7 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install - make -j8 install DESTDIR=/build/xprobe-0.3/debian/xprobe AM_UPDATE_INFO_DIR=no + make -j15 install DESTDIR=/build/xprobe-0.3/debian/xprobe AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/xprobe-0.3' /usr/bin/install -c -d /build/xprobe-0.3/debian/xprobe//usr/bin /usr/bin/install -c -d /build/xprobe-0.3/debian/xprobe//usr/share/man/man1 @@ -1376,8 +1411,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'xprobe-dbgsym' in '../xprobe-dbgsym_0.3-5_i386.deb'. dpkg-deb: building package 'xprobe' in '../xprobe_0.3-5_i386.deb'. +dpkg-deb: building package 'xprobe-dbgsym' in '../xprobe-dbgsym_0.3-5_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../xprobe_0.3-5_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1385,12 +1420,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/14475/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/14475/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/28279 and its subdirectories -I: Current time: Wed Aug 18 06:01:29 -12 2021 -I: pbuilder-time-stamp: 1629309689 +I: removing directory /srv/workspace/pbuilder/14475 and its subdirectories +I: Current time: Wed Sep 21 14:25:01 +14 2022 +I: pbuilder-time-stamp: 1663719901