DC-Build-Header: dsniff 2.4b1+debian-22.1 / 2015-03-26 08:58:49 +0000 DC-Task: source:dsniff version:2.4b1+debian-22.1 architecture:any chroot:unstable esttime:54 logfile:/tmp/dsniff_2.4b1+debian-22.1_unstable_clang.log modes:binary-only:parallel:clang DC-Sbuild-call: su user -c 'sbuild -n --apt-update -d unstable -v --chroot-setup-commands=/tmp/clang dsniff_2.4b1+debian-22.1' sbuild (Debian sbuild) 0.63.2 (18 Aug 2012) on ip-172-31-1-31.us-west-2.compute.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ dsniff 2.4b1+debian-22.1 (amd64) 26 Mar 2015 08:58 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: dsniff Version: 2.4b1+debian-22.1 Source Version: 2.4b1+debian-22.1 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 I: NOTICE: Log filtering will replace 'build/dsniff-7hPtqo/dsniff-2.4b1+debian' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/dsniff-7hPtqo' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-6e727dee-cd8c-462b-a74f-7b0d97fa63dd' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Get:1 http://localhost:9999 unstable InRelease [257 kB] Get:2 http://localhost:9999 unstable/main Sources/DiffIndex [7876 B] Get:3 http://localhost:9999 unstable/main amd64 Packages/DiffIndex [7876 B] Get:4 http://localhost:9999 unstable/main Translation-en/DiffIndex [7876 B] Get:5 http://localhost:9999 unstable/main 2015-03-25-1448.37.pdiff [3021 B] Get:6 http://localhost:9999 unstable/main 2015-03-25-2049.47.pdiff [5545 B] Get:7 http://localhost:9999 unstable/main 2015-03-26-0248.39.pdiff [3389 B] Get:8 http://localhost:9999 unstable/main 2015-03-26-0248.39.pdiff [3389 B] Get:9 http://localhost:9999 unstable/main amd64 2015-03-25-1448.37.pdiff [4095 B] Get:10 http://localhost:9999 unstable/main amd64 2015-03-25-2049.47.pdiff [4595 B] Get:11 http://localhost:9999 unstable/main amd64 2015-03-26-0248.39.pdiff [3173 B] Get:12 http://localhost:9999 unstable/main 2015-03-25-2049.47.pdiff [2032 B] Get:13 http://localhost:9999 unstable/main amd64 2015-03-26-0248.39.pdiff [3173 B] Get:14 http://localhost:9999 unstable/main 2015-03-25-2049.47.pdiff [2032 B] Fetched 306 kB in 5s (57.1 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... Need to get 162 kB of source archives. Get:1 http://localhost:9999/debian/ unstable/main dsniff 2.4b1+debian-22.1 (dsc) [1839 B] Get:2 http://localhost:9999/debian/ unstable/main dsniff 2.4b1+debian-22.1 (tar) [130 kB] Get:3 http://localhost:9999/debian/ unstable/main dsniff 2.4b1+debian-22.1 (diff) [29.7 kB] Fetched 162 kB in 1s (125 kB/s) Download complete and in download only mode Check arch ────────── ┌──────────────────────────────────────────────────────────────────────────────┐ │ Chroot Setup Commands │ └──────────────────────────────────────────────────────────────────────────────┘ /tmp/clang ────────── + echo 'Entering customization script...' Entering customization script... + CLANG_VERSION=3.6 + echo 'Install of clang-3.6' Install of clang-3.6 + apt-get update Hit http://localhost:9999 unstable InRelease Get:1 http://localhost:9999 unstable/main Sources/DiffIndex [7876 B] Get:2 http://localhost:9999 unstable/main amd64 Packages/DiffIndex [7876 B] Get:3 http://localhost:9999 unstable/main Translation-en/DiffIndex [7876 B] Fetched 23.6 kB in 2s (11.2 kB/s) Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-3.6 Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libbsd0 libclang-common-3.6-dev libclang1-3.6 libedit2 libffi6 libllvm3.6 libobjc-4.9-dev libobjc4 Suggested packages: gnustep gnustep-devel clang-3.6-doc Recommended packages: llvm-3.6-dev python The following NEW packages will be installed: clang-3.6 libbsd0 libclang-common-3.6-dev libclang1-3.6 libedit2 libffi6 libllvm3.6 libobjc-4.9-dev libobjc4 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 39.2 MB of archives. After this operation, 153 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libbsd0 amd64 0.7.0-2 [67.9 kB] Get:2 http://localhost:9999/debian/ unstable/main libedit2 amd64 3.1-20140620-2 [85.1 kB] Get:3 http://localhost:9999/debian/ unstable/main libffi6 amd64 3.1-2+b2 [20.1 kB] Get:4 http://localhost:9999/debian/ unstable/main libllvm3.6 amd64 1:3.6-2 [8137 kB] Get:5 http://localhost:9999/debian/ unstable/main libobjc4 amd64 4.9.2-10 [112 kB] Get:6 http://localhost:9999/debian/ unstable/main libobjc-4.9-dev amd64 4.9.2-10 [372 kB] Get:7 http://localhost:9999/debian/ unstable/main libclang1-3.6 amd64 1:3.6-2 [3839 kB] Get:8 http://localhost:9999/debian/ unstable/main libclang-common-3.6-dev amd64 1:3.6-2 [706 kB] Get:9 http://localhost:9999/debian/ unstable/main clang-3.6 amd64 1:3.6-2 [25.8 MB] debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Fetched 39.2 MB in 1s (34.0 MB/s) Selecting previously unselected package libbsd0:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11980 files and directories currently installed.) Preparing to unpack .../libbsd0_0.7.0-2_amd64.deb ... Unpacking libbsd0:amd64 (0.7.0-2) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../libedit2_3.1-20140620-2_amd64.deb ... Unpacking libedit2:amd64 (3.1-20140620-2) ... Selecting previously unselected package libffi6:amd64. Preparing to unpack .../libffi6_3.1-2+b2_amd64.deb ... Unpacking libffi6:amd64 (3.1-2+b2) ... Selecting previously unselected package libllvm3.6:amd64. Preparing to unpack .../libllvm3.6_1%3a3.6-2_amd64.deb ... Unpacking libllvm3.6:amd64 (1:3.6-2) ... Selecting previously unselected package libobjc4:amd64. Preparing to unpack .../libobjc4_4.9.2-10_amd64.deb ... Unpacking libobjc4:amd64 (4.9.2-10) ... Selecting previously unselected package libobjc-4.9-dev:amd64. Preparing to unpack .../libobjc-4.9-dev_4.9.2-10_amd64.deb ... Unpacking libobjc-4.9-dev:amd64 (4.9.2-10) ... Selecting previously unselected package libclang1-3.6:amd64. Preparing to unpack .../libclang1-3.6_1%3a3.6-2_amd64.deb ... Unpacking libclang1-3.6:amd64 (1:3.6-2) ... Selecting previously unselected package libclang-common-3.6-dev. Preparing to unpack .../libclang-common-3.6-dev_1%3a3.6-2_amd64.deb ... Unpacking libclang-common-3.6-dev (1:3.6-2) ... Selecting previously unselected package clang-3.6. Preparing to unpack .../clang-3.6_1%3a3.6-2_amd64.deb ... Unpacking clang-3.6 (1:3.6-2) ... Setting up libbsd0:amd64 (0.7.0-2) ... Setting up libedit2:amd64 (3.1-20140620-2) ... Setting up libffi6:amd64 (3.1-2+b2) ... Setting up libllvm3.6:amd64 (1:3.6-2) ... Setting up libobjc4:amd64 (4.9.2-10) ... Setting up libobjc-4.9-dev:amd64 (4.9.2-10) ... Setting up libclang1-3.6:amd64 (1:3.6-2) ... Setting up libclang-common-3.6-dev (1:3.6-2) ... Setting up clang-3.6 (1:3.6-2) ... Processing triggers for libc-bin (2.19-17) ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8 4.9 5' + cd /usr/bin + for VERSION in '$VERSIONS' + rm -f g++-4.6 gcc-4.6 cpp-4.6 gcc + ln -s clang++-3.6 g++-4.6 + ln -s clang-3.6 gcc-4.6 + ln -s clang-3.6 cpp-4.6 + ln -s clang-3.6 gcc + echo 'gcc-4.6 hold' + dpkg --set-selections + echo 'g++-4.6 hold' + dpkg --set-selections + for VERSION in '$VERSIONS' + rm -f g++-4.7 gcc-4.7 cpp-4.7 gcc + ln -s clang++-3.6 g++-4.7 + ln -s clang-3.6 gcc-4.7 + ln -s clang-3.6 cpp-4.7 + ln -s clang-3.6 gcc + echo 'gcc-4.7 hold' + dpkg --set-selections + echo 'g++-4.7 hold' + dpkg --set-selections + for VERSION in '$VERSIONS' + rm -f g++-4.8 gcc-4.8 cpp-4.8 gcc + ln -s clang++-3.6 g++-4.8 + ln -s clang-3.6 gcc-4.8 + ln -s clang-3.6 cpp-4.8 + ln -s clang-3.6 gcc + echo 'gcc-4.8 hold' + dpkg --set-selections dpkg: warning: package not in database at line 1: gcc-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method + echo 'g++-4.8 hold' + dpkg --set-selections dpkg: warning: package not in database at line 1: g++-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method + for VERSION in '$VERSIONS' + rm -f g++-4.9 gcc-4.9 cpp-4.9 gcc + ln -s clang++-3.6 g++-4.9 + ln -s clang-3.6 gcc-4.9 + ln -s clang-3.6 cpp-4.9 + ln -s clang-3.6 gcc + echo 'gcc-4.9 hold' + dpkg --set-selections + echo 'g++-4.9 hold' + dpkg --set-selections + for VERSION in '$VERSIONS' + rm -f g++-5 gcc-5 cpp-5 gcc + ln -s clang++-3.6 g++-5 + ln -s clang-3.6 gcc-5 + ln -s clang-3.6 cpp-5 + ln -s clang-3.6 gcc + echo 'gcc-5 hold' + dpkg --set-selections dpkg: warning: package not in database at line 1: gcc-5 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method + echo 'g++-5 hold' + dpkg --set-selections dpkg: warning: package not in database at line 1: g++-5 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method + cd - /«BUILDDIR» + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + gcc --version + grep clang + cpp --version + grep clang + g++ --version + grep clang I: Finished running '/tmp/clang'. Finished processing commands. ──────────────────────────────────────────────────────────────────────────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/«BUILDDIR»/resolver-csLR3F/apt_archive/sbuild-build-depends-core-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install core build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/816 B of archives. After this operation, 0 B of additional disk space will be used. Selecting previously unselected package sbuild-build-depends-core-dummy. (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 ... 12200 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, init, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit-utils, tar, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.9.1), g++ (>= 4:4.9.1), make, dpkg-dev (>= 1.17.11), libdb-dev (>= 4.7), libpcap0.8-dev, libnids-dev, libssl-dev, libxmu-dev, libnet1-dev, debhelper (>= 8.0.0) Filtered Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, init, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit-utils, tar, util-linux, libc6-dev, gcc (>= 4:4.9.1), g++ (>= 4:4.9.1), make, dpkg-dev (>= 1.17.11), libdb-dev (>= 4.7), libpcap0.8-dev, libnids-dev, libssl-dev, libxmu-dev, libnet1-dev, debhelper (>= 8.0.0) dpkg-deb: building package `sbuild-build-depends-dsniff-dummy' in `/«BUILDDIR»/resolver-ieeNQO/apt_archive/sbuild-build-depends-dsniff-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install dsniff build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: bsdmainutils debhelper file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libdb-dev libdb5.3-dev libglib2.0-0 libice-dev libice6 libicu52 libmagic1 libnet1 libnet1-dev libnids-dev libnids1.21 libpcap0.8 libpcap0.8-dev libpipeline1 libpthread-stubs0-dev libsm-dev libsm6 libssl-dev libssl1.0.0 libunistring0 libx11-6 libx11-data libx11-dev libxau-dev libxau6 libxcb1 libxcb1-dev libxdmcp-dev libxdmcp6 libxext-dev libxext6 libxml2 libxmu-dev libxmu-headers libxmu6 libxt-dev libxt6 man-db po-debconf x11-common x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev xorg-sgml-doctools xtrans-dev zlib1g-dev Suggested packages: wamerican wordlist whois vacation dh-make gettext-doc groff db5.3-doc libice-doc libsm-doc libxcb-doc libxext-doc libxt-doc www-browser libmail-box-perl Recommended packages: curl wget lynx-cur autopoint libasprintf-dev libgettextpo-dev libglib2.0-data shared-mime-info xdg-user-dirs libssl-doc libx11-doc xml-core libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils debhelper file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libdb-dev libdb5.3-dev libglib2.0-0 libice-dev libice6 libicu52 libmagic1 libnet1 libnet1-dev libnids-dev libnids1.21 libpcap0.8 libpcap0.8-dev libpipeline1 libpthread-stubs0-dev libsm-dev libsm6 libssl-dev libssl1.0.0 libunistring0 libx11-6 libx11-data libx11-dev libxau-dev libxau6 libxcb1 libxcb1-dev libxdmcp-dev libxdmcp6 libxext-dev libxext6 libxml2 libxmu-dev libxmu-headers libxmu6 libxt-dev libxt6 man-db po-debconf sbuild-build-depends-dsniff-dummy x11-common x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev xorg-sgml-doctools xtrans-dev zlib1g-dev 0 upgraded, 57 newly installed, 0 to remove and 0 not upgraded. Need to get 24.4 MB/24.4 MB of archives. After this operation, 87.1 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libpipeline1 amd64 1.4.0-1 [27.9 kB] Get:2 http://localhost:9999/debian/ unstable/main libssl1.0.0 amd64 1.0.1k-3 [1037 kB] Get:3 http://localhost:9999/debian/ unstable/main groff-base amd64 1.22.3-1 [1205 kB] Get:4 http://localhost:9999/debian/ unstable/main bsdmainutils amd64 9.0.6 [183 kB] Get:5 http://localhost:9999/debian/ unstable/main man-db amd64 2.7.0.2-5 [1000 kB] Get:6 http://localhost:9999/debian/ unstable/main libasprintf0c2 amd64 0.19.3-2 [31.3 kB] Get:7 http://localhost:9999/debian/ unstable/main libmagic1 amd64 1:5.22+15-2 [249 kB] Get:8 http://localhost:9999/debian/ unstable/main libicu52 amd64 52.1-8 [6780 kB] Get:9 http://localhost:9999/debian/ unstable/main libxml2 amd64 2.9.2+dfsg1-3 [934 kB] Get:10 http://localhost:9999/debian/ unstable/main libglib2.0-0 amd64 2.42.1-1 [2401 kB] Get:11 http://localhost:9999/debian/ unstable/main libcroco3 amd64 0.6.8-3+b1 [135 kB] Get:12 http://localhost:9999/debian/ unstable/main x11-common all 1:7.7+7 [287 kB] Get:13 http://localhost:9999/debian/ unstable/main libice6 amd64 2:1.0.9-1+b1 [58.8 kB] Get:14 http://localhost:9999/debian/ unstable/main libnet1 amd64 1.1.6+dfsg-3 [60.4 kB] Get:15 http://localhost:9999/debian/ unstable/main libpcap0.8 amd64 1.6.2-2 [133 kB] Get:16 http://localhost:9999/debian/ unstable/main libsm6 amd64 2:1.2.2-1+b1 [33.6 kB] Get:17 http://localhost:9999/debian/ unstable/main libunistring0 amd64 0.9.3-5.2+b1 [288 kB] Get:18 http://localhost:9999/debian/ unstable/main libxau6 amd64 1:1.0.8-1 [20.7 kB] Get:19 http://localhost:9999/debian/ unstable/main libxdmcp6 amd64 1:1.1.1-1+b1 [24.9 kB] Get:20 http://localhost:9999/debian/ unstable/main libxcb1 amd64 1.10-3+b1 [44.4 kB] Get:21 http://localhost:9999/debian/ unstable/main libx11-data all 2:1.6.2-3 [126 kB] Get:22 http://localhost:9999/debian/ unstable/main libx11-6 amd64 2:1.6.2-3 [729 kB] Get:23 http://localhost:9999/debian/ unstable/main libxext6 amd64 2:1.3.3-1 [52.7 kB] Get:24 http://localhost:9999/debian/ unstable/main libxt6 amd64 1:1.1.4-1+b1 [186 kB] Get:25 http://localhost:9999/debian/ unstable/main libxmu6 amd64 2:1.1.2-1 [58.6 kB] Get:26 http://localhost:9999/debian/ unstable/main file amd64 1:5.22+15-2 [60.1 kB] Get:27 http://localhost:9999/debian/ unstable/main gettext-base amd64 0.19.3-2 [121 kB] Get:28 http://localhost:9999/debian/ unstable/main gettext amd64 0.19.3-2 [1240 kB] Get:29 http://localhost:9999/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:30 http://localhost:9999/debian/ unstable/main po-debconf all 1.0.16+nmu3 [220 kB] Get:31 http://localhost:9999/debian/ unstable/main debhelper all 9.20150101 [813 kB] Get:32 http://localhost:9999/debian/ unstable/main xorg-sgml-doctools all 1:1.11-1 [21.9 kB] Get:33 http://localhost:9999/debian/ unstable/main x11proto-core-dev all 7.0.26-1 [729 kB] Get:34 http://localhost:9999/debian/ unstable/main libice-dev amd64 2:1.0.9-1+b1 [66.3 kB] Get:35 http://localhost:9999/debian/ unstable/main libnet1-dev amd64 1.1.6+dfsg-3 [118 kB] Get:36 http://localhost:9999/debian/ unstable/main libnids1.21 amd64 1.23-2 [26.9 kB] Get:37 http://localhost:9999/debian/ unstable/main libnids-dev amd64 1.23-2 [72.1 kB] Get:38 http://localhost:9999/debian/ unstable/main libpcap0.8-dev amd64 1.6.2-2 [229 kB] Get:39 http://localhost:9999/debian/ unstable/main libpthread-stubs0-dev amd64 0.3-4 [3866 B] Get:40 http://localhost:9999/debian/ unstable/main libsm-dev amd64 2:1.2.2-1+b1 [35.8 kB] Get:41 http://localhost:9999/debian/ unstable/main zlib1g-dev amd64 1:1.2.8.dfsg-2+b1 [206 kB] Get:42 http://localhost:9999/debian/ unstable/main libssl-dev amd64 1.0.1k-3 [1271 kB] Get:43 http://localhost:9999/debian/ unstable/main libxau-dev amd64 1:1.0.8-1 [23.6 kB] Get:44 http://localhost:9999/debian/ unstable/main libxdmcp-dev amd64 1:1.1.1-1+b1 [40.2 kB] Get:45 http://localhost:9999/debian/ unstable/main x11proto-input-dev all 2.3.1-1 [157 kB] Get:46 http://localhost:9999/debian/ unstable/main x11proto-kb-dev all 1.0.6-2 [269 kB] Get:47 http://localhost:9999/debian/ unstable/main xtrans-dev all 1.3.5-1 [100 kB] Get:48 http://localhost:9999/debian/ unstable/main libxcb1-dev amd64 1.10-3+b1 [83.8 kB] Get:49 http://localhost:9999/debian/ unstable/main libx11-dev amd64 2:1.6.2-3 [800 kB] Get:50 http://localhost:9999/debian/ unstable/main x11proto-xext-dev all 7.3.0-1 [212 kB] Get:51 http://localhost:9999/debian/ unstable/main libxext-dev amd64 2:1.3.3-1 [107 kB] Get:52 http://localhost:9999/debian/ unstable/main libxt-dev amd64 1:1.1.4-1+b1 [421 kB] Get:53 http://localhost:9999/debian/ unstable/main libxmu-headers all 2:1.1.2-1 [68.0 kB] Get:54 http://localhost:9999/debian/ unstable/main libxmu-dev amd64 2:1.1.2-1 [63.0 kB] Get:55 http://localhost:9999/debian/ unstable/main libdb5.3-dev amd64 5.3.28-9 [742 kB] Get:56 http://localhost:9999/debian/ unstable/main libdb-dev amd64 5.3.0+b1 [2636 B] Extracting templates from packages: 52% Extracting templates from packages: 100% Preconfiguring packages ... Fetched 24.4 MB in 1s (20.6 MB/s) Selecting previously unselected package libpipeline1: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 ... 12200 files and directories currently installed.) Preparing to unpack .../libpipeline1_1.4.0-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.4.0-1) ... Selecting previously unselected package libssl1.0.0:amd64. Preparing to unpack .../libssl1.0.0_1.0.1k-3_amd64.deb ... Unpacking libssl1.0.0:amd64 (1.0.1k-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../groff-base_1.22.3-1_amd64.deb ... Unpacking groff-base (1.22.3-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../bsdmainutils_9.0.6_amd64.deb ... Unpacking bsdmainutils (9.0.6) ... Selecting previously unselected package man-db. Preparing to unpack .../man-db_2.7.0.2-5_amd64.deb ... Unpacking man-db (2.7.0.2-5) ... Selecting previously unselected package libasprintf0c2:amd64. Preparing to unpack .../libasprintf0c2_0.19.3-2_amd64.deb ... Unpacking libasprintf0c2:amd64 (0.19.3-2) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../libmagic1_1%3a5.22+15-2_amd64.deb ... Unpacking libmagic1:amd64 (1:5.22+15-2) ... Selecting previously unselected package libicu52:amd64. Preparing to unpack .../libicu52_52.1-8_amd64.deb ... Unpacking libicu52:amd64 (52.1-8) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../libxml2_2.9.2+dfsg1-3_amd64.deb ... Unpacking libxml2:amd64 (2.9.2+dfsg1-3) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../libglib2.0-0_2.42.1-1_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.42.1-1) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../libcroco3_0.6.8-3+b1_amd64.deb ... Unpacking libcroco3:amd64 (0.6.8-3+b1) ... Selecting previously unselected package x11-common. Preparing to unpack .../x11-common_1%3a7.7+7_all.deb ... Unpacking x11-common (1:7.7+7) ... Selecting previously unselected package libice6:amd64. Preparing to unpack .../libice6_2%3a1.0.9-1+b1_amd64.deb ... Unpacking libice6:amd64 (2:1.0.9-1+b1) ... Selecting previously unselected package libnet1:amd64. Preparing to unpack .../libnet1_1.1.6+dfsg-3_amd64.deb ... Unpacking libnet1:amd64 (1.1.6+dfsg-3) ... Selecting previously unselected package libpcap0.8:amd64. Preparing to unpack .../libpcap0.8_1.6.2-2_amd64.deb ... Unpacking libpcap0.8:amd64 (1.6.2-2) ... Selecting previously unselected package libsm6:amd64. Preparing to unpack .../libsm6_2%3a1.2.2-1+b1_amd64.deb ... Unpacking libsm6:amd64 (2:1.2.2-1+b1) ... Selecting previously unselected package libunistring0:amd64. Preparing to unpack .../libunistring0_0.9.3-5.2+b1_amd64.deb ... Unpacking libunistring0:amd64 (0.9.3-5.2+b1) ... Selecting previously unselected package libxau6:amd64. Preparing to unpack .../libxau6_1%3a1.0.8-1_amd64.deb ... Unpacking libxau6:amd64 (1:1.0.8-1) ... Selecting previously unselected package libxdmcp6:amd64. Preparing to unpack .../libxdmcp6_1%3a1.1.1-1+b1_amd64.deb ... Unpacking libxdmcp6:amd64 (1:1.1.1-1+b1) ... Selecting previously unselected package libxcb1:amd64. Preparing to unpack .../libxcb1_1.10-3+b1_amd64.deb ... Unpacking libxcb1:amd64 (1.10-3+b1) ... Selecting previously unselected package libx11-data. Preparing to unpack .../libx11-data_2%3a1.6.2-3_all.deb ... Unpacking libx11-data (2:1.6.2-3) ... Selecting previously unselected package libx11-6:amd64. Preparing to unpack .../libx11-6_2%3a1.6.2-3_amd64.deb ... Unpacking libx11-6:amd64 (2:1.6.2-3) ... Selecting previously unselected package libxext6:amd64. Preparing to unpack .../libxext6_2%3a1.3.3-1_amd64.deb ... Unpacking libxext6:amd64 (2:1.3.3-1) ... Selecting previously unselected package libxt6:amd64. Preparing to unpack .../libxt6_1%3a1.1.4-1+b1_amd64.deb ... Unpacking libxt6:amd64 (1:1.1.4-1+b1) ... Selecting previously unselected package libxmu6:amd64. Preparing to unpack .../libxmu6_2%3a1.1.2-1_amd64.deb ... Unpacking libxmu6:amd64 (2:1.1.2-1) ... Selecting previously unselected package file. Preparing to unpack .../file_1%3a5.22+15-2_amd64.deb ... Unpacking file (1:5.22+15-2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../gettext-base_0.19.3-2_amd64.deb ... Unpacking gettext-base (0.19.3-2) ... Selecting previously unselected package gettext. Preparing to unpack .../gettext_0.19.3-2_amd64.deb ... Unpacking gettext (0.19.3-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../intltool-debian_0.35.0+20060710.1_all.deb ... Unpacking intltool-debian (0.35.0+20060710.1) ... Selecting previously unselected package po-debconf. Preparing to unpack .../po-debconf_1.0.16+nmu3_all.deb ... Unpacking po-debconf (1.0.16+nmu3) ... Selecting previously unselected package debhelper. Preparing to unpack .../debhelper_9.20150101_all.deb ... Unpacking debhelper (9.20150101) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../xorg-sgml-doctools_1%3a1.11-1_all.deb ... Unpacking xorg-sgml-doctools (1:1.11-1) ... Selecting previously unselected package x11proto-core-dev. Preparing to unpack .../x11proto-core-dev_7.0.26-1_all.deb ... Unpacking x11proto-core-dev (7.0.26-1) ... Selecting previously unselected package libice-dev:amd64. Preparing to unpack .../libice-dev_2%3a1.0.9-1+b1_amd64.deb ... Unpacking libice-dev:amd64 (2:1.0.9-1+b1) ... Selecting previously unselected package libnet1-dev. Preparing to unpack .../libnet1-dev_1.1.6+dfsg-3_amd64.deb ... Unpacking libnet1-dev (1.1.6+dfsg-3) ... Selecting previously unselected package libnids1.21. Preparing to unpack .../libnids1.21_1.23-2_amd64.deb ... Unpacking libnids1.21 (1.23-2) ... Selecting previously unselected package libnids-dev. Preparing to unpack .../libnids-dev_1.23-2_amd64.deb ... Unpacking libnids-dev (1.23-2) ... Selecting previously unselected package libpcap0.8-dev. Preparing to unpack .../libpcap0.8-dev_1.6.2-2_amd64.deb ... Unpacking libpcap0.8-dev (1.6.2-2) ... Selecting previously unselected package libpthread-stubs0-dev:amd64. Preparing to unpack .../libpthread-stubs0-dev_0.3-4_amd64.deb ... Unpacking libpthread-stubs0-dev:amd64 (0.3-4) ... Selecting previously unselected package libsm-dev:amd64. Preparing to unpack .../libsm-dev_2%3a1.2.2-1+b1_amd64.deb ... Unpacking libsm-dev:amd64 (2:1.2.2-1+b1) ... Selecting previously unselected package zlib1g-dev:amd64. Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2+b1_amd64.deb ... Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-2+b1) ... Selecting previously unselected package libssl-dev:amd64. Preparing to unpack .../libssl-dev_1.0.1k-3_amd64.deb ... Unpacking libssl-dev:amd64 (1.0.1k-3) ... Selecting previously unselected package libxau-dev:amd64. Preparing to unpack .../libxau-dev_1%3a1.0.8-1_amd64.deb ... Unpacking libxau-dev:amd64 (1:1.0.8-1) ... Selecting previously unselected package libxdmcp-dev:amd64. Preparing to unpack .../libxdmcp-dev_1%3a1.1.1-1+b1_amd64.deb ... Unpacking libxdmcp-dev:amd64 (1:1.1.1-1+b1) ... Selecting previously unselected package x11proto-input-dev. Preparing to unpack .../x11proto-input-dev_2.3.1-1_all.deb ... Unpacking x11proto-input-dev (2.3.1-1) ... Selecting previously unselected package x11proto-kb-dev. Preparing to unpack .../x11proto-kb-dev_1.0.6-2_all.deb ... Unpacking x11proto-kb-dev (1.0.6-2) ... Selecting previously unselected package xtrans-dev. Preparing to unpack .../xtrans-dev_1.3.5-1_all.deb ... Unpacking xtrans-dev (1.3.5-1) ... Selecting previously unselected package libxcb1-dev:amd64. Preparing to unpack .../libxcb1-dev_1.10-3+b1_amd64.deb ... Unpacking libxcb1-dev:amd64 (1.10-3+b1) ... Selecting previously unselected package libx11-dev:amd64. Preparing to unpack .../libx11-dev_2%3a1.6.2-3_amd64.deb ... Unpacking libx11-dev:amd64 (2:1.6.2-3) ... Selecting previously unselected package x11proto-xext-dev. Preparing to unpack .../x11proto-xext-dev_7.3.0-1_all.deb ... Unpacking x11proto-xext-dev (7.3.0-1) ... Selecting previously unselected package libxext-dev:amd64. Preparing to unpack .../libxext-dev_2%3a1.3.3-1_amd64.deb ... Unpacking libxext-dev:amd64 (2:1.3.3-1) ... Selecting previously unselected package libxt-dev:amd64. Preparing to unpack .../libxt-dev_1%3a1.1.4-1+b1_amd64.deb ... Unpacking libxt-dev:amd64 (1:1.1.4-1+b1) ... Selecting previously unselected package libxmu-headers. Preparing to unpack .../libxmu-headers_2%3a1.1.2-1_all.deb ... Unpacking libxmu-headers (2:1.1.2-1) ... Selecting previously unselected package libxmu-dev:amd64. Preparing to unpack .../libxmu-dev_2%3a1.1.2-1_amd64.deb ... Unpacking libxmu-dev:amd64 (2:1.1.2-1) ... Selecting previously unselected package libdb5.3-dev. Preparing to unpack .../libdb5.3-dev_5.3.28-9_amd64.deb ... Unpacking libdb5.3-dev (5.3.28-9) ... Selecting previously unselected package libdb-dev:amd64. Preparing to unpack .../libdb-dev_5.3.0+b1_amd64.deb ... Unpacking libdb-dev:amd64 (5.3.0+b1) ... Selecting previously unselected package sbuild-build-depends-dsniff-dummy. Preparing to unpack .../sbuild-build-depends-dsniff-dummy.deb ... Unpacking sbuild-build-depends-dsniff-dummy (0.invalid.0) ... Setting up libpipeline1:amd64 (1.4.0-1) ... Setting up libssl1.0.0:amd64 (1.0.1k-3) ... Setting up groff-base (1.22.3-1) ... Setting up bsdmainutils (9.0.6) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up man-db (2.7.0.2-5) ... Not building database; man-db/auto-update is not 'true'. Setting up libasprintf0c2:amd64 (0.19.3-2) ... Setting up libmagic1:amd64 (1:5.22+15-2) ... Setting up libicu52:amd64 (52.1-8) ... Setting up libxml2:amd64 (2.9.2+dfsg1-3) ... Setting up libglib2.0-0:amd64 (2.42.1-1) ... No schema files found: doing nothing. Setting up libcroco3:amd64 (0.6.8-3+b1) ... Setting up x11-common (1:7.7+7) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults All runlevel operations denied by policy invoke-rc.d: policy-rc.d denied execution of start. Setting up libice6:amd64 (2:1.0.9-1+b1) ... Setting up libnet1:amd64 (1.1.6+dfsg-3) ... Setting up libpcap0.8:amd64 (1.6.2-2) ... Setting up libsm6:amd64 (2:1.2.2-1+b1) ... Setting up libunistring0:amd64 (0.9.3-5.2+b1) ... Setting up libxau6:amd64 (1:1.0.8-1) ... Setting up libxdmcp6:amd64 (1:1.1.1-1+b1) ... Setting up libxcb1:amd64 (1.10-3+b1) ... Setting up libx11-data (2:1.6.2-3) ... Setting up libx11-6:amd64 (2:1.6.2-3) ... Setting up libxext6:amd64 (2:1.3.3-1) ... Setting up libxt6:amd64 (1:1.1.4-1+b1) ... Setting up libxmu6:amd64 (2:1.1.2-1) ... Setting up file (1:5.22+15-2) ... Setting up gettext-base (0.19.3-2) ... Setting up gettext (0.19.3-2) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu3) ... Setting up debhelper (9.20150101) ... Setting up xorg-sgml-doctools (1:1.11-1) ... Setting up x11proto-core-dev (7.0.26-1) ... Setting up libice-dev:amd64 (2:1.0.9-1+b1) ... Setting up libnet1-dev (1.1.6+dfsg-3) ... Setting up libnids1.21 (1.23-2) ... Setting up libnids-dev (1.23-2) ... Setting up libpcap0.8-dev (1.6.2-2) ... Setting up libpthread-stubs0-dev:amd64 (0.3-4) ... Setting up libsm-dev:amd64 (2:1.2.2-1+b1) ... Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2+b1) ... Setting up libssl-dev:amd64 (1.0.1k-3) ... Setting up libxau-dev:amd64 (1:1.0.8-1) ... Setting up libxdmcp-dev:amd64 (1:1.1.1-1+b1) ... Setting up x11proto-input-dev (2.3.1-1) ... Setting up x11proto-kb-dev (1.0.6-2) ... Setting up xtrans-dev (1.3.5-1) ... Setting up libxcb1-dev:amd64 (1.10-3+b1) ... Setting up libx11-dev:amd64 (2:1.6.2-3) ... Setting up x11proto-xext-dev (7.3.0-1) ... Setting up libxext-dev:amd64 (2:1.3.3-1) ... Setting up libxt-dev:amd64 (1:1.1.4-1+b1) ... Setting up libxmu-headers (2:1.1.2-1) ... Setting up libxmu-dev:amd64 (2:1.1.2-1) ... Setting up libdb5.3-dev (5.3.28-9) ... Setting up libdb-dev:amd64 (5.3.0+b1) ... Setting up sbuild-build-depends-dsniff-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.19-17) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 3.2.0-4-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.25-5 dpkg-dev_1.17.24 g++-4.9_4.9.2-10 gcc-4.9_4.9.2-10 libc6-dev_2.19-17 libstdc++-4.9-dev_4.9.2-10 libstdc++6_4.9.2-10 linux-libc-dev_3.16.7-ckt7-1 Package versions: acl_2.2.52-2 adduser_3.113+nmu3 apt_1.0.9.7 apt-utils_1.0.9.7 base-files_8 base-passwd_3.5.37 bash_4.3-12 binutils_2.25-5 bsdmainutils_9.0.6 bsdutils_1:2.25.2-5 build-essential_11.7 bzip2_1.0.6-7+b2 clang-3.6_1:3.6-2 coreutils_8.23-4 cpp_4:4.9.2-2 cpp-4.9_4.9.2-10 dash_0.5.7-4+b1 debconf_1.5.56 debfoster_2.7-2 debhelper_9.20150101 debian-archive-keyring_2014.3 debianutils_4.4+b1 diffutils_1:3.3-1+b1 dmsetup_2:1.02.90-2.1 dpkg_1.17.24 dpkg-dev_1.17.24 e2fslibs_1.42.12-1.1 e2fsprogs_1.42.12-1.1 fakeroot_1.20.2-1 file_1:5.22+15-2 findutils_4.4.2-9+b1 g++_4:4.9.2-2 g++-4.9_4.9.2-10 gcc_4:4.9.2-2 gcc-4.9_4.9.2-10 gcc-4.9-base_4.9.2-10 gettext_0.19.3-2 gettext-base_0.19.3-2 gnupg_1.4.18-7 gpgv_1.4.18-7 grep_2.20-4.1 groff-base_1.22.3-1 gzip_1.6-4 hostname_3.15 init_1.22 initscripts_2.88dsf-58 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 less_458-3 libacl1_2.2.52-2 libapt-inst1.5_1.0.9.7 libapt-pkg4.12_1.0.9.7 libasan1_4.9.2-10 libasprintf0c2_0.19.3-2 libatomic1_4.9.2-10 libattr1_1:2.4.47-2 libaudit-common_1:2.4-1 libaudit1_1:2.4-1+b1 libblkid1_2.25.2-5 libbsd0_0.7.0-2 libbz2-1.0_1.0.6-7+b2 libc-bin_2.19-17 libc-dev-bin_2.19-17 libc6_2.19-17 libc6-dev_2.19-17 libcap2_1:2.24-7 libcap2-bin_1:2.24-7 libcilkrts5_4.9.2-10 libclang-common-3.6-dev_1:3.6-2 libclang1-3.6_1:3.6-2 libcloog-isl4_0.18.2-1+b2 libcomerr2_1.42.12-1.1 libcroco3_0.6.8-3+b1 libcryptsetup4_2:1.6.6-5 libdb-dev_5.3.0+b1 libdb5.3_5.3.28-9 libdb5.3-dev_5.3.28-9 libdebconfclient0_0.192 libdevmapper1.02.1_2:1.02.90-2.1 libdpkg-perl_1.17.24 libedit2_3.1-20140620-2 libfakeroot_1.20.2-1 libffi6_3.1-2+b2 libgc1c2_1:7.2d-6.4 libgcc-4.9-dev_4.9.2-10 libgcc1_1:4.9.2-10 libgcrypt20_1.6.3-2 libgdbm3_1.8.3-13.1 libglib2.0-0_2.42.1-1 libgmp10_2:6.0.0+dfsg-6 libgomp1_4.9.2-10 libgpg-error0_1.17-3 libice-dev_2:1.0.9-1+b1 libice6_2:1.0.9-1+b1 libicu52_52.1-8 libisl10_0.12.2-2 libitm1_4.9.2-10 libkmod2_20-1 libllvm3.6_1:3.6-2 liblsan0_4.9.2-10 liblzma5_5.1.1alpha+20120614-2+b3 libmagic1_1:5.22+15-2 libmount1_2.25.2-5 libmpc3_1.0.3-1 libmpfr4_3.1.2-3 libncurses5_5.9+20140913-1+b1 libncursesw5_5.9+20140913-1+b1 libnet1_1.1.6+dfsg-3 libnet1-dev_1.1.6+dfsg-3 libnids-dev_1.23-2 libnids1.21_1.23-2 libobjc-4.9-dev_4.9.2-10 libobjc4_4.9.2-10 libpam-modules_1.1.8-3.1 libpam-modules-bin_1.1.8-3.1 libpam-runtime_1.1.8-3.1 libpam0g_1.1.8-3.1 libpcap0.8_1.6.2-2 libpcap0.8-dev_1.6.2-2 libpcre3_2:8.35-3.3 libpipeline1_1.4.0-1 libprocps3_2:3.3.9-9 libpthread-stubs0-dev_0.3-4 libquadmath0_4.9.2-10 libreadline6_6.3-8+b3 libselinux1_2.3-2 libsemanage-common_2.3-1 libsemanage1_2.3-1+b1 libsepol1_2.3-2 libslang2_2.3.0-2 libsm-dev_2:1.2.2-1+b1 libsm6_2:1.2.2-1+b1 libsmartcols1_2.25.2-5 libss2_1.42.12-1.1 libssl-dev_1.0.1k-3 libssl1.0.0_1.0.1k-3 libstdc++-4.9-dev_4.9.2-10 libstdc++6_4.9.2-10 libsystemd0_215-12 libtimedate-perl_2.3000-2 libtinfo5_5.9+20140913-1+b1 libtsan0_4.9.2-10 libubsan0_4.9.2-10 libudev1_215-12 libunistring0_0.9.3-5.2+b1 libusb-0.1-4_2:0.1.12-25 libustr-1.0-1_1.0.4-3+b2 libuuid1_2.25.2-5 libx11-6_2:1.6.2-3 libx11-data_2:1.6.2-3 libx11-dev_2:1.6.2-3 libxau-dev_1:1.0.8-1 libxau6_1:1.0.8-1 libxcb1_1.10-3+b1 libxcb1-dev_1.10-3+b1 libxdmcp-dev_1:1.1.1-1+b1 libxdmcp6_1:1.1.1-1+b1 libxext-dev_2:1.3.3-1 libxext6_2:1.3.3-1 libxml2_2.9.2+dfsg1-3 libxmu-dev_2:1.1.2-1 libxmu-headers_2:1.1.2-1 libxmu6_2:1.1.2-1 libxt-dev_1:1.1.4-1+b1 libxt6_1:1.1.4-1+b1 linux-libc-dev_3.16.7-ckt7-1 login_1:4.2-3 lsb-base_4.1+Debian13+nmu1 make_4.0-8.1 man-db_2.7.0.2-5 mawk_1.3.3-17 mount_2.25.2-5 multiarch-support_2.19-17 ncurses-base_5.9+20140913-1 ncurses-bin_5.9+20140913-1+b1 nvi_1.81.6-11+b1 passwd_1:4.2-3 patch_2.7.5-1 perl_5.20.2-2 perl-base_5.20.2-2 perl-modules_5.20.2-2 po-debconf_1.0.16+nmu3 procps_2:3.3.9-9 readline-common_6.3-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-dsniff-dummy_0.invalid.0 sed_4.2.2-4+b1 sensible-utils_0.0.9 startpar_0.59-3 sudo_1.8.12-1 systemd_215-12 systemd-sysv_215-12 sysv-rc_2.88dsf-58 sysvinit-utils_2.88dsf-58 tar_1.27.1-2+b1 tzdata_2015b-1 udev_215-12 util-linux_2.25.2-5 x11-common_1:7.7+7 x11proto-core-dev_7.0.26-1 x11proto-input-dev_2.3.1-1 x11proto-kb-dev_1.0.6-2 x11proto-xext-dev_7.3.0-1 xorg-sgml-doctools_1:1.11-1 xtrans-dev_1.3.5-1 xz-utils_5.1.1alpha+20120614-2+b3 zlib1g_1:1.2.8.dfsg-2+b1 zlib1g-dev_1:1.2.8.dfsg-2+b1 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Sat Nov 30 20:37:41 2013 UTC using RSA key ID 1A2D268D gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./dsniff_2.4b1+debian-22.1.dsc dpkg-source: info: extracting dsniff in dsniff-2.4b1+debian dpkg-source: info: unpacking dsniff_2.4b1+debian.orig.tar.gz dpkg-source: info: unpacking dsniff_2.4b1+debian-22.1.debian.tar.gz dpkg-source: info: applying 01_time.h.patch dpkg-source: info: applying 02_mailsnarf_corrupt.patch dpkg-source: info: applying 03_pcap_read_dump.patch dpkg-source: info: applying 04_multiple_intf.patch dpkg-source: info: applying 05_amd64_fix.patch dpkg-source: info: applying 06_urlsnarf_zeropad.patch dpkg-source: info: applying 07_libnet_1.1.patch dpkg-source: info: applying 08_openssl-0.9.8.patch dpkg-source: info: applying 09_sysconf_clocks.patch dpkg-source: info: applying 08_checksum.patch dpkg-source: info: applying 09_sshcrypto.patch dpkg-source: info: applying 10_urlsnarf_escape.patch dpkg-source: info: applying 11_string_header.patch dpkg-source: info: applying 12_arpa_inet_header.patch dpkg-source: info: applying 13_pop_with_version.patch dpkg-source: info: applying 14_obsolete_time.patch dpkg-source: info: applying 15_checksum_libnids.patch dpkg-source: info: applying 16_TDS_decoder.patch dpkg-source: info: applying 20_debian_dirs.patch dpkg-source: info: applying 21_msgsnarf_segfault.patch dpkg-source: info: applying 22_handlepp.patch dpkg-source: info: applying 23_urlsnarf_timestamp.patch dpkg-source: info: applying 0001-rewrite-and-modernize-POP-decoder.patch dpkg-source: info: applying 0001-arpspoof-add-r-switch-to-poison-both-directions.patch dpkg-source: info: applying 0002-arpspoof-allow-use-of-of-multiple-targets.patch dpkg-source: info: applying 0003-arpspoof-allow-selection-of-source-hw-address.patch Check disc space ──────────────── Sufficient free space for build User Environment ──────────────── DEB_BUILD_OPTIONS=parallel=10 HOME=/sbuild-nonexistent LOGNAME=user PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1001 SCHROOT_GROUP=user SCHROOT_SESSION_ID=unstable-amd64-sbuild-6e727dee-cd8c-462b-a74f-7b0d97fa63dd SCHROOT_UID=1001 SCHROOT_USER=user SHELL=/bin/sh USER=user dpkg-buildpackage ───────────────── dpkg-buildpackage: source package dsniff dpkg-buildpackage: source version 2.4b1+debian-22.1 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by Andrew Shadura dpkg-source --before-build dsniff-2.4b1+debian dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh clean dh_testdir dh_auto_clean dh_clean debian/rules build-arch dh build-arch dh_testdir -a dh_auto_configure -a creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for ANSI C header files... yes checking for err.h... yes checking for fcntl.h... yes checking for sys/ioctl.h... yes checking for sys/queue.h... yes checking for unistd.h... yes checking for libgen.h... yes checking for net/if_tun.h... no checking for MIN and MAX in sys/param.h... yes checking for working const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for u_int32_t... yes checking for u_int64_t... yes checking for in_addr_t... no checking whether gcc needs -traditional... no checking for 8-bit clean memcmp... yes checking return type of signal handlers... void checking for strftime... yes checking for gethostname... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for xdr_fhstatus in -lrpcsvc... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for dn_expand in -lresolv... no checking for __dn_expand in -lresolv... yes checking for dirname... yes checking for strlcpy... no checking for strlcat... no checking for strsep... yes checking for MD5Update... no checking for warnx... yes checking for ether_ntoa... yes checking for Berkeley DB with 1.85 compatibility... yes checking for libpcap... yes checking for libnet... yes checking for libnids... yes checking whether libnids version is good... yes checking for OpenSSL... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h dh_auto_build -a make[1]: Entering directory '/«BUILDDIR»/dsniff-2.4b1+debian' gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./missing/dummy.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./missing/strlcpy.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./missing/strlcat.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./missing/md5.c ./missing/md5.c:151:27: warning: 'memset' call operates on objects of type 'struct MD5Context' while the size is based on a different type 'struct MD5Context *' [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ~~~ ^~~ ./missing/md5.c:151:27: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^~~ 1 warning generated. ar -cr libmissing.a dummy.o strlcpy.o strlcat.o md5.o ranlib libmissing.a gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./arpspoof.c ./arpspoof.c:44:17: warning: initializing 'uint8_t *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] static uint8_t *brd_ha = "\xff\xff\xff\xff\xff\xff"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./arp.c gcc -o arpspoof arpspoof.o arp.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./dnsspoof.c ./dnsspoof.c:227:10: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((q = dns_lookup_ptr(name)) == NULL) ^ ~~~~~~~~~~~~~~~~~~~~ ./dnsspoof.c:231:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] anslen = dn_comp(q, p + 12, 256, NULL, NULL); ^ /usr/include/resolv.h:355:27: note: passing argument to parameter here int dn_comp (const char *, u_char *, int, u_char **, u_char **) ^ 2 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./pcaputil.c gcc -o dnsspoof dnsspoof.o pcaputil.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet rpcgen -h mount.x -o mount.h rpcgen -c mount.x -o mount.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./asn1.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./base64.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./buf.c ./buf.c:113:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = vsnprintf(buf_ptr(buf), buf_len(buf), fmt, ap); ^~~~~~~~~~~~ ./buf.h:31:20: note: expanded from macro 'buf_ptr' #define buf_ptr(b) ((b)->base + (b)->offset) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:390:40: note: passing argument to parameter '__s' here extern int vsnprintf (char *__restrict __s, size_t __maxlen, ^ 1 warning generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./hex.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./magic.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./mount.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./rpc.c ./rpc.c:112:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ /usr/include/rpc/xdr.h:350:55: note: passing argument to parameter '__addr' here extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./rpc.c:121:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ /usr/include/rpc/xdr.h:350:55: note: passing argument to parameter '__addr' here extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ 2 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./tcp_raw.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./trigger.c ./trigger.c:300:42: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((len = t->decode->dc_func(buf, len, obuf, sizeof(obuf))) > 0) { ^~~~ ./trigger.c:302:36: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] 0, 0, t->decode->dc_name, obuf, len); ^~~~ ./record.h:17:44: note: passing argument to parameter 'buf' here u_short dport, char *name, u_char *buf, int len); ^ ./trigger.c:346:42: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((len = t->decode->dc_func(buf, len, obuf, sizeof(obuf))) > 0) { ^~~~ ./trigger.c:349:30: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] t->decode->dc_name, obuf, len); ^~~~ ./record.h:17:44: note: passing argument to parameter 'buf' here u_short dport, char *name, u_char *buf, int len); ^ ./trigger.c:360:6: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] buf = hs->data; ^ ~~~~~~~~ ./trigger.c:378:12: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] obuf, sizeof(obuf))) > 0) { ^~~~ ./trigger.c:381:11: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] obuf, len); ^~~~ ./record.h:17:44: note: passing argument to parameter 'buf' here u_short dport, char *name, u_char *buf, int len); ^ ./trigger.c:478:7: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] obuf, sizeof(obuf)); ^~~~ ./trigger.c:484:11: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] obuf, len); ^~~~ ./record.h:17:44: note: passing argument to parameter 'buf' here u_short dport, char *name, u_char *buf, int len); ^ ./trigger.c:512:12: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] obuf, sizeof(obuf))) > 0) { ^~~~ ./trigger.c:514:31: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] t->decode->dc_name, obuf, len); ^~~~ ./record.h:17:44: note: passing argument to parameter 'buf' here u_short dport, char *name, u_char *buf, int len); ^ 11 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./record.c ./record.c:104:18: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD5Update(&ctx, rec->name.n_bytes, rec->name.n_len); ^~~~~~~~~~~~~~~~~ ./missing/md5.h:11:65: note: passing argument to parameter 'buf' here void MD5Update(struct MD5Context *context, unsigned char const *buf, ^ ./record.c:105:18: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD5Update(&ctx, rec->data.n_bytes, rec->data.n_len); ^~~~~~~~~~~~~~~~~ ./missing/md5.h:11:65: note: passing argument to parameter 'buf' here void MD5Update(struct MD5Context *context, unsigned char const *buf, ^ ./record.c:121:23: warning: passing 'u_char [2048]' to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE); ^~~ /usr/include/rpc/xdr.h:350:55: note: passing argument to parameter '__addr' here extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./record.c:195:19: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] rec.data.n_bytes = buf; ^ ~~~ 4 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./dsniff.c ./dsniff.c:104:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode.c ./decode.c:123:7: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = buf + i + 1; ^ ~~~~~~~~~~~ ./decode.c:124:21: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((q = bufbuf(p, len - i, "\xff", 1)) ^ ./decode.h:48:24: note: passing argument to parameter 'big' here u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^ ./decode.c:124:33: warning: passing 'char [2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((q = bufbuf(p, len - i, "\xff", 1)) ^~~~~~ ./decode.h:48:47: note: passing argument to parameter 'little' here u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^ ./decode.c:124:12: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((q = bufbuf(p, len - i, "\xff", 1)) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./decode.c:126:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((p = bufbuf(p, q - p, "USER\x01", ^ ./decode.h:48:24: note: passing argument to parameter 'big' here u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^ ./decode.c:126:32: warning: passing 'char [6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((p = bufbuf(p, q - p, "USER\x01", ^~~~~~~~~~ ./decode.h:48:47: note: passing argument to parameter 'little' here u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^ ./decode.c:126:13: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((p = bufbuf(p, q - p, "USER\x01", ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_aim.c ./decode_aim.c:67:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((j = strcspn(p, " ")) > 0) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:916:24: note: expanded from macro 'strcspn' ? __builtin_strcspn (s, reject) \ ^ ./decode_aim.c:67:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((j = strcspn(p, " ")) > 0) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:918:16: note: expanded from macro 'strcspn' ? strlen (s) \ ^ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ./decode_aim.c:67:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((j = strcspn(p, " ")) > 0) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:920:25: note: expanded from macro 'strcspn' ? __strcspn_c1 (s, __r0) \ ^ /usr/include/x86_64-linux-gnu/bits/string2.h:947:27: note: passing argument to parameter '__s' here __strcspn_c1 (const char *__s, int __reject) ^ ./decode_aim.c:67:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((j = strcspn(p, " ")) > 0) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:922:21: note: expanded from macro 'strcspn' ? __strcspn_c2 (s, __r0, __r1) \ ^ /usr/include/x86_64-linux-gnu/bits/string2.h:958:27: note: passing argument to parameter '__s' here __strcspn_c2 (const char *__s, int __reject1, int __reject2) ^ ./decode_aim.c:67:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((j = strcspn(p, " ")) > 0) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:924:24: note: expanded from macro 'strcspn' ? __strcspn_c3 (s, __r0, __r1, __r2) \ ^ /usr/include/x86_64-linux-gnu/bits/string2.h:970:27: note: passing argument to parameter '__s' here __strcspn_c3 (const char *__s, int __reject1, int __reject2, ^ ./decode_aim.c:67:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((j = strcspn(p, " ")) > 0) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:925:29: note: expanded from macro 'strcspn' : __builtin_strcspn (s, reject)))))) \ ^ ./decode_aim.c:67:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((j = strcspn(p, " ")) > 0) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:28: note: expanded from macro 'strcspn' : __builtin_strcspn (s, reject)); }) ^ ./decode_aim.c:70:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strtok(p, " ") == NULL) ^ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ ./decode_aim.c:75:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = strlen(p); ^ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ./decode_aim.c:76:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] j = hex_decode(p, i, p, i); ^ ./hex.h:14:22: note: passing argument to parameter 'src' here int hex_decode(char *src, int srclen, u_char *buf, int len); ^ 10 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_citrix.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_cvs.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_ftp.c ./decode_ftp.c:47:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncasecmp(buf_ptr(line), "USER ", 5) == 0 || ^~~~~~~~~~~~~ ./buf.h:31:20: note: expanded from macro 'buf_ptr' #define buf_ptr(b) ((b)->base + (b)->offset) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:538:37: note: passing argument to parameter '__s1' here extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ ./decode_ftp.c:48:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncasecmp(buf_ptr(line), "ACCT ", 5) == 0 || ^~~~~~~~~~~~~ ./buf.h:31:20: note: expanded from macro 'buf_ptr' #define buf_ptr(b) ((b)->base + (b)->offset) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:538:37: note: passing argument to parameter '__s1' here extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ ./decode_ftp.c:49:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncasecmp(buf_ptr(line), "PASS ", 5) == 0) { ^~~~~~~~~~~~~ ./buf.h:31:20: note: expanded from macro 'buf_ptr' #define buf_ptr(b) ((b)->base + (b)->offset) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:538:37: note: passing argument to parameter '__s1' here extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ 3 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_hex.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_http.c ./decode_http.c:119:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((req = strtok(buf_ptr(msg), "\r\n")) == NULL) ^~~~~~~~~~~~ ./buf.h:31:20: note: expanded from macro 'buf_ptr' #define buf_ptr(b) ((b)->base + (b)->offset) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ ./decode_http.c:157:12: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] query = buf_ptr(msg); ^ ~~~~~~~~~~~~ ./decode_http.c:176:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ ./base64.h:12:39: note: passing argument to parameter here int base64_pton(char const *, u_char *, size_t); ^ ./decode_http.c:183:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ ./base64.h:12:39: note: passing argument to parameter here int base64_pton(char const *, u_char *, size_t); ^ 4 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_icq.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_imap.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_irc.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_ldap.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_mmxp.c ./decode_mmxp.c:31:16: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char [33]' converts between pointers to integer types with different sign [-Wpointer-sign] static u_char *mm_xor = MM_SECRET; ^ ~~~~~~~~~ 1 warning generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_mountd.c ./decode_mountd.c:47:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); ^~~~~~~~~~~~ /usr/include/rpc/xdr.h:350:55: note: passing argument to parameter '__addr' here extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./decode_mountd.c:59:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, ^~~~~~~~~~~~ /usr/include/rpc/xdr.h:350:55: note: passing argument to parameter '__addr' here extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ 2 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_napster.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_nntp.c ./decode_nntp.c:32:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^~~ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ ./decode_nntp.c:34:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_nntp.c:35:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_nntp.c:39:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_nntp.c:50:25: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ ./base64.h:12:39: note: passing argument to parameter here int base64_pton(char const *, u_char *, size_t); ^ ./decode_nntp.c:52:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = strlen(obuf); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ./decode_nntp.c:53:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(obuf + i, olen - i, ^~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ ./decode_nntp.c:57:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_nntp.c:60:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (strlen(obuf)); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 9 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_oracle.c ./decode_oracle.c:42:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(obuf, olen, "%s\n", q); ^~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ ./decode_oracle.c:46:26: warning: passing 'char [7]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((p = bufbuf(p, len, "(TNS V", 6)) == NULL) return (0); ^~~~~~~~ ./decode.h:48:47: note: passing argument to parameter 'little' here u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^ ./decode_oracle.c:66:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] j = strlen(obuf); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ./decode_oracle.c:67:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(obuf + j, olen + j, "%s\n", p + 117); ^~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ ./decode_oracle.c:70:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (gotauth ? strlen(obuf) : 0); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 5 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_ospf.c ./decode_ospf.c:31:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (snprintf(obuf, olen, "%s\n", buf + 16)); ^~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ 1 warning generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_pcanywhere.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_pop.c ./decode_pop.c:32:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^~~ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ ./decode_pop.c:36:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_pop.c:37:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_pop.c:40:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strip_lines(obuf, Opt_lines) < 3) ^~~~ ./decode.h:44:23: note: passing argument to parameter 'buf' here int strip_lines(char *buf, int max_lines); ^ ./decode_pop.c:43:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (strlen(obuf)); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ./decode_pop.c:65:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^~~ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ ./decode_pop.c:94:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] j = base64_pton(p, p, strlen(p)); ^ ./base64.h:12:39: note: passing argument to parameter here int base64_pton(char const *, u_char *, size_t); ^ ./decode_pop.c:114:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] j = base64_pton(p, p, strlen(p)); ^ ./base64.h:12:39: note: passing argument to parameter here int base64_pton(char const *, u_char *, size_t); ^ ./decode_pop.c:125:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, "\nusername [", olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_pop.c:126:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, user, olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_pop.c:127:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, "] password [", olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_pop.c:128:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, password, olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_pop.c:129:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, "]\n", olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_pop.c:134:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (strlen(obuf)); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 14 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_portmap.c ./decode_portmap.c:41:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); ^~~~~~~~~~~~ /usr/include/rpc/xdr.h:350:55: note: passing argument to parameter '__addr' here extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./decode_portmap.c:56:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, ^~~~~~~~~~~~ /usr/include/rpc/xdr.h:350:55: note: passing argument to parameter '__addr' here extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ 2 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_postgresql.c ./decode_postgresql.c:46:8: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] db = p + 4; db[63] = '\0'; ^ ~~~~~ ./decode_postgresql.c:52:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(obuf + strlen(obuf), ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ./decode_postgresql.c:53:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] olen - strlen(obuf), ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ./decode_postgresql.c:52:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(obuf + strlen(obuf), ^~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ ./decode_postgresql.c:60:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (strlen(obuf)); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 5 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_pptp.c ./decode_pptp.c:187:20: warning: passing 'u_char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((p = strchr(name, '\\')) == NULL) ^~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:399:25: note: expanded from macro 'strchr' : __builtin_strchr (s, c))) ^ ./decode_pptp.c:187:11: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((p = strchr(name, '\\')) == NULL) ^ ~~~~~~~~~~~~~~~~~~ ./decode_pptp.c:193:32: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] SHA1_Update(&ctx, p, strlen(p)); ^ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 3 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_rip.c ./decode_rip.c:32:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (snprintf(obuf, olen, "%s\n", buf + 20)); ^~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ 1 warning generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_rlogin.c ./decode_rlogin.c:32:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcpy(obuf, "[", olen); ^~~~ ./missing/strlcpy.h:1:22: note: passing argument to parameter 'dst' here size_t strlcpy(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:33:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, p, olen); /* Local username */ ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:33:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, p, olen); /* Local username */ ^ ./missing/strlcat.h:1:39: note: passing argument to parameter 'src' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:34:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, ":", olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:35:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] p += strlen(p) + 1; ^ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ./decode_rlogin.c:37:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, p, olen); /* Remote username */ ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:37:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, p, olen); /* Remote username */ ^ ./missing/strlcat.h:1:39: note: passing argument to parameter 'src' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:38:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, "]\n", olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:39:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] p += strlen(p) + 1; ^ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ./decode_rlogin.c:41:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] p += strlen(p) + 1; /* Skip term info */ ^ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ./decode_rlogin.c:43:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((q = strstr(p, "\xff\xffss")) != NULL) /* Skip window size */ ^ /usr/include/string.h:342:34: note: passing argument to parameter '__haystack' here extern char *strstr (const char *__haystack, const char *__needle) ^ ./decode_rlogin.c:43:9: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((q = strstr(p, "\xff\xffss")) != NULL) /* Skip window size */ ^ ~~~~~~~~~~~~~~~~~~~~~~~ ./decode_rlogin.c:46:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ ./decode_rlogin.c:46:9: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^ ~~~~~~~~~~~~~~~~~ ./decode_rlogin.c:46:43: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^ ~~~~~~~~~~~~~~~~~~~~ ./decode_rlogin.c:47:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:47:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, p, olen); ^ ./missing/strlcat.h:1:39: note: passing argument to parameter 'src' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:48:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:50:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strip_lines(obuf, Opt_lines)) ^~~~ ./decode.h:44:23: note: passing argument to parameter 'buf' here int strip_lines(char *buf, int max_lines); ^ ./decode_rlogin.c:53:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (strlen(obuf)); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 20 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_smb.c ./decode_smb.c:67:9: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] pass = q + 6; ^ ~~~~~ ./decode_smb.c:75:9: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] pass = q + 12; ^ ~~~~~~ ./decode_smb.c:83:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, user, olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_smb.c:84:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, " ", olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_smb.c:85:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, pass, olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_smb.c:86:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_smb.c:89:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (strlen(obuf)); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 7 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_smtp.c ./decode_smtp.c:31:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^~~ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ ./decode_smtp.c:33:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_smtp.c:34:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ ./base64.h:12:39: note: passing argument to parameter here int base64_pton(char const *, u_char *, size_t); ^ ./decode_smtp.c:36:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] j = strlen(obuf); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ./decode_smtp.c:37:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(obuf + j, olen - j, " [%s]\n", p); ^~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ ./decode_smtp.c:41:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_smtp.c:43:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ ./base64.h:12:39: note: passing argument to parameter here int base64_pton(char const *, u_char *, size_t); ^ ./decode_smtp.c:45:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] j = strlen(obuf); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ./decode_smtp.c:46:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(obuf + j, olen - j, " [%s]\n", p); ^~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ ./decode_smtp.c:55:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (strlen(obuf)); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 10 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_sniffer.c ./decode_sniffer.c:36:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (strlcpy(obuf, "[]\n", olen)); ^~~~ ./missing/strlcpy.h:1:22: note: passing argument to parameter 'dst' here size_t strlcpy(char *dst, const char *src, size_t siz); ^ ./decode_sniffer.c:40:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (strlcpy(obuf, "[]\n", olen)); ^~~~ ./missing/strlcpy.h:1:22: note: passing argument to parameter 'dst' here size_t strlcpy(char *dst, const char *src, size_t siz); ^ ./decode_sniffer.c:44:29: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] buf[len - 3]= '\0'; strtok(&buf[32], "\r\n"); ^~~~~~~~ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ ./decode_sniffer.c:45:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(obuf, olen, "%s [", &buf[32]); ^~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ ./decode_sniffer.c:46:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = strlen(obuf); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ./decode_sniffer.c:47:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = base64_pton(&buf[32], &obuf[len], olen - len - 3); ^~~~~~~~ ./base64.h:12:29: note: passing argument to parameter here int base64_pton(char const *, u_char *, size_t); ^ ./decode_sniffer.c:49:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, "]\n", olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_sniffer.c:51:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (strlen(obuf)); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 8 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_snmp.c ./decode_snmp.c:47:4: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] p = buf_strdup(b); ^ ~~~~~~~~~~~~~ 1 warning generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_socks.c ./decode_socks.c:48:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(obuf, olen, "%s ", p - 1); ^~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ ./decode_socks.c:56:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, p - 1, olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_socks.c:56:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, p - 1, olen); ^~~~~ ./missing/strlcat.h:1:39: note: passing argument to parameter 'src' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_socks.c:57:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_socks.c:59:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (strlen(obuf)); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 5 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_tds.c ./decode_tds.c:163:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, tl->username, olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_tds.c:164:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_tds.c:170:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, tl->password, olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_tds.c:171:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_tds.c:204:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(obuf + strlen(obuf), ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ./decode_tds.c:205:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] olen - strlen(obuf), ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ./decode_tds.c:204:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(obuf + strlen(obuf), ^~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ ./decode_tds.c:207:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return(strlen(obuf)); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ./decode_tds.c:210:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (strlen(obuf)); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 9 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_telnet.c ./decode_telnet.c:28:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!is_ascii_string(buf, len)) ^~~ ./decode.h:46:27: note: passing argument to parameter 'buf' here int is_ascii_string(char *buf, int len); ^ ./decode_telnet.c:31:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strip_lines(buf, Opt_lines) < 2) ^~~ ./decode.h:44:23: note: passing argument to parameter 'buf' here int strip_lines(char *buf, int max_lines); ^ ./decode_telnet.c:34:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcpy(obuf, buf, olen); ^~~~ ./missing/strlcpy.h:1:22: note: passing argument to parameter 'dst' here size_t strlcpy(char *dst, const char *src, size_t siz); ^ ./decode_telnet.c:34:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcpy(obuf, buf, olen); ^~~ ./missing/strlcpy.h:1:39: note: passing argument to parameter 'src' here size_t strlcpy(char *dst, const char *src, size_t siz); ^ ./decode_telnet.c:36:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (strlen(obuf)); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 5 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_vrrp.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_yp.c ./decode_yp.c:86:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); ^~~~~~~~~~~~ /usr/include/rpc/xdr.h:350:55: note: passing argument to parameter '__addr' here extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./decode_yp.c:89:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(obuf, olen, ^~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ ./decode_yp.c:98:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (strlen(obuf)); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ./decode_yp.c:119:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); ^~~~~~~~~~~~ /usr/include/rpc/xdr.h:350:55: note: passing argument to parameter '__addr' here extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./decode_yp.c:132:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, ^~~~~~~~~~~~ /usr/include/rpc/xdr.h:350:55: note: passing argument to parameter '__addr' here extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./decode_yp.c:136:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(obuf, olen, "%s\n", ^~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ ./decode_yp.c:144:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (strlen(obuf)); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 7 warnings generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./decode_x11.c ./decode_x11.c:28:4: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = buf + 12; ^ ~~~~~~~~ ./decode_x11.c:33:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcpy(obuf, "MIT-MAGIC-COOKIE-1 ", olen); ^~~~ ./missing/strlcpy.h:1:22: note: passing argument to parameter 'dst' here size_t strlcpy(char *dst, const char *src, size_t siz); ^ ./decode_x11.c:37:4: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] q = obuf + 19; ^ ~~~~~~~~~ ./decode_x11.c:41:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ ./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_x11.c:43:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (strlen(obuf)); ^~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 5 warnings generated. gcc -o dsniff asn1.o base64.o buf.o hex.o magic.o mount.o pcaputil.o rpc.o tcp_raw.o trigger.o record.o dsniff.o decode.o decode_aim.o decode_citrix.o decode_cvs.o decode_ftp.o decode_hex.o decode_http.o decode_icq.o decode_imap.o decode_irc.o decode_ldap.o decode_mmxp.o decode_mountd.o decode_napster.o decode_nntp.o decode_oracle.o decode_ospf.o decode_pcanywhere.o decode_pop.o decode_portmap.o decode_postgresql.o decode_pptp.o decode_rip.o decode_rlogin.o decode_smb.o decode_smtp.o decode_sniffer.o decode_snmp.o decode_socks.o decode_tds.o decode_telnet.o decode_vrrp.o decode_yp.o decode_x11.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lnids -L/usr/lib -lpcap -L/usr/lib -lnet -L/usr/lib -ldb -L/usr/lib -lssl -lcrypto rpcgen -h nfs_prot.x -o nfs_prot.h rpcgen -c nfs_prot.x -o nfs_prot.c gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./nfs_prot.c ./nfs_prot.c:294:8: warning: implicit declaration of function 'xdr_u_int64_t' is invalid in C99 [-Wimplicit-function-declaration] if (!xdr_u_int64_t (xdrs, objp)) ^ 1 warning generated. gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./filesnarf.c ./filesnarf.c:161:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ /usr/include/rpc/xdr.h:350:55: note: passing argument to parameter '__addr' here extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./filesnarf.c:174:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ /usr/include/rpc/xdr.h:350:55: note: passing argument to parameter '__addr' here extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./filesnarf.c:177:24: warning: passing 'char [32]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] fname = fh_map_find(rargs.file.data, NFS_FHSIZE); ^~~~~~~~~~~~~~~ ./filesnarf.c:105:21: note: passing argument to parameter 'fh' here fh_map_find(u_char *fh, int len) ^ ./filesnarf.c:205:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ /usr/include/rpc/xdr.h:350:55: note: passing argument to parameter '__addr' here extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./filesnarf.c:211:9: warning: passing 'char [32]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] dres.diropres_u.diropres.file.data, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./filesnarf.c:89:36: note: passing argument to parameter 'fh' here fh_map_add(char *filename, u_char *fh, int len) ^ ./filesnarf.c:218:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ /usr/include/rpc/xdr.h:350:55: note: passing argument to parameter '__addr' here extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./filesnarf.c:224:7: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] rres.readres_u.reply.data.data_val, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./filesnarf.c:132:62: note: passing argument to parameter 'buf' here nfs_save(struct tuple4 *addr, struct myreadargs *ma, u_char *buf, int len) ^ ./filesnarf.c:246:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ /usr/include/rpc/xdr.h:350:55: note: passing argument to parameter '__addr' here extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./filesnarf.c:259:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ /usr/include/rpc/xdr.h:350:55: note: passing argument to parameter '__addr' here extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./filesnarf.c:262:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] fname = fh_map_find(rargs.file.data.data_val, ^~~~~~~~~~~~~~~~~~~~~~~~ ./filesnarf.c:105:21: note: passing argument to parameter 'fh' here fh_map_find(u_char *fh, int len) ^ ./filesnarf.c:290:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ /usr/include/rpc/xdr.h:350:55: note: passing argument to parameter '__addr' here extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./filesnarf.c:296:6: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] lres.LOOKUP3res_u.resok.object.data.data_val, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./filesnarf.c:89:36: note: passing argument to parameter 'fh' here fh_map_add(char *filename, u_char *fh, int len) ^ ./filesnarf.c:304:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ /usr/include/rpc/xdr.h:350:55: note: passing argument to parameter '__addr' here extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./filesnarf.c:310:7: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] rres.READ3res_u.resok.data.data_val, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./filesnarf.c:132:62: note: passing argument to parameter 'buf' here nfs_save(struct tuple4 *addr, struct myreadargs *ma, u_char *buf, int len) ^ ./filesnarf.c:395:6: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] buf = hs->data; ^ ~~~~~~~~ 15 warnings generated. gcc -o filesnarf filesnarf.o nfs_prot.o pcaputil.o rpc.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lnids -L/usr/lib -lpcap -L/usr/lib -lnet gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./macof.c gcc -o macof macof.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./mailsnarf.c ./mailsnarf.c:118:17: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] buf_init(&buf, data, len); ^~~~ ./buf.h:22:34: note: passing argument to parameter 'data' here void buf_init(buf_t buf, u_char *data, int len); ^ ./mailsnarf.c:124:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncasecmp(buf_ptr(line), "RETR ", 5) == 0) { ^~~~~~~~~~~~~ ./buf.h:31:20: note: expanded from macro 'buf_ptr' #define buf_ptr(b) ((b)->base + (b)->offset) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:538:37: note: passing argument to parameter '__s1' here extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ ./mailsnarf.c:138:17: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] buf_init(&buf, data, len); ^~~~ ./buf.h:22:34: note: passing argument to parameter 'data' here void buf_init(buf_t buf, u_char *data, int len); ^ ./mailsnarf.c:160:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (regex_match(buf_ptr(body))) ^~~~~~~~~~~~~ ./buf.h:31:20: note: expanded from macro 'buf_ptr' #define buf_ptr(b) ((b)->base + (b)->offset) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mailsnarf.c:67:19: note: passing argument to parameter 'string' here regex_match(char *string) ^ ./mailsnarf.c:161:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] print_mbox_msg(NULL, buf_ptr(body)); ^~~~~~~~~~~~~ ./buf.h:31:20: note: expanded from macro 'buf_ptr' #define buf_ptr(b) ((b)->base + (b)->offset) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mailsnarf.c:89:34: note: passing argument to parameter 'msg' here print_mbox_msg(char *from, char *msg) ^ ./mailsnarf.c:176:17: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] buf_init(&buf, data, len); ^~~~ ./buf.h:22:34: note: passing argument to parameter 'data' here void buf_init(buf_t buf, u_char *data, int len); ^ ./mailsnarf.c:182:6: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = buf_ptr(line); ^ ~~~~~~~~~~~~~ ./mailsnarf.c:216:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (regex_match(buf_ptr(body))) ^~~~~~~~~~~~~ ./buf.h:31:20: note: expanded from macro 'buf_ptr' #define buf_ptr(b) ((b)->base + (b)->offset) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mailsnarf.c:67:19: note: passing argument to parameter 'string' here regex_match(char *string) ^ ./mailsnarf.c:217:32: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] print_mbox_msg(smtp->from, buf_ptr(body)); ^~~~~~~~~~~~~ ./buf.h:31:20: note: expanded from macro 'buf_ptr' #define buf_ptr(b) ((b)->base + (b)->offset) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mailsnarf.c:89:34: note: passing argument to parameter 'msg' here print_mbox_msg(char *from, char *msg) ^ 9 warnings generated. gcc -o mailsnarf mailsnarf.o buf.o pcaputil.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lnids -L/usr/lib -lpcap -L/usr/lib -lnet gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./msgsnarf.c ./msgsnarf.c:146:7: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] p = buf_strdup(msg); ^ ~~~~~~~~~~~~~~~ ./msgsnarf.c:148:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (regex_match(p)) ^ ./msgsnarf.c:67:19: note: passing argument to parameter 'string' here regex_match(char *string) ^ ./msgsnarf.c:162:7: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] p = buf_strdup(msg); ^ ~~~~~~~~~~~~~~~ ./msgsnarf.c:164:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (regex_match(p)) ^ ./msgsnarf.c:67:19: note: passing argument to parameter 'string' here regex_match(char *string) ^ ./msgsnarf.c:198:7: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] p = buf_strdup(msg); ^ ~~~~~~~~~~~~~~~ ./msgsnarf.c:200:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (p && strlen(p) && regex_match(p)) { ^ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ./msgsnarf.c:200:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (p && strlen(p) && regex_match(p)) { ^ ./msgsnarf.c:67:19: note: passing argument to parameter 'string' here regex_match(char *string) ^ ./msgsnarf.c:599:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] i = process_msgs(c, ts->server.data, ^~~~~~~~~~~~~~~ ./msgsnarf.c:604:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] i = process_msgs(c, ts->client.data, ^~~~~~~~~~~~~~~ ./msgsnarf.c:615:20: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] process_msgs(c, ts->server.data, ^~~~~~~~~~~~~~~ ./msgsnarf.c:618:20: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] process_msgs(c, ts->client.data, ^~~~~~~~~~~~~~~ 11 warnings generated. gcc -o msgsnarf msgsnarf.o buf.o pcaputil.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lnids -L/usr/lib -lpcap -L/usr/lib -lnet gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I. -I./missing -c ./sshmitm.c ./sshmitm.c:45:21: error: redefinition of 'csin' as different kind of symbol struct sockaddr_in csin, ssin; ^ ./sshmitm.c:45:21: note: previous definition is here ./sshmitm.c:152:23: error: member reference base type '_Complex double (_Complex double)' is not a structure or union inet_ntoa(csin.sin_addr), ntohs(csin.sin_port)); ~~~~^~~~~~~~~ ./sshmitm.c:152:45: error: member reference base type '_Complex double (_Complex double)' is not a structure or union inet_ntoa(csin.sin_addr), ntohs(csin.sin_port)); ~~~~^~~~~~~~~ /usr/include/netinet/in.h:401:33: note: expanded from macro 'ntohs' # define ntohs(x) __bswap_16 (x) ^ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h:27:62: note: expanded from macro '__bswap_16' ({ unsigned short int __v, __x = (unsigned short int) (x); \ ^ ./sshmitm.c:202:42: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ssh_strlcat(userpass, sizeof(userpass), buf + 1, i - 1); ^~~~~~~ ./sshmitm.c:57:40: note: passing argument to parameter 'src' here ssh_strlcat(char *dst, int size, char *src, int len) ^ ./sshmitm.c:235:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] buf + 1, i - 1); ^~~~~~~ ./sshmitm.c:57:40: note: passing argument to parameter 'src' here ssh_strlcat(char *dst, int size, char *src, int len) ^ ./sshmitm.c:241:17: error: member reference base type '_Complex double (_Complex double)' is not a structure or union record(csin.sin_addr.s_addr, ~~~~^~~~~~~~~ ./sshmitm.c:244:23: error: member reference base type '_Complex double (_Complex double)' is not a structure or union ntohs(csin.sin_port), ~~~~^~~~~~~~~ /usr/include/netinet/in.h:401:33: note: expanded from macro 'ntohs' # define ntohs(x) __bswap_16 (x) ^ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h:27:62: note: expanded from macro '__bswap_16' ({ unsigned short int __v, __x = (unsigned short int) (x); \ ^ ./sshmitm.c:340:35: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *)&csin, &i); ^~ /usr/include/x86_64-linux-gnu/sys/socket.h:244:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ 3 warnings and 5 errors generated. make[1]: *** [sshmitm.o] Error 1 Makefile:76: recipe for target 'sshmitm.o' failed make[1]: Leaving directory '/«BUILDDIR»/dsniff-2.4b1+debian' dh_auto_build: make -j1 returned exit code 2 make: *** [build-arch] Error 2 debian/rules:7: recipe for target 'build-arch' failed dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20150326-0859 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Build Architecture: amd64 Build-Space: 3256 Build-Time: 15 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 14 Job: dsniff_2.4b1+debian-22.1 Machine Architecture: amd64 Package: dsniff Package-Time: 60 Source-Version: 2.4b1+debian-22.1 Space: 3256 Status: attempted Version: 2.4b1+debian-22.1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20150326-0859 Build needed 00:01:00, 3256k disc space DC-Status: Failed 60.448284209s