Diff of the two buildlogs: -- --- b1/build.log 2020-12-11 00:10:37.677471585 +0000 +++ b2/build.log 2020-12-11 00:11:30.951814786 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jan 12 18:32:05 -12 2022 -I: pbuilder-time-stamp: 1642055525 +I: Current time: Fri Dec 11 14:10:39 +14 2020 +I: pbuilder-time-stamp: 1607645439 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Sat Sep 1 22:28:54 2018 -12 +gpgv: Signature made Mon Sep 3 00:28:54 2018 +14 gpgv: using RSA key D7CDB78351109E12752EC6D203881DABEBC29AB9 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./xprobe_0.3-4.dsc @@ -33,136 +33,170 @@ dpkg-source: info: applying cross.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/15949/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/39278/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +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/39278/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/39278/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + 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]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='46da5fd41b354cd1a768b4efd2aa1116' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - 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='15949' - PS1='# ' - PS2='> ' + INVOCATION_ID=1e690574b7a54af9ba220e31449be0dd + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=39278 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.kN0v0yxNuN/pbuilderrc_KGgn --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.kN0v0yxNuN/b1 --logfile b1/build.log xprobe_0.3-4.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68: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.kN0v0yxNuN/pbuilderrc_7hvv --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.kN0v0yxNuN/b2 --logfile b2/build.log xprobe_0.3-4.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos15-amd64 5.9.0-0.bpo.2-amd64 #1 SMP Debian 5.9.6-1~bpo10+1 (2020-11-19) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jan 9 02:47 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/15949/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Dec 11 14:10 sh -> bash + lrwxrwxrwx 1 root root 4 Dec 7 22:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/39278/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -236,7 +270,7 @@ Get: 34 http://deb.debian.org/debian buster/main amd64 libpcap0.8 amd64 1.8.1-6 [139 kB] Get: 35 http://deb.debian.org/debian buster/main amd64 libpcap0.8-dev amd64 1.8.1-6 [240 kB] Get: 36 http://deb.debian.org/debian buster/main amd64 libpcap-dev amd64 1.8.1-6 [25.9 kB] -Fetched 19.4 MB in 0s (53.8 MB/s) +Fetched 19.4 MB in 0s (40.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:amd64. (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 ... 19195 files and directories currently installed.) @@ -403,7 +437,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 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 +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 dpkg-buildpackage: info: source package xprobe dpkg-buildpackage: info: source version 0.3-4 dpkg-buildpackage: info: source distribution unstable @@ -527,7 +561,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=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -ffile-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 -ffile-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=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -ffile-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 -ffile-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security' --cache-file=/dev/null --srcdir=. checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for g++... g++ @@ -582,7 +616,7 @@ config.status: creating Makefile config.status: creating config.h dh_auto_build - make -j16 + 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' @@ -595,6 +629,14 @@ g++ -g -O2 -ffile-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 -ffile-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/pcap -I. -Wall -c -O2 Layer2.cc g++ -g -O2 -ffile-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/pcap -I. -Wall -c -O2 arp.cc +udp.cc: In member function 'virtual int usipp::UDP::init_device(char*, int, size_t)': +udp.cc:217:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + r = Layer2::setfilter("udp"); + ^ +ip.cc: In member function 'virtual int usipp::IP::init_device(char*, int, size_t)': +ip.cc:559:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + r = Layer2::setfilter("ip"); + ^ 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] if (tx_timeout != false) @@ -602,10 +644,10 @@ TX_IP.cc:37:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' int r; ^~~ -udp.cc: In member function 'virtual int usipp::UDP::init_device(char*, int, size_t)': -udp.cc:217:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - r = Layer2::setfilter("udp"); - ^ +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] + strncpy(d_dev, dev, sizeof(d_dev)); + ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ tcp.cc: In member function 'virtual int usipp::TCP::init_device(char*, int, size_t)': tcp.cc:321:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] r = Layer2::setfilter("tcp"); @@ -614,14 +656,6 @@ icmp.cc:296:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] r = Layer2::setfilter("icmp"); ^ -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] - strncpy(d_dev, dev, sizeof(d_dev)); - ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -ip.cc: In member function 'virtual int usipp::IP::init_device(char*, int, size_t)': -ip.cc:559:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - r = Layer2::setfilter("ip"); - ^ ar cr libusi++.a `LC_ALL=C ls *.o` ranlib libusi++.a rm -f *.o @@ -631,69 +665,66 @@ cd xplib; make g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -ffile-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 -ffile-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ config_set.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 -ffile-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 -ffile-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 -ffile-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 -ffile-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ interface_con.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 -ffile-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 -ffile-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 -ffile-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 -ffile-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ scan_engine.cc -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ scan_engine.cc g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -ffile-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 -ffile-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 -ffile-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ../ xp_get_src_addr.cc +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -ffile-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 -ffile-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 -ffile-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ../ xp_sha1.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] - "\nXprobe2 v."VERSION\ - ^ In file included from xprobe.h:141, - from cmd_opts.cc:23: + 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] "\nXprobe2 v."VERSION\ ^ -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] - "\nXprobe2 v."VERSION\ - ^ In file included from xprobe.h:141, - from interface.cc:23: + 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] "\nXprobe2 v."VERSION\ ^ In file included from xprobe.h:141, - from interface_con.cc:23: + 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] "\nXprobe2 v."VERSION\ ^ In file included from xprobe.h:141, - from log.cc:1: + 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] "\nXprobe2 v."VERSION\ ^ In file included from xprobe.h:141, - from scan_engine.cc:23: + 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] "\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] + "\nXprobe2 v."VERSION\ + ^ +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] "\nXprobe2 v."VERSION\ ^ In file included from xprobe.h:141, - from target.cc:23: + 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] + "\nXprobe2 v."VERSION\ + ^ +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] "\nXprobe2 v."VERSION\ ^ @@ -708,6 +739,11 @@ defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "\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] + "\nXprobe2 v."VERSION\ + ^ In file included from ../xprobe.h:141, from xplib.h:25, from xp_get_random_data.h:25, @@ -716,7 +752,7 @@ "\nXprobe2 v."VERSION\ ^ In file included from xprobe.h:141, - from config_set.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] "\nXprobe2 v."VERSION\ ^ @@ -726,46 +762,6 @@ ../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "\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] - "\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] - "\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] - state="closed"; - ^~~~~~~~ -log.cc:248:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - state="open"; - ^~~~~~ -log.cc:251:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - state="filtered"; - ^~~~~~~~~~ -log.cc:254:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - state="unknown"; - ^~~~~~~~~ -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -ffile-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 -ffile-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ../ xp_lib.cc -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] - if (counter > ntohl(addr|mask^0xffffffff)) - ~~~~^~~~~~~~~~~ -target.cc:116:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 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' - if (counter == htonl(addr)) { // network number - ^~ -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -ffile-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ xprobe_module_param.cc -cd xpmodules; make config_set.cc: In member function 'const string Config_Line::trim_whitespc(std::__cxx11::string&)': config_set.cc:63:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] if (p != string::npos) @@ -784,53 +780,40 @@ config_set.cc:112:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] if (p != string::npos) { ~~^~~~~~~~~ -make[3]: Entering directory '/build/xprobe-0.3/src/xpmodules' -cd alive_probe; make -cd os_probe; make -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] - "\nXprobe2 v."VERSION\ - ^ -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] - "\nXprobe2 v."VERSION\ - ^ +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -ffile-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ./ -I ../libs-external/USI++/src/ xprobe_module_hdlr.cc +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] + state="closed"; + ^~~~~~~~ +log.cc:248:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + state="open"; + ^~~~~~ +log.cc:251:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + state="filtered"; + ^~~~~~~~~~ +log.cc:254:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + state="unknown"; + ^~~~~~~~~ +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -ffile-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ../ xp_sha1.cc +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -ffile-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -I ../ xp_lib.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] "\nXprobe2 v."VERSION\ ^ -make[4]: Entering directory '/build/xprobe-0.3/src/xpmodules/alive_probe' -g++ -g -O2 -ffile-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 -ffile-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 -ffile-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 -cd icmp_echo_id; make -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] - "\nXprobe2 v."VERSION\ - ^ -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_echo_id' -g++ -g -O2 -ffile-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 -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] +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] "\nXprobe2 v."VERSION\ ^ -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_timestamp' -g++ -c -g -O2 -ffile-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 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] +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -ffile-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 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] "\nXprobe2 v."VERSION\ ^ cmd_opts.cc: In member function 'int Cmd_Opts::parse(int, char**)': @@ -849,11 +832,9 @@ cmd_opts.cc:209:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if (xml && !logfile) { ^~ -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] - "\nXprobe2 v."VERSION\ - ^ +cd xpmodules; make +make[3]: Entering directory '/build/xprobe-0.3/src/xpmodules' +cd alive_probe; make In file included from xprobe.h:141, from cmd_opts.cc:23: cmd_opts.cc: In constructor 'Cmd_Opts::Cmd_Opts()': @@ -863,34 +844,44 @@ cmd_opts.cc:326:27: note: in expansion of macro 'DEFAULT_CONFIG' default_config_file = DEFAULT_CONFIG; ^~~~~~~~~~~~~~ -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] +cd os_probe; make +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] "\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] - param != 0 && (*sig_i).second.low == 1) { - ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -c -g -O2 -ffile-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 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] +make[4]: Entering directory '/build/xprobe-0.3/src/xpmodules/alive_probe' +g++ -g -O2 -ffile-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 +g++ -g -O2 -ffile-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 +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 -ffile-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 /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] + if (counter > ntohl(addr|mask^0xffffffff)) + ~~~~^~~~~~~~~~~ +target.cc:116:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 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' + if (counter == htonl(addr)) { // network number + ^~ +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] + "\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] "\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 -ffile-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 -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=] - if (type == XPROBE_MODULE_PARAM_ZNZORIG && !(strncasecmp(param, "SENT", 4))) { - ^~ -xprobe_module_param.cc:164:17: note: here - default: - ^~~~~~~ In file included from ../../../xprobe.h:141, - from icmp_inforeq.cc:24: + 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] "\nXprobe2 v."VERSION\ ^ @@ -911,18 +902,93 @@ xpmodules/static_modules.h:65:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] xpmodules/static_modules.h:65:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] xpmodules/static_modules.h:65:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -cd icmp_addrmask; make -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_addrmask' -g++ -c -g -O2 -ffile-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 -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] - int ret; - ^~~ +g++ -g -O2 -ffile-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 icmp_echo_id; make +g++ -c -g -O2 -ffile-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_echo_id' +g++ -g -O2 -ffile-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 +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] + "\nXprobe2 v."VERSION\ + ^ In file included from ../../../xprobe.h:141, - from icmp_addrmask.cc:24: + 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] + "\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] + "\nXprobe2 v."VERSION\ + ^ +cd ttl_calc; make +make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc' +g++ -c -g -O2 -ffile-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 icmp_timestamp; make +g++ -c -g -O2 -ffile-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 +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] + param != 0 && (*sig_i).second.low == 1) { + ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_timestamp' +g++ -c -g -O2 -ffile-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 +g++ -c -g -O2 -ffile-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 +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] + 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' + sn.init_device(tg->get_interface(), 0, 1500); + ^~ +tcp_ping.cc:89:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + tcpp->sendpack(""); + ^ +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] + "\nXprobe2 v."VERSION\ + ^ +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] + "\nXprobe2 v."VERSION\ + ^ +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=] + if (type == XPROBE_MODULE_PARAM_ZNZORIG && !(strncasecmp(param, "SENT", 4))) { + ^~ +xprobe_module_param.cc:164:17: note: here + default: + ^~~~~~~ +cd portscanner; make +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] + "\nXprobe2 v."VERSION\ + ^ +make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/alive_probe/portscanner' +g++ -c -g -O2 -ffile-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_timestamp.cc:24: +../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + "\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 -ffile-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 portscanner.cc:23: ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "\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] + int ret; + ^~~ icmp_echo_id.cc: In function 'int icmp_echo_id_mod_init(Xprobe_Module_Hdlr*, char*)': icmp_echo_id.cc:48:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pt->add_keyword(module->get_id(),"icmp_echo_reply"); @@ -942,6 +1008,22 @@ icmp_echo_id.cc:53:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pt->add_keyword(module->get_id(),"icmp_echo_reply_ttl"); ^ +ar cr libxplib.a `LC_ALL=C ls *.o` +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] + "\nXprobe2 v."VERSION\ + ^ +ranlib libxplib.a +make[3]: Leaving directory '/build/xprobe-0.3/src/xplib' +cd icmp_addrmask; make +make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_addrmask' +g++ -c -g -O2 -ffile-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 +cd tcp_handshake; make +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] + int ret; + ^~~ 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] typedef struct xprobe_module_param_val { @@ -958,6 +1040,8 @@ xprobe_module_param.h:56:16: warning: 'p.xprobe_module_param_val::high' may be used uninitialized in this function [-Wmaybe-uninitialized] typedef struct xprobe_module_param_val { ^~~~~~~~~~~~~~~~~~~~~~~ +make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake' +g++ -g -O2 -ffile-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 xprobe_module_param.h:56:16: warning: 'p.xprobe_module_param_val::high' may be used uninitialized in this function [-Wmaybe-uninitialized] typedef struct xprobe_module_param_val { ^~~~~~~~~~~~~~~~~~~~~~~ @@ -977,60 +1061,72 @@ build_DNS_reply.cc:23:17: note: 'one' declared here u_short one = htons(1); ^~~ -icmp_timestamp.cc: In function 'int icmp_timestamp_mod_init(Xprobe_Module_Hdlr*, char*)': -icmp_timestamp.cc:47:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - pt->add_keyword(module->get_id(),"icmp_timestamp_reply"); - ^ -icmp_timestamp.cc:48:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - pt->add_keyword(module->get_id(),"icmp_timestamp_reply_ttl"); - ^ -icmp_timestamp.cc:49:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - pt->add_keyword(module->get_id(),"icmp_timestamp_reply_ip_id"); - ^ -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] - int ret; - ^~~ -g++ -c -g -O2 -ffile-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 -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] - int ret; - ^~~ -cd tcp_handshake; make In file included from ../../../xprobe.h:141, - from parse_keyword.cc:1: + 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] "\nXprobe2 v."VERSION\ ^ -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake' -g++ -g -O2 -ffile-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 -ar cr libxplib.a `LC_ALL=C ls *.o` -cd tcp_rst; make -ranlib libxplib.a -make[3]: Leaving directory '/build/xprobe-0.3/src/xplib' -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/tcp_rst' -g++ -g -O2 -ffile-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 -cd smb; make -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/smb' -g++ -c -g -O2 -ffile-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 -g++ -c -g -O2 -ffile-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 +g++ -c -g -O2 -ffile-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 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] "\nXprobe2 v."VERSION\ ^ +udp_ping.cc: In member function 'virtual int UDP_Ping_Mod::exec(Target*, OS_Matrix*)': +udp_ping.cc:90:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + udpp.sendpack(""); + ^ +cd tcp_rst; make In file included from ../../../xprobe.h:141, - from tcp_rst.cc:23: + 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] "\nXprobe2 v."VERSION\ ^ +make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/tcp_rst' +g++ -g -O2 -ffile-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 +cd smb; make +make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/smb' +g++ -c -g -O2 -ffile-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 +ttl_calc.cc: In member function 'int TTL_Mod::get_ttl_distance(Target*)': +ttl_calc.cc:146:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + tcp.sendpack(""); + ^ +In file included from /usr/include/string.h:494, + 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/x86_64-linux-gnu/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] + 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 + u_short one = htons(1); + ^~~ In file included from ../../../xprobe.h:141, - from ../../../interface.h:25, - from smb.cc:35: + 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] "\nXprobe2 v."VERSION\ ^ -g++ -c -g -O2 -ffile-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 +g++ -c -g -O2 -ffile-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 +icmp_timestamp.cc: In function 'int icmp_timestamp_mod_init(Xprobe_Module_Hdlr*, char*)': +icmp_timestamp.cc:47:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + pt->add_keyword(module->get_id(),"icmp_timestamp_reply"); + ^ +icmp_timestamp.cc:48:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + pt->add_keyword(module->get_id(),"icmp_timestamp_reply_ttl"); + ^ +icmp_timestamp.cc:49:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + pt->add_keyword(module->get_id(),"icmp_timestamp_reply_ip_id"); + ^ +cd snmp; make +make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/snmp' +g++ -c -g -O2 -ffile-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 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] + int ret; + ^~~ icmp_inforeq.cc: In function 'int icmp_inforeq_mod_init(Xprobe_Module_Hdlr*, char*)': icmp_inforeq.cc:47:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pt->add_keyword(module->get_id(),"icmp_info_reply"); @@ -1041,7 +1137,7 @@ icmp_inforeq.cc:49:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pt->add_keyword(module->get_id(), "icmp_info_reply_ip_id"); ^ -g++ -g -O2 -ffile-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 +g++ -c -g -O2 -ffile-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 icmp_inforeq.cc: In member function 'int ICMP_Inforeq_Mod::do_icmp_query(Target*)': icmp_inforeq.cc:135:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ret = icmpp.sendpack(""); @@ -1049,38 +1145,40 @@ icmp_inforeq.cc:110:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^~~ +g++ -c -g -O2 -ffile-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 smb_mod.cc:23: + 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] "\nXprobe2 v."VERSION\ ^ -g++ -g -O2 -ffile-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 snmp; make -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/os_probe/snmp' -g++ -c -g -O2 -ffile-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 -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] - "\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] - "\nXprobe2 v."VERSION\ - ^ -cd ttl_calc; make -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc' -g++ -c -g -O2 -ffile-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 -icmp_addrmask.cc: In function 'int icmp_addrmask_mod_init(Xprobe_Module_Hdlr*, char*)': -icmp_addrmask.cc:47:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - pt->add_keyword(module->get_id(),"icmp_addrmask_reply"); - ^ -icmp_addrmask.cc:48:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - pt->add_keyword(module->get_id(),"icmp_addrmask_reply_ttl"); - ^ -icmp_addrmask.cc:49:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - pt->add_keyword(module->get_id(), "icmp_addrmask_reply_ip_id"); - ^ +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] + 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' + tcp_ignore_state = get_ignore_state(IPPROTO_TCP); + ^~~~~~~~~~~~~~~~ +portscanner.cc:125:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] + 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' + 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:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + udpp.sendpack(""); + ^ +portscanner.cc:340:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 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] + int ret, done=0; + ^~~ +portscanner.cc:369:17: warning: variable 'remote' set but not used [-Wunused-but-set-variable] + struct in_addr remote=tg->get_addr(), local=tg->get_interface_addr(); + ^~~~~~ In file included from ../../../xprobe.h:141, from snmp_mod.h:26, from snmp.h:26, @@ -1088,33 +1186,36 @@ ../../../defines.h:27:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "\nXprobe2 v."VERSION\ ^ -cd portscanner; make -make[5]: Entering directory '/build/xprobe-0.3/src/xpmodules/alive_probe/portscanner' -g++ -c -g -O2 -ffile-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 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] - "\nXprobe2 v."VERSION\ - ^ +portscanner.cc: In member function 'void Portscanner::analyze_packets()': +portscanner.cc:578:7: warning: variable 'detected' set but not used [-Wunused-but-set-variable] + bool detected=false; + ^~~~~~~~ In file included from ../../../xprobe.h:141, - from portscanner.cc:23: + 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] "\nXprobe2 v."VERSION\ ^ -g++ -c -g -O2 -ffile-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 ttl_calc.h:26, - from build_DNS_reply.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] "\nXprobe2 v."VERSION\ ^ +icmp_addrmask.cc: In function 'int icmp_addrmask_mod_init(Xprobe_Module_Hdlr*, char*)': +icmp_addrmask.cc:47:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + pt->add_keyword(module->get_id(),"icmp_addrmask_reply"); + ^ +icmp_addrmask.cc:48:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + pt->add_keyword(module->get_id(),"icmp_addrmask_reply_ttl"); + ^ +icmp_addrmask.cc:49:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + pt->add_keyword(module->get_id(), "icmp_addrmask_reply_ip_id"); + ^ +g++ -c -g -O2 -ffile-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 tcp_handshake.cc: In member function 'int TCP_Handshake_Mod::run_probe(Target*, OS_Matrix*)': tcp_handshake.cc:143:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] request->sendpack(""); ^ -tcp_handshake.cc:87:14: warning: variable 'ret' set but not used [-Wunused-but-set-variable] - int done=0, ret, have_more_ports=1; - ^~~ In file included from parse_keyword.cc:4: parse_keyword.h:15:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] NULL}; @@ -1129,13 +1230,14 @@ parse_keyword.h:15:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] parse_keyword.h:15:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] parse_keyword.h:15:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -smb_mod.cc: In function 'int smb_mod_init(Xprobe_Module_Hdlr*, char*)': -smb_mod.cc:41:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - pt->add_keyword(smb->get_id(), "smb_nativeos"); - ^ -smb_mod.cc:42:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - pt->add_keyword(smb->get_id(), "smb_lanman"); - ^ +tcp_handshake.cc:87:14: warning: variable 'ret' set but not used [-Wunused-but-set-variable] + int done=0, ret, have_more_ports=1; + ^~~ +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] + "\nXprobe2 v."VERSION\ + ^ tcp_handshake.cc: In function 'int tcp_handshake_mod_init(Xprobe_Module_Hdlr*, char*)': tcp_handshake.cc:611:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_ttl"); @@ -1168,11 +1270,6 @@ pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_tsecr"); ^ make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_echo_id' -g++ -c -g -O2 -ffile-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 -udp_ping.cc: In member function 'virtual int UDP_Ping_Mod::exec(Target*, OS_Matrix*)': -udp_ping.cc:90:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - udpp.sendpack(""); - ^ tcp_rst.cc: In function 'int tcp_rst_mod_init(Xprobe_Module_Hdlr*, char*)': tcp_rst.cc:41:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pt->add_keyword(rst->get_id(), "tcp_rst_df"); @@ -1192,22 +1289,6 @@ tcp_rst.cc:46:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pt->add_keyword(rst->get_id(), "tcp_rst_reply"); ^ -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] - 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' - sn.init_device(tg->get_interface(), 0, 1500); - ^~ -tcp_ping.cc:89:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - tcpp->sendpack(""); - ^ -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] - "\nXprobe2 v."VERSION\ - ^ tcp_rst.cc: In member function 'virtual int TCP_Rst_Mod::exec(Target*, OS_Matrix*)': tcp_rst.cc:124:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] request.sendpack(""); @@ -1218,85 +1299,38 @@ tcp_rst.cc:91:14: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int done=0, ret; ^~~ -make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_timestamp' -g++ -c -g -O2 -ffile-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 -ttl_calc.cc: In member function 'int TTL_Mod::get_ttl_distance(Target*)': -ttl_calc.cc:146:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - tcp.sendpack(""); - ^ -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] - 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' - tcp_ignore_state = get_ignore_state(IPPROTO_TCP); - ^~~~~~~~~~~~~~~~ -portscanner.cc:125:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] - 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' - xml->log(XPROBELOG_PS_SESS_START, "%d", ((end.tv_sec - start.tv_sec) * 1000 + (end.tv_usec - start.tv_usec)/1000)/1000.0); - ^~~ -make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_inforeq' -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] - "\nXprobe2 v."VERSION\ - ^ -portscanner.cc: In member function 'int Portscanner::send_packets(Target*)': -portscanner.cc:306:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - udpp.sendpack(""); - ^ -portscanner.cc:340:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 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] - int ret, done=0; - ^~~ -portscanner.cc:369:17: warning: variable 'remote' set but not used [-Wunused-but-set-variable] - 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] - bool detected=false; - ^~~~~~~~ -make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_addrmask' -icmp_port_unreach done -make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach' -In file included from /usr/include/string.h:494, - 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/x86_64-linux-gnu/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] - 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 - u_short one = htons(1); - ^~~ -smb done -make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/smb' -ttl_mod done -make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc' snmp_mod.cc: In function 'int snmp_mod_init(Xprobe_Module_Hdlr*, char*)': snmp_mod.cc:43:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pt->add_keyword(snmp->get_id(), "snmp_sysdescr"); ^ +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' +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' +smb_mod.cc: In function 'int smb_mod_init(Xprobe_Module_Hdlr*, char*)': +smb_mod.cc:41:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + pt->add_keyword(smb->get_id(), "smb_nativeos"); + ^ +smb_mod.cc:42:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + pt->add_keyword(smb->get_id(), "smb_lanman"); + ^ +make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/icmp_timestamp' +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' +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/os_probe/tcp_rst' -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' +make[5]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake' 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 make[4]: Leaving directory '/build/xprobe-0.3/src/xpmodules/os_probe' -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[3]: Leaving directory '/build/xprobe-0.3/src/xpmodules' g++ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -Wcast-align -Wcast-qual -Wshadow -g -O2 -ffile-prefix-map=/build/xprobe-0.3=. -fstack-protector-strong -Wformat -Werror=format-security -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 -Wl,-z,relro -Wl,-z,now -ldl -rdynamic -lpcap make[2]: Leaving directory '/build/xprobe-0.3/src' @@ -1308,7 +1342,7 @@ dh_testroot dh_prep dh_auto_install - make -j16 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 @@ -1342,12 +1376,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/39278/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/39278/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/15949 and its subdirectories -I: Current time: Wed Jan 12 18:33:40 -12 2022 -I: pbuilder-time-stamp: 1642055620 +I: removing directory /srv/workspace/pbuilder/39278 and its subdirectories +I: Current time: Fri Dec 11 14:11:30 +14 2020 +I: pbuilder-time-stamp: 1607645490