Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/b/bandwidthd/bandwidthd_2.0.1+cvs20090917-13_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/bandwidthd-2.0.1+cvs20090917-13fiow3awq/bandwidthd_2.0.1+cvs20090917-13_amd64.buildinfo Get source package info: bandwidthd=2.0.1+cvs20090917-13 Source URL: http://snapshot.notset.fr/mr/package/bandwidthd/2.0.1+cvs20090917-13/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.49 bash=5.1-2 binutils=2.35.1-7 binutils-common=2.35.1-7 binutils-x86-64-linux-gnu=2.35.1-7 bison=2:3.7.5+dfsg-1 bsdextrautils=2.36.1-7 bsdutils=1:2.36.1-7 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 diffutils=1:3.7-5 dpkg=1.20.7.1 dpkg-dev=1.20.7.1 dwz=0.13+20210201-1 file=1:5.39-3 findutils=4.8.0-1 flex=2.6.4-8 fontconfig-config=2.13.1-4.2 fonts-dejavu-core=2.37-2 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-7 libbrotli-dev=1.0.9-2+b2 libbrotli1=1.0.9-2+b2 libbsd0=0.11.3-1 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.46.1-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.8 libdbus-1-3=1.12.20-1 libdbus-1-dev=1.12.20-1 libdebconfclient0=0.256 libdebhelper-perl=13.3.3 libdeflate-dev=1.7-1 libdeflate0=1.7-1 libdpkg-perl=1.20.7.1 libelf1=0.183-1 libexpat1=2.2.10-1 libexpat1-dev=2.2.10-1 libffi7=3.3-5 libfile-stripnondeterminism-perl=1.11.0-1 libfontconfig-dev=2.13.1-4.2 libfontconfig1=2.13.1-4.2 libfreetype-dev=2.10.4+dfsg-1 libfreetype6=2.10.4+dfsg-1 libfreetype6-dev=2.10.4+dfsg-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-2 libgd-dev=2.3.0-2 libgd3=2.3.0-2 libgdbm-compat4=1.19-2 libgdbm6=1.19-2 libglib2.0-0=2.66.7-1 libgmp10=2:6.2.1+dfsg-1 libgnutls30=3.7.0-6 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-4 libhogweed6=3.7-2 libice-dev=2:1.0.10-1 libice6=2:1.0.10-1 libicu67=67.1-6 libidn2-0=2.3.0-5 libisl23=0.23-1 libitm1=10.2.1-6 libjbig-dev=2.1-3.1+b2 libjbig0=2.1-3.1+b2 libjpeg-dev=1:2.0.5-2 libjpeg62-turbo=1:2.0.5-2 libjpeg62-turbo-dev=1:2.0.5-2 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 libldap-2.4-2=2.4.57+dfsg-1 liblsan0=10.2.1-6 liblz4-1=1.9.3-1 liblzma-dev=5.2.5-1.0 liblzma5=5.2.5-1.0 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmd0=1.0.3-3 libmount1=2.36.1-7 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnettle8=3.7-2 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libp11-kit0=0.23.22-1 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 libpng-dev=1.6.37-3 libpng16-16=1.6.37-3 libpq-dev=13.2-1 libpq5=13.2-1 libpthread-stubs0-dev=0.4-1 libquadmath0=10.2.1-6 libsasl2-2=2.1.27+dfsg-2 libsasl2-modules-db=2.1.27+dfsg-2 libseccomp2=2.5.1-1 libselinux1=3.1-3 libsigsegv2=2.13-1 libsm-dev=2:1.2.3-1 libsm6=2:1.2.3-1 libsmartcols1=2.36.1-7 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 libtasn1-6=4.16.0-2 libtiff-dev=4.2.0-1 libtiff5=4.2.0-1 libtiffxx5=4.2.0-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-7 libvpx-dev=1.9.0-1 libvpx6=1.9.0-1 libwebp6=0.6.1-2+b1 libx11-6=2:1.7.0-2 libx11-data=2:1.7.0-2 libx11-dev=2:1.7.0-2 libxau-dev=1:1.0.9-1 libxau6=1:1.0.9-1 libxcb1=1.14-3 libxcb1-dev=1.14-3 libxdmcp-dev=1:1.1.2-3 libxdmcp6=1:1.1.2-3 libxml2=2.9.10+dfsg-6.3+b1 libxpm-dev=1:3.5.12-1 libxpm4=1:3.5.12-1 libxt-dev=1:1.2.0-1 libxt6=1:1.2.0-1 libzstd1=1.4.8+dfsg-1 linux-libc-dev=5.10.13-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.4-1 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 sed=4.7-1 sensible-utils=0.0.14 sysvinit-utils=2.96-5 tar=1.32+dfsg-1 ucf=3.0043 util-linux=2.36.1-7 uuid-dev=2.36.1-7 x11-common=1:7.7+21 x11proto-dev=2020.1-1 xorg-sgml-doctools=1:1.11-1.1 xtrans-dev=1.4.0-1 xz-utils=5.2.5-1.0 zlib1g=1:1.2.11.dfsg-2 zlib1g-dev=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/20210212T095132Z/ 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 bandwidthd=2.0.1+cvs20090917-13 && mkdir -p /build/bandwidthd-HQaWTX && dpkg-source --no-check -x /*.dsc /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917 && chown -R builduser:builduser /build/bandwidthd-HQaWTX" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1613119390" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/bandwidthd-HQaWTX /tmp/bandwidthd-2.0.1+cvs20090917-13fiow3awq bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210212T095132Z 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.w6dYrxbau4 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.w6dYrxbau4 Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-7). 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/20210212T095132Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210212T095132Z 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 (847 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 ... 4662 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/20210212T095132Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.w6dYrxbau4 Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20210212T095132Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 19s (1169 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.w6dYrxbau4 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d bandwidthd=2.0.1+cvs20090917-13 && mkdir -p /build/bandwidthd-HQaWTX && dpkg-source --no-check -x /*.dsc /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917 && chown -R builduser:builduser /build/bandwidthd-HQaWTX"' exec /tmp/mmdebstrap.w6dYrxbau4 Reading package lists... Need to get 162 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main bandwidthd 2.0.1+cvs20090917-13 (dsc) [2015 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main bandwidthd 2.0.1+cvs20090917-13 (tar) [112 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main bandwidthd 2.0.1+cvs20090917-13 (diff) [47.3 kB] Fetched 162 kB in 0s (936 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'bandwidthd_2.0.1+cvs20090917-13.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting bandwidthd in /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917 dpkg-source: info: unpacking bandwidthd_2.0.1+cvs20090917.orig.tar.gz dpkg-source: info: unpacking bandwidthd_2.0.1+cvs20090917-13.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-Disable-installation-of-bandwidthd.conf-from-orig-so.patch dpkg-source: info: applying 0002-fix-version-in-configure-script.patch dpkg-source: info: applying 0003-Add-configure-option-for-pgsql-support.patch dpkg-source: info: applying 0004-Include-filename-in-syntax-error-logging.patch dpkg-source: info: applying 0005-Add-missing-MAIL-table-header-to-generated-static-ht.patch dpkg-source: info: applying 0006-Add-missing-comma-to-fix-syntax-in-created-CDF-files.patch dpkg-source: info: applying 0007-Fix-recover-CDF-option.patch dpkg-source: info: applying 0008-Fix-subnet-reporting-in-syslog-message.patch dpkg-source: info: applying 0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch dpkg-source: info: applying 0010-Add-proper-script-header-and-use-for-loop-since-echo.patch dpkg-source: info: applying 0011-Fetch-database-credentials-from-external-file.patch dpkg-source: info: applying fix-gcc-5-ftbfs.patch dpkg-source: info: applying convert_short_php_syntax_to_long.patch dpkg-source: info: applying replace_depricated_HTTP_GET_VARS_by_GET.patch dpkg-source: info: applying fix-gcc-10-ftbfs.patch dpkg-source: info: applying cross.patch dpkg-source: info: applying vlan.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1613119390" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.w6dYrxbau4 dpkg-buildpackage: info: source package bandwidthd dpkg-buildpackage: info: source version 2.0.1+cvs20090917-13 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andreas Henriksson dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot debconf-updatepo # update debian/po/templates.pot [ ! -f Makefile ] || /usr/bin/make distclean dh_autoreconf_clean rm -f build-stamp configure-stamp rm -f config.guess config.sub rm -f configure-*-stamp rm -f conf.l.* conf.tab.* rm -f config.log config.h config.status dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules build-arch make: Nothing to be done for 'build-arch'. fakeroot debian/rules binary-arch dh_testdir dh_testroot dh_prep dh_installdirs dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 9 in use) /usr/bin/make -f debian/rules install-bwdstatic make[1]: Entering directory '/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917' dh_testdir #[ ! -f Makefile ] || /usr/bin/make clean cp -f /usr/share/misc/config.guess config.guess cp -f /usr/share/misc/config.sub config.sub dh_autoreconf chmod +x configure INSTALL='install --strip-program=true' dh_auto_configure -- --bindir=/usr/sbin/ --sysconfdir=/etc/bandwidthd/ --localstatedir=/var/lib/ --disable-pgsql dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use) ./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 --disable-maintainer-mode --disable-dependency-tracking --bindir=/usr/sbin/ --sysconfdir=/etc/bandwidthd/ --localstatedir=/var/lib/ --disable-pgsql checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for bison... bison -y 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 a BSD-compatible install... install --strip-program=true checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking how to run the C preprocessor... gcc -E checking for X... libraries , headers ./configure: line 3814: test: /usr/pkg/lib: binary operator expected ./configure: line 3815: test: /usr/pkg/include: binary operator expected checking for connect in -lsocket... no checking for gethostbyname in -lnsl... yes checking for inet_aton in -lresolv... yes checking for pow in -lm... yes checking for libiconv_open in -liconv... no checking for png_read_info in -lpng... yes checking for gdImageCreate in -lgd... yes checking for pcap_open_live in -lpcap... yes checking for pg_config... /usr/bin/pg_config checking for dirent.h that defines DIR... yes checking for library containing opendir... none required 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 gd.h usability... yes checking gd.h presence... yes checking for gd.h... yes checking gdfonts.h usability... yes checking gdfonts.h presence... yes checking for gdfonts.h... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking for resolv.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tcphdr.source... yes checking for struct tcphdr.th_sport... yes checking for struct tcphdr.dest... yes checking for struct tcphdr.th_dport... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... yes checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for alarm... (cached) yes checking for gethostbyaddr... yes checking for inet_ntoa... yes checking for memset... yes checking for strdup... yes checking for strftime... yes checking for pcap_findalldevs... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h touch configure-bwdstatic-stamp dh_testdir # Add here commands to compile the package. /usr/bin/make make[2]: Entering directory '/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917' gcc -Wall -g -O2 -ffile-prefix-map=/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -DHAVE_CONFIG_H -c -o bandwidthd.o bandwidthd.c bandwidthd.c: In function ‘main’: bandwidthd.c:474:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 474 | if (pcap_setfilter(pd, &fcode) < 0) | ^~ bandwidthd.c:477:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 477 | switch (DataLink = pcap_datalink(pd)) | ^~~~~~ bandwidthd.c: At top level: bandwidthd.c:1263:16: warning: ‘last_error’ is static but declared in inline function ‘FindIp’ which is not static 1263 | static time_t last_error = 0; | ^~~~~~~~~~ In file included from bandwidthd.c:1: bandwidthd.h:249:17: warning: inline function ‘DstCredit’ declared but never defined 249 | inline void DstCredit(uint32_t ipaddr, unsigned int psize); | ^~~~~~~~~ In file included from bandwidthd.c:1: bandwidthd.h:233:17: warning: inline function ‘IpAddr’ declared but never defined 233 | inline uint32_t IpAddr(unsigned char q1, unsigned char q2, unsigned char q3, unsigned char q4); | ^~~~~~ bandwidthd.c: In function ‘WriteOutWebpages’: bandwidthd.c:155:10: warning: ignoring return value of ‘nice’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 155 | nice(4); // reduce priority so I don't choke out other tasks | ^~~~~~~ bandwidthd.c: In function ‘main’: bandwidthd.c:528:2: warning: ignoring return value of ‘nice’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 528 | nice(1); | ^~~~~~~ In file included from /usr/include/string.h:495, from bandwidthd.h:10, from bandwidthd.c:1: In function ‘strncpy’, inlined from ‘main’ at bandwidthd.c:386:3: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘main’ at bandwidthd.c:387:3: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -g -O2 -ffile-prefix-map=/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -DHAVE_CONFIG_H -c -o graph.o graph.c graph.c: In function ‘GraphIp’: graph.c:390:9: warning: variable ‘white’ set but not used [-Wunused-but-set-variable] 390 | int white; | ^~~~~ graph.c: In function ‘GraphData’: graph.c:730:57: warning: pointer targets in passing argument 5 of ‘gdImageString’ differ in signedness [-Wpointer-sign] 730 | gdImageString(im, gdFontSmall, XOFFSET+5, YHEIGHT-20, Buffer, black); | ^~~~~~ | | | char * In file included from bandwidthd.h:48, from graph.c:12: /usr/include/gd.h:742:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 742 | unsigned char *s, int color); | ~~~~~~~~~~~~~~~^ graph.c:731:66: warning: pointer targets in passing argument 5 of ‘gdImageString’ differ in signedness [-Wpointer-sign] 731 | gdImageString(im, gdFontSmall, XWIDTH/2+XOFFSET/2, YHEIGHT-20, Buffer2, black); | ^~~~~~~ | | | char * In file included from bandwidthd.h:48, from graph.c:12: /usr/include/gd.h:742:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 742 | unsigned char *s, int color); | ~~~~~~~~~~~~~~~^ graph.c:745:61: warning: pointer targets in passing argument 5 of ‘gdImageString’ differ in signedness [-Wpointer-sign] 745 | gdImageString(im2, gdFontSmall, XOFFSET+5, YHEIGHT-20, Buffer, black2); | ^~~~~~ | | | char * In file included from bandwidthd.h:48, from graph.c:12: /usr/include/gd.h:742:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 742 | unsigned char *s, int color); | ~~~~~~~~~~~~~~~^ graph.c:746:70: warning: pointer targets in passing argument 5 of ‘gdImageString’ differ in signedness [-Wpointer-sign] 746 | gdImageString(im2, gdFontSmall, XWIDTH/2+XOFFSET/2, YHEIGHT-20, Buffer2, black2); | ^~~~~~~ | | | char * In file included from bandwidthd.h:48, from graph.c:12: /usr/include/gd.h:742:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 742 | unsigned char *s, int color); | ~~~~~~~~~~~~~~~^ graph.c:492:24: warning: variable ‘orange2’ set but not used [-Wunused-but-set-variable] 492 | int blue2, lblue2, orange2, red2, yellow2, purple2, green2, brown2, black2; | ^~~~~~~ graph.c: In function ‘PrepareYAxis’: graph.c:795:48: warning: pointer targets in passing argument 5 of ‘gdImageString’ differ in signedness [-Wpointer-sign] 795 | gdImageString(im, gdFontSmall, 3, y-7, buffer, black); | ^~~~~~ | | | char * In file included from bandwidthd.h:48, from graph.c:12: /usr/include/gd.h:742:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 742 | unsigned char *s, int color); | ~~~~~~~~~~~~~~~^ graph.c: In function ‘PrepareXAxis’: graph.c:847:68: warning: pointer targets in passing argument 5 of ‘gdImageString’ differ in signedness [-Wpointer-sign] 847 | gdImageString(im, gdFontSmall, x-30, YHEIGHT-YOFFSET+10, buffer, black); | ^~~~~~ | | | char * In file included from bandwidthd.h:48, from graph.c:12: /usr/include/gd.h:742:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 742 | unsigned char *s, int color); | ~~~~~~~~~~~~~~~^ graph.c:881:67: warning: pointer targets in passing argument 5 of ‘gdImageString’ differ in signedness [-Wpointer-sign] 881 | gdImageString(im, gdFontSmall, x-6, YHEIGHT-YOFFSET+10, buffer, black); | ^~~~~~ | | | char * In file included from bandwidthd.h:48, from graph.c:12: /usr/include/gd.h:742:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 742 | unsigned char *s, int color); | ~~~~~~~~~~~~~~~^ graph.c:805:26: warning: variable ‘sample_end’ set but not used [-Wunused-but-set-variable] 805 | time_t sample_begin, sample_end; | ^~~~~~~~~~ In file included from graph.c:12: graph.c: At top level: bandwidthd.h:249:17: warning: inline function ‘DstCredit’ declared but never defined 249 | inline void DstCredit(uint32_t ipaddr, unsigned int psize); | ^~~~~~~~~ In file included from graph.c:12: bandwidthd.h:236:23: warning: inline function ‘FindIp’ declared but never defined 236 | inline struct IPData *FindIp(uint32_t ipaddr); | ^~~~~~ bandwidthd.h:233:17: warning: inline function ‘IpAddr’ declared but never defined 233 | inline uint32_t IpAddr(unsigned char q1, unsigned char q2, unsigned char q3, unsigned char q4); | ^~~~~~ bison -y -pbdconfig_ -d conf.y mv y.tab.c conf.tab.c mv y.tab.h conf.tab.h gcc -Wall -g -O2 -ffile-prefix-map=/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -DHAVE_CONFIG_H -c -o conf.tab.o conf.tab.c In file included from conf.y:12: bandwidthd.h:249:17: warning: inline function ‘DstCredit’ declared but never defined 249 | inline void DstCredit(uint32_t ipaddr, unsigned int psize); | ^~~~~~~~~ In file included from conf.y:12: bandwidthd.h:236:23: warning: inline function ‘FindIp’ declared but never defined 236 | inline struct IPData *FindIp(uint32_t ipaddr); | ^~~~~~ bandwidthd.h:233:17: warning: inline function ‘IpAddr’ declared but never defined 233 | inline uint32_t IpAddr(unsigned char q1, unsigned char q2, unsigned char q3, unsigned char q4); | ^~~~~~ flex -Pbdconfig_ -s -i -t -I conf.l > conf.l.c gcc -g -O2 -ffile-prefix-map=/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -DHAVE_CONFIG_H -c -o conf.l.o conf.l.c gcc -Wall -g -O2 -ffile-prefix-map=/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -DHAVE_CONFIG_H -c -o pgsql.o pgsql.c In file included from pgsql.c:1: bandwidthd.h:249:17: warning: inline function ‘DstCredit’ declared but never defined 249 | inline void DstCredit(uint32_t ipaddr, unsigned int psize); | ^~~~~~~~~ In file included from pgsql.c:1: bandwidthd.h:236:23: warning: inline function ‘FindIp’ declared but never defined 236 | inline struct IPData *FindIp(uint32_t ipaddr); | ^~~~~~ bandwidthd.h:233:17: warning: inline function ‘IpAddr’ declared but never defined 233 | inline uint32_t IpAddr(unsigned char q1, unsigned char q2, unsigned char q3, unsigned char q4); | ^~~~~~ pgsql.c:418:13: warning: ‘pgsqllngjmp’ defined but not used [-Wunused-function] 418 | static void pgsqllngjmp(int signal) | ^~~~~~~~~~~ gcc -Wall -g -O2 -ffile-prefix-map=/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -DHAVE_CONFIG_H -c -o extensions.o extensions.c In file included from extensions.c:1: bandwidthd.h:249:17: warning: inline function ‘DstCredit’ declared but never defined 249 | inline void DstCredit(uint32_t ipaddr, unsigned int psize); | ^~~~~~~~~ In file included from extensions.c:1: bandwidthd.h:236:23: warning: inline function ‘FindIp’ declared but never defined 236 | inline struct IPData *FindIp(uint32_t ipaddr); | ^~~~~~ bandwidthd.h:233:17: warning: inline function ‘IpAddr’ declared but never defined 233 | inline uint32_t IpAddr(unsigned char q1, unsigned char q2, unsigned char q3, unsigned char q4); | ^~~~~~ gcc -Wall -g -O2 -ffile-prefix-map=/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -DHAVE_CONFIG_H bandwidthd.o graph.o conf.tab.o conf.l.o pgsql.o extensions.o -o bandwidthd -Wl,-z,relro -L/usr/local/lib -lpcap -lgd -lpng -lm -lresolv -lnsl make[2]: Leaving directory '/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917' touch build-stamp # Add here commands to install the package into debian/bandwidthd. /usr/bin/make install DESTDIR=/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917/debian/bandwidthd make[2]: Entering directory '/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917' install --strip-program=true -d /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917/debian/bandwidthd/usr/sbin install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -d /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917/debian/bandwidthd/etc/bandwidthd install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -d /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917/debian/bandwidthd/var/lib/bandwidthd/htdocs install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -m755 -s bandwidthd /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917/debian/bandwidthd/usr/sbin #if [ ! -f /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917/debian/bandwidthd/etc/bandwidthd/bandwidthd.conf ] ; then install --strip-program=true -m644 etc/bandwidthd.conf /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917/debian/bandwidthd/etc/bandwidthd; fi install --strip-program=true -m644 htdocs/legend.gif /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917/debian/bandwidthd/var/lib/bandwidthd/htdocs install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -m644 htdocs/logo.gif /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917/debian/bandwidthd/var/lib/bandwidthd/htdocs install: WARNING: ignoring --strip-program option as -s option was not specified make[2]: Leaving directory '/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917' # install bandwidthd.conf template mkdir -p debian/bandwidthd/usr/share/bandwidthd/ install -m 644 -o root -g root debian/extras/bandwidthd.conf.template \ debian/bandwidthd/usr/share/bandwidthd/ # install apache2 config mkdir -p debian/bandwidthd/etc/apache2/conf-available/ install -m 644 -o root -g root debian/extras/apache2.conf \ debian/bandwidthd/etc/apache2/conf-available/bandwidthd.conf # Install debconf files for bandwidthd dh_installdebconf --mainpackage=bandwidthd # Install init.d script for bandwidthd dh_installinit --name=bandwidthd --mainpackage=bandwidthd dh_installinit: warning: Compatibility levels before 10 are deprecated (level 9 in use) # Install manpages for bandwidthd dh_installman --mainpackage=bandwidthd dh_installman: warning: Compatibility levels before 10 are deprecated (level 9 in use) make[1]: Leaving directory '/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917' /usr/bin/make clean make[1]: Entering directory '/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917' rm -f *.o bandwidthd *~ DEADJOE core make[1]: Leaving directory '/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917' /usr/bin/make -f debian/rules install-bwdpgsql make[1]: Entering directory '/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917' dh_testdir #[ ! -f Makefile ] || /usr/bin/make clean [ ! -f /usr/share/misc/config.guess ] || cp -f /usr/share/misc/config.guess config.guess [ ! -f /usr/share/misc/config.sub ] || cp -f /usr/share/misc/config.sub config.sub chmod +x configure INSTALL='install --strip-program=true' dh_auto_configure -- --bindir=/usr/sbin/ --sysconfdir=/etc/bandwidthd/ --localstatedir=/var/lib/ --enable-pgsql dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use) ./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 --disable-maintainer-mode --disable-dependency-tracking --bindir=/usr/sbin/ --sysconfdir=/etc/bandwidthd/ --localstatedir=/var/lib/ --enable-pgsql checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for bison... bison -y 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 a BSD-compatible install... install --strip-program=true checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking how to run the C preprocessor... gcc -E checking for X... libraries , headers ./configure: line 3814: test: /usr/pkg/lib: binary operator expected ./configure: line 3815: test: /usr/pkg/include: binary operator expected checking for connect in -lsocket... no checking for gethostbyname in -lnsl... yes checking for inet_aton in -lresolv... yes checking for pow in -lm... yes checking for libiconv_open in -liconv... no checking for png_read_info in -lpng... yes checking for gdImageCreate in -lgd... yes checking for pcap_open_live in -lpcap... yes checking for pg_config... /usr/bin/pg_config checking for dirent.h that defines DIR... yes checking for library containing opendir... none required 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 gd.h usability... yes checking gd.h presence... yes checking for gd.h... yes checking gdfonts.h usability... yes checking gdfonts.h presence... yes checking for gdfonts.h... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking for resolv.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tcphdr.source... yes checking for struct tcphdr.th_sport... yes checking for struct tcphdr.dest... yes checking for struct tcphdr.th_dport... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... yes checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for alarm... (cached) yes checking for gethostbyaddr... yes checking for inet_ntoa... yes checking for memset... yes checking for strdup... yes checking for strftime... yes checking for pcap_findalldevs... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h touch configure-bwdpgsql-stamp # Add here commands to install the package into debian/bandwidthd-pgsql. /usr/bin/make install DESTDIR=/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917/debian/bandwidthd-pgsql make[2]: Entering directory '/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917' gcc -Wall -g -O2 -ffile-prefix-map=/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/postgresql -DHAVE_CONFIG_H -c -o bandwidthd.o bandwidthd.c bandwidthd.c: In function ‘main’: bandwidthd.c:474:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 474 | if (pcap_setfilter(pd, &fcode) < 0) | ^~ bandwidthd.c:477:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 477 | switch (DataLink = pcap_datalink(pd)) | ^~~~~~ bandwidthd.c: At top level: bandwidthd.c:1263:16: warning: ‘last_error’ is static but declared in inline function ‘FindIp’ which is not static 1263 | static time_t last_error = 0; | ^~~~~~~~~~ In file included from bandwidthd.c:1: bandwidthd.h:249:17: warning: inline function ‘DstCredit’ declared but never defined 249 | inline void DstCredit(uint32_t ipaddr, unsigned int psize); | ^~~~~~~~~ In file included from bandwidthd.c:1: bandwidthd.h:233:17: warning: inline function ‘IpAddr’ declared but never defined 233 | inline uint32_t IpAddr(unsigned char q1, unsigned char q2, unsigned char q3, unsigned char q4); | ^~~~~~ bandwidthd.c: In function ‘WriteOutWebpages’: bandwidthd.c:155:10: warning: ignoring return value of ‘nice’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 155 | nice(4); // reduce priority so I don't choke out other tasks | ^~~~~~~ bandwidthd.c: In function ‘main’: bandwidthd.c:528:2: warning: ignoring return value of ‘nice’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 528 | nice(1); | ^~~~~~~ In file included from /usr/include/string.h:495, from bandwidthd.h:10, from bandwidthd.c:1: In function ‘strncpy’, inlined from ‘main’ at bandwidthd.c:386:3: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘main’ at bandwidthd.c:387:3: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -g -O2 -ffile-prefix-map=/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/postgresql -DHAVE_CONFIG_H -c -o graph.o graph.c graph.c: In function ‘GraphIp’: graph.c:390:9: warning: variable ‘white’ set but not used [-Wunused-but-set-variable] 390 | int white; | ^~~~~ graph.c: In function ‘GraphData’: graph.c:730:57: warning: pointer targets in passing argument 5 of ‘gdImageString’ differ in signedness [-Wpointer-sign] 730 | gdImageString(im, gdFontSmall, XOFFSET+5, YHEIGHT-20, Buffer, black); | ^~~~~~ | | | char * In file included from bandwidthd.h:48, from graph.c:12: /usr/include/gd.h:742:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 742 | unsigned char *s, int color); | ~~~~~~~~~~~~~~~^ graph.c:731:66: warning: pointer targets in passing argument 5 of ‘gdImageString’ differ in signedness [-Wpointer-sign] 731 | gdImageString(im, gdFontSmall, XWIDTH/2+XOFFSET/2, YHEIGHT-20, Buffer2, black); | ^~~~~~~ | | | char * In file included from bandwidthd.h:48, from graph.c:12: /usr/include/gd.h:742:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 742 | unsigned char *s, int color); | ~~~~~~~~~~~~~~~^ graph.c:745:61: warning: pointer targets in passing argument 5 of ‘gdImageString’ differ in signedness [-Wpointer-sign] 745 | gdImageString(im2, gdFontSmall, XOFFSET+5, YHEIGHT-20, Buffer, black2); | ^~~~~~ | | | char * In file included from bandwidthd.h:48, from graph.c:12: /usr/include/gd.h:742:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 742 | unsigned char *s, int color); | ~~~~~~~~~~~~~~~^ graph.c:746:70: warning: pointer targets in passing argument 5 of ‘gdImageString’ differ in signedness [-Wpointer-sign] 746 | gdImageString(im2, gdFontSmall, XWIDTH/2+XOFFSET/2, YHEIGHT-20, Buffer2, black2); | ^~~~~~~ | | | char * In file included from bandwidthd.h:48, from graph.c:12: /usr/include/gd.h:742:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 742 | unsigned char *s, int color); | ~~~~~~~~~~~~~~~^ graph.c:492:24: warning: variable ‘orange2’ set but not used [-Wunused-but-set-variable] 492 | int blue2, lblue2, orange2, red2, yellow2, purple2, green2, brown2, black2; | ^~~~~~~ graph.c: In function ‘PrepareYAxis’: graph.c:795:48: warning: pointer targets in passing argument 5 of ‘gdImageString’ differ in signedness [-Wpointer-sign] 795 | gdImageString(im, gdFontSmall, 3, y-7, buffer, black); | ^~~~~~ | | | char * In file included from bandwidthd.h:48, from graph.c:12: /usr/include/gd.h:742:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 742 | unsigned char *s, int color); | ~~~~~~~~~~~~~~~^ graph.c: In function ‘PrepareXAxis’: graph.c:847:68: warning: pointer targets in passing argument 5 of ‘gdImageString’ differ in signedness [-Wpointer-sign] 847 | gdImageString(im, gdFontSmall, x-30, YHEIGHT-YOFFSET+10, buffer, black); | ^~~~~~ | | | char * In file included from bandwidthd.h:48, from graph.c:12: /usr/include/gd.h:742:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 742 | unsigned char *s, int color); | ~~~~~~~~~~~~~~~^ graph.c:881:67: warning: pointer targets in passing argument 5 of ‘gdImageString’ differ in signedness [-Wpointer-sign] 881 | gdImageString(im, gdFontSmall, x-6, YHEIGHT-YOFFSET+10, buffer, black); | ^~~~~~ | | | char * In file included from bandwidthd.h:48, from graph.c:12: /usr/include/gd.h:742:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 742 | unsigned char *s, int color); | ~~~~~~~~~~~~~~~^ graph.c:805:26: warning: variable ‘sample_end’ set but not used [-Wunused-but-set-variable] 805 | time_t sample_begin, sample_end; | ^~~~~~~~~~ In file included from graph.c:12: graph.c: At top level: bandwidthd.h:249:17: warning: inline function ‘DstCredit’ declared but never defined 249 | inline void DstCredit(uint32_t ipaddr, unsigned int psize); | ^~~~~~~~~ In file included from graph.c:12: bandwidthd.h:236:23: warning: inline function ‘FindIp’ declared but never defined 236 | inline struct IPData *FindIp(uint32_t ipaddr); | ^~~~~~ bandwidthd.h:233:17: warning: inline function ‘IpAddr’ declared but never defined 233 | inline uint32_t IpAddr(unsigned char q1, unsigned char q2, unsigned char q3, unsigned char q4); | ^~~~~~ gcc -Wall -g -O2 -ffile-prefix-map=/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/postgresql -DHAVE_CONFIG_H -c -o conf.tab.o conf.tab.c In file included from conf.y:12: bandwidthd.h:249:17: warning: inline function ‘DstCredit’ declared but never defined 249 | inline void DstCredit(uint32_t ipaddr, unsigned int psize); | ^~~~~~~~~ In file included from conf.y:12: bandwidthd.h:236:23: warning: inline function ‘FindIp’ declared but never defined 236 | inline struct IPData *FindIp(uint32_t ipaddr); | ^~~~~~ bandwidthd.h:233:17: warning: inline function ‘IpAddr’ declared but never defined 233 | inline uint32_t IpAddr(unsigned char q1, unsigned char q2, unsigned char q3, unsigned char q4); | ^~~~~~ gcc -g -O2 -ffile-prefix-map=/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/postgresql -DHAVE_CONFIG_H -c -o conf.l.o conf.l.c gcc -Wall -g -O2 -ffile-prefix-map=/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/postgresql -DHAVE_CONFIG_H -c -o pgsql.o pgsql.c pgsql.c: In function ‘pgsqlUpdateLinkStatus’: pgsql.c:287:6: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 287 | if (!(conn = pgsqlDetermineSensorID(conn, Values[1], bc->sensor_name, bc->interface))) | ^~ pgsql.c:290:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 290 | if (!Values[1][0]) | ^~ pgsql.c: In function ‘pgsqlStoreIPData’: pgsql.c:441:30: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 441 | if (!config.output_database == DB_PGSQL) | ^~ pgsql.c:441:6: note: add parentheses around left hand side expression to silence this warning 441 | if (!config.output_database == DB_PGSQL) | ^~~~~~~~~~~~~~~~~~~~~~~ | ( ) In file included from pgsql.c:1: pgsql.c: At top level: bandwidthd.h:249:17: warning: inline function ‘DstCredit’ declared but never defined 249 | inline void DstCredit(uint32_t ipaddr, unsigned int psize); | ^~~~~~~~~ In file included from pgsql.c:1: bandwidthd.h:236:23: warning: inline function ‘FindIp’ declared but never defined 236 | inline struct IPData *FindIp(uint32_t ipaddr); | ^~~~~~ bandwidthd.h:233:17: warning: inline function ‘IpAddr’ declared but never defined 233 | inline uint32_t IpAddr(unsigned char q1, unsigned char q2, unsigned char q3, unsigned char q4); | ^~~~~~ In file included from /usr/include/string.h:495, from bandwidthd.h:10, from pgsql.c:1: In function ‘strncpy’, inlined from ‘pgsqlDetermineSensorID’ at pgsql.c:193:2: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 200 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘pgsqlCreateSensorID’ at pgsql.c:247:2: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 200 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘pgsqlIncReboots’ at pgsql.c:394:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 200 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘pgsqlStoreIPData’ at pgsql.c:573:2: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 200 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -g -O2 -ffile-prefix-map=/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/postgresql -DHAVE_CONFIG_H -c -o extensions.o extensions.c In file included from extensions.c:1: bandwidthd.h:249:17: warning: inline function ‘DstCredit’ declared but never defined 249 | inline void DstCredit(uint32_t ipaddr, unsigned int psize); | ^~~~~~~~~ In file included from extensions.c:1: bandwidthd.h:236:23: warning: inline function ‘FindIp’ declared but never defined 236 | inline struct IPData *FindIp(uint32_t ipaddr); | ^~~~~~ bandwidthd.h:233:17: warning: inline function ‘IpAddr’ declared but never defined 233 | inline uint32_t IpAddr(unsigned char q1, unsigned char q2, unsigned char q3, unsigned char q4); | ^~~~~~ gcc -Wall -g -O2 -ffile-prefix-map=/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/postgresql -DHAVE_CONFIG_H bandwidthd.o graph.o conf.tab.o conf.l.o pgsql.o extensions.o -o bandwidthd -Wl,-z,relro -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu -lpq -lpcap -lgd -lpng -lm -lresolv -lnsl install --strip-program=true -d /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917/debian/bandwidthd-pgsql/usr/sbin install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -d /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917/debian/bandwidthd-pgsql/etc/bandwidthd install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -d /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917/debian/bandwidthd-pgsql/var/lib/bandwidthd/htdocs install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -m755 -s bandwidthd /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917/debian/bandwidthd-pgsql/usr/sbin #if [ ! -f /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917/debian/bandwidthd-pgsql/etc/bandwidthd/bandwidthd.conf ] ; then install --strip-program=true -m644 etc/bandwidthd.conf /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917/debian/bandwidthd-pgsql/etc/bandwidthd; fi install --strip-program=true -m644 htdocs/legend.gif /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917/debian/bandwidthd-pgsql/var/lib/bandwidthd/htdocs install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -m644 htdocs/logo.gif /build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917/debian/bandwidthd-pgsql/var/lib/bandwidthd/htdocs install: WARNING: ignoring --strip-program option as -s option was not specified make[2]: Leaving directory '/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917' # install summarizer script install -m 644 phphtdocs/bd_pgsql_purge.sh debian/bandwidthd-pgsql/usr/sbin/bd_pgsql_purge # install web-interface. install -m 644 phphtdocs/bandwidthd.css debian/bandwidthd-pgsql/var/lib/bandwidthd/htdocs/ install -m 644 phphtdocs/*.gif debian/bandwidthd-pgsql/var/lib/bandwidthd/htdocs/ # ... but only a subset of the php files (the ones that are useful). install -m 644 phphtdocs/details.php debian/bandwidthd-pgsql/var/lib/bandwidthd/htdocs/ install -m 644 phphtdocs/failures.php debian/bandwidthd-pgsql/var/lib/bandwidthd/htdocs/ install -m 644 phphtdocs/footer.php debian/bandwidthd-pgsql/var/lib/bandwidthd/htdocs/ install -m 644 phphtdocs/graph.php debian/bandwidthd-pgsql/var/lib/bandwidthd/htdocs/ install -m 644 phphtdocs/header.php debian/bandwidthd-pgsql/var/lib/bandwidthd/htdocs/ install -m 644 phphtdocs/include.php debian/bandwidthd-pgsql/var/lib/bandwidthd/htdocs/ install -m 644 phphtdocs/location_statistics.php debian/bandwidthd-pgsql/var/lib/bandwidthd/htdocs/ install -m 644 phphtdocs/sensors.php debian/bandwidthd-pgsql/var/lib/bandwidthd/htdocs/ #install -m 644 phphtdocs/uptime.php debian/bandwidthd-pgsql/var/lib/bandwidthd/htdocs/ # install postgresql-connection config, webgroup-readable. mkdir -p debian/bandwidthd-pgsql/var/lib/bandwidthd/htdocs/ install -m 640 -g www-data phphtdocs/config.conf \ debian/bandwidthd-pgsql/var/lib/bandwidthd/htdocs/config.conf # install shell scripts in document-directory. mkdir -p debian/bandwidthd-pgsql/usr/share/doc/bandwidthd-pgsql/ install -m 755 phphtdocs/*.sh \ debian/bandwidthd-pgsql/usr/share/doc/bandwidthd-pgsql/ # install bandwidthd-pgsql.conf template mkdir -p debian/bandwidthd-pgsql/usr/share/bandwidthd-pgsql/ install -m 644 -o root -g root debian/extras/bandwidthd-pgsql.conf.template \ debian/bandwidthd-pgsql/usr/share/bandwidthd-pgsql/ # install apache2 config mkdir -p debian/bandwidthd-pgsql/etc/apache2/conf-available/ install -m 644 -o root -g root debian/extras/apache2.conf \ debian/bandwidthd-pgsql/etc/apache2/conf-available/bandwidthd.conf # Install debconf files for bandwidthd-pgsql dh_installdebconf --mainpackage=bandwidthd-pgsql dh_installdebconf: warning: Compatibility levels before 10 are deprecated (level 9 in use) # Install init.d script for bandwidthd-pgsql dh_installinit --name=bandwidthd --mainpackage=bandwidthd-pgsql dh_installinit: warning: Compatibility levels before 10 are deprecated (level 9 in use) # Install manpages for bandwidthd-pgsql dh_installman --mainpackage=bandwidthd-pgsql dh_installman: warning: Compatibility levels before 10 are deprecated (level 9 in use) make[1]: Leaving directory '/build/bandwidthd-HQaWTX/bandwidthd-2.0.1+cvs20090917' dh_testdir dh_testroot dh_installchangelogs CHANGELOG dh_installdocs dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installdirs dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 9 in use) ## ------ dh_link dh_strip dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_compress dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_fixperms dh_installdeb dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_shlibdeps dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'bandwidthd-pgsql-dbgsym' in '../bandwidthd-pgsql-dbgsym_2.0.1+cvs20090917-13_amd64.deb'. dpkg-deb: building package 'bandwidthd-dbgsym' in '../bandwidthd-dbgsym_2.0.1+cvs20090917-13_amd64.deb'. dpkg-deb: building package 'bandwidthd-pgsql' in '../bandwidthd-pgsql_2.0.1+cvs20090917-13_amd64.deb'. dpkg-deb: building package 'bandwidthd' in '../bandwidthd_2.0.1+cvs20090917-13_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../bandwidthd_2.0.1+cvs20090917-13_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/bandwidthd-HQaWTX /tmp/bandwidthd-2.0.1+cvs20090917-13fiow3awq I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.w6dYrxbau4... I: success in 392.5336 seconds md5: bandwidthd-dbgsym_2.0.1+cvs20090917-13_amd64.deb: OK md5: bandwidthd-pgsql-dbgsym_2.0.1+cvs20090917-13_amd64.deb: OK md5: bandwidthd-pgsql_2.0.1+cvs20090917-13_amd64.deb: OK md5: bandwidthd_2.0.1+cvs20090917-13_amd64.deb: OK sha1: bandwidthd-dbgsym_2.0.1+cvs20090917-13_amd64.deb: OK sha1: bandwidthd-pgsql-dbgsym_2.0.1+cvs20090917-13_amd64.deb: OK sha1: bandwidthd-pgsql_2.0.1+cvs20090917-13_amd64.deb: OK sha1: bandwidthd_2.0.1+cvs20090917-13_amd64.deb: OK sha256: bandwidthd-dbgsym_2.0.1+cvs20090917-13_amd64.deb: OK sha256: bandwidthd-pgsql-dbgsym_2.0.1+cvs20090917-13_amd64.deb: OK sha256: bandwidthd-pgsql_2.0.1+cvs20090917-13_amd64.deb: OK sha256: bandwidthd_2.0.1+cvs20090917-13_amd64.deb: OK Checksums: OK