I: pbuilder: network access will be disabled during build I: Current time: Thu Jun 20 04:38:37 +14 2024 I: pbuilder-time-stamp: 1718807917 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [sniffit_0.5-3.dsc] I: copying [./sniffit_0.5.orig.tar.gz] I: copying [./sniffit_0.5-3.debian.tar.xz] I: Extracting source gpgv: Signature made Tue Nov 22 10:10:24 2022 +14 gpgv: using RSA key 357DCB0EEC95A01AEBA1F0D2DE63B9C704EBE9EF gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./sniffit_0.5-3.dsc: no acceptable signature found dpkg-source: info: extracting sniffit in sniffit-0.5 dpkg-source: info: unpacking sniffit_0.5.orig.tar.gz dpkg-source: info: unpacking sniffit_0.5-3.debian.tar.xz I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/29782/tmp/hooks/D01_modify_environment starting debug: Running on codethink15-arm64. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 Jun 20 04:38 /bin/sh -> /bin/bash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/29782/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/29782/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") BASH_VERSION='5.2.15(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=arm64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8 ' DIRSTACK=() DISTRIBUTION=bookworm EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/var/lib/jenkins HOSTNAME=i-capture-the-hostname HOSTTYPE=aarch64 HOST_ARCH=arm64 IFS=' ' LANG=C LANGUAGE=nl_BE:nl LC_ALL=C MACHTYPE=aarch64-unknown-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=29782 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.vNNqeCGW/pbuilderrc_57NL --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.vNNqeCGW/b2 --logfile b2/build.log --extrapackages usrmerge sniffit_0.5-3.dsc' SUDO_GID=117 SUDO_UID=110 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root USERNAME=root _='I: set' http_proxy=http://192.168.101.16:3128 I: uname -a Linux i-capture-the-hostname 4.15.0-211-generic #222-Ubuntu SMP Tue Apr 18 18:58:27 UTC 2023 aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Jun 18 06:47 /bin -> usr/bin I: user script /srv/workspace/pbuilder/29782/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), libncurses5-dev, libpcap-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19616 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on libncurses5-dev; however: Package libncurses5-dev is not installed. pbuilder-satisfydepends-dummy depends on libpcap-dev; however: Package libpcap-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdbus-1-3{a} libdbus-1-dev{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1{a} libncurses-dev{a} libncurses5-dev{a} libncurses6{a} libpcap-dev{a} libpcap0.8{a} libpcap0.8-dev{a} libpipeline1{a} libpkgconf3{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} pkg-config{a} pkgconf{a} pkgconf-bin{a} po-debconf{a} sensible-utils{a} sgml-base{a} xml-core{a} The following packages are RECOMMENDED but will NOT be installed: curl dbus libarchive-cpio-perl libgpm2 libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 44 newly installed, 0 to remove and 0 not upgraded. Need to get 19.8 MB of archives. After unpacking 80.7 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main arm64 sgml-base all 1.31 [15.4 kB] Get: 2 http://deb.debian.org/debian bookworm/main arm64 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 3 http://deb.debian.org/debian bookworm/main arm64 libmagic-mgc arm64 1:5.44-3 [305 kB] Get: 4 http://deb.debian.org/debian bookworm/main arm64 libmagic1 arm64 1:5.44-3 [98.5 kB] Get: 5 http://deb.debian.org/debian bookworm/main arm64 file arm64 1:5.44-3 [42.5 kB] Get: 6 http://deb.debian.org/debian bookworm/main arm64 gettext-base arm64 0.21-12 [159 kB] Get: 7 http://deb.debian.org/debian bookworm/main arm64 libuchardet0 arm64 0.0.7-1 [67.9 kB] Get: 8 http://deb.debian.org/debian bookworm/main arm64 groff-base arm64 1.22.4-10 [861 kB] Get: 9 http://deb.debian.org/debian bookworm/main arm64 bsdextrautils arm64 2.38.1-5+b1 [86.9 kB] Get: 10 http://deb.debian.org/debian bookworm/main arm64 libpipeline1 arm64 1.5.7-1 [36.4 kB] Get: 11 http://deb.debian.org/debian bookworm/main arm64 man-db arm64 2.11.2-2 [1369 kB] Get: 12 http://deb.debian.org/debian bookworm/main arm64 m4 arm64 1.4.19-3 [276 kB] Get: 13 http://deb.debian.org/debian bookworm/main arm64 autoconf all 2.71-3 [332 kB] Get: 14 http://deb.debian.org/debian bookworm/main arm64 autotools-dev all 20220109.1 [51.6 kB] Get: 15 http://deb.debian.org/debian bookworm/main arm64 automake all 1:1.16.5-1.3 [823 kB] Get: 16 http://deb.debian.org/debian bookworm/main arm64 autopoint all 0.21-12 [495 kB] Get: 17 http://deb.debian.org/debian bookworm/main arm64 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 18 http://deb.debian.org/debian bookworm/main arm64 libtool all 2.4.7-5 [517 kB] Get: 19 http://deb.debian.org/debian bookworm/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 20 http://deb.debian.org/debian bookworm/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 21 http://deb.debian.org/debian bookworm/main arm64 libsub-override-perl all 0.09-4 [9304 B] Get: 22 http://deb.debian.org/debian bookworm/main arm64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 23 http://deb.debian.org/debian bookworm/main arm64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 24 http://deb.debian.org/debian bookworm/main arm64 libelf1 arm64 0.188-2.1 [173 kB] Get: 25 http://deb.debian.org/debian bookworm/main arm64 dwz arm64 0.15-1 [101 kB] Get: 26 http://deb.debian.org/debian bookworm/main arm64 libicu72 arm64 72.1-3 [9204 kB] Get: 27 http://deb.debian.org/debian bookworm/main arm64 libxml2 arm64 2.9.14+dfsg-1.2 [620 kB] Get: 28 http://deb.debian.org/debian bookworm/main arm64 gettext arm64 0.21-12 [1248 kB] Get: 29 http://deb.debian.org/debian bookworm/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 30 http://deb.debian.org/debian bookworm/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bookworm/main arm64 debhelper all 13.11.4 [942 kB] Get: 32 http://deb.debian.org/debian bookworm/main arm64 libdbus-1-3 arm64 1.14.6-1 [191 kB] Get: 33 http://deb.debian.org/debian bookworm/main arm64 libpkgconf3 arm64 1.8.1-1 [35.3 kB] Get: 34 http://deb.debian.org/debian bookworm/main arm64 pkgconf-bin arm64 1.8.1-1 [28.9 kB] Get: 35 http://deb.debian.org/debian bookworm/main arm64 pkgconf arm64 1.8.1-1 [25.9 kB] Get: 36 http://deb.debian.org/debian bookworm/main arm64 pkg-config arm64 1.8.1-1 [13.7 kB] Get: 37 http://deb.debian.org/debian bookworm/main arm64 xml-core all 0.18+nmu1 [23.8 kB] Get: 38 http://deb.debian.org/debian bookworm/main arm64 libdbus-1-dev arm64 1.14.6-1 [239 kB] Get: 39 http://deb.debian.org/debian bookworm/main arm64 libncurses6 arm64 6.4-4 [93.9 kB] Get: 40 http://deb.debian.org/debian bookworm/main arm64 libncurses-dev arm64 6.4-4 [336 kB] Get: 41 http://deb.debian.org/debian bookworm/main arm64 libncurses5-dev arm64 6.4-4 [932 B] Get: 42 http://deb.debian.org/debian bookworm/main arm64 libpcap0.8 arm64 1.10.3-1 [148 kB] Get: 43 http://deb.debian.org/debian bookworm/main arm64 libpcap0.8-dev arm64 1.10.3-1 [271 kB] Get: 44 http://deb.debian.org/debian bookworm/main arm64 libpcap-dev arm64 1.10.3-1 [28.2 kB] Fetched 19.8 MB in 5s (3994 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sgml-base. (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 ... 19616 files and directories currently installed.) Preparing to unpack .../00-sgml-base_1.31_all.deb ... Unpacking sgml-base (1.31) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../01-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../02-libmagic-mgc_1%3a5.44-3_arm64.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../03-libmagic1_1%3a5.44-3_arm64.deb ... Unpacking libmagic1:arm64 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../04-file_1%3a5.44-3_arm64.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../05-gettext-base_0.21-12_arm64.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../06-libuchardet0_0.0.7-1_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../07-groff-base_1.22.4-10_arm64.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../08-bsdextrautils_2.38.1-5+b1_arm64.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../09-libpipeline1_1.5.7-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../10-man-db_2.11.2-2_arm64.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.19-3_arm64.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../16-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../20-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../23-libelf1_0.188-2.1_arm64.deb ... Unpacking libelf1:arm64 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.15-1_arm64.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:arm64. Preparing to unpack .../25-libicu72_72.1-3_arm64.deb ... Unpacking libicu72:arm64 (72.1-3) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../26-libxml2_2.9.14+dfsg-1.2_arm64.deb ... Unpacking libxml2:arm64 (2.9.14+dfsg-1.2) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.21-12_arm64.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../29-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package libdbus-1-3:arm64. Preparing to unpack .../31-libdbus-1-3_1.14.6-1_arm64.deb ... Unpacking libdbus-1-3:arm64 (1.14.6-1) ... Selecting previously unselected package libpkgconf3:arm64. Preparing to unpack .../32-libpkgconf3_1.8.1-1_arm64.deb ... Unpacking libpkgconf3:arm64 (1.8.1-1) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../33-pkgconf-bin_1.8.1-1_arm64.deb ... Unpacking pkgconf-bin (1.8.1-1) ... Selecting previously unselected package pkgconf:arm64. Preparing to unpack .../34-pkgconf_1.8.1-1_arm64.deb ... Unpacking pkgconf:arm64 (1.8.1-1) ... Selecting previously unselected package pkg-config:arm64. Preparing to unpack .../35-pkg-config_1.8.1-1_arm64.deb ... Unpacking pkg-config:arm64 (1.8.1-1) ... Selecting previously unselected package xml-core. Preparing to unpack .../36-xml-core_0.18+nmu1_all.deb ... Unpacking xml-core (0.18+nmu1) ... Selecting previously unselected package libdbus-1-dev:arm64. Preparing to unpack .../37-libdbus-1-dev_1.14.6-1_arm64.deb ... Unpacking libdbus-1-dev:arm64 (1.14.6-1) ... Selecting previously unselected package libncurses6:arm64. Preparing to unpack .../38-libncurses6_6.4-4_arm64.deb ... Unpacking libncurses6:arm64 (6.4-4) ... Selecting previously unselected package libncurses-dev:arm64. Preparing to unpack .../39-libncurses-dev_6.4-4_arm64.deb ... Unpacking libncurses-dev:arm64 (6.4-4) ... Selecting previously unselected package libncurses5-dev:arm64. Preparing to unpack .../40-libncurses5-dev_6.4-4_arm64.deb ... Unpacking libncurses5-dev:arm64 (6.4-4) ... Selecting previously unselected package libpcap0.8:arm64. Preparing to unpack .../41-libpcap0.8_1.10.3-1_arm64.deb ... Unpacking libpcap0.8:arm64 (1.10.3-1) ... Selecting previously unselected package libpcap0.8-dev:arm64. Preparing to unpack .../42-libpcap0.8-dev_1.10.3-1_arm64.deb ... Unpacking libpcap0.8-dev:arm64 (1.10.3-1) ... Selecting previously unselected package libpcap-dev:arm64. Preparing to unpack .../43-libpcap-dev_1.10.3-1_arm64.deb ... Unpacking libpcap-dev:arm64 (1.10.3-1) ... Setting up libpipeline1:arm64 (1.5.7-1) ... Setting up libicu72:arm64 (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up libmagic1:arm64 (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up autotools-dev (20220109.1) ... Setting up libpkgconf3:arm64 (1.8.1-1) ... Setting up libncurses6:arm64 (6.4-4) ... Setting up libdbus-1-3:arm64 (1.14.6-1) ... Setting up autopoint (0.21-12) ... Setting up pkgconf-bin (1.8.1-1) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:arm64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up sgml-base (1.31) ... Setting up libelf1:arm64 (0.188-2.1) ... Setting up libxml2:arm64 (2.9.14+dfsg-1.2) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up libncurses-dev:arm64 (6.4-4) ... Setting up gettext (0.21-12) ... Setting up libtool (2.4.7-5) ... Setting up pkgconf:arm64 (1.8.1-1) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libpcap0.8:arm64 (1.10.3-1) ... Setting up pkg-config:arm64 (1.8.1-1) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up xml-core (0.18+nmu1) ... Setting up libncurses5-dev:arm64 (6.4-4) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.11.4) ... Processing triggers for libc-bin (2.36-9) ... Processing triggers for sgml-base (1.31) ... Setting up libdbus-1-dev:arm64 (1.14.6-1) ... Setting up libpcap0.8-dev:arm64 (1.10.3-1) ... Setting up libpcap-dev:arm64 (1.10.3-1) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... usrmerge is already the newest version (35). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: user script /srv/workspace/pbuilder/29782/tmp/hooks/A99_set_merged_usr starting Re-configuring usrmerge... I: user script /srv/workspace/pbuilder/29782/tmp/hooks/A99_set_merged_usr finished hostname: Temporary failure in name resolution I: Running cd /build/sniffit-0.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../sniffit_0.5-3_source.changes dpkg-buildpackage: info: source package sniffit dpkg-buildpackage: info: source version 0.5-3 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Joao Eriberto Mota Filho dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf configure.ac:12: installing './compile' configure.ac:28: installing './config.guess' configure.ac:28: installing './config.sub' configure.ac:62: installing './install-sh' configure.ac:62: installing './missing' src/Makefile.am: installing './depcomp' dh_auto_configure ./configure --build=aarch64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/aarch64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking for main in -lncurses... yes checking for pcap_open_live in -lpcap... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for vfork.h... no checking for arpa/inet.h... yes checking for fcntl.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/socket.h... yes checking for sys/time.h... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for ncurses.h... yes checking for pcap.h... yes checking for size_t... yes checking for pid_t... yes checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking for GNU libc compatible malloc... yes checking for GNU libc compatible realloc... yes checking for alarm... yes checking for bzero... yes checking for gethostbyname... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strstr... yes checking for shmget... yes checking for atexit... yes checking size of unsigned short int... 2 checking size of unsigned long int... 8 unsigned long is NOT 4 bytes... hmmm... checking size of unsigned int... 4 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... none checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands dh_auto_build make -j8 make[1]: Entering directory '/build/sniffit-0.5' make all-recursive make[2]: Entering directory '/build/sniffit-0.5' Making all in src make[3]: Entering directory '/build/sniffit-0.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -Wdate-time -D_FORTIFY_SOURCE=2 -lncurses -lpcap -g -O2 -ffile-prefix-map=/build/sniffit-0.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sn_packets.o sn_packets.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -Wdate-time -D_FORTIFY_SOURCE=2 -lncurses -lpcap -g -O2 -ffile-prefix-map=/build/sniffit-0.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sn_generation.o sn_generation.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -Wdate-time -D_FORTIFY_SOURCE=2 -lncurses -lpcap -g -O2 -ffile-prefix-map=/build/sniffit-0.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sn_interface.o sn_interface.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -Wdate-time -D_FORTIFY_SOURCE=2 -lncurses -lpcap -g -O2 -ffile-prefix-map=/build/sniffit-0.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sn_cfgfile.o sn_cfgfile.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -Wdate-time -D_FORTIFY_SOURCE=2 -lncurses -lpcap -g -O2 -ffile-prefix-map=/build/sniffit-0.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sn_logfile.o sn_logfile.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -Wdate-time -D_FORTIFY_SOURCE=2 -lncurses -lpcap -g -O2 -ffile-prefix-map=/build/sniffit-0.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sn_resolv.o sn_resolv.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -Wdate-time -D_FORTIFY_SOURCE=2 -lncurses -lpcap -g -O2 -ffile-prefix-map=/build/sniffit-0.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sniffit.o sniffit.c sn_packets.c: In function 'unwrap_packet': sn_packets.c:68:32: warning: passing argument 1 of 'in_cksum' from incompatible pointer type [-Wincompatible-pointer-types] 68 | if(in_cksum((sp+PROTO_HEAD),unwrapped->IP_len) != IPhead.checksum) | ~~~^~~~~~~~~~~~ | | | unsigned char * sn_packets.c:14:41: note: expected 'short unsigned int *' but argument is of type 'unsigned char *' 14 | unsigned short in_cksum(unsigned short *addr,int len) | ~~~~~~~~~~~~~~~~^~~~ sn_logfile.c: In function 'open_logfile': sn_logfile.c:96:8: warning: passing argument 1 of 'fchmod' makes integer from pointer without a cast [-Wint-conversion] 96 | fchmod(LogFILE, S_IWUSR|S_IRUSR); | ^~~~~~~ | | | FILE * In file included from sn_logfile.c:9: /usr/include/aarch64-linux-gnu/sys/stat.h:365:24: note: expected 'int' but argument is of type 'FILE *' 365 | extern int fchmod (int __fd, __mode_t __mode) __THROW; | ~~~~^~~~ sn_cfgfile.c: In function 'clean_string': sn_cfgfile.c:131:14: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] 131 | if( (isalnum(string[i]))||(string[i]=='.') ) | ^~~~~~~ sn_cfgfile.c:17:1: note: include '' or provide a declaration of 'isalnum' 16 | #include "sniffit.h" +++ |+#include 17 | /* #include "sn_generation.h" */ sn_cfgfile.c: In function 'clean_filename': sn_cfgfile.c:155:15: warning: implicit declaration of function 'iscntrl' [-Wimplicit-function-declaration] 155 | if( !(iscntrl(string[i])) && !(isspace(string[i])) ) | ^~~~~~~ sn_cfgfile.c:155:15: note: include '' or provide a declaration of 'iscntrl' sn_cfgfile.c:155:40: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 155 | if( !(iscntrl(string[i])) && !(isspace(string[i])) ) | ^~~~~~~ sn_cfgfile.c:155:40: note: include '' or provide a declaration of 'isspace' sn_generation.c: In function 'exec_generate': sn_generation.c:66:1: warning: implicit declaration of function 'input_field' [-Wimplicit-function-declaration] 66 | input_field(msg,NULL,0); | ^~~~~~~~~~~ sn_generation.c:67:1: warning: implicit declaration of function 'forced_refresh' [-Wimplicit-function-declaration] 67 | forced_refresh(); | ^~~~~~~~~~~~~~ sn_generation.c: In function 'sp_fix_IP_packet': sn_generation.c:205:22: warning: implicit declaration of function 'in_cksum' [-Wimplicit-function-declaration] 205 | sp_help_ip->checksum=in_cksum((unsigned short *) (sp->buffer), | ^~~~~~~~ sn_cfgfile.c: In function 'read_cfg_file': sn_cfgfile.c:463:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 463 | fgets(lineptr,259,cfgfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sn_interface.c: In function 'mask_status': sn_interface.c:195:3: warning: assignment to 'unsigned char *' from incompatible pointer type '_32_bit *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] 195 | ad=&(mask->source_ip); | ^ sn_interface.c:201:3: warning: assignment to 'unsigned char *' from incompatible pointer type '_32_bit *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] 201 | ad=&(mask->destination_ip); | ^ sn_interface.c: In function 'interaction': sn_interface.c:470:25: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] 470 | isprint(*(connection_data+i))? | ^~~~~~~ sn_interface.c:20:1: note: include '' or provide a declaration of 'isprint' 19 | #include "sn_resolv.h" +++ |+#include 20 | sn_interface.c: In function 'packet_info_handler': sn_interface.c:491:63: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=] 491 | mvwprintw(packets_box.work_window,0,1,"IP packets/sec. : % 12u",(*IP_nr_of_packets)/INFO_TIMER); | ^ sn_interface.c:492:63: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=] 492 | mvwprintw(packets_box.work_window,1,1,"TCP packets/sec. : % 12u",(*TCP_nr_of_packets)/INFO_TIMER); | ^ sn_interface.c:493:63: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=] 493 | mvwprintw(packets_box.work_window,2,1,"ICMP packets/sec.: % 12u",(*ICMP_nr_of_packets)/INFO_TIMER); | ^ sn_interface.c:494:63: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=] 494 | mvwprintw(packets_box.work_window,3,1,"UDP packets/sec. : % 12u",(*UDP_nr_of_packets)/INFO_TIMER); | ^ In file included from sn_plugins.h:23, from sniffit.c:35: dns_plugin.plug: In function 'PL_DNS_plugin': dns_plugin.plug:87:12: warning: assignment to 'struct PL_DNS_header *' from incompatible pointer type 'struct DNS_header *' [-Wincompatible-pointer-types] 87 | dns_dnshead= (struct DNS_header *) (dns_buffer+udp_start+sizeof(struct UDP_header)); | ^ sniffit.c: In function 'strlower': sniffit.c:127:22: warning: implicit declaration of function 'isupper' [-Wimplicit-function-declaration] 127 | *(string + i) = (isupper (*(string + i)) ? tolower (*(string + i)) : *(string + i)); | ^~~~~~~ sniffit.c:45:1: note: include '' or provide a declaration of 'isupper' 44 | #include "sniffit.h" /* definition of functions */ +++ |+#include 45 | sniffit.c:127:48: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] 127 | *(string + i) = (isupper (*(string + i)) ? tolower (*(string + i)) : *(string + i)); | ^~~~~~~ sniffit.c:127:48: note: include '' or provide a declaration of 'tolower' sniffit.c: In function 'record_buf': sniffit.c:386:11: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] 386 | if (isprint (data[i])) | ^~~~~~~ sniffit.c:386:11: note: include '' or provide a declaration of 'isprint' sniffit.c: In function 'packethandler': sniffit.c:1107:43: warning: passing argument 2 of 'pcap_dump' from incompatible pointer type [-Wincompatible-pointer-types] 1107 | pcap_dump((unsigned char *) dev_dump, p_header, sp); | ^~~~~~~~ | | | const struct packetheader * In file included from /usr/include/pcap.h:43, from sniffit.c:24: /usr/include/pcap/pcap.h:743:37: note: expected 'const struct pcap_pkthdr *' but argument is of type 'const struct packetheader *' 743 | PCAP_API void pcap_dump(u_char *, const struct pcap_pkthdr *, const u_char *); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.c:1108:12: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 1108 | return 1; | ^ sniffit.c:1154:32: warning: format '%lX' expects argument of type 'long unsigned int', but argument 2 has type '__uint32_t' {aka 'unsigned int'} [-Wformat=] 1154 | printf (" SEQ (hex): %lX ", ntohl (tcphead.seq_nr)); | ~~^ | | | long unsigned int | %X sniffit.c:1156:31: warning: format '%lX' expects argument of type 'long unsigned int', but argument 2 has type '__uint32_t' {aka 'unsigned int'} [-Wformat=] 1156 | printf ("ACK (hex): %lX\n", ntohl (tcphead.ACK_nr)); | ~~^ | | | long unsigned int | %X sniffit.c:1189:24: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 1189 | return 1; | ^ sniffit.c:1193:24: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 1193 | return 1; | ^ sniffit.c:1259:14: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 1259 | return 1; | ^ In file included from sniffit.c:1270: sn_analyse.c:13:16: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 13 | return 1; | ^ sn_analyse.c:29:10: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 29 | return 1; | ^ sn_analyse.c:43:37: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 43 | if((dummy&FIN)||(dummy&RST)) return 1; /* needed, cauz entry don't exist */ | ^ sn_analyse.c:53:51: warning: passing argument 3 of 'sbuf_update' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | sbuf_update(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len); | ^~~~ sniffit.c:413:20: note: expected 'char *' but argument is of type 'const unsigned char *' 413 | char *data, int len) | ~~~~~~^~~~ sn_analyse.c:83:52: warning: passing argument 3 of 'record_buf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | record_buf(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len,0); | ^~~~ sniffit.c:358:19: note: expected 'char *' but argument is of type 'const unsigned char *' 358 | char *data, int len, int type) | ~~~~~~^~~~ sn_analyse.c:95:54: warning: passing argument 3 of 'record_buf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | record_buf(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len,0); | ^~~~ sniffit.c:358:19: note: expected 'char *' but argument is of type 'const unsigned char *' 358 | char *data, int len, int type) | ~~~~~~^~~~ sn_analyse.c:117:51: warning: passing argument 3 of 'sbuf_update' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 117 | sbuf_update(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len); | ^~~~ sniffit.c:413:20: note: expected 'char *' but argument is of type 'const unsigned char *' 413 | char *data, int len) | ~~~~~~^~~~ sn_analyse.c:200:8: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 200 | return 1; | ^ sn_analyse.c:201:8: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 201 | return 1; /* DON'T FORGET THEM!!!! */ | ^ sniffit.c:1339:14: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 1339 | return 1; | ^ sniffit.c:1372:14: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 1372 | return 1; | ^ In file included from sniffit.c:1458: sn_conn_desc.c: In function 'check_mask': sn_conn_desc.c:24:12: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] 24 | if( (isalnum(data[i]) || ispunct(data[i]) || data[i]==' ')&&(j<(*DESC_LEN)-1) ) | ^~~~~~~ sn_conn_desc.c:1:1: note: include '' or provide a declaration of 'isalnum' +++ |+#include 1 | /* Connection description detection file */ sn_conn_desc.c:24:32: warning: implicit declaration of function 'ispunct' [-Wimplicit-function-declaration] 24 | if( (isalnum(data[i]) || ispunct(data[i]) || data[i]==' ')&&(j<(*DESC_LEN)-1) ) | ^~~~~~~ sn_conn_desc.c:24:32: note: include '' or provide a declaration of 'ispunct' sn_conn_desc.c:27:15: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 27 | {if( (isspace(data[i]) && data[i]!=' ')&&(j<(*DESC_LEN)-1) ) | ^~~~~~~ sn_conn_desc.c:27:15: note: include '' or provide a declaration of 'isspace' sniffit.c: In function 'main': sniffit.c:1522:20: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1522 | signal (SIGINT, my_exit); /* graceful termination in different ways */ | ^~~~~~~ | | | void (*)(void) In file included from sniffit.c:7: /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ sniffit.c:1523:20: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1523 | signal (SIGHUP, my_exit); | ^~~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ sniffit.c:1524:20: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1524 | signal (SIGTERM, my_exit); | ^~~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ sniffit.c:1563:43: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 1563 | printf ("Binary build %s %s\n", __DATE__, __TIME__); | ^~~~~~~~ sniffit.c:1563:53: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 1563 | printf ("Binary build %s %s\n", __DATE__, __TIME__); | ^~~~~~~~ sniffit.c:1773:5: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 1773 | if((dev = pcap_lookupdev (ebuf)) == NULL) | ^~ /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ sniffit.c:1800:20: warning: extra tokens at end of #ifdef directive 1800 | #ifdef PLUGIN0_INIT() | ^ sniffit.c:1804:20: warning: extra tokens at end of #ifdef directive 1804 | #ifdef PLUGIN1_INIT() | ^ sniffit.c:1808:20: warning: extra tokens at end of #ifdef directive 1808 | #ifdef PLUGIN2_INIT() | ^ sniffit.c:1812:20: warning: extra tokens at end of #ifdef directive 1812 | #ifdef PLUGIN3_INIT() | ^ sniffit.c:1816:20: warning: extra tokens at end of #ifdef directive 1816 | #ifdef PLUGIN4_INIT() | ^ sniffit.c:1820:20: warning: extra tokens at end of #ifdef directive 1820 | #ifdef PLUGIN5_INIT() | ^ sniffit.c:1824:20: warning: extra tokens at end of #ifdef directive 1824 | #ifdef PLUGIN6_INIT() | ^ sniffit.c:1828:20: warning: extra tokens at end of #ifdef directive 1828 | #ifdef PLUGIN7_INIT() | ^ sniffit.c:1832:20: warning: extra tokens at end of #ifdef directive 1832 | #ifdef PLUGIN8_INIT() | ^ sniffit.c:1836:20: warning: extra tokens at end of #ifdef directive 1836 | #ifdef PLUGIN9_INIT() | ^ sniffit.c:1864:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 1864 | printf ("Shared %d\n", memsize); | ~^ ~~~~~~~ | | | | int long unsigned int | %ld sniffit.c:1867:18: warning: assignment to 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 1867 | DATAlength = timing + sizeof (int); | ^ sniffit.c:1868:23: warning: assignment to 'char *' from incompatible pointer type 'int *' [-Wincompatible-pointer-types] 1868 | connection_data = DATAlength + sizeof (int); | ^ sniffit.c:1869:18: warning: assignment to 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 1869 | LISTlength = connection_data + LENGTH_OF_INTERPROC_DATA; | ^ sniffit.c:1870:12: warning: assignment to 'struct snif_mask *' from incompatible pointer type 'int *' [-Wincompatible-pointer-types] 1870 | mask = LISTlength + sizeof (int); | ^ sniffit.c:1871:26: warning: assignment to 'char *' from incompatible pointer type 'struct snif_mask *' [-Wincompatible-pointer-types] 1871 | logged_connections = mask + sizeof (struct snif_mask); | ^ sniffit.c:1874:25: warning: assignment to 'unsigned int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 1874 | TCP_nr_of_packets = running_connections + (sizeof (struct shared_conn_data) * CONNECTION_CAPACITY); | ^ sniffit.c:1875:28: warning: assignment to 'long unsigned int *' from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types] 1875 | TCP_bytes_in_packets = TCP_nr_of_packets + sizeof (int); | ^ sniffit.c:1876:26: warning: assignment to 'unsigned int *' from incompatible pointer type 'long unsigned int *' [-Wincompatible-pointer-types] 1876 | ICMP_nr_of_packets = TCP_bytes_in_packets + sizeof (unsigned long); | ^ sniffit.c:1878:28: warning: assignment to 'long unsigned int *' from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types] 1878 | UDP_bytes_in_packets = UDP_nr_of_packets + sizeof (int); | ^ sniffit.c:1879:24: warning: assignment to 'unsigned int *' from incompatible pointer type 'long unsigned int *' [-Wincompatible-pointer-types] 1879 | IP_nr_of_packets = UDP_bytes_in_packets + sizeof (unsigned long); | ^ sniffit.c:1894:32: warning: passing argument 3 of 'pcap_loop' from incompatible pointer type [-Wincompatible-pointer-types] 1894 | interactive_packethandler, NULL) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (* (*)(char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *) {aka void (* (*)(char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)} /usr/include/pcap/pcap.h:565:42: note: expected 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} but argument is of type 'void (* (*)(char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *)' {aka 'void (* (*)(char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} 565 | PCAP_API int pcap_loop(pcap_t *, int, pcap_handler, u_char *); | ^~~~~~~~~~~~ sniffit.c:1927:41: warning: passing argument 3 of 'pcap_loop' from incompatible pointer type [-Wincompatible-pointer-types] 1927 | switch (pcap_loop (dev_desc, CNT, packethandler, (unsigned char *) &ipaddr)) | ^~~~~~~~~~~~~ | | | void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *) {aka void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)} /usr/include/pcap/pcap.h:565:42: note: expected 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} but argument is of type 'void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *)' {aka 'void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} 565 | PCAP_API int pcap_loop(pcap_t *, int, pcap_handler, u_char *); | ^~~~~~~~~~~~ gcc -lncurses -lpcap -g -O2 -ffile-prefix-map=/build/sniffit-0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o sniffit sn_packets.o sn_generation.o sn_interface.o sn_cfgfile.o sn_logfile.o sn_resolv.o sniffit.o -lpcap -lncurses make[3]: Leaving directory '/build/sniffit-0.5/src' make[3]: Entering directory '/build/sniffit-0.5' make[3]: Leaving directory '/build/sniffit-0.5' make[2]: Leaving directory '/build/sniffit-0.5' make[1]: Leaving directory '/build/sniffit-0.5' dh_auto_test make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 make[1]: Entering directory '/build/sniffit-0.5' Making check in src make[2]: Entering directory '/build/sniffit-0.5/src' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/sniffit-0.5/src' make[2]: Entering directory '/build/sniffit-0.5' make[2]: Leaving directory '/build/sniffit-0.5' make[1]: Leaving directory '/build/sniffit-0.5' create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/sniffit/ make -j8 install DESTDIR=/build/sniffit-0.5/debian/sniffit AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/sniffit-0.5' Making install in src make[2]: Entering directory '/build/sniffit-0.5/src' make[3]: Entering directory '/build/sniffit-0.5/src' make[3]: Nothing to be done for 'install-data-am'. /usr/bin/mkdir -p '/build/sniffit-0.5/debian/sniffit/usr/sbin' /usr/bin/install -c sniffit '/build/sniffit-0.5/debian/sniffit/usr/sbin' make[3]: Leaving directory '/build/sniffit-0.5/src' make[2]: Leaving directory '/build/sniffit-0.5/src' make[2]: Entering directory '/build/sniffit-0.5' make[3]: Entering directory '/build/sniffit-0.5' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/build/sniffit-0.5/debian/sniffit/usr/share/man/man5' /usr/bin/mkdir -p '/build/sniffit-0.5/debian/sniffit/usr/share/man/man8' /usr/bin/install -c -m 644 man/sniffit.5 '/build/sniffit-0.5/debian/sniffit/usr/share/man/man5' /usr/bin/install -c -m 644 man/sniffit.8 '/build/sniffit-0.5/debian/sniffit/usr/share/man/man8' make[3]: Leaving directory '/build/sniffit-0.5' make[2]: Leaving directory '/build/sniffit-0.5' make[1]: Leaving directory '/build/sniffit-0.5' dh_installdocs dh_installchangelogs dh_installexamples dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'sniffit' in '../sniffit_0.5-3_arm64.deb'. dpkg-deb: building package 'sniffit-dbgsym' in '../sniffit-dbgsym_0.5-3_arm64.deb'. dpkg-genbuildinfo --build=binary -O../sniffit_0.5-3_arm64.buildinfo dpkg-genchanges --build=binary -O../sniffit_0.5-3_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/29782/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/29782/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/29782 and its subdirectories I: Current time: Thu Jun 20 04:39:30 +14 2024 I: pbuilder-time-stamp: 1718807970