DC-Build-Header: hunt 1.5-6 / Sun Sep 11 16:24:11 +0200 2011 Another build requested exclusive access to the build node Another build requested exclusive access to the build node sbuild (Debian sbuild) 0.62.2 (05 Apr 2011) on talc-103.nancy.grid5000.fr ╔══════════════════════════════════════════════════════════════════════════════╗ ║ hunt 1.5-6 (amd64) 11 Sep 2011 16:25 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: hunt Version: 1.5-6 Source Version: 1.5-6 Distribution: lsid64c Architecture: amd64 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Ign http://localhost sid InRelease Hit http://localhost sid Release.gpg Hit http://localhost sid Release Ign http://localhost sid/main Sources/DiffIndex Ign http://localhost sid/main amd64 Packages/DiffIndex Ign http://localhost sid/main TranslationIndex Hit http://localhost sid/main Sources Hit http://localhost sid/main amd64 Packages Ign http://localhost sid/main Translation-en Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: binutils cpp-4.6 g++-4.6 gcc-4.6 gcc-4.6-base libc-bin libc-dev-bin libc6 libc6-dev libgcc1 libgomp1 libquadmath0 libstdc++6 libstdc++6-4.6-dev multiarch-support 15 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 34.4 MB of archives. After this operation, 1073 kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libc6-dev libc-dev-bin libgomp1 gcc-4.6-base libgcc1 cpp-4.6 libquadmath0 libstdc++6-4.6-dev g++-4.6 gcc-4.6 libstdc++6 binutils libc-bin libc6 multiarch-support Authentication warning overridden. Get:1 http://localhost/debian/ sid/main libc6-dev amd64 2.13-20 [2637 kB] Get:2 http://localhost/debian/ sid/main libc-dev-bin amd64 2.13-20 [217 kB] Get:3 http://localhost/debian/ sid/main libgomp1 amd64 4.6.1-10 [25.7 kB] Get:4 http://localhost/debian/ sid/main gcc-4.6-base amd64 4.6.1-10 [135 kB] Get:5 http://localhost/debian/ sid/main libgcc1 amd64 1:4.6.1-10 [42.9 kB] Get:6 http://localhost/debian/ sid/main cpp-4.6 amd64 4.6.1-10 [4816 kB] Get:7 http://localhost/debian/ sid/main libquadmath0 amd64 4.6.1-10 [126 kB] Get:8 http://localhost/debian/ sid/main libstdc++6-4.6-dev amd64 4.6.1-10 [1660 kB] Get:9 http://localhost/debian/ sid/main g++-4.6 amd64 4.6.1-10 [6952 kB] Get:10 http://localhost/debian/ sid/main gcc-4.6 amd64 4.6.1-10 [7303 kB] Get:11 http://localhost/debian/ sid/main libstdc++6 amd64 4.6.1-10 [337 kB] Get:12 http://localhost/debian/ sid/main binutils amd64 2.21.53.20110910-1 [4844 kB] Get:13 http://localhost/debian/ sid/main libc-bin amd64 2.13-20 [819 kB] Get:14 http://localhost/debian/ sid/main libc6 amd64 2.13-20 [4323 kB] Get:15 http://localhost/debian/ sid/main multiarch-support amd64 2.13-20 [141 kB] Preconfiguring packages ... Fetched 34.4 MB in 0s (58.5 MB/s) (Reading database ... 10788 files and directories currently installed.) Preparing to replace libc6-dev 2.13-18 (using .../libc6-dev_2.13-20_amd64.deb) ... Unpacking replacement libc6-dev ... Preparing to replace libc-dev-bin 2.13-18 (using .../libc-dev-bin_2.13-20_amd64.deb) ... Unpacking replacement libc-dev-bin ... Preparing to replace libgomp1 4.6.1-9 (using .../libgomp1_4.6.1-10_amd64.deb) ... Unpacking replacement libgomp1 ... Preparing to replace gcc-4.6-base 4.6.1-9 (using .../gcc-4.6-base_4.6.1-10_amd64.deb) ... Unpacking replacement gcc-4.6-base ... Setting up gcc-4.6-base (4.6.1-10) ... (Reading database ... 10788 files and directories currently installed.) Preparing to replace libgcc1 1:4.6.1-9 (using .../libgcc1_1%3a4.6.1-10_amd64.deb) ... Unpacking replacement libgcc1 ... Setting up libgcc1 (1:4.6.1-10) ... (Reading database ... 10788 files and directories currently installed.) Preparing to replace cpp-4.6 4.6.1-9 (using .../cpp-4.6_4.6.1-10_amd64.deb) ... Unpacking replacement cpp-4.6 ... Preparing to replace libquadmath0 4.6.1-9 (using .../libquadmath0_4.6.1-10_amd64.deb) ... Unpacking replacement libquadmath0 ... Preparing to replace libstdc++6-4.6-dev 4.6.1-9 (using .../libstdc++6-4.6-dev_4.6.1-10_amd64.deb) ... Unpacking replacement libstdc++6-4.6-dev ... Preparing to replace g++-4.6 4.6.1-9 (using .../g++-4.6_4.6.1-10_amd64.deb) ... Unpacking replacement g++-4.6 ... Preparing to replace gcc-4.6 4.6.1-9 (using .../gcc-4.6_4.6.1-10_amd64.deb) ... Unpacking replacement gcc-4.6 ... Preparing to replace libstdc++6 4.6.1-9 (using .../libstdc++6_4.6.1-10_amd64.deb) ... Unpacking replacement libstdc++6 ... Setting up libstdc++6 (4.6.1-10) ... (Reading database ... 10801 files and directories currently installed.) Preparing to replace binutils 2.21.53.20110823-3 (using .../binutils_2.21.53.20110910-1_amd64.deb) ... Unpacking replacement binutils ... Preparing to replace libc-bin 2.13-18 (using .../libc-bin_2.13-20_amd64.deb) ... Unpacking replacement libc-bin ... Setting up libc-bin (2.13-20) ... (Reading database ... 10801 files and directories currently installed.) Preparing to replace libc6 2.13-18 (using .../libc6_2.13-20_amd64.deb) ... Unpacking replacement libc6 ... Setting up libc6 (2.13-20) ... (Reading database ... 10801 files and directories currently installed.) Preparing to replace multiarch-support 2.13-18 (using .../multiarch-support_2.13-20_amd64.deb) ... Unpacking replacement multiarch-support ... Setting up multiarch-support (2.13-20) ... Setting up libc-dev-bin (2.13-20) ... Setting up libc6-dev (2.13-20) ... Setting up libgomp1 (4.6.1-10) ... Setting up cpp-4.6 (4.6.1-10) ... Setting up libquadmath0 (4.6.1-10) ... Setting up binutils (2.21.53.20110910-1) ... Setting up gcc-4.6 (4.6.1-10) ... Setting up libstdc++6-4.6-dev (4.6.1-10) ... Setting up g++-4.6 (4.6.1-10) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ 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 104 kB of source archives. Get:1 http://localhost/debian/ sid/main hunt 1.5-6 (dsc) [894 B] Get:2 http://localhost/debian/ sid/main hunt 1.5-6 (tar) [99.2 kB] Get:3 http://localhost/debian/ sid/main hunt 1.5-6 (diff) [4352 B] Fetched 104 kB in 0s (861 kB/s) Download complete and in download only mode Check arch ────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/build/hunt-EMc03N/resolver-3RwVhw/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/702 B of archives. After this operation, 0 B of additional disk space will be used. WARNING: The following packages cannot be authenticated! sbuild-build-depends-core-dummy Authentication warning overridden. Selecting previously deselected package sbuild-build-depends-core-dummy. (Reading database ... 10801 files and directories currently installed.) Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy.deb) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Cannot open /var/lib/schroot/mount/lsid64c-f5463581-5c2f-4eeb-8ab4-f3ae52f8302a/etc/lsb-release: No such file or directory Merged Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 5.0.0) Filtered Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 5.0.0) dpkg-deb: building package `sbuild-build-depends-hunt-dummy' in `/build/hunt-EMc03N/resolver-5c_y6n/apt_archive/sbuild-build-depends-hunt-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install hunt 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 html2text intltool-debian libcroco3 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libunistring0 libxml2 man-db po-debconf Suggested packages: wamerican wordlist whois vacation dh-make gettext-doc groff www-browser libmail-box-perl Recommended packages: curl wget lynx-cur autopoint libglib2.0-data shared-mime-info xml-core libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils debhelper file gettext gettext-base groff-base html2text intltool-debian libcroco3 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libunistring0 libxml2 man-db po-debconf sbuild-build-depends-hunt-dummy 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded. Need to get 9196 kB/9197 kB of archives. After this operation, 27.3 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libpipeline1 libpcre3 bsdmainutils groff-base man-db libmagic1 file gettext-base libxml2 html2text libglib2.0-0 libcroco3 libunistring0 gettext intltool-debian po-debconf debhelper sbuild-build-depends-hunt-dummy Authentication warning overridden. Get:1 http://localhost/debian/ sid/main libpipeline1 amd64 1.2.0-3 [37.9 kB] Get:2 http://localhost/debian/ sid/main libpcre3 amd64 8.12-4 [225 kB] Get:3 http://localhost/debian/ sid/main bsdmainutils amd64 8.2.3 [208 kB] Get:4 http://localhost/debian/ sid/main groff-base amd64 1.21-6 [1150 kB] Get:5 http://localhost/debian/ sid/main man-db amd64 2.6.0.2-2 [1023 kB] Get:6 http://localhost/debian/ sid/main libmagic1 amd64 5.08-1 [246 kB] Get:7 http://localhost/debian/ sid/main file amd64 5.08-1 [51.7 kB] Get:8 http://localhost/debian/ sid/main gettext-base amd64 0.18.1.1-4 [154 kB] Get:9 http://localhost/debian/ sid/main libxml2 amd64 2.7.8.dfsg-4 [892 kB] Get:10 http://localhost/debian/ sid/main html2text amd64 1.3.2a-15 [103 kB] Get:11 http://localhost/debian/ sid/main libglib2.0-0 amd64 2.28.6-1 [1648 kB] Get:12 http://localhost/debian/ sid/main libcroco3 amd64 0.6.2-1 [125 kB] Get:13 http://localhost/debian/ sid/main libunistring0 amd64 0.9.3-4 [437 kB] Get:14 http://localhost/debian/ sid/main gettext amd64 0.18.1.1-4 [2079 kB] Get:15 http://localhost/debian/ sid/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:16 http://localhost/debian/ sid/main po-debconf all 1.0.16+nmu1 [223 kB] Get:17 http://localhost/debian/ sid/main debhelper all 8.9.6 [562 kB] Preconfiguring packages ... Fetched 9196 kB in 0s (53.3 MB/s) Selecting previously deselected package libpipeline1. (Reading database ... 10801 files and directories currently installed.) Unpacking libpipeline1 (from .../libpipeline1_1.2.0-3_amd64.deb) ... Selecting previously deselected package libpcre3. Unpacking libpcre3 (from .../libpcre3_8.12-4_amd64.deb) ... Selecting previously deselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_8.2.3_amd64.deb) ... Selecting previously deselected package groff-base. Unpacking groff-base (from .../groff-base_1.21-6_amd64.deb) ... Selecting previously deselected package man-db. Unpacking man-db (from .../man-db_2.6.0.2-2_amd64.deb) ... Selecting previously deselected package libmagic1. Unpacking libmagic1 (from .../libmagic1_5.08-1_amd64.deb) ... Selecting previously deselected package file. Unpacking file (from .../archives/file_5.08-1_amd64.deb) ... Selecting previously deselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.1.1-4_amd64.deb) ... Selecting previously deselected package libxml2. Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-4_amd64.deb) ... Selecting previously deselected package html2text. Unpacking html2text (from .../html2text_1.3.2a-15_amd64.deb) ... Selecting previously deselected package libglib2.0-0. Unpacking libglib2.0-0 (from .../libglib2.0-0_2.28.6-1_amd64.deb) ... Selecting previously deselected package libcroco3. Unpacking libcroco3 (from .../libcroco3_0.6.2-1_amd64.deb) ... Selecting previously deselected package libunistring0. Unpacking libunistring0 (from .../libunistring0_0.9.3-4_amd64.deb) ... Selecting previously deselected package gettext. Unpacking gettext (from .../gettext_0.18.1.1-4_amd64.deb) ... Selecting previously deselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously deselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu1_all.deb) ... Selecting previously deselected package debhelper. Unpacking debhelper (from .../debhelper_8.9.6_all.deb) ... Selecting previously deselected package sbuild-build-depends-hunt-dummy. Unpacking sbuild-build-depends-hunt-dummy (from .../sbuild-build-depends-hunt-dummy.deb) ... Processing triggers for install-info ... Setting up libpipeline1 (1.2.0-3) ... Setting up libpcre3 (8.12-4) ... Setting up bsdmainutils (8.2.3) ... 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 groff-base (1.21-6) ... Setting up man-db (2.6.0.2-2) ... Building database of manual pages ... Setting up libmagic1 (5.08-1) ... Setting up file (5.08-1) ... Setting up gettext-base (0.18.1.1-4) ... Setting up libxml2 (2.7.8.dfsg-4) ... Setting up html2text (1.3.2a-15) ... Setting up libglib2.0-0 (2.28.6-1) ... No schema files found: doing nothing. Setting up libcroco3 (0.6.2-1) ... Setting up libunistring0 (0.9.3-4) ... Setting up gettext (0.18.1.1-4) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu1) ... Setting up debhelper (8.9.6) ... Setting up sbuild-build-depends-hunt-dummy (0.invalid.0) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.21.53.20110910-1 dpkg-dev_1.16.0.3 g++-4.6_4.6.1-10 gcc-4.6_4.6.1-10 libc6-dev_2.13-20 libstdc++6_4.6.1-10 libstdc++6-4.6-dev_4.6.1-10 linux-libc-dev_3.0.0-3 Package versions: apt_0.8.15.6 apt-utils_0.8.15.6 base-files_6.5 base-passwd_3.5.23 bash_4.1-3 binutils_2.21.53.20110910-1 bsdmainutils_8.2.3 bsdutils_1:2.19.1-5 build-essential_11.5 bzip2_1.0.5-7 clang_2.9-11 coreutils_8.5-1 cpp_4:4.6.1-2 cpp-4.6_4.6.1-10 dash_0.5.7-1 debconf_1.5.41 debfoster_2.7-1.1 debhelper_8.9.6 debian-archive-keyring_2010.08.28 debianutils_4.0.2 diffutils_1:3.0-1 dpkg_1.16.0.3 dpkg-dev_1.16.0.3 e2fslibs_1.42~WIP-2011-07-02-1 e2fsprogs_1.42~WIP-2011-07-02-1 fakeroot_1.18-1 file_5.08-1 findutils_4.4.2-1+b1 g++_4:4.6.1-2 g++-4.6_4.6.1-10 gcc_4:4.6.1-2 gcc-4.6_4.6.1-10 gcc-4.6-base_4.6.1-10 gettext_0.18.1.1-4 gettext-base_0.18.1.1-4 gnupg_1.4.11-3 gpgv_1.4.11-3 grep_2.9-2 groff-base_1.21-6 gzip_1.4-1 hostname_3.06 html2text_1.3.2a-15 initscripts_2.88dsf-13.11 insserv_1.14.0-2.1 install-info_4.13a.dfsg.1-8 intltool-debian_0.35.0+20060710.1 less_444-1 libacl1_2.2.51-3 libattr1_1:2.4.46-3 libblkid1_2.19.1-5 libbz2-1.0_1.0.5-7 libc-bin_2.13-20 libc-dev-bin_2.13-20 libc6_2.13-20 libc6-dev_2.13-20 libcomerr2_1.42~WIP-2011-07-02-1 libcroco3_0.6.2-1 libdb5.1_5.1.25-11 libdpkg-perl_1.16.0.3 libffi5_3.0.10~rc10-3 libgc1c2_1:7.1-8 libgcc1_1:4.6.1-10 libgdbm3_1.8.3-10 libglib2.0-0_2.28.6-1 libgmp10_2:5.0.2+dfsg-1 libgomp1_4.6.1-10 libllvm2.9_2.9+dfsg-3 liblzma2_5.1.1alpha+20110809-2 libmagic1_5.08-1 libmount1_2.19.1-5 libmpc2_0.9-3 libmpfr4_3.0.1-6 libncurses5_5.9-1 libncursesw5_5.9-1 libpam-modules_1.1.3-2 libpam-modules-bin_1.1.3-2 libpam-runtime_1.1.3-2 libpam0g_1.1.3-2 libpcre3_8.12-4 libpipeline1_1.2.0-3 libquadmath0_4.6.1-10 libreadline6_6.2-4 libselinux1_2.1.0-1 libsepol1_2.1.0-1.1 libslang2_2.2.4-3 libss2_1.42~WIP-2011-07-02-1 libstdc++6_4.6.1-10 libstdc++6-4.6-dev_4.6.1-10 libtimedate-perl_1.2000-1 libunistring0_0.9.3-4 libusb-0.1-4_2:0.1.12-19 libuuid1_2.19.1-5 libxml2_2.7.8.dfsg-4 linux-libc-dev_3.0.0-3 login_1:4.1.4.2+svn3283-3 lsb-base_3.2-28 make_3.81-8.1 man-db_2.6.0.2-2 mawk_1.3.3-15 mount_2.19.1-5 multiarch-support_2.13-20 ncurses-base_5.9-1 ncurses-bin_5.9-1 nvi_1.81.6-8.2 passwd_1:4.1.4.2+svn3283-3 patch_2.6.1-2 perl_5.12.4-4 perl-base_5.12.4-4 perl-modules_5.12.4-4 po-debconf_1.0.16+nmu1 readline-common_6.2-4 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-hunt-dummy_0.invalid.0 sed_4.2.1-9 sensible-utils_0.0.6 sysv-rc_2.88dsf-13.11 sysvinit_2.88dsf-13.11 sysvinit-utils_2.88dsf-13.11 tar_1.26-2 tzdata_2011i-2 util-linux_2.19.1-5 xz-utils_5.1.1alpha+20110809-2 zlib1g_1:1.2.3.4.dfsg-3 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/var/lib/sbuild/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Thu May 7 02:09:53 2009 CEST using DSA key ID 532005DA gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./hunt_1.5-6.dsc dpkg-source: info: extracting hunt in hunt-1.5 dpkg-source: info: unpacking hunt_1.5.orig.tar.gz dpkg-source: info: applying hunt_1.5-6.diff.gz dpkg-source: info: upstream files that have been modified: hunt-1.5/hostup.c hunt-1.5/hunt.c hunt-1.5/hunt.h hunt-1.5/main.c hunt-1.5/man/hunt.1 hunt-1.5/net.c hunt-1.5/tpserv/Makefile Check disc space ──────────────── Sufficient free space for build dpkg-buildpackage ───────────────── dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: source package hunt dpkg-buildpackage: source version 1.5-6 dpkg-source --before-build hunt-1.5 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || /usr/bin/make distclean make[1]: Entering directory `/build/hunt-EMc03N/hunt-1.5' rm -f *.o core c/*.o c/core c/list_test c/hash_test c/array_test rm -f hunt hunt_static /usr/bin/make -C tpserv distclean make[2]: Entering directory `/build/hunt-EMc03N/hunt-1.5/tpserv' rm -f *.o rm -f tpserv make[2]: Leaving directory `/build/hunt-EMc03N/hunt-1.5/tpserv' make[1]: Leaving directory `/build/hunt-EMc03N/hunt-1.5' [ ! -f tpserv/Makefile ] || /usr/bin/make -C tpserv distclean make[1]: Entering directory `/build/hunt-EMc03N/hunt-1.5/tpserv' rm -f *.o rm -f tpserv make[1]: Leaving directory `/build/hunt-EMc03N/hunt-1.5/tpserv' #cd tpserv && make distclean dh_clean rm -f debian/hunt.substvars rm -f debian/hunt.*.debhelper rm -rf debian/hunt/ rm -f debian/*.debhelper.log rm -f debian/files find . \( \( -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} \; \) -o \ \( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) \) dpkg-source -b hunt-1.5 dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1) dpkg-source: info: using source format `1.0' dpkg-source: info: building hunt using existing hunt_1.5.orig.tar.gz dpkg-source: info: building hunt in hunt_1.5-6.diff.gz dpkg-source: warning: the diff modifies the following upstream files: hostup.c hunt.c hunt.h main.c man/hunt.1 net.c tpserv/Makefile dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1) dpkg-source: info: building hunt in hunt_1.5-6.dsc debian/rules build dh_testdir # build package here /usr/bin/make make[1]: Entering directory `/build/hunt-EMc03N/hunt-1.5' cc -Wall -O2 -g -D_REENTRANT -c -o hunt.o hunt.c hunt.c:696:7: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] mac = arpethh->ar_sha; ^ ~~~~~~~~~~~~~~~ hunt.c:710:6: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] mac = p->p_ethh->h_source; ^ ~~~~~~~~~~~~~~~~~~~ hunt.c:1016:24: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf_eth_mac(buf, mi->mac); ^~~~~~~ In file included from hunt.c:9: ./hunt.h:422:45: note: passing argument to parameter 'mac' here int sprintf_eth_mac(char *b, unsigned char *mac); ^ 3 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o main.o main.c main.c:350:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); ^~~~~~~~~~~~ In file included from main.c:9: ./hunt.h:503:55: note: passing argument to parameter 'src_fake_mac' here int user_arp_hijack(struct user_conn_info *uci, char *src_fake_mac, ^ main.c:350:48: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); ^~~~~~~~~~~~ In file included from main.c:9: ./hunt.h:504:13: note: passing argument to parameter 'dst_fake_mac' here char *dst_fake_mac, int input_mode); ^ main.c:373:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] user_arp_hijack_done(src_fake_mac, dst_fake_mac); ^~~~~~~~~~~~ In file included from main.c:9: ./hunt.h:505:33: note: passing argument to parameter 'src_fake_mac' here void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); ^ main.c:373:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] user_arp_hijack_done(src_fake_mac, dst_fake_mac); ^~~~~~~~~~~~ In file included from main.c:9: ./hunt.h:505:53: note: passing argument to parameter 'dst_fake_mac' here void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); ^ main.c:509:57: warning: backslash and newline separated by space fprintf(stderr, "Network interface %s does not have "\ ^ 5 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o c/list.o c/list.c cc -Wall -O2 -g -D_REENTRANT -c -o c/hash.o c/hash.c c/hash.c:29:13: warning: array index of '44' indexes past the end of an array (that contains 44 elements) [-Warray-bounds] return ht_size[sizeof(ht_size) / sizeof(ht_size[0])]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c/hash.c:18:9: note: array 'ht_size' declared here static int ht_size[] = { ^ 1 warning generated. cc -Wall -O2 -g -D_REENTRANT -c -o c/array.o c/array.c cc -Wall -O2 -g -D_REENTRANT -c -o util.o util.c cc -Wall -O2 -g -D_REENTRANT -c -o net.o net.c cc -Wall -O2 -g -D_REENTRANT -c -o rst.o rst.c rst.c:60:14: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = ci->dst.dst_mac; ^ ~~~~~~~~~~~~~~~ rst.c:61:14: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->dst.src_mac; ^ ~~~~~~~~~~~~~~~ rst.c:69:14: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = ci->src.dst_mac; ^ ~~~~~~~~~~~~~~~ rst.c:70:14: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->src.src_mac; ^ ~~~~~~~~~~~~~~~ 4 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o menu.o menu.c menu.c:254:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (parse_mac(buf, mac_ret) == 0) ^~~~~~~ menu.c:173:32: note: passing argument to parameter 'mac_ret' here int parse_mac(char *buf, char *mac_ret) ^ menu.c:281:24: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] if (parse_ports(buf, ret_ports) == 0) ^~~~~~~~~ menu.c:58:42: note: passing argument to parameter 'ret_ports' here int parse_ports(char *buf, unsigned int *ret_ports) ^ menu.c:347:29: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] buf_p += sprintf_db_ports(dfl_ports, buf_p, ^~~~~~~~~ In file included from menu.c:9: ./hunt.h:415:36: note: passing argument to parameter 'ports' here int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); ^ menu.c:522:13: warning: field width should have type 'int', but argument has type 'unsigned long' [-Wformat] printf("%*s", strlen(head) + 9, " "); ~~^ ~~~~~~~~~~~~~~~~ 4 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o hijack.o hijack.c hijack.c:89:15: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = ci->src.src_mac; ^ ~~~~~~~~~~~~~~~ hijack.c:90:15: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->dst.src_mac; ^ ~~~~~~~~~~~~~~~ hijack.c:223:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = ci->dst.dst_mac; ^ ~~~~~~~~~~~~~~~ hijack.c:224:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->dst.src_mac; ^ ~~~~~~~~~~~~~~~ 4 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o rstd.o rstd.c rstd.c:265:16: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_mask, src_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from rstd.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ rstd.c:268:16: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_mask, dst_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from rstd.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ rstd.c:281:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from rstd.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ rstd.c:285:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from rstd.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ rstd.c:314:28: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_ip, &src_mask, src_ports, ^~~~~~~~~ In file included from rstd.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ rstd.c:315:38: warning: passing 'unsigned int [17]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] dbi->src_addr, dbi->src_mask, dbi->src_ports) < 0) ^~~~~~~~~~~~~~ In file included from rstd.c:9: ./hunt.h:372:52: note: passing argument to parameter 'dfl_ports' here unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); ^ rstd.c:318:28: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_ip, &dst_mask, dst_ports, ^~~~~~~~~ In file included from rstd.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ rstd.c:319:38: warning: passing 'unsigned int [17]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] dbi->dst_addr, dbi->dst_mask, dbi->dst_ports) < 0) ^~~~~~~~~~~~~~ In file included from rstd.c:9: ./hunt.h:372:52: note: passing argument to parameter 'dfl_ports' here unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); ^ rstd.c:326:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from rstd.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ rstd.c:327:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from rstd.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ 10 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o sniff.o sniff.c sniff.c:128:19: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf_db_ports(si->src_ports, buf_src_ports, sizeof(buf_src_ports), 1); ^~~~~~~~~~~~~ In file included from sniff.c:9: ./hunt.h:415:36: note: passing argument to parameter 'ports' here int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); ^ sniff.c:129:19: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf_db_ports(si->dst_ports, buf_dst_ports, sizeof(buf_dst_ports), 1); ^~~~~~~~~~~~~ In file included from sniff.c:9: ./hunt.h:415:36: note: passing argument to parameter 'ports' here int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); ^ sniff.c:174:32: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_match(tcph->source, si->src_ports) && ^~~~~~~~~~~~~ In file included from sniff.c:9: ./hunt.h:427:40: note: passing argument to parameter 'db_ports' here int port_match(int port, unsigned int *db_ports); ^ sniff.c:175:30: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_match(tcph->dest, si->dst_ports)) ^~~~~~~~~~~~~ In file included from sniff.c:9: ./hunt.h:427:40: note: passing argument to parameter 'db_ports' here int port_match(int port, unsigned int *db_ports); ^ sniff.c:181:32: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_match(tcph->source, si->dst_ports) && ^~~~~~~~~~~~~ In file included from sniff.c:9: ./hunt.h:427:40: note: passing argument to parameter 'db_ports' here int port_match(int port, unsigned int *db_ports); ^ sniff.c:182:30: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_match(tcph->dest, si->src_ports)) ^~~~~~~~~~~~~ In file included from sniff.c:9: ./hunt.h:427:40: note: passing argument to parameter 'db_ports' here int port_match(int port, unsigned int *db_ports); ^ sniff.c:664:4: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_mask, src_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:371:17: note: passing argument to parameter 'ret_mask' here unsigned int *ret_mask, unsigned int *ret_ports, ^ sniff.c:664:15: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_mask, src_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ sniff.c:667:4: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_mask, dst_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:371:17: note: passing argument to parameter 'ret_mask' here unsigned int *ret_mask, unsigned int *ret_ports, ^ sniff.c:667:15: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_mask, dst_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ sniff.c:705:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ sniff.c:709:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ sniff.c:747:17: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_ip, &src_mask, src_ports, ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:371:17: note: passing argument to parameter 'ret_mask' here unsigned int *ret_mask, unsigned int *ret_ports, ^ sniff.c:747:28: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_ip, &src_mask, src_ports, ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ sniff.c:751:17: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_ip, &dst_mask, dst_ports, ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:371:17: note: passing argument to parameter 'ret_mask' here unsigned int *ret_mask, unsigned int *ret_ports, ^ sniff.c:751:28: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_ip, &dst_mask, dst_ports, ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ sniff.c:770:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ sniff.c:771:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ 18 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o macdisc.o macdisc.c macdisc.c:40:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as.src_mac = my_eth_mac; ^ ~~~~~~~~~~ macdisc.c:41:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as.dst_mac = mac_broadcast; ^ ~~~~~~~~~~~~~ macdisc.c:43:16: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as.sender_mac = my_eth_mac; ^ ~~~~~~~~~~ macdisc.c:45:16: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as.target_mac = mac_zero; ^ ~~~~~~~~ 4 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o tap.o tap.c tap.c:135:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] print_eth_mac(mac); ^~~ In file included from tap.c:31: ./hunt.h:421:34: note: passing argument to parameter 'mac' here int print_eth_mac(unsigned char *mac); ^ 1 warning generated. cc -Wall -O2 -g -D_REENTRANT -c -o arphijack.o arphijack.c arphijack.c:81:14: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = wtd->ci->dst.src_mac; ^ ~~~~~~~~~~~~~~~~~~~~ arphijack.c:122:14: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ci->src.src_mac, ci->dst.src_mac, ^~~~~~~~~~~~~~~ In file included from arphijack.c:9: ./hunt.h:522:9: note: passing argument to parameter 'src_mac' here char *src_mac, char *dst_mac, char *src_fake_mac, ^ arphijack.c:122:31: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ci->src.src_mac, ci->dst.src_mac, ^~~~~~~~~~~~~~~ In file included from arphijack.c:9: ./hunt.h:522:24: note: passing argument to parameter 'dst_mac' here char *src_mac, char *dst_mac, char *src_fake_mac, ^ arphijack.c:143:12: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ci->dst.src_mac, ci->src.src_mac, ^~~~~~~~~~~~~~~ In file included from arphijack.c:9: ./hunt.h:522:9: note: passing argument to parameter 'src_mac' here char *src_mac, char *dst_mac, char *src_fake_mac, ^ arphijack.c:143:29: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ci->dst.src_mac, ci->src.src_mac, ^~~~~~~~~~~~~~~ In file included from arphijack.c:9: ./hunt.h:522:24: note: passing argument to parameter 'dst_mac' here char *src_mac, char *dst_mac, char *src_fake_mac, ^ arphijack.c:169:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] wtd.src_fake_mac = asi_src ? asi_src->src_fake_mac : ci->src.src_mac; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arphijack.c:200:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = asi_src ? asi_src->src_fake_mac : ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arphijack.c:202:16: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->dst.src_mac; ^ ~~~~~~~~~~~~~~~ arphijack.c:224:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = asi_dst ? asi_dst->src_fake_mac : ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arphijack.c:226:16: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->src.src_mac; ^ ~~~~~~~~~~~~~~~ 10 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o tty.o tty.c cc -Wall -O2 -g -D_REENTRANT -c -o synchijack.o synchijack.c synchijack.c:153:14: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = ci->src.dst_mac; ^ ~~~~~~~~~~~~~~~ synchijack.c:154:14: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->src.src_mac; ^ ~~~~~~~~~~~~~~~ synchijack.c:220:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = ci->dst.dst_mac; ^ ~~~~~~~~~~~~~~~ synchijack.c:221:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->dst.src_mac; ^ ~~~~~~~~~~~~~~~ synchijack.c:245:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(fin_msg, suggest_sync_msg(0)); ^~~~~~~~~~~~~~~~~~~ synchijack.c:279:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = ci->src.dst_mac; ^ ~~~~~~~~~~~~~~~ synchijack.c:280:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->src.src_mac; ^ ~~~~~~~~~~~~~~~ synchijack.c:307:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = ci->src.dst_mac; ^ ~~~~~~~~~~~~~~~ synchijack.c:308:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->src.src_mac; ^ ~~~~~~~~~~~~~~~ synchijack.c:419:16: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = ci->dst.dst_mac; ^ ~~~~~~~~~~~~~~~ synchijack.c:420:16: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->dst.src_mac; ^ ~~~~~~~~~~~~~~~ 11 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o arpspoof.o arpspoof.c arpspoof.c:85:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arpspoof.c:86:17: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.dst_mac = asi->dst_mac; ^ ~~~~~~~~~~~~ arpspoof.c:88:20: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.sender_mac = asi->src_fake_mac; ^ ~~~~~~~~~~~~~~~~~ arpspoof.c:90:20: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.target_mac = asi->dst_mac; ^ ~~~~~~~~~~~~ arpspoof.c:117:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arpspoof.c:118:17: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.dst_mac = asi->dst_mac; /* don't use broadcast - we want that it is received only by the target */ ^ ~~~~~~~~~~~~ arpspoof.c:120:20: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.sender_mac = asi->src_fake_mac; ^ ~~~~~~~~~~~~~~~~~ arpspoof.c:122:20: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.target_mac = mac_zero; ^ ~~~~~~~~ arpspoof.c:543:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arpspoof.c:546:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arpspoof.c:548:18: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.dst_mac = asi->dst_mac; ^ ~~~~~~~~~~~~ arpspoof.c:550:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.sender_mac = asi_src_mac; ^ ~~~~~~~~~~~ arpspoof.c:552:21: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.target_mac = asi->dst_mac; ^ ~~~~~~~~~~~~ arpspoof.c:565:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arpspoof.c:568:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arpspoof.c:570:18: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.src_mac = asi->src_mac; ^ ~~~~~~~~~~~~ arpspoof.c:571:18: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.dst_mac = asi->dst_mac; ^ ~~~~~~~~~~~~ arpspoof.c:573:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.sender_mac = asi_src_mac; ^ ~~~~~~~~~~~ arpspoof.c:575:21: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.target_mac = mac_zero; ^ ~~~~~~~~ arpspoof.c:951:24: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf_eth_mac(buf, asr->src_fake_mac); ^~~~~~~~~~~~~~~~~ In file included from arpspoof.c:9: ./hunt.h:422:45: note: passing argument to parameter 'mac' here int sprintf_eth_mac(char *b, unsigned char *mac); ^ arpspoof.c:1008:36: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mi_dst ? mi_dst->mac : NULL, src_fake_mac, ^~~~~~~~~~~~ arpspoof.c:398:39: note: passing argument to parameter 'src_fake_mac' here char *src_mac, char *dst_mac, char *src_fake_mac, ^ arpspoof.c:1163:77: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] asi_src_in_dst = start_arp_spoof(src_ip, dst_ip, mi_src->mac, mi_dst->mac, src_fake_mac, ^~~~~~~~~~~~ arpspoof.c:398:39: note: passing argument to parameter 'src_fake_mac' here char *src_mac, char *dst_mac, char *src_fake_mac, ^ arpspoof.c:1165:77: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] asi_dst_in_src = start_arp_spoof(dst_ip, src_ip, mi_dst->mac, mi_src->mac, dst_fake_mac, ^~~~~~~~~~~~ arpspoof.c:398:39: note: passing argument to parameter 'src_fake_mac' here char *src_mac, char *dst_mac, char *src_fake_mac, ^ arpspoof.c:1390:51: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_icmp_request(asi->src_addr, asi->dst_addr, asi->src_fake_mac, ^~~~~~~~~~~~~~~~~ In file included from arpspoof.c:9: ./hunt.h:698:16: note: passing argument to parameter 'src_mac' here char *src_mac, char *dst_mac, unsigned short seq); ^ arpspoof.c:1391:7: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] asi->dst_mac, 1 + i); ^~~~~~~~~~~~ In file included from arpspoof.c:9: ./hunt.h:698:31: note: passing argument to parameter 'dst_mac' here char *src_mac, char *dst_mac, unsigned short seq); ^ arpspoof.c:1397:13: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] asi->dst_mac, asi->src_fake_mac); ^~~~~~~~~~~~ In file included from arpspoof.c:9: ./hunt.h:700:11: note: passing argument to parameter 'src_mac' here char *src_mac, char *dst_mac); ^ arpspoof.c:1397:27: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] asi->dst_mac, asi->src_fake_mac); ^~~~~~~~~~~~~~~~~ In file included from arpspoof.c:9: ./hunt.h:700:26: note: passing argument to parameter 'dst_mac' here char *src_mac, char *dst_mac); ^ 27 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o hostup.o hostup.c hostup.c:87:14: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ip, my_eth_mac, ^~~~~~~~~~ In file included from hostup.c:9: ./hunt.h:698:16: note: passing argument to parameter 'src_mac' here char *src_mac, char *dst_mac, unsigned short seq); ^ hostup.c:93:7: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] my_eth_mac, fake_mac, htons(j + 2000)); ^~~~~~~~~~ In file included from hostup.c:9: ./hunt.h:698:16: note: passing argument to parameter 'src_mac' here char *src_mac, char *dst_mac, unsigned short seq); ^ hostup.c:93:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] my_eth_mac, fake_mac, htons(j + 2000)); ^~~~~~~~ In file included from hostup.c:9: ./hunt.h:698:31: note: passing argument to parameter 'dst_mac' here char *src_mac, char *dst_mac, unsigned short seq); ^ hostup.c:106:8: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] p->p_ethh->h_source, my_eth_mac) || ^~~~~~~~~~~~~~~~~~~ In file included from hostup.c:9: ./hunt.h:700:11: note: passing argument to parameter 'src_mac' here char *src_mac, char *dst_mac); ^ hostup.c:106:29: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] p->p_ethh->h_source, my_eth_mac) || ^~~~~~~~~~ In file included from hostup.c:9: ./hunt.h:700:26: note: passing argument to parameter 'dst_mac' here char *src_mac, char *dst_mac); ^ hostup.c:108:8: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fake_mac, my_eth_mac))) { ^~~~~~~~ In file included from hostup.c:9: ./hunt.h:700:11: note: passing argument to parameter 'src_mac' here char *src_mac, char *dst_mac); ^ hostup.c:108:18: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fake_mac, my_eth_mac))) { ^~~~~~~~~~ In file included from hostup.c:9: ./hunt.h:700:26: note: passing argument to parameter 'dst_mac' here char *src_mac, char *dst_mac); ^ hostup.c:125:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as.src_mac = my_eth_mac; ^ ~~~~~~~~~~ hostup.c:128:16: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as.sender_mac = my_eth_mac; ^ ~~~~~~~~~~ hostup.c:130:16: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as.target_mac = mac_zero; ^ ~~~~~~~~ hostup.c:159:27: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_arp_message(ip, mac_broadcast); ^~~~~~~~~~~~~ hostup.c:121:53: note: passing argument to parameter 'dst_mac' here static void send_arp_message(unsigned int ip, char *dst_mac) ^ hostup.c:161:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_arp_message(ip, fake_mac); ^~~~~~~~ hostup.c:121:53: note: passing argument to parameter 'dst_mac' here static void send_arp_message(unsigned int ip, char *dst_mac) ^ hostup.c:241:50: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if ((len = ntohl(end_ip) - ntohl(start_ip) + 1) < 0) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ hostup.c:299:19: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf_eth_mac(buf_mac, suggest_mac()); ^~~~~~~ In file included from hostup.c:9: ./hunt.h:422:27: note: passing argument to parameter 'b' here int sprintf_eth_mac(char *b, unsigned char *mac); ^ hostup.c:300:70: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (menu_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { ^~~~~~~ In file included from hostup.c:9: ./hunt.h:365:64: note: passing argument to parameter 'dfl' here int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); ^ hostup.c:314:19: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf_eth_mac(buf_mac, suggest_mac()); ^~~~~~~ In file included from hostup.c:9: ./hunt.h:422:27: note: passing argument to parameter 'b' here int sprintf_eth_mac(char *b, unsigned char *mac); ^ hostup.c:315:70: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (menu_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { ^~~~~~~ In file included from hostup.c:9: ./hunt.h:365:64: note: passing argument to parameter 'dfl' here int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); ^ 17 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o addpolicy.o addpolicy.c addpolicy.c:113:16: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_mask, src_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ addpolicy.c:116:16: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_mask, dst_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ addpolicy.c:125:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ addpolicy.c:129:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ addpolicy.c:150:28: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_ip, &src_mask, src_ports, ^~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ addpolicy.c:151:38: warning: passing 'unsigned int [17]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] api->src_addr, api->src_mask, api->src_ports) < 0) ^~~~~~~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:372:52: note: passing argument to parameter 'dfl_ports' here unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); ^ addpolicy.c:154:28: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_ip, &dst_mask, dst_ports, ^~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ addpolicy.c:155:38: warning: passing 'unsigned int [17]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] api->dst_addr, api->dst_mask, api->dst_ports) < 0) ^~~~~~~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:372:52: note: passing argument to parameter 'dfl_ports' here unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); ^ addpolicy.c:157:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ addpolicy.c:158:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ 10 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o options.o options.c cc -Wall -O2 -g -D_REENTRANT -c -o resolv.o resolv.c cc -Wall -O2 -g -D_REENTRANT -c -o timer.o timer.c timer.c:154:3: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ timer.c:154:3: note: please include the header or explicitly provide a declaration for 'exit' 1 warning generated. cc -Wall -O2 -g -D_REENTRANT -c -o pktrelay.o pktrelay.c pktrelay.c:270:16: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_mask, src_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ pktrelay.c:273:16: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_mask, dst_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ pktrelay.c:294:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ pktrelay.c:298:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ pktrelay.c:334:28: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_ip, &src_mask, src_ports, ^~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ pktrelay.c:335:36: warning: passing 'unsigned int [17]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] ri->src_addr, ri->src_mask, ri->src_ports) < 0) ^~~~~~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:372:52: note: passing argument to parameter 'dfl_ports' here unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); ^ pktrelay.c:338:28: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_ip, &dst_mask, dst_ports, ^~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ pktrelay.c:339:36: warning: passing 'unsigned int [17]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] ri->dst_addr, ri->dst_mask, ri->dst_ports) < 0) ^~~~~~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:372:52: note: passing argument to parameter 'dfl_ports' here unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); ^ pktrelay.c:367:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ pktrelay.c:368:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ 10 warnings generated. cc -o hunt hunt.o main.o c/list.o c/hash.o c/array.o util.o net.o rst.o menu.o hijack.o rstd.o sniff.o macdisc.o tap.o arphijack.o tty.o synchijack.o arpspoof.o hostup.o addpolicy.o options.o resolv.o timer.o pktrelay.o -lpthread main.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here main.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here util.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here util.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here net.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here net.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here rst.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here rst.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here menu.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here menu.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here hijack.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here hijack.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here rstd.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here rstd.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here sniff.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here sniff.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here macdisc.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here macdisc.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here tap.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here tap.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here arphijack.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here arphijack.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here tty.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here tty.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here synchijack.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here synchijack.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here arpspoof.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here arpspoof.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here hostup.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here hostup.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here addpolicy.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here addpolicy.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here options.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here options.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here resolv.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here resolv.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here timer.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here timer.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here pktrelay.o: In function `generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:297: first defined here pktrelay.o: In function `uci_generate_key': /build/hunt-EMc03N/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-EMc03N/hunt-1.5/./hunt.h:309: first defined here clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [hunt] Error 1 make[1]: Leaving directory `/build/hunt-EMc03N/hunt-1.5' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20110911-1625 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /var/lib/schroot/mount/lsid64c-f5463581-5c2f-4eeb-8ab4-f3ae52f8302a/build/hunt-EMc03N Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 1204 Build-Time: 4 Distribution: lsid64c Fail-Stage: build Install-Time: 6 Job: hunt_1.5-6 Package: hunt Package-Time: 22 Source-Version: 1.5-6 Space: 1204 Status: attempted Version: 1.5-6 ──────────────────────────────────────────────────────────────────────────────── Finished at 20110911-1625 Build needed 00:00:22, 1204k disc space DC-Message: Failed, but took only 83.867794. Retrying, you never know. Requested exclusive mode, but other builds running. sbuild (Debian sbuild) 0.62.2 (05 Apr 2011) on talc-103.nancy.grid5000.fr ╔══════════════════════════════════════════════════════════════════════════════╗ ║ hunt 1.5-6 (amd64) 11 Sep 2011 16:26 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: hunt Version: 1.5-6 Source Version: 1.5-6 Distribution: lsid64c Architecture: amd64 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Ign http://localhost sid InRelease Hit http://localhost sid Release.gpg Hit http://localhost sid Release Ign http://localhost sid/main Sources/DiffIndex Ign http://localhost sid/main amd64 Packages/DiffIndex Ign http://localhost sid/main TranslationIndex Hit http://localhost sid/main Sources Hit http://localhost sid/main amd64 Packages Ign http://localhost sid/main Translation-en Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: binutils cpp-4.6 g++-4.6 gcc-4.6 gcc-4.6-base libc-bin libc-dev-bin libc6 libc6-dev libgcc1 libgomp1 libquadmath0 libstdc++6 libstdc++6-4.6-dev multiarch-support 15 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 34.4 MB of archives. After this operation, 1073 kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libc6-dev libc-dev-bin libgomp1 gcc-4.6-base libgcc1 cpp-4.6 libquadmath0 libstdc++6-4.6-dev g++-4.6 gcc-4.6 libstdc++6 binutils libc-bin libc6 multiarch-support Authentication warning overridden. Get:1 http://localhost/debian/ sid/main libc6-dev amd64 2.13-20 [2637 kB] Get:2 http://localhost/debian/ sid/main libc-dev-bin amd64 2.13-20 [217 kB] Get:3 http://localhost/debian/ sid/main libgomp1 amd64 4.6.1-10 [25.7 kB] Get:4 http://localhost/debian/ sid/main gcc-4.6-base amd64 4.6.1-10 [135 kB] Get:5 http://localhost/debian/ sid/main libgcc1 amd64 1:4.6.1-10 [42.9 kB] Get:6 http://localhost/debian/ sid/main cpp-4.6 amd64 4.6.1-10 [4816 kB] Get:7 http://localhost/debian/ sid/main libquadmath0 amd64 4.6.1-10 [126 kB] Get:8 http://localhost/debian/ sid/main libstdc++6-4.6-dev amd64 4.6.1-10 [1660 kB] Get:9 http://localhost/debian/ sid/main g++-4.6 amd64 4.6.1-10 [6952 kB] Get:10 http://localhost/debian/ sid/main gcc-4.6 amd64 4.6.1-10 [7303 kB] Get:11 http://localhost/debian/ sid/main libstdc++6 amd64 4.6.1-10 [337 kB] Get:12 http://localhost/debian/ sid/main binutils amd64 2.21.53.20110910-1 [4844 kB] Get:13 http://localhost/debian/ sid/main libc-bin amd64 2.13-20 [819 kB] Get:14 http://localhost/debian/ sid/main libc6 amd64 2.13-20 [4323 kB] Get:15 http://localhost/debian/ sid/main multiarch-support amd64 2.13-20 [141 kB] Preconfiguring packages ... Fetched 34.4 MB in 0s (63.6 MB/s) (Reading database ... 10788 files and directories currently installed.) Preparing to replace libc6-dev 2.13-18 (using .../libc6-dev_2.13-20_amd64.deb) ... Unpacking replacement libc6-dev ... Preparing to replace libc-dev-bin 2.13-18 (using .../libc-dev-bin_2.13-20_amd64.deb) ... Unpacking replacement libc-dev-bin ... Preparing to replace libgomp1 4.6.1-9 (using .../libgomp1_4.6.1-10_amd64.deb) ... Unpacking replacement libgomp1 ... Preparing to replace gcc-4.6-base 4.6.1-9 (using .../gcc-4.6-base_4.6.1-10_amd64.deb) ... Unpacking replacement gcc-4.6-base ... Setting up gcc-4.6-base (4.6.1-10) ... (Reading database ... 10788 files and directories currently installed.) Preparing to replace libgcc1 1:4.6.1-9 (using .../libgcc1_1%3a4.6.1-10_amd64.deb) ... Unpacking replacement libgcc1 ... Setting up libgcc1 (1:4.6.1-10) ... (Reading database ... 10788 files and directories currently installed.) Preparing to replace cpp-4.6 4.6.1-9 (using .../cpp-4.6_4.6.1-10_amd64.deb) ... Unpacking replacement cpp-4.6 ... Preparing to replace libquadmath0 4.6.1-9 (using .../libquadmath0_4.6.1-10_amd64.deb) ... Unpacking replacement libquadmath0 ... Preparing to replace libstdc++6-4.6-dev 4.6.1-9 (using .../libstdc++6-4.6-dev_4.6.1-10_amd64.deb) ... Unpacking replacement libstdc++6-4.6-dev ... Preparing to replace g++-4.6 4.6.1-9 (using .../g++-4.6_4.6.1-10_amd64.deb) ... Unpacking replacement g++-4.6 ... Preparing to replace gcc-4.6 4.6.1-9 (using .../gcc-4.6_4.6.1-10_amd64.deb) ... Unpacking replacement gcc-4.6 ... Preparing to replace libstdc++6 4.6.1-9 (using .../libstdc++6_4.6.1-10_amd64.deb) ... Unpacking replacement libstdc++6 ... Setting up libstdc++6 (4.6.1-10) ... (Reading database ... 10801 files and directories currently installed.) Preparing to replace binutils 2.21.53.20110823-3 (using .../binutils_2.21.53.20110910-1_amd64.deb) ... Unpacking replacement binutils ... Preparing to replace libc-bin 2.13-18 (using .../libc-bin_2.13-20_amd64.deb) ... Unpacking replacement libc-bin ... Setting up libc-bin (2.13-20) ... (Reading database ... 10801 files and directories currently installed.) Preparing to replace libc6 2.13-18 (using .../libc6_2.13-20_amd64.deb) ... Unpacking replacement libc6 ... Setting up libc6 (2.13-20) ... (Reading database ... 10801 files and directories currently installed.) Preparing to replace multiarch-support 2.13-18 (using .../multiarch-support_2.13-20_amd64.deb) ... Unpacking replacement multiarch-support ... Setting up multiarch-support (2.13-20) ... Setting up libc-dev-bin (2.13-20) ... Setting up libc6-dev (2.13-20) ... Setting up libgomp1 (4.6.1-10) ... Setting up cpp-4.6 (4.6.1-10) ... Setting up libquadmath0 (4.6.1-10) ... Setting up binutils (2.21.53.20110910-1) ... Setting up gcc-4.6 (4.6.1-10) ... Setting up libstdc++6-4.6-dev (4.6.1-10) ... Setting up g++-4.6 (4.6.1-10) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ 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 104 kB of source archives. Get:1 http://localhost/debian/ sid/main hunt 1.5-6 (dsc) [894 B] Get:2 http://localhost/debian/ sid/main hunt 1.5-6 (tar) [99.2 kB] Get:3 http://localhost/debian/ sid/main hunt 1.5-6 (diff) [4352 B] Fetched 104 kB in 0s (0 B/s) Download complete and in download only mode Check arch ────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/build/hunt-ikyrfq/resolver-kio3L4/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/702 B of archives. After this operation, 0 B of additional disk space will be used. WARNING: The following packages cannot be authenticated! sbuild-build-depends-core-dummy Authentication warning overridden. Selecting previously deselected package sbuild-build-depends-core-dummy. (Reading database ... 10801 files and directories currently installed.) Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy.deb) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Cannot open /var/lib/schroot/mount/lsid64c-d5e90b3a-72b8-4b8b-a9f6-31926ff9220f/etc/lsb-release: No such file or directory Merged Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 5.0.0) Filtered Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 5.0.0) dpkg-deb: building package `sbuild-build-depends-hunt-dummy' in `/build/hunt-ikyrfq/resolver-llsCqU/apt_archive/sbuild-build-depends-hunt-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install hunt 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 html2text intltool-debian libcroco3 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libunistring0 libxml2 man-db po-debconf Suggested packages: wamerican wordlist whois vacation dh-make gettext-doc groff www-browser libmail-box-perl Recommended packages: curl wget lynx-cur autopoint libglib2.0-data shared-mime-info xml-core libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils debhelper file gettext gettext-base groff-base html2text intltool-debian libcroco3 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libunistring0 libxml2 man-db po-debconf sbuild-build-depends-hunt-dummy 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded. Need to get 9196 kB/9197 kB of archives. After this operation, 27.3 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libpipeline1 libpcre3 bsdmainutils groff-base man-db libmagic1 file gettext-base libxml2 html2text libglib2.0-0 libcroco3 libunistring0 gettext intltool-debian po-debconf debhelper sbuild-build-depends-hunt-dummy Authentication warning overridden. Get:1 http://localhost/debian/ sid/main libpipeline1 amd64 1.2.0-3 [37.9 kB] Get:2 http://localhost/debian/ sid/main libpcre3 amd64 8.12-4 [225 kB] Get:3 http://localhost/debian/ sid/main bsdmainutils amd64 8.2.3 [208 kB] Get:4 http://localhost/debian/ sid/main groff-base amd64 1.21-6 [1150 kB] Get:5 http://localhost/debian/ sid/main man-db amd64 2.6.0.2-2 [1023 kB] Get:6 http://localhost/debian/ sid/main libmagic1 amd64 5.08-1 [246 kB] Get:7 http://localhost/debian/ sid/main file amd64 5.08-1 [51.7 kB] Get:8 http://localhost/debian/ sid/main gettext-base amd64 0.18.1.1-4 [154 kB] Get:9 http://localhost/debian/ sid/main libxml2 amd64 2.7.8.dfsg-4 [892 kB] Get:10 http://localhost/debian/ sid/main html2text amd64 1.3.2a-15 [103 kB] Get:11 http://localhost/debian/ sid/main libglib2.0-0 amd64 2.28.6-1 [1648 kB] Get:12 http://localhost/debian/ sid/main libcroco3 amd64 0.6.2-1 [125 kB] Get:13 http://localhost/debian/ sid/main libunistring0 amd64 0.9.3-4 [437 kB] Get:14 http://localhost/debian/ sid/main gettext amd64 0.18.1.1-4 [2079 kB] Get:15 http://localhost/debian/ sid/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:16 http://localhost/debian/ sid/main po-debconf all 1.0.16+nmu1 [223 kB] Get:17 http://localhost/debian/ sid/main debhelper all 8.9.6 [562 kB] Preconfiguring packages ... Fetched 9196 kB in 0s (61.2 MB/s) Selecting previously deselected package libpipeline1. (Reading database ... 10801 files and directories currently installed.) Unpacking libpipeline1 (from .../libpipeline1_1.2.0-3_amd64.deb) ... Selecting previously deselected package libpcre3. Unpacking libpcre3 (from .../libpcre3_8.12-4_amd64.deb) ... Selecting previously deselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_8.2.3_amd64.deb) ... Selecting previously deselected package groff-base. Unpacking groff-base (from .../groff-base_1.21-6_amd64.deb) ... Selecting previously deselected package man-db. Unpacking man-db (from .../man-db_2.6.0.2-2_amd64.deb) ... Selecting previously deselected package libmagic1. Unpacking libmagic1 (from .../libmagic1_5.08-1_amd64.deb) ... Selecting previously deselected package file. Unpacking file (from .../archives/file_5.08-1_amd64.deb) ... Selecting previously deselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.1.1-4_amd64.deb) ... Selecting previously deselected package libxml2. Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-4_amd64.deb) ... Selecting previously deselected package html2text. Unpacking html2text (from .../html2text_1.3.2a-15_amd64.deb) ... Selecting previously deselected package libglib2.0-0. Unpacking libglib2.0-0 (from .../libglib2.0-0_2.28.6-1_amd64.deb) ... Selecting previously deselected package libcroco3. Unpacking libcroco3 (from .../libcroco3_0.6.2-1_amd64.deb) ... Selecting previously deselected package libunistring0. Unpacking libunistring0 (from .../libunistring0_0.9.3-4_amd64.deb) ... Selecting previously deselected package gettext. Unpacking gettext (from .../gettext_0.18.1.1-4_amd64.deb) ... Selecting previously deselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously deselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu1_all.deb) ... Selecting previously deselected package debhelper. Unpacking debhelper (from .../debhelper_8.9.6_all.deb) ... Selecting previously deselected package sbuild-build-depends-hunt-dummy. Unpacking sbuild-build-depends-hunt-dummy (from .../sbuild-build-depends-hunt-dummy.deb) ... Processing triggers for install-info ... Setting up libpipeline1 (1.2.0-3) ... Setting up libpcre3 (8.12-4) ... Setting up bsdmainutils (8.2.3) ... 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 groff-base (1.21-6) ... Setting up man-db (2.6.0.2-2) ... Building database of manual pages ... Setting up libmagic1 (5.08-1) ... Setting up file (5.08-1) ... Setting up gettext-base (0.18.1.1-4) ... Setting up libxml2 (2.7.8.dfsg-4) ... Setting up html2text (1.3.2a-15) ... Setting up libglib2.0-0 (2.28.6-1) ... No schema files found: doing nothing. Setting up libcroco3 (0.6.2-1) ... Setting up libunistring0 (0.9.3-4) ... Setting up gettext (0.18.1.1-4) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu1) ... Setting up debhelper (8.9.6) ... Setting up sbuild-build-depends-hunt-dummy (0.invalid.0) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.21.53.20110910-1 dpkg-dev_1.16.0.3 g++-4.6_4.6.1-10 gcc-4.6_4.6.1-10 libc6-dev_2.13-20 libstdc++6_4.6.1-10 libstdc++6-4.6-dev_4.6.1-10 linux-libc-dev_3.0.0-3 Package versions: apt_0.8.15.6 apt-utils_0.8.15.6 base-files_6.5 base-passwd_3.5.23 bash_4.1-3 binutils_2.21.53.20110910-1 bsdmainutils_8.2.3 bsdutils_1:2.19.1-5 build-essential_11.5 bzip2_1.0.5-7 clang_2.9-11 coreutils_8.5-1 cpp_4:4.6.1-2 cpp-4.6_4.6.1-10 dash_0.5.7-1 debconf_1.5.41 debfoster_2.7-1.1 debhelper_8.9.6 debian-archive-keyring_2010.08.28 debianutils_4.0.2 diffutils_1:3.0-1 dpkg_1.16.0.3 dpkg-dev_1.16.0.3 e2fslibs_1.42~WIP-2011-07-02-1 e2fsprogs_1.42~WIP-2011-07-02-1 fakeroot_1.18-1 file_5.08-1 findutils_4.4.2-1+b1 g++_4:4.6.1-2 g++-4.6_4.6.1-10 gcc_4:4.6.1-2 gcc-4.6_4.6.1-10 gcc-4.6-base_4.6.1-10 gettext_0.18.1.1-4 gettext-base_0.18.1.1-4 gnupg_1.4.11-3 gpgv_1.4.11-3 grep_2.9-2 groff-base_1.21-6 gzip_1.4-1 hostname_3.06 html2text_1.3.2a-15 initscripts_2.88dsf-13.11 insserv_1.14.0-2.1 install-info_4.13a.dfsg.1-8 intltool-debian_0.35.0+20060710.1 less_444-1 libacl1_2.2.51-3 libattr1_1:2.4.46-3 libblkid1_2.19.1-5 libbz2-1.0_1.0.5-7 libc-bin_2.13-20 libc-dev-bin_2.13-20 libc6_2.13-20 libc6-dev_2.13-20 libcomerr2_1.42~WIP-2011-07-02-1 libcroco3_0.6.2-1 libdb5.1_5.1.25-11 libdpkg-perl_1.16.0.3 libffi5_3.0.10~rc10-3 libgc1c2_1:7.1-8 libgcc1_1:4.6.1-10 libgdbm3_1.8.3-10 libglib2.0-0_2.28.6-1 libgmp10_2:5.0.2+dfsg-1 libgomp1_4.6.1-10 libllvm2.9_2.9+dfsg-3 liblzma2_5.1.1alpha+20110809-2 libmagic1_5.08-1 libmount1_2.19.1-5 libmpc2_0.9-3 libmpfr4_3.0.1-6 libncurses5_5.9-1 libncursesw5_5.9-1 libpam-modules_1.1.3-2 libpam-modules-bin_1.1.3-2 libpam-runtime_1.1.3-2 libpam0g_1.1.3-2 libpcre3_8.12-4 libpipeline1_1.2.0-3 libquadmath0_4.6.1-10 libreadline6_6.2-4 libselinux1_2.1.0-1 libsepol1_2.1.0-1.1 libslang2_2.2.4-3 libss2_1.42~WIP-2011-07-02-1 libstdc++6_4.6.1-10 libstdc++6-4.6-dev_4.6.1-10 libtimedate-perl_1.2000-1 libunistring0_0.9.3-4 libusb-0.1-4_2:0.1.12-19 libuuid1_2.19.1-5 libxml2_2.7.8.dfsg-4 linux-libc-dev_3.0.0-3 login_1:4.1.4.2+svn3283-3 lsb-base_3.2-28 make_3.81-8.1 man-db_2.6.0.2-2 mawk_1.3.3-15 mount_2.19.1-5 multiarch-support_2.13-20 ncurses-base_5.9-1 ncurses-bin_5.9-1 nvi_1.81.6-8.2 passwd_1:4.1.4.2+svn3283-3 patch_2.6.1-2 perl_5.12.4-4 perl-base_5.12.4-4 perl-modules_5.12.4-4 po-debconf_1.0.16+nmu1 readline-common_6.2-4 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-hunt-dummy_0.invalid.0 sed_4.2.1-9 sensible-utils_0.0.6 sysv-rc_2.88dsf-13.11 sysvinit_2.88dsf-13.11 sysvinit-utils_2.88dsf-13.11 tar_1.26-2 tzdata_2011i-2 util-linux_2.19.1-5 xz-utils_5.1.1alpha+20110809-2 zlib1g_1:1.2.3.4.dfsg-3 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/var/lib/sbuild/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Thu May 7 02:09:53 2009 CEST using DSA key ID 532005DA gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./hunt_1.5-6.dsc dpkg-source: info: extracting hunt in hunt-1.5 dpkg-source: info: unpacking hunt_1.5.orig.tar.gz dpkg-source: info: applying hunt_1.5-6.diff.gz dpkg-source: info: upstream files that have been modified: hunt-1.5/hostup.c hunt-1.5/hunt.c hunt-1.5/hunt.h hunt-1.5/main.c hunt-1.5/man/hunt.1 hunt-1.5/net.c hunt-1.5/tpserv/Makefile Check disc space ──────────────── Sufficient free space for build dpkg-buildpackage ───────────────── dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: source package hunt dpkg-buildpackage: source version 1.5-6 dpkg-source --before-build hunt-1.5 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || /usr/bin/make distclean make[1]: Entering directory `/build/hunt-ikyrfq/hunt-1.5' rm -f *.o core c/*.o c/core c/list_test c/hash_test c/array_test rm -f hunt hunt_static /usr/bin/make -C tpserv distclean make[2]: Entering directory `/build/hunt-ikyrfq/hunt-1.5/tpserv' rm -f *.o rm -f tpserv make[2]: Leaving directory `/build/hunt-ikyrfq/hunt-1.5/tpserv' make[1]: Leaving directory `/build/hunt-ikyrfq/hunt-1.5' [ ! -f tpserv/Makefile ] || /usr/bin/make -C tpserv distclean make[1]: Entering directory `/build/hunt-ikyrfq/hunt-1.5/tpserv' rm -f *.o rm -f tpserv make[1]: Leaving directory `/build/hunt-ikyrfq/hunt-1.5/tpserv' #cd tpserv && make distclean dh_clean rm -f debian/hunt.substvars rm -f debian/hunt.*.debhelper rm -rf debian/hunt/ rm -f debian/*.debhelper.log rm -f debian/files find . \( \( -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} \; \) -o \ \( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) \) dpkg-source -b hunt-1.5 dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1) dpkg-source: info: using source format `1.0' dpkg-source: info: building hunt using existing hunt_1.5.orig.tar.gz dpkg-source: info: building hunt in hunt_1.5-6.diff.gz dpkg-source: warning: the diff modifies the following upstream files: hostup.c hunt.c hunt.h main.c man/hunt.1 net.c tpserv/Makefile dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1) dpkg-source: info: building hunt in hunt_1.5-6.dsc debian/rules build dh_testdir # build package here /usr/bin/make make[1]: Entering directory `/build/hunt-ikyrfq/hunt-1.5' cc -Wall -O2 -g -D_REENTRANT -c -o hunt.o hunt.c hunt.c:696:7: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] mac = arpethh->ar_sha; ^ ~~~~~~~~~~~~~~~ hunt.c:710:6: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] mac = p->p_ethh->h_source; ^ ~~~~~~~~~~~~~~~~~~~ hunt.c:1016:24: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf_eth_mac(buf, mi->mac); ^~~~~~~ In file included from hunt.c:9: ./hunt.h:422:45: note: passing argument to parameter 'mac' here int sprintf_eth_mac(char *b, unsigned char *mac); ^ 3 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o main.o main.c main.c:350:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); ^~~~~~~~~~~~ In file included from main.c:9: ./hunt.h:503:55: note: passing argument to parameter 'src_fake_mac' here int user_arp_hijack(struct user_conn_info *uci, char *src_fake_mac, ^ main.c:350:48: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); ^~~~~~~~~~~~ In file included from main.c:9: ./hunt.h:504:13: note: passing argument to parameter 'dst_fake_mac' here char *dst_fake_mac, int input_mode); ^ main.c:373:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] user_arp_hijack_done(src_fake_mac, dst_fake_mac); ^~~~~~~~~~~~ In file included from main.c:9: ./hunt.h:505:33: note: passing argument to parameter 'src_fake_mac' here void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); ^ main.c:373:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] user_arp_hijack_done(src_fake_mac, dst_fake_mac); ^~~~~~~~~~~~ In file included from main.c:9: ./hunt.h:505:53: note: passing argument to parameter 'dst_fake_mac' here void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); ^ main.c:509:57: warning: backslash and newline separated by space fprintf(stderr, "Network interface %s does not have "\ ^ 5 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o c/list.o c/list.c cc -Wall -O2 -g -D_REENTRANT -c -o c/hash.o c/hash.c c/hash.c:29:13: warning: array index of '44' indexes past the end of an array (that contains 44 elements) [-Warray-bounds] return ht_size[sizeof(ht_size) / sizeof(ht_size[0])]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c/hash.c:18:9: note: array 'ht_size' declared here static int ht_size[] = { ^ 1 warning generated. cc -Wall -O2 -g -D_REENTRANT -c -o c/array.o c/array.c cc -Wall -O2 -g -D_REENTRANT -c -o util.o util.c cc -Wall -O2 -g -D_REENTRANT -c -o net.o net.c cc -Wall -O2 -g -D_REENTRANT -c -o rst.o rst.c rst.c:60:14: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = ci->dst.dst_mac; ^ ~~~~~~~~~~~~~~~ rst.c:61:14: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->dst.src_mac; ^ ~~~~~~~~~~~~~~~ rst.c:69:14: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = ci->src.dst_mac; ^ ~~~~~~~~~~~~~~~ rst.c:70:14: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->src.src_mac; ^ ~~~~~~~~~~~~~~~ 4 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o menu.o menu.c menu.c:254:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (parse_mac(buf, mac_ret) == 0) ^~~~~~~ menu.c:173:32: note: passing argument to parameter 'mac_ret' here int parse_mac(char *buf, char *mac_ret) ^ menu.c:281:24: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] if (parse_ports(buf, ret_ports) == 0) ^~~~~~~~~ menu.c:58:42: note: passing argument to parameter 'ret_ports' here int parse_ports(char *buf, unsigned int *ret_ports) ^ menu.c:347:29: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] buf_p += sprintf_db_ports(dfl_ports, buf_p, ^~~~~~~~~ In file included from menu.c:9: ./hunt.h:415:36: note: passing argument to parameter 'ports' here int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); ^ menu.c:522:13: warning: field width should have type 'int', but argument has type 'unsigned long' [-Wformat] printf("%*s", strlen(head) + 9, " "); ~~^ ~~~~~~~~~~~~~~~~ 4 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o hijack.o hijack.c hijack.c:89:15: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = ci->src.src_mac; ^ ~~~~~~~~~~~~~~~ hijack.c:90:15: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->dst.src_mac; ^ ~~~~~~~~~~~~~~~ hijack.c:223:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = ci->dst.dst_mac; ^ ~~~~~~~~~~~~~~~ hijack.c:224:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->dst.src_mac; ^ ~~~~~~~~~~~~~~~ 4 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o rstd.o rstd.c rstd.c:265:16: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_mask, src_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from rstd.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ rstd.c:268:16: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_mask, dst_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from rstd.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ rstd.c:281:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from rstd.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ rstd.c:285:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from rstd.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ rstd.c:314:28: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_ip, &src_mask, src_ports, ^~~~~~~~~ In file included from rstd.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ rstd.c:315:38: warning: passing 'unsigned int [17]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] dbi->src_addr, dbi->src_mask, dbi->src_ports) < 0) ^~~~~~~~~~~~~~ In file included from rstd.c:9: ./hunt.h:372:52: note: passing argument to parameter 'dfl_ports' here unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); ^ rstd.c:318:28: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_ip, &dst_mask, dst_ports, ^~~~~~~~~ In file included from rstd.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ rstd.c:319:38: warning: passing 'unsigned int [17]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] dbi->dst_addr, dbi->dst_mask, dbi->dst_ports) < 0) ^~~~~~~~~~~~~~ In file included from rstd.c:9: ./hunt.h:372:52: note: passing argument to parameter 'dfl_ports' here unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); ^ rstd.c:326:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from rstd.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ rstd.c:327:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from rstd.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ 10 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o sniff.o sniff.c sniff.c:128:19: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf_db_ports(si->src_ports, buf_src_ports, sizeof(buf_src_ports), 1); ^~~~~~~~~~~~~ In file included from sniff.c:9: ./hunt.h:415:36: note: passing argument to parameter 'ports' here int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); ^ sniff.c:129:19: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf_db_ports(si->dst_ports, buf_dst_ports, sizeof(buf_dst_ports), 1); ^~~~~~~~~~~~~ In file included from sniff.c:9: ./hunt.h:415:36: note: passing argument to parameter 'ports' here int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); ^ sniff.c:174:32: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_match(tcph->source, si->src_ports) && ^~~~~~~~~~~~~ In file included from sniff.c:9: ./hunt.h:427:40: note: passing argument to parameter 'db_ports' here int port_match(int port, unsigned int *db_ports); ^ sniff.c:175:30: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_match(tcph->dest, si->dst_ports)) ^~~~~~~~~~~~~ In file included from sniff.c:9: ./hunt.h:427:40: note: passing argument to parameter 'db_ports' here int port_match(int port, unsigned int *db_ports); ^ sniff.c:181:32: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_match(tcph->source, si->dst_ports) && ^~~~~~~~~~~~~ In file included from sniff.c:9: ./hunt.h:427:40: note: passing argument to parameter 'db_ports' here int port_match(int port, unsigned int *db_ports); ^ sniff.c:182:30: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_match(tcph->dest, si->src_ports)) ^~~~~~~~~~~~~ In file included from sniff.c:9: ./hunt.h:427:40: note: passing argument to parameter 'db_ports' here int port_match(int port, unsigned int *db_ports); ^ sniff.c:664:4: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_mask, src_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:371:17: note: passing argument to parameter 'ret_mask' here unsigned int *ret_mask, unsigned int *ret_ports, ^ sniff.c:664:15: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_mask, src_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ sniff.c:667:4: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_mask, dst_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:371:17: note: passing argument to parameter 'ret_mask' here unsigned int *ret_mask, unsigned int *ret_ports, ^ sniff.c:667:15: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_mask, dst_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ sniff.c:705:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ sniff.c:709:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ sniff.c:747:17: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_ip, &src_mask, src_ports, ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:371:17: note: passing argument to parameter 'ret_mask' here unsigned int *ret_mask, unsigned int *ret_ports, ^ sniff.c:747:28: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_ip, &src_mask, src_ports, ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ sniff.c:751:17: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_ip, &dst_mask, dst_ports, ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:371:17: note: passing argument to parameter 'ret_mask' here unsigned int *ret_mask, unsigned int *ret_ports, ^ sniff.c:751:28: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_ip, &dst_mask, dst_ports, ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ sniff.c:770:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ sniff.c:771:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from sniff.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ 18 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o macdisc.o macdisc.c macdisc.c:40:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as.src_mac = my_eth_mac; ^ ~~~~~~~~~~ macdisc.c:41:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as.dst_mac = mac_broadcast; ^ ~~~~~~~~~~~~~ macdisc.c:43:16: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as.sender_mac = my_eth_mac; ^ ~~~~~~~~~~ macdisc.c:45:16: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as.target_mac = mac_zero; ^ ~~~~~~~~ 4 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o tap.o tap.c tap.c:135:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] print_eth_mac(mac); ^~~ In file included from tap.c:31: ./hunt.h:421:34: note: passing argument to parameter 'mac' here int print_eth_mac(unsigned char *mac); ^ 1 warning generated. cc -Wall -O2 -g -D_REENTRANT -c -o arphijack.o arphijack.c arphijack.c:81:14: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = wtd->ci->dst.src_mac; ^ ~~~~~~~~~~~~~~~~~~~~ arphijack.c:122:14: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ci->src.src_mac, ci->dst.src_mac, ^~~~~~~~~~~~~~~ In file included from arphijack.c:9: ./hunt.h:522:9: note: passing argument to parameter 'src_mac' here char *src_mac, char *dst_mac, char *src_fake_mac, ^ arphijack.c:122:31: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ci->src.src_mac, ci->dst.src_mac, ^~~~~~~~~~~~~~~ In file included from arphijack.c:9: ./hunt.h:522:24: note: passing argument to parameter 'dst_mac' here char *src_mac, char *dst_mac, char *src_fake_mac, ^ arphijack.c:143:12: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ci->dst.src_mac, ci->src.src_mac, ^~~~~~~~~~~~~~~ In file included from arphijack.c:9: ./hunt.h:522:9: note: passing argument to parameter 'src_mac' here char *src_mac, char *dst_mac, char *src_fake_mac, ^ arphijack.c:143:29: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ci->dst.src_mac, ci->src.src_mac, ^~~~~~~~~~~~~~~ In file included from arphijack.c:9: ./hunt.h:522:24: note: passing argument to parameter 'dst_mac' here char *src_mac, char *dst_mac, char *src_fake_mac, ^ arphijack.c:169:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] wtd.src_fake_mac = asi_src ? asi_src->src_fake_mac : ci->src.src_mac; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arphijack.c:200:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = asi_src ? asi_src->src_fake_mac : ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arphijack.c:202:16: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->dst.src_mac; ^ ~~~~~~~~~~~~~~~ arphijack.c:224:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = asi_dst ? asi_dst->src_fake_mac : ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arphijack.c:226:16: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->src.src_mac; ^ ~~~~~~~~~~~~~~~ 10 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o tty.o tty.c cc -Wall -O2 -g -D_REENTRANT -c -o synchijack.o synchijack.c synchijack.c:153:14: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = ci->src.dst_mac; ^ ~~~~~~~~~~~~~~~ synchijack.c:154:14: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->src.src_mac; ^ ~~~~~~~~~~~~~~~ synchijack.c:220:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = ci->dst.dst_mac; ^ ~~~~~~~~~~~~~~~ synchijack.c:221:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->dst.src_mac; ^ ~~~~~~~~~~~~~~~ synchijack.c:245:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(fin_msg, suggest_sync_msg(0)); ^~~~~~~~~~~~~~~~~~~ synchijack.c:279:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = ci->src.dst_mac; ^ ~~~~~~~~~~~~~~~ synchijack.c:280:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->src.src_mac; ^ ~~~~~~~~~~~~~~~ synchijack.c:307:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = ci->src.dst_mac; ^ ~~~~~~~~~~~~~~~ synchijack.c:308:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->src.src_mac; ^ ~~~~~~~~~~~~~~~ synchijack.c:419:16: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.src_mac = ci->dst.dst_mac; ^ ~~~~~~~~~~~~~~~ synchijack.c:420:16: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ts.dst_mac = ci->dst.src_mac; ^ ~~~~~~~~~~~~~~~ 11 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o arpspoof.o arpspoof.c arpspoof.c:85:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arpspoof.c:86:17: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.dst_mac = asi->dst_mac; ^ ~~~~~~~~~~~~ arpspoof.c:88:20: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.sender_mac = asi->src_fake_mac; ^ ~~~~~~~~~~~~~~~~~ arpspoof.c:90:20: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.target_mac = asi->dst_mac; ^ ~~~~~~~~~~~~ arpspoof.c:117:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arpspoof.c:118:17: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.dst_mac = asi->dst_mac; /* don't use broadcast - we want that it is received only by the target */ ^ ~~~~~~~~~~~~ arpspoof.c:120:20: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.sender_mac = asi->src_fake_mac; ^ ~~~~~~~~~~~~~~~~~ arpspoof.c:122:20: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.target_mac = mac_zero; ^ ~~~~~~~~ arpspoof.c:543:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arpspoof.c:546:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arpspoof.c:548:18: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.dst_mac = asi->dst_mac; ^ ~~~~~~~~~~~~ arpspoof.c:550:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.sender_mac = asi_src_mac; ^ ~~~~~~~~~~~ arpspoof.c:552:21: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.target_mac = asi->dst_mac; ^ ~~~~~~~~~~~~ arpspoof.c:565:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arpspoof.c:568:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arpspoof.c:570:18: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.src_mac = asi->src_mac; ^ ~~~~~~~~~~~~ arpspoof.c:571:18: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.dst_mac = asi->dst_mac; ^ ~~~~~~~~~~~~ arpspoof.c:573:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.sender_mac = asi_src_mac; ^ ~~~~~~~~~~~ arpspoof.c:575:21: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as_dst.target_mac = mac_zero; ^ ~~~~~~~~ arpspoof.c:951:24: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf_eth_mac(buf, asr->src_fake_mac); ^~~~~~~~~~~~~~~~~ In file included from arpspoof.c:9: ./hunt.h:422:45: note: passing argument to parameter 'mac' here int sprintf_eth_mac(char *b, unsigned char *mac); ^ arpspoof.c:1008:36: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mi_dst ? mi_dst->mac : NULL, src_fake_mac, ^~~~~~~~~~~~ arpspoof.c:398:39: note: passing argument to parameter 'src_fake_mac' here char *src_mac, char *dst_mac, char *src_fake_mac, ^ arpspoof.c:1163:77: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] asi_src_in_dst = start_arp_spoof(src_ip, dst_ip, mi_src->mac, mi_dst->mac, src_fake_mac, ^~~~~~~~~~~~ arpspoof.c:398:39: note: passing argument to parameter 'src_fake_mac' here char *src_mac, char *dst_mac, char *src_fake_mac, ^ arpspoof.c:1165:77: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] asi_dst_in_src = start_arp_spoof(dst_ip, src_ip, mi_dst->mac, mi_src->mac, dst_fake_mac, ^~~~~~~~~~~~ arpspoof.c:398:39: note: passing argument to parameter 'src_fake_mac' here char *src_mac, char *dst_mac, char *src_fake_mac, ^ arpspoof.c:1390:51: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_icmp_request(asi->src_addr, asi->dst_addr, asi->src_fake_mac, ^~~~~~~~~~~~~~~~~ In file included from arpspoof.c:9: ./hunt.h:698:16: note: passing argument to parameter 'src_mac' here char *src_mac, char *dst_mac, unsigned short seq); ^ arpspoof.c:1391:7: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] asi->dst_mac, 1 + i); ^~~~~~~~~~~~ In file included from arpspoof.c:9: ./hunt.h:698:31: note: passing argument to parameter 'dst_mac' here char *src_mac, char *dst_mac, unsigned short seq); ^ arpspoof.c:1397:13: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] asi->dst_mac, asi->src_fake_mac); ^~~~~~~~~~~~ In file included from arpspoof.c:9: ./hunt.h:700:11: note: passing argument to parameter 'src_mac' here char *src_mac, char *dst_mac); ^ arpspoof.c:1397:27: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] asi->dst_mac, asi->src_fake_mac); ^~~~~~~~~~~~~~~~~ In file included from arpspoof.c:9: ./hunt.h:700:26: note: passing argument to parameter 'dst_mac' here char *src_mac, char *dst_mac); ^ 27 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o hostup.o hostup.c hostup.c:87:14: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ip, my_eth_mac, ^~~~~~~~~~ In file included from hostup.c:9: ./hunt.h:698:16: note: passing argument to parameter 'src_mac' here char *src_mac, char *dst_mac, unsigned short seq); ^ hostup.c:93:7: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] my_eth_mac, fake_mac, htons(j + 2000)); ^~~~~~~~~~ In file included from hostup.c:9: ./hunt.h:698:16: note: passing argument to parameter 'src_mac' here char *src_mac, char *dst_mac, unsigned short seq); ^ hostup.c:93:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] my_eth_mac, fake_mac, htons(j + 2000)); ^~~~~~~~ In file included from hostup.c:9: ./hunt.h:698:31: note: passing argument to parameter 'dst_mac' here char *src_mac, char *dst_mac, unsigned short seq); ^ hostup.c:106:8: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] p->p_ethh->h_source, my_eth_mac) || ^~~~~~~~~~~~~~~~~~~ In file included from hostup.c:9: ./hunt.h:700:11: note: passing argument to parameter 'src_mac' here char *src_mac, char *dst_mac); ^ hostup.c:106:29: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] p->p_ethh->h_source, my_eth_mac) || ^~~~~~~~~~ In file included from hostup.c:9: ./hunt.h:700:26: note: passing argument to parameter 'dst_mac' here char *src_mac, char *dst_mac); ^ hostup.c:108:8: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fake_mac, my_eth_mac))) { ^~~~~~~~ In file included from hostup.c:9: ./hunt.h:700:11: note: passing argument to parameter 'src_mac' here char *src_mac, char *dst_mac); ^ hostup.c:108:18: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fake_mac, my_eth_mac))) { ^~~~~~~~~~ In file included from hostup.c:9: ./hunt.h:700:26: note: passing argument to parameter 'dst_mac' here char *src_mac, char *dst_mac); ^ hostup.c:125:13: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as.src_mac = my_eth_mac; ^ ~~~~~~~~~~ hostup.c:128:16: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as.sender_mac = my_eth_mac; ^ ~~~~~~~~~~ hostup.c:130:16: warning: assigning to 'char *' from 'unsigned char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] as.target_mac = mac_zero; ^ ~~~~~~~~ hostup.c:159:27: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_arp_message(ip, mac_broadcast); ^~~~~~~~~~~~~ hostup.c:121:53: note: passing argument to parameter 'dst_mac' here static void send_arp_message(unsigned int ip, char *dst_mac) ^ hostup.c:161:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_arp_message(ip, fake_mac); ^~~~~~~~ hostup.c:121:53: note: passing argument to parameter 'dst_mac' here static void send_arp_message(unsigned int ip, char *dst_mac) ^ hostup.c:241:50: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if ((len = ntohl(end_ip) - ntohl(start_ip) + 1) < 0) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ hostup.c:299:19: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf_eth_mac(buf_mac, suggest_mac()); ^~~~~~~ In file included from hostup.c:9: ./hunt.h:422:27: note: passing argument to parameter 'b' here int sprintf_eth_mac(char *b, unsigned char *mac); ^ hostup.c:300:70: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (menu_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { ^~~~~~~ In file included from hostup.c:9: ./hunt.h:365:64: note: passing argument to parameter 'dfl' here int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); ^ hostup.c:314:19: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf_eth_mac(buf_mac, suggest_mac()); ^~~~~~~ In file included from hostup.c:9: ./hunt.h:422:27: note: passing argument to parameter 'b' here int sprintf_eth_mac(char *b, unsigned char *mac); ^ hostup.c:315:70: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (menu_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { ^~~~~~~ In file included from hostup.c:9: ./hunt.h:365:64: note: passing argument to parameter 'dfl' here int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); ^ 17 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o addpolicy.o addpolicy.c addpolicy.c:113:16: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_mask, src_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ addpolicy.c:116:16: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_mask, dst_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ addpolicy.c:125:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ addpolicy.c:129:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ addpolicy.c:150:28: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_ip, &src_mask, src_ports, ^~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ addpolicy.c:151:38: warning: passing 'unsigned int [17]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] api->src_addr, api->src_mask, api->src_ports) < 0) ^~~~~~~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:372:52: note: passing argument to parameter 'dfl_ports' here unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); ^ addpolicy.c:154:28: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_ip, &dst_mask, dst_ports, ^~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ addpolicy.c:155:38: warning: passing 'unsigned int [17]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] api->dst_addr, api->dst_mask, api->dst_ports) < 0) ^~~~~~~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:372:52: note: passing argument to parameter 'dfl_ports' here unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); ^ addpolicy.c:157:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ addpolicy.c:158:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from addpolicy.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ 10 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o options.o options.c cc -Wall -O2 -g -D_REENTRANT -c -o resolv.o resolv.c cc -Wall -O2 -g -D_REENTRANT -c -o timer.o timer.c timer.c:154:3: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ timer.c:154:3: note: please include the header or explicitly provide a declaration for 'exit' 1 warning generated. cc -Wall -O2 -g -D_REENTRANT -c -o pktrelay.o pktrelay.c pktrelay.c:270:16: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_mask, src_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ pktrelay.c:273:16: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_mask, dst_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ pktrelay.c:294:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ pktrelay.c:298:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ pktrelay.c:334:28: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &src_ip, &src_mask, src_ports, ^~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ pktrelay.c:335:36: warning: passing 'unsigned int [17]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] ri->src_addr, ri->src_mask, ri->src_ports) < 0) ^~~~~~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:372:52: note: passing argument to parameter 'dfl_ports' here unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); ^ pktrelay.c:338:28: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &dst_ip, &dst_mask, dst_ports, ^~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:371:41: note: passing argument to parameter 'ret_ports' here unsigned int *ret_mask, unsigned int *ret_ports, ^ pktrelay.c:339:36: warning: passing 'unsigned int [17]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] ri->dst_addr, ri->dst_mask, ri->dst_ports) < 0) ^~~~~~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:372:52: note: passing argument to parameter 'dfl_ports' here unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); ^ pktrelay.c:367:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ pktrelay.c:368:13: warning: passing 'int [17]' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from pktrelay.c:9: ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ 10 warnings generated. cc -o hunt hunt.o main.o c/list.o c/hash.o c/array.o util.o net.o rst.o menu.o hijack.o rstd.o sniff.o macdisc.o tap.o arphijack.o tty.o synchijack.o arpspoof.o hostup.o addpolicy.o options.o resolv.o timer.o pktrelay.o -lpthread main.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here main.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here util.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here util.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here net.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here net.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here rst.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here rst.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here menu.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here menu.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here hijack.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here hijack.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here rstd.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here rstd.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here sniff.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here sniff.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here macdisc.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here macdisc.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here tap.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here tap.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here arphijack.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here arphijack.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here tty.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here tty.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here synchijack.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here synchijack.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here arpspoof.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here arpspoof.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here hostup.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here hostup.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here addpolicy.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here addpolicy.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here options.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here options.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here resolv.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here resolv.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here timer.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here timer.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here pktrelay.o: In function `generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: multiple definition of `generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:297: first defined here pktrelay.o: In function `uci_generate_key': /build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/build/hunt-ikyrfq/hunt-1.5/./hunt.h:309: first defined here clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [hunt] Error 1 make[1]: Leaving directory `/build/hunt-ikyrfq/hunt-1.5' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20110911-1626 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /var/lib/schroot/mount/lsid64c-d5e90b3a-72b8-4b8b-a9f6-31926ff9220f/build/hunt-ikyrfq Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 1204 Build-Time: 4 Distribution: lsid64c Fail-Stage: build Install-Time: 4 Job: hunt_1.5-6 Package: hunt Package-Time: 17 Source-Version: 1.5-6 Space: 1204 Status: attempted Version: 1.5-6 ──────────────────────────────────────────────────────────────────────────────── Finished at 20110911-1626 Build needed 00:00:17, 1204k disc space DC-Build-Status: Failed 131.761993s ### Content of /var/log/daemon.log ### Sep 11 10:47:53 talc-103 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Sep 11 10:48:24 talc-103 approx: Concurrent download of debian/dists/sid/Release is taking too long Sep 11 10:48:32 talc-103 approx: Concurrent download of debian/dists/sid/main/binary-amd64/Packages.xz is taking too long Sep 11 10:48:45 talc-103 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long Sep 11 10:48:59 talc-103 approx: Concurrent download of debian/dists/sid/Release is taking too long Sep 11 10:49:21 talc-103 approx: Concurrent download of debian/dists/sid/main/source/Sources.xz is taking too long Sep 11 10:49:22 talc-103 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long Sep 11 10:49:30 talc-103 approx: Concurrent download of debian/dists/sid/main/binary-amd64/Packages.xz is taking too long Sep 11 10:49:33 talc-103 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long Sep 11 10:49:47 talc-103 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long Sep 11 10:49:50 talc-103 approx: Concurrent download of debian/dists/sid/main/binary-amd64/Packages.xz is taking too long Sep 11 10:50:03 talc-103 approx: Concurrent download of debian/dists/sid/main/i18n/Translation-en.xz is taking too long Sep 11 10:50:06 talc-103 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long Sep 11 10:50:51 talc-103 approx: Concurrent download of debian/dists/sid/main/i18n/Translation-en is taking too long Sep 11 10:51:07 talc-103 approx: Concurrent download of debian/dists/sid/main/i18n/Translation-en is taking too long Sep 11 10:51:12 talc-103 approx: Concurrent download of debian/dists/sid/main/binary-amd64/Packages.xz is taking too long Sep 11 10:51:33 talc-103 approx: Concurrent download of debian/dists/sid/main/i18n/Translation-en.xz is taking too long Sep 11 10:51:47 talc-103 approx: Concurrent download of debian/dists/sid/main/i18n/Translation-en is taking too long ### End of content of /var/log/daemon.log ### DC-Time-Estimation: 131.761993 versus expected 14 (r/m: 8.41157092857143 ; m: 14.0)