Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/n/netdiag/netdiag_1.2-1.1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/netdiag-1.2-1.1wlyq9tog/netdiag_1.2-1.1_amd64.buildinfo Get source package info: netdiag=1.2-1.1 Source URL: http://snapshot.notset.fr/mr/package/netdiag/1.2-1.1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-14 automake=1:1.16.3-2 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=11 base-passwd=3.5.48 bash=5.1-2 binutils=2.35.1-7 binutils-common=2.35.1-7 binutils-x86-64-linux-gnu=2.35.1-7 bsdextrautils=2.36.1-6 bsdutils=1:2.36.1-6 build-essential=12.9 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20200708+dd9ef66-5 debconf=1.5.74 debhelper=13.3.3 debianutils=4.11.2 dh-autoreconf=20 dh-strip-nondeterminism=1.11.0-1 diffstat=1.64-1 diffutils=1:3.7-5 dpkg=1.20.7.1 dpkg-dev=1.20.7.1 dwz=0.13+20210201-1 ed=1.17-1 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-4 gettext-base=0.21-4 grep=3.6-1 groff-base=1.22.4-6 gzip=1.10-2 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-10 libarchive-zip-perl=1.68-1 libasan6=10.2.1-6 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libbinutils=2.35.1-7 libblkid1=2.36.1-6 libbz2-1.0=1.0.8-4 libc-bin=2.31-9 libc-dev-bin=2.31-9 libc6=2.31-9 libc6-dev=2.31-9 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-6 libcom-err2=1.45.7-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-7 libctf0=2.35.1-7 libdb5.3=5.3.28+dfsg1-0.6 libdbus-1-3=1.12.20-1 libdbus-1-dev=1.12.20-1 libdebconfclient0=0.256 libdebhelper-perl=13.3.3 libdpkg-perl=1.20.7.1 libelf1=0.182+20210205-1 libffi7=3.3-5 libfile-stripnondeterminism-perl=1.11.0-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-2 libgdbm-compat4=1.19-2 libgdbm6=1.19-2 libglib2.0-0=2.66.6-1 libgmp10=2:6.2.1+dfsg-1 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-4 libicu67=67.1-6 libisl23=0.23-1 libitm1=10.2.1-6 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 liblsan0=10.2.1-6 liblz4-1=1.9.3-1 liblzma5=5.2.5-1.0 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmount1=2.36.1-6 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libncurses-dev=6.2+20201114-2 libncurses6=6.2+20201114-2 libncursesw6=6.2+20201114-2 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-4 libpam-modules-bin=1.4.0-4 libpam-runtime=1.4.0-4 libpam0g=1.4.0-4 libpcap0.8=1.10.0-2 libpcap0.8-dev=1.10.0-2 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.1-2 libpipeline1=1.5.3-1 libquadmath0=10.2.1-6 libseccomp2=2.5.1-1 libselinux1=3.1-2+b2 libsigsegv2=2.13-1 libsmartcols1=2.36.1-6 libssl1.1=1.1.1i-3 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-override-perl=0.09-2 libsystemd0=247.3-1 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.3-1 libunistring2=0.9.10-4 libuuid1=2.36.1-6 libxml2=2.9.10+dfsg-6.3+b1 libzstd1=1.4.8+dfsg-1 linux-libc-dev=5.10.12-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 patch=2.7.6-7 perl=5.32.1-2 perl-base=5.32.1-2 perl-modules-5.32=5.32.1-2 pkg-config=0.29.2-1 po-debconf=1.0.21+nmu1 quilt=0.66-2.1 sed=4.7-1 sensible-utils=0.0.14 sysvinit-utils=2.96-5 tar=1.32+dfsg-1 util-linux=2.36.1-6 xz-utils=5.2.5-1.0 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210208T090226Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210205T151755Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d netdiag=1.2-1.1 && mkdir -p /build/netdiag-i25QjI && dpkg-source --no-check -x /*.dsc /build/netdiag-i25QjI/netdiag-1.2 && chown -R builduser:builduser /build/netdiag-i25QjI" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/netdiag-i25QjI/netdiag-1.2 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1612651250" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/netdiag-i25QjI /tmp/netdiag-1.2-1.1wlyq9tog bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210205T151755Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.bqFJPtzme_ as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.bqFJPtzme_ Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-6). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210205T151755Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210205T151755Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (1103 kB/s) Selecting previously unselected package libfakeroot: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 ... 4663 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-9) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210208T090226Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210205T151755Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.bqFJPtzme_ Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210208T090226Z unstable InRelease [153 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20210205T151755Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20210208T090226Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210208T090226Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210208T090226Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20210208T090226Z unstable/main amd64 Packages [11.7 MB] Fetched 34.4 MB in 31s (1102 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.bqFJPtzme_ I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d netdiag=1.2-1.1 && mkdir -p /build/netdiag-i25QjI && dpkg-source --no-check -x /*.dsc /build/netdiag-i25QjI/netdiag-1.2 && chown -R builduser:builduser /build/netdiag-i25QjI"' exec /tmp/mmdebstrap.bqFJPtzme_ Reading package lists... Need to get 685 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main netdiag 1.2-1.1 (dsc) [1690 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main netdiag 1.2-1.1 (tar) [596 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main netdiag 1.2-1.1 (diff) [87.5 kB] Fetched 685 kB in 1s (1148 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'netdiag_1.2-1.1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting netdiag in /build/netdiag-i25QjI/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: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/netdiag-i25QjI/netdiag-1.2 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1612651250" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.bqFJPtzme_ 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 amd64 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-i25QjI/netdiag-1.2/tcpspray' rm -f tcpspray *.o *~ #* core make[1]: Leaving directory '/build/netdiag-i25QjI/netdiag-1.2/tcpspray' (cd statnet*; make clean; rm -f statnet.1 statnet.lsm) make[1]: Entering directory '/build/netdiag-i25QjI/netdiag-1.2/statnet-3.8' rm -f *.o statnet statnetd statnet.shar statnet*.tgz make[1]: Leaving directory '/build/netdiag-i25QjI/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-i25QjI/netdiag-1.2/netwatch-1.3.1-2' make[1]: *** No rule to make target 'clean'. Stop. make[1]: Leaving directory '/build/netdiag-i25QjI/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-i25QjI/netdiag-1.2/netload-1.2.2' rm -f ./netload make[1]: Leaving directory '/build/netdiag-i25QjI/netdiag-1.2/netload-1.2.2' debconf-updatepo dh_clean debian/rules build-arch 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=x86_64-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/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-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="x86_64-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... x86_64-linux-gnu-gcc checking whether the C compiler (x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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 (x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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 x86_64-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... x86_64-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 x86_64-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="x86_64-linux-gnu-gcc" no_libnsl=yes ./configure creating cache ./config.cache checking for gcc... x86_64-linux-gnu-gcc checking whether the C compiler (x86_64-linux-gnu-gcc -I/usr/local/include -L/usr/local/lib) works... yes checking whether the C compiler (x86_64-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 x86_64-linux-gnu-gcc accepts -g... yes checking host system type... x86_64-pc-linux-gnu checking for socket in -lsocket... no checking how to run the C preprocessor... x86_64-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 -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/netdiag-i25QjI/netdiag-1.2/tcpspray' gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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-i25QjI/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 -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/netdiag-i25QjI/netdiag-1.2/statnet-3.8' gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 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[]) | ^~~~ 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 ); | ^~~~~~~~~~~~~ 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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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 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 ) | ^~~~~~~~~~~ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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 gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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 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 */ | ^~~~~ itstime.c: In function ‘itstime’: itstime.c:50:2: warning: implicit declaration of function ‘alarm’ [-Wimplicit-function-declaration] 50 | alarm (SN_STATS_SECS); | ^~~~~ 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 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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 gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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 gcc -o statnet -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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-i25QjI/netdiag-1.2/statnet-3.8' (cd trafshow*; make) make[1]: Entering directory '/build/netdiag-i25QjI/netdiag-1.2/trafshow-5.2.3' gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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 -ffile-prefix-map=/build/netdiag-i25QjI/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-i25QjI/netdiag-1.2/trafshow-5.2.3' (cd netwatch*; make) make[1]: Entering directory '/build/netdiag-i25QjI/netdiag-1.2/netwatch-1.3.1-2' x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/netdiag-1.2/netwatch-1.3.1-2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -c curs.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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/x86_64-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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -c services.c x86_64-linux-gnu-gcc -DVERSION='"1.3.1"' -DRELEASE='"2"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/netdiag-1.2/netwatch-1.3.1-2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -c processinetrc.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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/x86_64-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/x86_64-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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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/x86_64-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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/netdiag-1.2/netwatch-1.3.1-2=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -c semaphore.c x86_64-linux-gnu-gcc -DVERSION='"1.3.1"' -DRELEASE='"2"' -o netwatch -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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 x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -o netresolv -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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-i25QjI/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-i25QjI/netdiag-1.2/tcpblast-20011111' x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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/x86_64-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 x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now -g -O3 -L/usr/local/lib -o tcpblast tcpblast.o x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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/x86_64-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 x86_64-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-i25QjI/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 -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/netdiag-i25QjI/netdiag-1.2/netload-1.2.2' gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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-i25QjI/netdiag-1.2/netload-1.2.2' touch build-stamp fakeroot debian/rules binary-arch 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 -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/netdiag-i25QjI/netdiag-1.2/tcpspray' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/build/netdiag-i25QjI/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 -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/netdiag-i25QjI/netdiag-1.2/statnet-3.8' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/build/netdiag-i25QjI/netdiag-1.2/statnet-3.8' (cd trafshow*; make) make[1]: Entering directory '/build/netdiag-i25QjI/netdiag-1.2/trafshow-5.2.3' make[1]: 'trafshow' is up to date. make[1]: Leaving directory '/build/netdiag-i25QjI/netdiag-1.2/trafshow-5.2.3' (cd netwatch*; make) make[1]: Entering directory '/build/netdiag-i25QjI/netdiag-1.2/netwatch-1.3.1-2' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/build/netdiag-i25QjI/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-i25QjI/netdiag-1.2/tcpblast-20011111' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/build/netdiag-i25QjI/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 -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/netdiag-i25QjI/netdiag-1.2/netload-1.2.2' gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/netdiag-i25QjI/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-i25QjI/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-i25QjI/netdiag-1.2/debian/netdiag/usr/sbin; \ mv /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/sbin/statnet /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/bin) make[1]: Entering directory '/build/netdiag-i25QjI/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-i25QjI/netdiag-1.2/debian/netdiag/usr/sbin/statnet mv statnetd /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/sbin/statnetd make[1]: Leaving directory '/build/netdiag-i25QjI/netdiag-1.2/statnet-3.8' (cd tcpspray; \ make install BINDIR=/build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/bin) make[1]: Entering directory '/build/netdiag-i25QjI/netdiag-1.2/tcpspray' install -c tcpspray /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/bin make[1]: Leaving directory '/build/netdiag-i25QjI/netdiag-1.2/tcpspray' (cd netwatch*; \ make install INSTALLDIR=/build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr) make[1]: Entering directory '/build/netdiag-i25QjI/netdiag-1.2/netwatch-1.3.1-2' install --owner=root --group=root --mode=0755 -d /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr install --owner=root --group=root --mode=0755 -d /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/share/man/man1 install --owner=root --group=root --mode=0700 netwatch /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/sbin install --owner=root --group=root --mode=0700 netresolv /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/lib/netdiag install -D netwatch.1 /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/share/man/man1 gzip /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/share/man/man1/netwatch.1 make[1]: Leaving directory '/build/netdiag-i25QjI/netdiag-1.2/netwatch-1.3.1-2' (cd trafshow*; \ make install prefix=/build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr \ MANDEST=/build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/share/man \ BINDEST=/build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/sbin) make[1]: Entering directory '/build/netdiag-i25QjI/netdiag-1.2/trafshow-5.2.3' ./install-sh -c -m 555 -o bin -g bin trafshow /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/sbin/trafshow ./install-sh -c -m 444 -o bin -g bin trafshow.1 /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/share/man/man1/trafshow.1 [ -f /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/../etc/trafshow ] || ./install-sh -c -m 444 .trafshow /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/../etc/trafshow make[1]: Leaving directory '/build/netdiag-i25QjI/netdiag-1.2/trafshow-5.2.3' (cd tcpblast*; \ make install prefix=/build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr \ mandir=/build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/share/man) make[1]: Entering directory '/build/netdiag-i25QjI/netdiag-1.2/tcpblast-20011111' ./shtool mkdir -f -p -m 755 /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/sbin /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/share/man/man8 ./shtool install -c -m 755 tcpblast /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/sbin/tcpblast ./shtool install -c -m 644 docs/tcpblast.8 /build/netdiag-i25QjI/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-i25QjI/netdiag-1.2/debian/netdiag/usr/sbin; ln -s tcpblast udpblast make[1]: Leaving directory '/build/netdiag-i25QjI/netdiag-1.2/tcpblast-20011111' (cd netload*; \ make install TARGET=/build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/bin \ MANTARGET=/build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/share/man/man1) make[1]: Entering directory '/build/netdiag-i25QjI/netdiag-1.2/netload-1.2.2' install -m 755 netload /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/bin install -m 755 checkint /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/bin install -m 644 netload.1 /build/netdiag-i25QjI/netdiag-1.2/debian/netdiag/usr/share/man/man1 make[1]: Leaving directory '/build/netdiag-i25QjI/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_amd64.deb'. dpkg-deb: building package 'netdiag' in '../netdiag_1.2-1.1_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../netdiag_1.2-1.1_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/netdiag-i25QjI /tmp/netdiag-1.2-1.1wlyq9tog I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.bqFJPtzme_... I: success in 369.4757 seconds md5: netdiag-dbgsym_1.2-1.1_amd64.deb: OK md5: netdiag_1.2-1.1_amd64.deb: OK sha1: netdiag-dbgsym_1.2-1.1_amd64.deb: OK sha1: netdiag_1.2-1.1_amd64.deb: OK sha256: netdiag-dbgsym_1.2-1.1_amd64.deb: OK sha256: netdiag_1.2-1.1_amd64.deb: OK Checksums: OK