I: pbuilder: network access will be disabled during build I: Current time: Thu Sep 29 11:53:11 +14 2022 I: pbuilder-time-stamp: 1664401991 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [netdiag_1.2-1.1.dsc] I: copying [./netdiag_1.2.orig.tar.gz] I: copying [./netdiag_1.2-1.1.diff.gz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/tmp/dpkg-verify-sig.wInW7uGC/trustedkeys.kbx': General error gpgv: Signature made Sun Feb 7 12:46:16 2021 +14 gpgv: using RSA key 3AFA757FAC6EA11D2FF45DF088D24287A2D898B1 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./netdiag_1.2-1.1.dsc dpkg-source: info: extracting netdiag in netdiag-1.2 dpkg-source: info: unpacking netdiag_1.2.orig.tar.gz dpkg-source: info: applying netdiag_1.2-1.1.diff.gz I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/22859/tmp/hooks/D01_modify_environment starting debug: Running on codethink11-arm64. 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/22859/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/22859/tmp/hooks/D02_print_environment starting I: set 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]="aarch64-unknown-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=arm64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' DIRSTACK=() DISTRIBUTION= EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/var/lib/jenkins HOSTNAME=i-capture-the-hostname HOSTTYPE=aarch64 HOST_ARCH=arm64 IFS=' ' LANG=C LANGUAGE=nl_BE:nl LC_ALL=C MACHTYPE=aarch64-unknown-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=22859 PS4='+ ' 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.m6eicJtF77/pbuilderrc_JAjy --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.m6eicJtF77/b2 --logfile b2/build.log netdiag_1.2-1.1.dsc' SUDO_GID=117 SUDO_UID=110 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root USERNAME=root _='I: set' http_proxy=http://192.168.101.16:3128 I: uname -a Linux i-capture-the-hostname 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:01:15 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 -rwxr-xr-x 1 root root 1282512 Aug 5 2021 bash -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 -rwxr-xr-x 3 root root 34808 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 34808 Jul 21 2020 bzip2 -rwxr-xr-x 1 root root 14264 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 39832 Sep 23 2020 cat -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash -rwxr-xr-x 1 root root 101384 Sep 23 2020 date -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd -rwxr-xr-x 1 root root 89824 Sep 23 2020 df -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir -rwxr-xr-x 1 root root 76152 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 35632 Sep 23 2020 echo -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep -rwxr-xr-x 1 root root 31512 Sep 23 2020 false -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep -rwxr-xr-x 1 root root 64856 Jul 29 2021 findmnt -rwsr-xr-x 1 root root 34824 Feb 27 2021 fusermount -rwxr-xr-x 1 root root 178400 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 93744 Mar 3 2021 gzip -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln -rwxr-xr-x 1 root root 52720 Feb 8 2020 login -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls -rwxr-xr-x 1 root root 161960 Jul 29 2021 lsblk -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp -rwxr-xr-x 1 root root 51368 Jul 29 2021 more -rwsr-xr-x 1 root root 51360 Jul 29 2021 mount -rwxr-xr-x 1 root root 14496 Jul 29 2021 mountpoint -rwxr-xr-x 1 root root 134808 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 35720 Sep 23 2020 pwd lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed lrwxrwxrwx 1 root root 4 Sep 29 11:53 sh -> bash lrwxrwxrwx 1 root root 4 Sep 24 05:47 sh.distrib -> dash -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty -rwsr-xr-x 1 root root 67776 Jul 29 2021 su -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync -rwxr-xr-x 1 root root 535768 Feb 17 2021 tar -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch -rwxr-xr-x 1 root root 31512 Sep 23 2020 true -rwxr-xr-x 1 root root 14264 Feb 27 2021 ulockmgr_server -rwsr-xr-x 1 root root 30880 Jul 29 2021 umount -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir -rwxr-xr-x 1 root root 59584 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/22859/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: libncurses-dev, debhelper (>= 11), m4, libpcap0.8-dev, po-debconf (>= 0.5.0), quilt dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19646 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on libncurses-dev; however: Package libncurses-dev is not installed. pbuilder-satisfydepends-dummy depends on debhelper (>= 11); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on m4; however: Package m4 is not installed. pbuilder-satisfydepends-dummy depends on libpcap0.8-dev; however: Package libpcap0.8-dev is not installed. pbuilder-satisfydepends-dummy depends on po-debconf (>= 0.5.0); however: Package po-debconf is not installed. pbuilder-satisfydepends-dummy depends on quilt; however: Package quilt is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} diffstat{a} dwz{a} ed{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdbus-1-3{a} libdbus-1-dev{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu67{a} libmagic-mgc{a} libmagic1{a} libncurses-dev{a} libncurses6{a} libpcap0.8{a} libpcap0.8-dev{a} libpipeline1{a} libsigsegv2{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} pkg-config{a} po-debconf{a} quilt{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl dbus less libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 42 newly installed, 0 to remove and 0 not upgraded. Need to get 21.0 MB of archives. After unpacking 78.3 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bullseye/main arm64 bsdextrautils arm64 2.36.1-8 [142 kB] Get: 2 http://deb.debian.org/debian bullseye/main arm64 libuchardet0 arm64 0.0.7-1 [67.9 kB] Get: 3 http://deb.debian.org/debian bullseye/main arm64 groff-base arm64 1.22.4-6 [883 kB] Get: 4 http://deb.debian.org/debian bullseye/main arm64 libpipeline1 arm64 1.5.3-1 [33.0 kB] Get: 5 http://deb.debian.org/debian bullseye/main arm64 man-db arm64 2.9.4-2 [1336 kB] Get: 6 http://deb.debian.org/debian bullseye/main arm64 sensible-utils all 0.0.14 [14.8 kB] Get: 7 http://deb.debian.org/debian bullseye/main arm64 libmagic-mgc arm64 1:5.39-3 [273 kB] Get: 8 http://deb.debian.org/debian bullseye/main arm64 libmagic1 arm64 1:5.39-3 [121 kB] Get: 9 http://deb.debian.org/debian bullseye/main arm64 file arm64 1:5.39-3 [69.1 kB] Get: 10 http://deb.debian.org/debian bullseye/main arm64 gettext-base arm64 0.21-4 [173 kB] Get: 11 http://deb.debian.org/debian bullseye/main arm64 libsigsegv2 arm64 2.13-1 [34.7 kB] Get: 12 http://deb.debian.org/debian bullseye/main arm64 m4 arm64 1.4.18-5 [199 kB] Get: 13 http://deb.debian.org/debian bullseye/main arm64 autoconf all 2.69-14 [313 kB] Get: 14 http://deb.debian.org/debian bullseye/main arm64 autotools-dev all 20180224.1+nmu1 [77.1 kB] Get: 15 http://deb.debian.org/debian bullseye/main arm64 automake all 1:1.16.3-2 [814 kB] Get: 16 http://deb.debian.org/debian bullseye/main arm64 autopoint all 0.21-4 [510 kB] Get: 17 http://deb.debian.org/debian bullseye/main arm64 libdebhelper-perl all 13.3.4 [189 kB] Get: 18 http://deb.debian.org/debian bullseye/main arm64 libtool all 2.4.6-15 [513 kB] Get: 19 http://deb.debian.org/debian bullseye/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 20 http://deb.debian.org/debian bullseye/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 21 http://deb.debian.org/debian bullseye/main arm64 libsub-override-perl all 0.09-2 [10.2 kB] Get: 22 http://deb.debian.org/debian bullseye/main arm64 libfile-stripnondeterminism-perl all 1.12.0-1 [26.3 kB] Get: 23 http://deb.debian.org/debian bullseye/main arm64 dh-strip-nondeterminism all 1.12.0-1 [15.4 kB] Get: 24 http://deb.debian.org/debian bullseye/main arm64 libelf1 arm64 0.183-1 [164 kB] Get: 25 http://deb.debian.org/debian bullseye/main arm64 dwz arm64 0.13+20210201-1 [155 kB] Get: 26 http://deb.debian.org/debian bullseye/main arm64 libicu67 arm64 67.1-7 [8467 kB] Get: 27 http://deb.debian.org/debian bullseye/main arm64 libxml2 arm64 2.9.10+dfsg-6.7 [629 kB] Get: 28 http://deb.debian.org/debian bullseye/main arm64 gettext arm64 0.21-4 [1261 kB] Get: 29 http://deb.debian.org/debian bullseye/main arm64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 30 http://deb.debian.org/debian bullseye/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bullseye/main arm64 debhelper all 13.3.4 [1049 kB] Get: 32 http://deb.debian.org/debian bullseye/main arm64 diffstat arm64 1.64-1 [34.6 kB] Get: 33 http://deb.debian.org/debian bullseye/main arm64 ed arm64 1.17-1 [58.7 kB] Get: 34 http://deb.debian.org/debian bullseye/main arm64 libdbus-1-3 arm64 1.12.20-2 [208 kB] Get: 35 http://deb.debian.org/debian bullseye/main arm64 libglib2.0-0 arm64 2.66.8-1 [1286 kB] Get: 36 http://deb.debian.org/debian bullseye/main arm64 pkg-config arm64 0.29.2-1 [63.6 kB] Get: 37 http://deb.debian.org/debian bullseye/main arm64 libdbus-1-dev arm64 1.12.20-2 [254 kB] Get: 38 http://deb.debian.org/debian bullseye/main arm64 libncurses6 arm64 6.2+20201114-2 [93.2 kB] Get: 39 http://deb.debian.org/debian bullseye/main arm64 libncurses-dev arm64 6.2+20201114-2 [335 kB] Get: 40 http://deb.debian.org/debian bullseye/main arm64 libpcap0.8 arm64 1.10.0-2 [151 kB] Get: 41 http://deb.debian.org/debian bullseye/main arm64 libpcap0.8-dev arm64 1.10.0-2 [272 kB] Get: 42 http://deb.debian.org/debian bullseye/main arm64 quilt all 0.66-2.1 [319 kB] Fetched 21.0 MB in 1s (32.0 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 ... 19646 files and directories currently installed.) Preparing to unpack .../00-bsdextrautils_2.36.1-8_arm64.deb ... Unpacking bsdextrautils (2.36.1-8) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../01-libuchardet0_0.0.7-1_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.4-6_arm64.deb ... Unpacking groff-base (1.22.4-6) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../03-libpipeline1_1.5.3-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.3-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.9.4-2_arm64.deb ... Unpacking man-db (2.9.4-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../05-sensible-utils_0.0.14_all.deb ... Unpacking sensible-utils (0.0.14) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../06-libmagic-mgc_1%3a5.39-3_arm64.deb ... Unpacking libmagic-mgc (1:5.39-3) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../07-libmagic1_1%3a5.39-3_arm64.deb ... Unpacking libmagic1:arm64 (1:5.39-3) ... Selecting previously unselected package file. Preparing to unpack .../08-file_1%3a5.39-3_arm64.deb ... Unpacking file (1:5.39-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../09-gettext-base_0.21-4_arm64.deb ... Unpacking gettext-base (0.21-4) ... Selecting previously unselected package libsigsegv2:arm64. Preparing to unpack .../10-libsigsegv2_2.13-1_arm64.deb ... Unpacking libsigsegv2:arm64 (2.13-1) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.18-5_arm64.deb ... Unpacking m4 (1.4.18-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.69-14_all.deb ... Unpacking autoconf (2.69-14) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20180224.1+nmu1_all.deb ... Unpacking autotools-dev (20180224.1+nmu1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.16.3-2_all.deb ... Unpacking automake (1:1.16.3-2) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.21-4_all.deb ... Unpacking autopoint (0.21-4) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../16-libdebhelper-perl_13.3.4_all.deb ... Unpacking libdebhelper-perl (13.3.4) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-15_all.deb ... Unpacking libtool (2.4.6-15) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../20-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.12.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.12.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.12.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.12.0-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../23-libelf1_0.183-1_arm64.deb ... Unpacking libelf1:arm64 (0.183-1) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.13+20210201-1_arm64.deb ... Unpacking dwz (0.13+20210201-1) ... Selecting previously unselected package libicu67:arm64. Preparing to unpack .../25-libicu67_67.1-7_arm64.deb ... Unpacking libicu67:arm64 (67.1-7) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../26-libxml2_2.9.10+dfsg-6.7_arm64.deb ... Unpacking libxml2:arm64 (2.9.10+dfsg-6.7) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.21-4_arm64.deb ... Unpacking gettext (0.21-4) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../29-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_13.3.4_all.deb ... Unpacking debhelper (13.3.4) ... Selecting previously unselected package diffstat. Preparing to unpack .../31-diffstat_1.64-1_arm64.deb ... Unpacking diffstat (1.64-1) ... Selecting previously unselected package ed. Preparing to unpack .../32-ed_1.17-1_arm64.deb ... Unpacking ed (1.17-1) ... Selecting previously unselected package libdbus-1-3:arm64. Preparing to unpack .../33-libdbus-1-3_1.12.20-2_arm64.deb ... Unpacking libdbus-1-3:arm64 (1.12.20-2) ... Selecting previously unselected package libglib2.0-0:arm64. Preparing to unpack .../34-libglib2.0-0_2.66.8-1_arm64.deb ... Unpacking libglib2.0-0:arm64 (2.66.8-1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../35-pkg-config_0.29.2-1_arm64.deb ... Unpacking pkg-config (0.29.2-1) ... Selecting previously unselected package libdbus-1-dev:arm64. Preparing to unpack .../36-libdbus-1-dev_1.12.20-2_arm64.deb ... Unpacking libdbus-1-dev:arm64 (1.12.20-2) ... Selecting previously unselected package libncurses6:arm64. Preparing to unpack .../37-libncurses6_6.2+20201114-2_arm64.deb ... Unpacking libncurses6:arm64 (6.2+20201114-2) ... Selecting previously unselected package libncurses-dev:arm64. Preparing to unpack .../38-libncurses-dev_6.2+20201114-2_arm64.deb ... Unpacking libncurses-dev:arm64 (6.2+20201114-2) ... Selecting previously unselected package libpcap0.8:arm64. Preparing to unpack .../39-libpcap0.8_1.10.0-2_arm64.deb ... Unpacking libpcap0.8:arm64 (1.10.0-2) ... Selecting previously unselected package libpcap0.8-dev:arm64. Preparing to unpack .../40-libpcap0.8-dev_1.10.0-2_arm64.deb ... Unpacking libpcap0.8-dev:arm64 (1.10.0-2) ... Selecting previously unselected package quilt. Preparing to unpack .../41-quilt_0.66-2.1_all.deb ... Unpacking quilt (0.66-2.1) ... Setting up libpipeline1:arm64 (1.5.3-1) ... Setting up bsdextrautils (2.36.1-8) ... update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode Setting up libicu67:arm64 (67.1-7) ... Setting up libmagic-mgc (1:5.39-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libglib2.0-0:arm64 (2.66.8-1) ... No schema files found: doing nothing. Setting up libdebhelper-perl (13.3.4) ... Setting up libmagic1:arm64 (1:5.39-3) ... Setting up gettext-base (0.21-4) ... Setting up file (1:5.39-3) ... Setting up autotools-dev (20180224.1+nmu1) ... Setting up ed (1.17-1) ... Setting up libncurses6:arm64 (6.2+20201114-2) ... Setting up libdbus-1-3:arm64 (1.12.20-2) ... Setting up libsigsegv2:arm64 (2.13-1) ... Setting up diffstat (1.64-1) ... Setting up autopoint (0.21-4) ... Setting up pkg-config (0.29.2-1) ... Setting up sensible-utils (0.0.14) ... Setting up libuchardet0:arm64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-2) ... Setting up libelf1:arm64 (0.183-1) ... Setting up libxml2:arm64 (2.9.10+dfsg-6.7) ... Setting up libfile-stripnondeterminism-perl (1.12.0-1) ... Setting up libncurses-dev:arm64 (6.2+20201114-2) ... Setting up gettext (0.21-4) ... Setting up libtool (2.4.6-15) ... Setting up m4 (1.4.18-5) ... Setting up quilt (0.66-2.1) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libpcap0.8:arm64 (1.10.0-2) ... Setting up libdbus-1-dev:arm64 (1.12.20-2) ... Setting up autoconf (2.69-14) ... Setting up dh-strip-nondeterminism (1.12.0-1) ... Setting up dwz (0.13+20210201-1) ... Setting up groff-base (1.22.4-6) ... Setting up automake (1:1.16.3-2) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up po-debconf (1.0.21+nmu1) ... Setting up libpcap0.8-dev:arm64 (1.10.0-2) ... Setting up man-db (2.9.4-2) ... Not building database; man-db/auto-update is not 'true'. Setting up dh-autoreconf (20) ... Setting up debhelper (13.3.4) ... Processing triggers for libc-bin (2.31-13) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package hostname: Temporary failure in name resolution I: Running cd /build/netdiag-1.2/ && 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 > ../netdiag_1.2-1.1_source.changes dpkg-buildpackage: info: source package netdiag dpkg-buildpackage: info: source version 1.2-1.1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Adrian Bunk dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 fakeroot debian/rules clean QUILT_PATCHES=debian/patches \ quilt --quiltrc /dev/null pop -a -R || test $? = 2 No patch removed rm -rf .pc debian/stamp-patched dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. (cd tcpspray; make clean) make[1]: Entering directory '/build/netdiag-1.2/tcpspray' rm -f tcpspray *.o *~ #* core make[1]: Leaving directory '/build/netdiag-1.2/tcpspray' (cd statnet*; make clean; rm -f statnet.1 statnet.lsm) make[1]: Entering directory '/build/netdiag-1.2/statnet-3.8' rm -f *.o statnet statnetd statnet.shar statnet*.tgz make[1]: Leaving directory '/build/netdiag-1.2/statnet-3.8' (cd trafshow*; [ ! -f Makefile ] || make distclean; rm -f config.log) (cd netwatch*; make clean; rm -f Makefile Make.common) make[1]: Entering directory '/build/netdiag-1.2/netwatch-1.3.1-2' make[1]: *** No rule to make target 'clean'. Stop. make[1]: Leaving directory '/build/netdiag-1.2/netwatch-1.3.1-2' (cd tcpblast*; [ ! -f Makefile ] || make distclean; rm -f confdefs.h) (cd netload*; make clean) make[1]: Entering directory '/build/netdiag-1.2/netload-1.2.2' rm -f ./netload make[1]: Leaving directory '/build/netdiag-1.2/netload-1.2.2' debconf-updatepo dh_clean debian/rules build QUILT_PATCHES=debian/patches \ quilt --quiltrc /dev/null push -a || test $? = 2 Applying patch netwatch.diff patching file netwatch-1.3.1-2/netwatch.c patching file netwatch-1.3.1-2/processinetrc.c patching file netwatch-1.3.1-2/Makefile.in patching file netwatch-1.3.1-2/netwatch.1 Applying patch statnet.diff patching file statnet-3.8/statnet.c patching file statnet-3.8/statnetd.c patching file statnet-3.8/set_null.c patching file statnet-3.8/tally_init.c patching file statnet-3.8/statnet.1.proto patching file statnet-3.8/Makefile Applying patch tcpblast.diff patching file tcpblast-20011111/tcpblast.c patching file tcpblast-20011111/Makefile.in patching file tcpblast-20011111/docs/tcpblast.8 Applying patch tcpspray.diff patching file tcpspray/Makefile patching file tcpspray/tcpspray.1 patching file tcpspray/tcpspray.c Applying patch trafshow.diff patching file trafshow-5.2.3/Makefile.in patching file trafshow-5.2.3/trafshow.c patching file trafshow-5.2.3/session.c patching file trafshow-5.2.3/configure patching file trafshow-5.2.3/configure.in Applying patch adapt_netload_to_bsd.diff patching file netload-1.2.2/Makefile patching file netload-1.2.2/netload.c Applying patch adaption_to_kfreebsd.diff patching file statnet-3.8/statnet.c patching file statnet-3.8/statnetd.c patching file tcpblast-20011111/tcpblast.c patching file trafshow-5.2.3/parse_ip.c Applying patch clang-ftbfs.diff patching file tcpspray/tcpspray.c Applying patch gcc-10.diff patching file netwatch-1.3.1-2/netwatch.c patching file netwatch-1.3.1-2/netwatch.h patching file netwatch-1.3.1-2/dispdata.c Applying patch pcap_init.diff patching file trafshow-5.2.3/trafshow.c Now at patch pcap_init.diff touch debian/stamp-patched dh_testdir dh_update_autotools_config # Add here commands to configure the package. CFLAGS="`dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get LDFLAGS`" dh_auto_configure --sourcedirectory trafshow* cd trafshow-5.2.3 && ./configure --build=aarch64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/aarch64-linux-gnu --libexecdir=\${prefix}/lib/aarch64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking target system type... aarch64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for bison... no checking for byacc... no checking for flex... no checking for lex... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking sys/termios.h usability... yes checking sys/termios.h presence... yes checking for sys/termios.h... yes checking net/if_dl.h usability... no checking net/if_dl.h presence... no checking for net/if_dl.h... no checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking resolv.h usability... yes checking resolv.h presence... yes checking for resolv.h... yes checking for an ANSI C-conforming const... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_int64_t... yes checking for in_addr_t... yes checking for socklen_t... yes checking for struct sockaddr_storage... yes checking for struct ether_addr... yes checking for main in -lresolv... yes checking for main in -linet... no checking for connect in -lsocket... no checking for siginterrupt... yes checking for snprintf... yes checking for strftime... yes checking for strcasecmp... yes checking for pcap_findalldevs in -lpcap... yes checking for pcap_dump_flush... yes checking for pcap_get_selectable_fd... yes checking for tgetent in -ltermcap... yes checking for curses library... ncurses checking for has_colors... yes checking for bkgd... yes checking for wbkgd... yes checking for wredrawln... yes checking for resizeterm... yes checking for use_default_colors... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h cd netwatch* && CC="aarch64-linux-gnu-gcc" CFLAGS="`dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get LDFLAGS`" ./configure --prefix=debian/netdiag/usr --mandir=debian/netdiag/usr/share/man/man1 creating cache ./config.cache checking for gcc... aarch64-linux-gnu-gcc checking whether the C compiler (aarch64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2/netwatch-1.3.1-2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now ) works... yes checking whether the C compiler (aarch64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2/netwatch-1.3.1-2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether aarch64-linux-gnu-gcc accepts -g... yes checking for mvchgat in -lncurses... yes checking for pthread_create in -lpthread... yes checking how to run the C preprocessor... aarch64-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for strings.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for unistd.h... yes checking for netinet/ip_icmp.h... yes checking for netinet/ip.h... yes checking for netinet/tcp.h... yes checking for netinet/ip_tcp.h... no checking for netinet/udp.h... yes checking for netinet/ip_udp.h... no checking for netinet/if_ether.h... yes checking for netinet/in.h... yes checking for netinet/socket.h... no checking for net/if.h... yes checking for net/if_ppp.h... yes checking for netinet/if_ether.h... (cached) yes checking for netinet/in.h... (cached) yes checking for ncurses.h... yes checking for ncurses/curses.h... no checking for ncurses.h... (cached) yes checking for pthread.h... yes checking for ncurses/curses.h... (cached) no checking for curses.h... yes checking for sys/if_packet.h... no checking for linux/if_packet.h... yes checking for net/if_packet.h... yes checking for pid_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether aarch64-linux-gnu-gcc needs -traditional... no checking for 8-bit clean memcmp... yes checking return type of signal handlers... void checking for select... yes checking for socket... yes checking for strstr... yes checking for uname... yes updating cache ./config.cache creating ./config.status creating Makefile creating Make.common creating config.h cd tcpblast* && CC="aarch64-linux-gnu-gcc" no_libnsl=yes ./configure creating cache ./config.cache checking for gcc... aarch64-linux-gnu-gcc checking whether the C compiler (aarch64-linux-gnu-gcc -I/usr/local/include -L/usr/local/lib) works... yes checking whether the C compiler (aarch64-linux-gnu-gcc -I/usr/local/include -L/usr/local/lib) is a cross-compiler... no checking whether we are using GNU C... yes checking whether aarch64-linux-gnu-gcc accepts -g... yes checking host system type... aarch64-unknown-linux-gnu checking for socket in -lsocket... no checking how to run the C preprocessor... aarch64-linux-gnu-gcc -E checking for ANSI C header files... yes checking for string.h... yes checking for getopt.h... yes checking for strings.h... yes checking for memory.h... yes checking for sys/param.h... yes checking for sys/sockio.h... no checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for socklen_t... yes checking for in6_addr... yes checking whether byte ordering is bigendian... no checking for bzero... yes checking for getaddrinfo... yes checking for inet_pton... yes checking for strerror... yes checking for timersub... yes checking for getopt_long... yes checking for strsep... yes checking for daemon... yes updating cache ./config.cache creating ./config.status creating Makefile creating docs/tcpblast.spec creating config.h touch configure-stamp dh_testdir # Add here commands to compile the package. CFLAGS="`dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get LDFLAGS`" dh_auto_build --sourcedirectory tcpspray* cd tcpspray && make -j8 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/netdiag-1.2/tcpspray' gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -O2 -Dsun -DUSE_ADDRINFO=1 tcpspray.c -o tcpspray make[1]: Leaving directory '/build/netdiag-1.2/tcpspray' CFLAGS="`dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get LDFLAGS`" dh_auto_build --sourcedirectory statnet* cd statnet-3.8 && make -j8 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/netdiag-1.2/statnet-3.8' gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o statnet.o statnet.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o curs.o curs.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o getservent.o getservent.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o set_null.o set_null.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o services.o services.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o stat_delta.o stat_delta.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tally_delta.o tally_delta.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tally_label.o tally_label.c In file included from /usr/include/netdb.h:27, from inetprivate.h:13, from getservent.c:45: getservent.c: In function 'sn_getservent': getservent.c:121:31: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 121 | serv.s_port = htons((u_short)atoi(p)); | ^~~~ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o win_show_stat.o win_show_stat.c statnet.c:102:8: warning: type defaults to 'int' in declaration of 'gen_all' [-Wimplicit-int] 102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, gen_802 = 0; | ^~~~~~~ statnet.c:102:17: warning: type defaults to 'int' in declaration of 'gen_eth' [-Wimplicit-int] 102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, gen_802 = 0; | ^~~~~~~ statnet.c:102:26: warning: type defaults to 'int' in declaration of 'gen_plip' [-Wimplicit-int] 102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, gen_802 = 0; | ^~~~~~~~ statnet.c:102:36: warning: type defaults to 'int' in declaration of 'gen_slip' [-Wimplicit-int] 102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, gen_802 = 0; | ^~~~~~~~ statnet.c:102:46: warning: type defaults to 'int' in declaration of 'gen_ppp' [-Wimplicit-int] 102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, gen_802 = 0; | ^~~~~~~ statnet.c:102:55: warning: type defaults to 'int' in declaration of 'gen_loop' [-Wimplicit-int] 102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, gen_802 = 0; | ^~~~~~~~ statnet.c:102:65: warning: type defaults to 'int' in declaration of 'gen_802' [-Wimplicit-int] 102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, gen_802 = 0; | ^~~~~~~ statnet.c:106:1: warning: return type defaults to 'int' [-Wimplicit-int] 106 | main (int argc, char *argv[]) | ^~~~ tally_label.c:13:1: warning: return type defaults to 'int' [-Wimplicit-int] 13 | tally_label ( struct Tally *Now_ts, WINDOW *win, int width, int height ) | ^~~~~~~~~~~ statnet.c: In function 'update_display': statnet.c:681:2: warning: implicit declaration of function 'win_show_stat' [-Wimplicit-function-declaration] 681 | win_show_stat( protwin, 9, 1, noframes, &Now->prot, &Prev->prot, &Delta.prot, rewrite_labels, &update_prot_labels, &show_prot_labels ); | ^~~~~~~~~~~~~ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o statnetd.o statnetd.c statnet.c: In function 'show_tcp_labels': statnet.c:800:2: warning: implicit declaration of function 'tally_label'; did you mean 'slk_label'? [-Wimplicit-function-declaration] 800 | tally_label( Now_ts, tcpwin, TW, TH ); | ^~~~~~~~~~~ | slk_label gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o itstime.o itstime.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tally_init.o tally_init.c itstime.c: In function 'itstime': itstime.c:50:2: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] 50 | alarm (SN_STATS_SECS); | ^~~~~ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tally.o tally.c m4 --prefix-builtins -D__SNVERSION__=3.8 -D__UPDATED__=21DEC2002 README.proto > README m4 --prefix-builtins -D__SNVERSION__=3.8 -D__UPDATED__=21DEC2002 statnet.1.proto > statnet.1 statnetd.c:124:1: warning: return type defaults to 'int' [-Wimplicit-int] 124 | main (int argc, char *argv[]) | ^~~~ statnetd.c: In function 'handle_other': statnetd.c:499:4: warning: implicit declaration of function 'tally' [-Wimplicit-function-declaration] 499 | tally( (short int)buf[14], &StatMem->sap_types ); /* count 802.2 SAP number */ | ^~~~~ statnetd.c: In function 'main': statnetd.c:336:10: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 336 | (void) dup(fileDesc); /* stdout */ | ^~~~~~~~~~~~~ statnetd.c:337:10: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 337 | (void) dup(fileDesc); /* stderr */ | ^~~~~~~~~~~~~ gcc -o statnet -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g -DSNVERSION=3.8 statnet.o curs.o getservent.o set_null.o services.o stat_delta.o stat_ntoh.c tally_delta.o tally_label.o tally_ntoh.c win_show_stat.o -lncurses gcc -o statnetd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g -DSNVERSION=3.8 statnetd.o getservent.o itstime.o set_null.o services.o tally_init.o tally.o -lncurses stat_ntoh.c: In function 'stat_ntoh': stat_ntoh.c:73:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | PtrCpy(New, Prev, New->prot.types, ntohl( (int)Prev->prot_types) ); | ^ stat_ntoh.c:12:53: note: in definition of macro 'PtrCpy' 12 | #define PtrCpy(A,B,AP,BP) AP=(void *)((A)+(((void *)BP)-((void *)B))); | ^~ stat_ntoh.c:12:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 12 | #define PtrCpy(A,B,AP,BP) AP=(void *)((A)+(((void *)BP)-((void *)B))); | ^ stat_ntoh.c:73:4: note: in expansion of macro 'PtrCpy' 73 | PtrCpy(New, Prev, New->prot.types, ntohl( (int)Prev->prot_types) ); | ^~~~~~ stat_ntoh.c:74:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 74 | PtrCpy(New, Prev, New->prot.t_count, ntohl( (int)Prev->prot.t_count) ); | ^ stat_ntoh.c:12:53: note: in definition of macro 'PtrCpy' 12 | #define PtrCpy(A,B,AP,BP) AP=(void *)((A)+(((void *)BP)-((void *)B))); | ^~ stat_ntoh.c:12:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 12 | #define PtrCpy(A,B,AP,BP) AP=(void *)((A)+(((void *)BP)-((void *)B))); | ^ stat_ntoh.c:74:4: note: in expansion of macro 'PtrCpy' 74 | PtrCpy(New, Prev, New->prot.t_count, ntohl( (int)Prev->prot.t_count) ); | ^~~~~~ stat_ntoh.c:109:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 109 | PtrCpy(New, Prev, New->prot.types, htonl( (int)Prev->prot_types) ); | ^ stat_ntoh.c:12:53: note: in definition of macro 'PtrCpy' 12 | #define PtrCpy(A,B,AP,BP) AP=(void *)((A)+(((void *)BP)-((void *)B))); | ^~ stat_ntoh.c:12:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 12 | #define PtrCpy(A,B,AP,BP) AP=(void *)((A)+(((void *)BP)-((void *)B))); | ^ stat_ntoh.c:109:4: note: in expansion of macro 'PtrCpy' 109 | PtrCpy(New, Prev, New->prot.types, htonl( (int)Prev->prot_types) ); | ^~~~~~ stat_ntoh.c:110:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 110 | PtrCpy(New, Prev, New->prot.t_count, htonl( (int)Prev->prot.t_count) ); | ^ stat_ntoh.c:12:53: note: in definition of macro 'PtrCpy' 12 | #define PtrCpy(A,B,AP,BP) AP=(void *)((A)+(((void *)BP)-((void *)B))); | ^~ stat_ntoh.c:12:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 12 | #define PtrCpy(A,B,AP,BP) AP=(void *)((A)+(((void *)BP)-((void *)B))); | ^ stat_ntoh.c:110:4: note: in expansion of macro 'PtrCpy' 110 | PtrCpy(New, Prev, New->prot.t_count, htonl( (int)Prev->prot.t_count) ); | ^~~~~~ tally_ntoh.c: In function 'tally_ntoh': tally_ntoh.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 78 | PtrCpy(New,Prev,New_t->count,ntohl((int)Prev_t->count)); | ^ tally_ntoh.c:9:57: note: in definition of macro 'PtrCpy' 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^~ tally_ntoh.c:9:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^ tally_ntoh.c:78:7: note: in expansion of macro 'PtrCpy' 78 | PtrCpy(New,Prev,New_t->count,ntohl((int)Prev_t->count)); | ^~~~~~ tally_ntoh.c:86:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 86 | PtrCpy(New,Prev,New_t->c_show_list,ntohl((int)Prev_t->c_show_list)); | ^ tally_ntoh.c:9:57: note: in definition of macro 'PtrCpy' 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^~ tally_ntoh.c:9:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^ tally_ntoh.c:86:7: note: in expansion of macro 'PtrCpy' 86 | PtrCpy(New,Prev,New_t->c_show_list,ntohl((int)Prev_t->c_show_list)); | ^~~~~~ tally_ntoh.c:91:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 91 | PtrCpy(New,Prev,New_t->c_labels,ntohl((int)Prev_t->c_labels)); | ^ tally_ntoh.c:9:57: note: in definition of macro 'PtrCpy' 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^~ tally_ntoh.c:9:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^ tally_ntoh.c:91:7: note: in expansion of macro 'PtrCpy' 91 | PtrCpy(New,Prev,New_t->c_labels,ntohl((int)Prev_t->c_labels)); | ^~~~~~ tally_ntoh.c:96:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 96 | PtrCpy(New,Prev,New_t->types,ntohl((int)Prev_t->types)); | ^ tally_ntoh.c:9:57: note: in definition of macro 'PtrCpy' 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^~ tally_ntoh.c:9:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^ tally_ntoh.c:96:7: note: in expansion of macro 'PtrCpy' 96 | PtrCpy(New,Prev,New_t->types,ntohl((int)Prev_t->types)); | ^~~~~~ tally_ntoh.c:101:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 101 | PtrCpy(New,Prev,New_t->t_count,ntohl((int)Prev_t->t_count)); | ^ tally_ntoh.c:9:57: note: in definition of macro 'PtrCpy' 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^~ tally_ntoh.c:9:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^ tally_ntoh.c:101:7: note: in expansion of macro 'PtrCpy' 101 | PtrCpy(New,Prev,New_t->t_count,ntohl((int)Prev_t->t_count)); | ^~~~~~ tally_ntoh.c:106:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 106 | PtrCpy(New,Prev,New_t->t_values,ntohl((int)Prev_t->t_values)); | ^ tally_ntoh.c:9:57: note: in definition of macro 'PtrCpy' 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^~ tally_ntoh.c:9:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^ tally_ntoh.c:106:7: note: in expansion of macro 'PtrCpy' 106 | PtrCpy(New,Prev,New_t->t_values,ntohl((int)Prev_t->t_values)); | ^~~~~~ tally_ntoh.c:114:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 114 | PtrCpy(New,Prev,New_t->t_labels,ntohl((int)Prev_t->t_labels)); | ^ tally_ntoh.c:9:57: note: in definition of macro 'PtrCpy' 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^~ tally_ntoh.c:9:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^ tally_ntoh.c:114:7: note: in expansion of macro 'PtrCpy' 114 | PtrCpy(New,Prev,New_t->t_labels,ntohl((int)Prev_t->t_labels)); | ^~~~~~ tally_ntoh.c:122:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 122 | PtrCpy(New,Prev,New_t->count,htonl((int)Prev_t->count)); | ^ tally_ntoh.c:9:57: note: in definition of macro 'PtrCpy' 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^~ tally_ntoh.c:9:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^ tally_ntoh.c:122:7: note: in expansion of macro 'PtrCpy' 122 | PtrCpy(New,Prev,New_t->count,htonl((int)Prev_t->count)); | ^~~~~~ tally_ntoh.c:130:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 130 | PtrCpy(New,Prev,New_t->c_show_list,htonl((int)Prev_t->c_show_list)); | ^ tally_ntoh.c:9:57: note: in definition of macro 'PtrCpy' 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^~ tally_ntoh.c:9:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^ tally_ntoh.c:130:7: note: in expansion of macro 'PtrCpy' 130 | PtrCpy(New,Prev,New_t->c_show_list,htonl((int)Prev_t->c_show_list)); | ^~~~~~ tally_ntoh.c:135:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 135 | PtrCpy(New,Prev,New_t->c_labels,htonl((int)Prev_t->c_labels)); | ^ tally_ntoh.c:9:57: note: in definition of macro 'PtrCpy' 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^~ tally_ntoh.c:9:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^ tally_ntoh.c:135:7: note: in expansion of macro 'PtrCpy' 135 | PtrCpy(New,Prev,New_t->c_labels,htonl((int)Prev_t->c_labels)); | ^~~~~~ tally_ntoh.c:140:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 140 | PtrCpy(New,Prev,New_t->types,htonl((int)Prev_t->types)); | ^ tally_ntoh.c:9:57: note: in definition of macro 'PtrCpy' 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^~ tally_ntoh.c:9:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^ tally_ntoh.c:140:7: note: in expansion of macro 'PtrCpy' 140 | PtrCpy(New,Prev,New_t->types,htonl((int)Prev_t->types)); | ^~~~~~ tally_ntoh.c:145:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 145 | PtrCpy(New,Prev,New_t->t_count,htonl((int)Prev_t->t_count)); | ^ tally_ntoh.c:9:57: note: in definition of macro 'PtrCpy' 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^~ tally_ntoh.c:9:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^ tally_ntoh.c:145:7: note: in expansion of macro 'PtrCpy' 145 | PtrCpy(New,Prev,New_t->t_count,htonl((int)Prev_t->t_count)); | ^~~~~~ tally_ntoh.c:150:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 150 | PtrCpy(New,Prev,New_t->t_values,htonl((int)Prev_t->t_values)); | ^ tally_ntoh.c:9:57: note: in definition of macro 'PtrCpy' 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^~ tally_ntoh.c:9:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^ tally_ntoh.c:150:7: note: in expansion of macro 'PtrCpy' 150 | PtrCpy(New,Prev,New_t->t_values,htonl((int)Prev_t->t_values)); | ^~~~~~ tally_ntoh.c:158:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 158 | PtrCpy(New,Prev,New_t->t_labels,htonl((int)Prev_t->t_labels)); | ^ tally_ntoh.c:9:57: note: in definition of macro 'PtrCpy' 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^~ tally_ntoh.c:9:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 9 | #define PtrCpy(A,B,AP,BP) AP = (void *)((A) + (((void *)BP) - ((void *)B))); | ^ tally_ntoh.c:158:7: note: in expansion of macro 'PtrCpy' 158 | PtrCpy(New,Prev,New_t->t_labels,htonl((int)Prev_t->t_labels)); | ^~~~~~ rm -f statnet*tar.gz statnet*.tgz tar cvzf statnet-3.8.tgz statnet statnetd README CHANGES INSTALL Makefile services *.h *.c *.lsm *.proto statnet statnetd README CHANGES INSTALL Makefile services curs.h inetprivate.h stat.h curs.c getservent.c if_getstats.c interface.c itstime.c services.c set_null.c stat_delta.c stat_ntoh.c statnet.c statnetd.c tally.c tally_delta.c tally_init.c tally_label.c tally_ntoh.c win_show_stat.c tar: *.lsm: Cannot stat: No such file or directory README.proto rpm.spec.proto statnet.1.proto statnet.lsm.proto tar: Exiting with failure status due to previous errors make[1]: [Makefile:56: statnet-3.8.tgz] Error 2 (ignored) tar cvzf statnet-3.8_src.tgz README CHANGES INSTALL Makefile services *.h *.c *.lsm *.proto README CHANGES INSTALL Makefile services curs.h inetprivate.h stat.h curs.c getservent.c if_getstats.c interface.c itstime.c services.c set_null.c stat_delta.c stat_ntoh.c statnet.c statnetd.c tally.c tally_delta.c tally_init.c tally_label.c tally_ntoh.c win_show_stat.c tar: *.lsm: Cannot stat: No such file or directory README.proto rpm.spec.proto statnet.1.proto statnet.lsm.proto tar: Exiting with failure status due to previous errors make[1]: [Makefile:57: statnet-3.8.tgz] Error 2 (ignored) rm -f statnet.lsm m4 --prefix-builtins \ -D__SNVERSION__=3.8 \ -D__UPDATED__=21DEC2002 \ -D__TARSIZE__=188 \ statnet.lsm.proto > statnet.lsm make[1]: Leaving directory '/build/netdiag-1.2/statnet-3.8' (cd trafshow*; make) make[1]: Entering directory '/build/netdiag-1.2/trafshow-5.2.3' gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c trafshow.c trafshow.c: In function 'main': trafshow.c:98:12: warning: variable 'show_thr' set but not used [-Wunused-but-set-variable] 98 | pthread_t show_thr, sig_thr, pcap_thr; | ^~~~~~~~ trafshow.c:194:2: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 194 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c screen.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c colormask.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c getkey.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c selector.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c events.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c session.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c show_if.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c show_stat.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c show_dump.c show_dump.c: In function 'show_dump_print': show_dump.c:336:36: warning: comparison between pointer and zero character constant [-Wpointer-compare] 336 | if ((cp = strpbrk(buf, "\r\n")) != '\0') | ^~ show_dump.c:336:8: note: did you mean to dereference the pointer? 336 | if ((cp = strpbrk(buf, "\r\n")) != '\0') | ^ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c parse_dl.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c parse_ip.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c netstat.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c cisco_netflow.c cisco_netflow.c: In function 'parse_netflow': cisco_netflow.c:242:14: warning: variable 'v7h' set but not used [-Wunused-but-set-variable] 242 | CNF_HDR_V7 *v7h; | ^~~ cisco_netflow.c:241:14: warning: variable 'v5h' set but not used [-Wunused-but-set-variable] 241 | CNF_HDR_V5 *v5h; | ^~~ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c addrtoname.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c hashtab.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c lookupa.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c recycle.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c util.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c help_page.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c domain_resolver.c domain_resolver.c: In function 'domain_data_add': domain_resolver.c:381:7: warning: variable 'save_errno' set but not used [-Wunused-but-set-variable] 381 | int save_errno = errno; | ^~~~~~~~~~ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -c version.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -I. -DHAVE_CONFIG_H -pthread -Wl,-z,relro -Wl,-z,now -o trafshow trafshow.o screen.o colormask.o getkey.o selector.o events.o session.o show_if.o show_stat.o show_dump.o parse_dl.o parse_ip.o netstat.o cisco_netflow.o addrtoname.o hashtab.o lookupa.o recycle.o util.o help_page.o domain_resolver.o version.o -lncurses -ltermcap -lpcap -lresolv make[1]: Leaving directory '/build/netdiag-1.2/trafshow-5.2.3' (cd netwatch*; make) make[1]: Entering directory '/build/netdiag-1.2/netwatch-1.3.1-2' aarch64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2/netwatch-1.3.1-2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -c curs.c aarch64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2/netwatch-1.3.1-2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -c dispdata.c dispdata.c: In function 'dispdata': dispdata.c:616:2: warning: implicit declaration of function 'setuphelp' [-Wimplicit-function-declaration] 616 | setuphelp(); | ^~~~~~~~~ dispdata.c:657:2: warning: implicit declaration of function 'dokeyin' [-Wimplicit-function-declaration] 657 | dokeyin ('l'); | ^~~~~~~ dispdata.c:740:7: warning: implicit declaration of function 'uthread_wait'; did you mean 'pthread_exit'? [-Wimplicit-function-declaration] 740 | uthread_wait(1000); | ^~~~~~~~~~~~ | pthread_exit dispdata.c:1357:34: warning: '%s' directive writing up to 511 bytes into a region of size 509 [-Wformat-overflow=] 1357 | sprintf (&status_lines[3][3], "%s", ttt); | ^~ ~~~ In file included from /usr/include/stdio.h:867, from /usr/include/curses.h:192, from dispdata.c:20: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 1 and 512 bytes into a destination of size 509 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -g -c services.c aarch64-linux-gnu-gcc -DVERSION='"1.3.1"' -DRELEASE='"2"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2/netwatch-1.3.1-2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -c netwatch.c netwatch.c: In function 'do_fifo': netwatch.c:679:4: warning: implicit declaration of function 'dokeyin' [-Wimplicit-function-declaration] 679 | dokeyin (keycomm[i]); | ^~~~~~~ netwatch.c: In function 'handlechild': netwatch.c:956:57: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'pid_t' {aka 'int'} [-Wformat=] 956 | "NETRESOLV normal termination... EXIT #%d for %ld", | ~~^ | | | long int | %d 957 | WEXITSTATUS (status), killpid); | ~~~~~~~ | | | pid_t {aka int} netwatch.c:964:61: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'pid_t' {aka 'int'} [-Wformat=] 964 | "NETRESOLV Abnormal termination... signal #%d for %ld", | ~~^ | | | long int | %d 965 | WTERMSIG (status), killpid); | ~~~~~~~ | | | pid_t {aka int} netwatch.c: In function 'intrhandle': netwatch.c:1172:5: warning: implicit declaration of function 'gh' [-Wimplicit-function-declaration] 1172 | gh (3); | ^~ netwatch.c: In function 'all_netins': netwatch.c:1889:12: warning: implicit declaration of function 'doeth' [-Wimplicit-function-declaration] 1889 | while (doeth()>=0) | ^~~~~ netwatch.c: In function 'main': netwatch.c:2195:27: warning: format '%u' expects argument of type 'unsigned int *', but argument 4 has type 'u_int16_t *' {aka 'short unsigned int *'} [-Wformat=] 2195 | if (sscanf(ssh_env,"%s %u %u",ssh_orig_addr_asc,&ssh_orig_port,&ssh_dest_port)!=3) | ~^ ~~~~~~~~~~~~~~ | | | | unsigned int * u_int16_t * {aka short unsigned int *} | %hu netwatch.c:2195:30: warning: format '%u' expects argument of type 'unsigned int *', but argument 5 has type 'u_int16_t *' {aka 'short unsigned int *'} [-Wformat=] 2195 | if (sscanf(ssh_env,"%s %u %u",ssh_orig_addr_asc,&ssh_orig_port,&ssh_dest_port)!=3) | ~^ ~~~~~~~~~~~~~~ | | | | unsigned int * u_int16_t * {aka short unsigned int *} | %hu netwatch.c: In function 'fixstr': netwatch.c:2659:9: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] 2659 | if (isalnum (*s) || isspace (*s) || ispunct (*s)) | ^~~~~~~ netwatch.c:2659:25: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 2659 | if (isalnum (*s) || isspace (*s) || ispunct (*s)) | ^~~~~~~ netwatch.c:2659:41: warning: implicit declaration of function 'ispunct' [-Wimplicit-function-declaration] 2659 | if (isalnum (*s) || isspace (*s) || ispunct (*s)) | ^~~~~~~ netwatch.c: In function 'dokeyin': netwatch.c:3977:9: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] 3977 | if (isdigit (in_char)) | ^~~~~~~ netwatch.c: In function 'do_fifo': netwatch.c:657:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 657 | read (fifo, &id, INTSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ netwatch.c:658:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 658 | read (fifo, &length, INTSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netwatch.c:661:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 661 | read (fifo, keycomm, length * INTSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netwatch.c: In function 'startnetresolv': netwatch.c:1048:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1048 | write (msocket[1], &one, sizeof (one)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netwatch.c: In function 'clearnetresolv': netwatch.c:1062:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1062 | write (msocket[1], &one, sizeof (one)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netwatch.c: In function 'mygethostbyaddr': netwatch.c:1081:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1081 | write (msocket[1], &one, sizeof (one)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netwatch.c: In function 'main': netwatch.c:1985:5: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 1985 | pipe (msocket); | ^~~~~~~~~~~~~~ netwatch.c:1986:5: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 1986 | pipe (osocket); | ^~~~~~~~~~~~~~ netwatch.c: In function 'gostats': netwatch.c:1267:32: warning: '%s' directive writing up to 79 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1267 | sprintf (newstatsfile, "%s.%s", statsfile, tarr); | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/curses.h:192, from netwatch.c:63: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 336 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netwatch.c:1299:31: warning: '.router.' directive writing 8 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1299 | sprintf (newstatsfile, "%s.router.%s", statsfile, tarr); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/curses.h:192, from netwatch.c:63: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 343 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netwatch.c: In function 'setupstatus': netwatch.c:1945:15: warning: '%s' directive writing up to 511 bytes into a region of size 500 [-Wformat-overflow=] 1945 | " WARNING %s VIA E-MAIL on NetBus or B.O. Attacks ", userwarn); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/curses.h:192, from netwatch.c:63: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 48 and 559 bytes into a destination of size 509 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netwatch.c: In function 'updatecurrent': netwatch.c:2926:33: warning: '%s' directive writing up to 511 bytes into a region of size 509 [-Wformat-overflow=] 2926 | sprintf (&status_lines[1][3], "%s", tmpbuf); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/curses.h:192, from netwatch.c:63: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 1 and 512 bytes into a destination of size 509 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netwatch.c:2970:33: warning: '%s' directive writing up to 511 bytes into a region of size 509 [-Wformat-overflow=] 2970 | sprintf (&status_lines[2][3], "%s", tmpbuf); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/curses.h:192, from netwatch.c:63: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 1 and 512 bytes into a destination of size 509 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2/netwatch-1.3.1-2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -c processinetrc.c aarch64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2/netwatch-1.3.1-2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -c gh.c gh.c: In function 'gh': gh.c:109:4: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 109 | fgets(saddr,256,pp); | ^~~~~~~~~~~~~~~~~~~ gh.c:126:23: warning: '%s' directive writing up to 255 bytes into a region of size 252 [-Wformat-overflow=] 126 | sprintf (&s[2], "%s <%s> Host:%s \n", | ^~ 127 | mh->h_name, saddr, lhostname); | ~~~~~ In file included from /usr/include/stdio.h:867, from gh.c:20: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 12 or more bytes (assuming 267) into a destination of size 254 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gh.c:110:26: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] 110 | sprintf(&s[2],"Rpm:%s %s",version,saddr); | ^~ ~~~~~ In file included from /usr/include/stdio.h:867, from gh.c:20: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 254 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2/netwatch-1.3.1-2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -c warning.c warning.c: In function 'warning': warning.c:40:7: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] 40 | dt = time(0); | ^~~~ warning.c:47:12: warning: implicit declaration of function 'ctime' [-Wimplicit-function-declaration] 47 | version,ctime(&dt)); | ^~~~~ warning.c:46:55: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] 46 | fprintf(tmpfp,"WARNING MESSAGE from Netwatch %s at %s\n", | ~^ | | | char * | %d 47 | version,ctime(&dt)); | ~~~~~~~~~~ | | | int warning.c:61:4: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration] 61 | system(command); | ^~~~~~ warning.c:63:3: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 63 | unlink(tmpname); | ^~~~~~ warning.c:60:26: warning: '%s' directive writing up to 255 bytes into a region of size 251 [-Wformat-overflow=] 60 | sprintf(command,"mail %s < %s&",warnto,tmpname); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from warning.c:4: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 520 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2/netwatch-1.3.1-2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -c semaphore.c aarch64-linux-gnu-gcc -DVERSION='"1.3.1"' -DRELEASE='"2"' -o netwatch -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2/netwatch-1.3.1-2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now curs.o dispdata.o services.o netwatch.o processinetrc.o gh.o warning.o semaphore.o -lpthread -lncurses aarch64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2/netwatch-1.3.1-2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -c netresolv.c netresolv.c: In function 'sigincatch': netresolv.c:166:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 166 | read(0,&entries[addedentries],sizeof(struct resolvaddr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netresolv.c: In function 'main': netresolv.c:335:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 335 | write(1,&finalentry,sizeof(finalentry)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -o netresolv -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2/netwatch-1.3.1-2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now netresolv.o make[1]: Leaving directory '/build/netdiag-1.2/netwatch-1.3.1-2' (cd tcpblast*; CFLAGS="`dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS`" make) make[1]: Entering directory '/build/netdiag-1.2/tcpblast-20011111' aarch64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2/tcpblast-20011111=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/local/include -Wall -g -O3 -DHAVE_CONFIG_H -DVERSION=\"20011111\" -I. -c -o tcpblast.o tcpblast.c tcpblast.c: In function 'main': tcpblast.c:581:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 581 | if (setbufsize < 0) bufsize = setbufsize = abs(setbufsize); break; | ^~ tcpblast.c:581:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 581 | if (setbufsize < 0) bufsize = setbufsize = abs(setbufsize); break; | ^~~~~ tcpblast.c:836:55: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 836 | if ( (dots) && ( (dots==1) || (wrblk%dots==1) ) ) write(1, ".", 1); | ^~~~~~~~~~~~~~~~ tcpblast.c:860:66: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 860 | if ( (dots) && ( (dots==1) || (rdblk%dots==1) ) && writing ) write(1, "\b \b", 1); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from tcpblast.c:23: In function 'strncpy', inlined from 'main' at tcpblast.c:530:3: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcpblast.c: In function 'main': tcpblast.c:804:31: warning: 'timecount.tv_usec' may be used uninitialized in this function [-Wmaybe-uninitialized] 804 | if ( (timecount.tv_sec<0) || (timecount.tv_usec<0) ) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ rm -f tcpblast aarch64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now -g -O3 -L/usr/local/lib -o tcpblast tcpblast.o aarch64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2/tcpblast-20011111=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/local/include -Wall -g -O3 -DHAVE_CONFIG_H -DVERSION=\"20011111\" -I. -c -o discard.o discard.c discard.c: In function 'process': discard.c:74:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 74 | write(fdout, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ discard.c: In function 'main': discard.c:189:15: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] 189 | if (!opt_fg) daemon(0, 1); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:495, from discard.c:21: In function 'strncpy', inlined from 'main' at discard.c:140:2: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 100 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f discard aarch64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now -g -O3 -L/usr/local/lib -o discard discard.o make[1]: Leaving directory '/build/netdiag-1.2/tcpblast-20011111' CFLAGS="`dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get LDFLAGS`" dh_auto_build --sourcedirectory netload* cd netload-1.2.2 && make -j8 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/netdiag-1.2/netload-1.2.2' gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now netload.c -o netload -lncurses netload.c: In function 'main': netload.c:162:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 162 | fread (content,1,PROC_DEV_SIZE,source); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netload.c: In function 'check_netloadrc': netload.c:550:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 550 | fread (content,filesize,1,source); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netload.c: In function 'mail_notify': netload.c:632:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 632 | fread (message,filesize,1,source); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/build/netdiag-1.2/netload-1.2.2' touch build-stamp fakeroot debian/rules binary dh_testdir # Add here commands to compile the package. CFLAGS="`dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get LDFLAGS`" dh_auto_build --sourcedirectory tcpspray* cd tcpspray && make -j8 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/netdiag-1.2/tcpspray' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/build/netdiag-1.2/tcpspray' CFLAGS="`dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get LDFLAGS`" dh_auto_build --sourcedirectory statnet* cd statnet-3.8 && make -j8 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/netdiag-1.2/statnet-3.8' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/build/netdiag-1.2/statnet-3.8' (cd trafshow*; make) make[1]: Entering directory '/build/netdiag-1.2/trafshow-5.2.3' make[1]: 'trafshow' is up to date. make[1]: Leaving directory '/build/netdiag-1.2/trafshow-5.2.3' (cd netwatch*; make) make[1]: Entering directory '/build/netdiag-1.2/netwatch-1.3.1-2' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/build/netdiag-1.2/netwatch-1.3.1-2' (cd tcpblast*; CFLAGS="`dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS`" make) make[1]: Entering directory '/build/netdiag-1.2/tcpblast-20011111' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/build/netdiag-1.2/tcpblast-20011111' CFLAGS="`dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get LDFLAGS`" dh_auto_build --sourcedirectory netload* cd netload-1.2.2 && make -j8 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/netdiag-1.2/netload-1.2.2' gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/netdiag-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now netload.c -o netload -lncurses netload.c: In function 'main': netload.c:162:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 162 | fread (content,1,PROC_DEV_SIZE,source); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netload.c: In function 'check_netloadrc': netload.c:550:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 550 | fread (content,filesize,1,source); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netload.c: In function 'mail_notify': netload.c:632:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 632 | fread (message,filesize,1,source); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/build/netdiag-1.2/netload-1.2.2' touch build-stamp dh_testdir dh_testroot dh_installdirs # Add here commands to install the package into debian/netdiag. (cd statnet*; \ make install INSTALLDIR=/build/netdiag-1.2/debian/netdiag/usr/sbin; \ mv /build/netdiag-1.2/debian/netdiag/usr/sbin/statnet /build/netdiag-1.2/debian/netdiag/usr/bin) make[1]: Entering directory '/build/netdiag-1.2/statnet-3.8' chmod a-w statnet statnetd chmod a+rx statnet statnetd chown root.root statnet statnetd mv statnet /build/netdiag-1.2/debian/netdiag/usr/sbin/statnet mv statnetd /build/netdiag-1.2/debian/netdiag/usr/sbin/statnetd make[1]: Leaving directory '/build/netdiag-1.2/statnet-3.8' (cd tcpspray; \ make install BINDIR=/build/netdiag-1.2/debian/netdiag/usr/bin) make[1]: Entering directory '/build/netdiag-1.2/tcpspray' install -c tcpspray /build/netdiag-1.2/debian/netdiag/usr/bin make[1]: Leaving directory '/build/netdiag-1.2/tcpspray' (cd netwatch*; \ make install INSTALLDIR=/build/netdiag-1.2/debian/netdiag/usr) make[1]: Entering directory '/build/netdiag-1.2/netwatch-1.3.1-2' install --owner=root --group=root --mode=0755 -d /build/netdiag-1.2/debian/netdiag/usr install --owner=root --group=root --mode=0755 -d /build/netdiag-1.2/debian/netdiag/usr/share/man/man1 install --owner=root --group=root --mode=0700 netwatch /build/netdiag-1.2/debian/netdiag/usr/sbin install --owner=root --group=root --mode=0700 netresolv /build/netdiag-1.2/debian/netdiag/usr/lib/netdiag install -D netwatch.1 /build/netdiag-1.2/debian/netdiag/usr/share/man/man1 gzip /build/netdiag-1.2/debian/netdiag/usr/share/man/man1/netwatch.1 make[1]: Leaving directory '/build/netdiag-1.2/netwatch-1.3.1-2' (cd trafshow*; \ make install prefix=/build/netdiag-1.2/debian/netdiag/usr \ MANDEST=/build/netdiag-1.2/debian/netdiag/usr/share/man \ BINDEST=/build/netdiag-1.2/debian/netdiag/usr/sbin) make[1]: Entering directory '/build/netdiag-1.2/trafshow-5.2.3' ./install-sh -c -m 555 -o bin -g bin trafshow /build/netdiag-1.2/debian/netdiag/usr/sbin/trafshow ./install-sh -c -m 444 -o bin -g bin trafshow.1 /build/netdiag-1.2/debian/netdiag/usr/share/man/man1/trafshow.1 [ -f /build/netdiag-1.2/debian/netdiag/usr/../etc/trafshow ] || ./install-sh -c -m 444 .trafshow /build/netdiag-1.2/debian/netdiag/usr/../etc/trafshow make[1]: Leaving directory '/build/netdiag-1.2/trafshow-5.2.3' (cd tcpblast*; \ make install prefix=/build/netdiag-1.2/debian/netdiag/usr \ mandir=/build/netdiag-1.2/debian/netdiag/usr/share/man) make[1]: Entering directory '/build/netdiag-1.2/tcpblast-20011111' ./shtool mkdir -f -p -m 755 /build/netdiag-1.2/debian/netdiag/usr/sbin /build/netdiag-1.2/debian/netdiag/usr/share/man/man8 ./shtool install -c -m 755 tcpblast /build/netdiag-1.2/debian/netdiag/usr/sbin/tcpblast ./shtool install -c -m 644 docs/tcpblast.8 /build/netdiag-1.2/debian/netdiag/usr/share/man/man8/tcpblast.8 echo Ignore error which may follow. Ignore error which may follow. cd /build/netdiag-1.2/debian/netdiag/usr/sbin; ln -s tcpblast udpblast make[1]: Leaving directory '/build/netdiag-1.2/tcpblast-20011111' (cd netload*; \ make install TARGET=/build/netdiag-1.2/debian/netdiag/usr/bin \ MANTARGET=/build/netdiag-1.2/debian/netdiag/usr/share/man/man1) make[1]: Entering directory '/build/netdiag-1.2/netload-1.2.2' install -m 755 netload /build/netdiag-1.2/debian/netdiag/usr/bin install -m 755 checkint /build/netdiag-1.2/debian/netdiag/usr/bin install -m 644 netload.1 /build/netdiag-1.2/debian/netdiag/usr/share/man/man1 make[1]: Leaving directory '/build/netdiag-1.2/netload-1.2.2' dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installexamples netwatch*/netwatch.conf.eg dh_install dh_installmenu dh_installsystemd dh_installdebconf dh_installinit dh_installman statnet*/statnet.1 tcpspray/tcpspray.1 dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'netdiag-dbgsym' in '../netdiag-dbgsym_1.2-1.1_arm64.deb'. dpkg-deb: building package 'netdiag' in '../netdiag_1.2-1.1_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../netdiag_1.2-1.1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . 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/22859/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/22859/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/22859 and its subdirectories I: Current time: Thu Sep 29 11:55:07 +14 2022 I: pbuilder-time-stamp: 1664402107