DC-Build-Header: hunt 1.5-6 / Mon Jan 28 06:07:05 +0000 2013 DC-Task: logfile:/tmp/hunt_1.5-6_unstable_clang.log version:1.5-6 chroot:unstable modes:binary-only:clang source:hunt architecture:any esttime:28 DC-Sbuild-call: su user -c 'sbuild -n --apt-update -d unstable -v --chroot-setup-commands=/tmp/switch-to-clang hunt_1.5-6' Could not create '/sbuild-nonexistent/logs': No such file or directory Could not create '/sbuild-nonexistent/logs': No such file or directory sbuild (Debian sbuild) 0.62.5 (13 Jul 2011) on ip-10-30-128-124.ec2.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ hunt 1.5-6 (amd64) 28 Jan 2013 06:07 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: hunt Version: 1.5-6 Source Version: 1.5-6 Distribution: unstable Architecture: amd64 I: NOTICE: Log filtering will replace 'build/hunt-FCBsmQ/hunt-1.5' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/hunt-FCBsmQ' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-f0bbfb03-06b2-4be4-a983-617226aa2659' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Ign http://localhost unstable InRelease Get:1 http://localhost unstable Release.gpg [836 B] Get:2 http://localhost unstable Release [227 kB] Ign http://localhost unstable/main Sources/DiffIndex Ign http://localhost unstable/main amd64 Packages/DiffIndex Get:3 http://localhost unstable/main Translation-en/DiffIndex [7876 B] Get:4 http://localhost unstable/main 2013-01-27-2011.16.pdiff [737 B] Get:5 http://localhost unstable/main 2013-01-27-2011.16.pdiff [737 B] Get:6 http://localhost unstable/main Sources [8236 kB] Get:7 http://localhost unstable/main amd64 Packages [8284 kB] Get:8 http://localhost unstable/main 2013-01-28-0212.01.pdiff [43 B] Get:9 http://localhost unstable/main 2013-01-28-0212.01.pdiff [43 B] Fetched 16.8 MB in 3s (4735 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... Need to get 104 kB of source archives. Get:1 http://localhost/debian/ unstable/main hunt 1.5-6 (dsc) [894 B] Get:2 http://localhost/debian/ unstable/main hunt 1.5-6 (tar) [99.2 kB] Get:3 http://localhost/debian/ unstable/main hunt 1.5-6 (diff) [4352 B] Fetched 104 kB in 0s (457 kB/s) Download complete and in download only mode Check arch ────────── ┌──────────────────────────────────────────────────────────────────────────────┐ │ Chroot Setup Commands │ └──────────────────────────────────────────────────────────────────────────────┘ /tmp/switch-to-clang ──────────────────── + echo 'Entering customization script...' Entering customization script... + echo 'Add experimental as repository' Add experimental as repository + echo deb http://localhost:9999/debian experimental main + apt-get update Ign http://localhost unstable InRelease Ign http://localhost experimental InRelease Hit http://localhost unstable Release.gpg Get:1 http://localhost experimental Release.gpg [836 B] Hit http://localhost unstable Release Get:2 http://localhost experimental Release [161 kB] Ign http://localhost unstable/main Sources/DiffIndex Ign http://localhost unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Translation-en/DiffIndex Get:3 http://localhost experimental/main Translation-en [704 kB] Get:4 http://localhost experimental/main amd64 Packages [1605 kB] Hit http://localhost unstable/main Sources Hit http://localhost unstable/main amd64 Packages Fetched 2471 kB in 1s (1322 kB/s) Reading package lists... + echo 'Install of clang' Install of clang + apt-get update Ign http://localhost unstable InRelease Ign http://localhost experimental InRelease Hit http://localhost unstable Release.gpg Hit http://localhost experimental Release.gpg Hit http://localhost unstable Release Hit http://localhost experimental Release Ign http://localhost unstable/main Sources/DiffIndex Ign http://localhost unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Translation-en/DiffIndex Ign http://localhost experimental/main amd64 Packages/DiffIndex Get:1 http://localhost experimental/main Translation-en/DiffIndex [7819 B] Hit http://localhost unstable/main Sources Hit http://localhost unstable/main amd64 Packages Hit http://localhost experimental/main amd64 Packages Fetched 7819 B in 1s (3952 B/s) Reading package lists... + apt-get install --yes --no-install-recommends clang -t experimental Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: clang-3.2 compiler-rt cpp-4.7 g++-4.7 gcc-4.7 gcc-4.7-base gcc-4.8-base libc-dev-bin libc6 libc6-dev libclang-common-dev libexpat1 libffi5 libgcc-4.7-dev libgcc1 libgomp1 libitm1 libllvm3.2 libncurses5 libncursesw5 libobjc-4.7-dev libobjc4 libpython2.7-minimal libpython2.7-stdlib libquadmath0 libsqlite3-0 libssl1.0.0 libstdc++6 libstdc++6-4.7-dev libtinfo5 mime-support python python-minimal python2.7 python2.7-minimal Suggested packages: gcc-4.7-locales g++-4.7-multilib gcc-4.7-doc libstdc++6-4.7-dbg gcc-4.7-multilib libmudflap0-4.7-dev libgcc1-dbg libgomp1-dbg libitm1-dbg libquadmath0-dbg libmudflap0-dbg libcloog-ppl0 libppl-c2 libppl7 binutils-gold glibc-doc libstdc++6-4.7-doc python-doc python-tk python2.7-doc binfmt-support Recommended packages: llvm-3.2-dev manpages-dev file The following NEW packages will be installed: clang clang-3.2 compiler-rt gcc-4.8-base libclang-common-dev libexpat1 libffi5 libgcc-4.7-dev libllvm3.2 libncursesw5 libobjc-4.7-dev libobjc4 libpython2.7-minimal libpython2.7-stdlib libsqlite3-0 libssl1.0.0 mime-support python python-minimal python2.7 python2.7-minimal The following packages will be upgraded: cpp-4.7 g++-4.7 gcc-4.7 gcc-4.7-base libc-dev-bin libc6 libc6-dev libgcc1 libgomp1 libitm1 libncurses5 libquadmath0 libstdc++6 libstdc++6-4.7-dev libtinfo5 15 upgraded, 21 newly installed, 0 to remove and 24 not upgraded. Need to get 56.7 MB of archives. After this operation, 72.6 MB of additional disk space will be used. Get:1 http://localhost/debian/ experimental/main gcc-4.8-base amd64 4.8-20130127-1 [147 kB] Get:2 http://localhost/debian/ experimental/main libc6-dev amd64 2.16-0experimental1 [3086 kB] Get:3 http://localhost/debian/ experimental/main libc-dev-bin amd64 2.16-0experimental1 [226 kB] Get:4 http://localhost/debian/ experimental/main libc6 amd64 2.16-0experimental1 [4729 kB] Get:5 http://localhost/debian/ experimental/main libgcc1 amd64 1:4.8-20130127-1 [43.7 kB] Get:6 http://localhost/debian/ experimental/main libstdc++6 amd64 4.8-20130127-1 [335 kB] Get:7 http://localhost/debian/ experimental/main libtinfo5 amd64 5.9+20130119-1 [294 kB] Get:8 http://localhost/debian/ experimental/main libncurses5 amd64 5.9+20130119-1 [115 kB] Get:9 http://localhost/debian/ experimental/main libncursesw5 amd64 5.9+20130119-1 [142 kB] Get:10 http://localhost/debian/ unstable/main libssl1.0.0 amd64 1.0.1c-4 [1213 kB] Get:11 http://localhost/debian/ unstable/main libsqlite3-0 amd64 3.7.15.2-1 [463 kB] Get:12 http://localhost/debian/ experimental/main libexpat1 amd64 2.1.0-2 [138 kB] Get:13 http://localhost/debian/ unstable/main libffi5 amd64 3.0.10-3 [24.8 kB] Get:14 http://localhost/debian/ experimental/main libgomp1 amd64 4.8-20130127-1 [27.4 kB] Get:15 http://localhost/debian/ experimental/main libitm1 amd64 4.8-20130127-1 [37.7 kB] Get:16 http://localhost/debian/ unstable/main libllvm3.2 amd64 3.2-2 [7865 kB] Get:17 http://localhost/debian/ experimental/main libobjc4 amd64 4.8-20130127-1 [163 kB] Get:18 http://localhost/debian/ experimental/main libquadmath0 amd64 4.8-20130127-1 [139 kB] Get:19 http://localhost/debian/ experimental/main libstdc++6-4.7-dev amd64 4.7.2-19 [1678 kB] Get:20 http://localhost/debian/ experimental/main g++-4.7 amd64 4.7.2-19 [5877 kB] Get:21 http://localhost/debian/ experimental/main gcc-4.7 amd64 4.7.2-19 [5831 kB] Get:22 http://localhost/debian/ experimental/main cpp-4.7 amd64 4.7.2-19 [5416 kB] Get:23 http://localhost/debian/ experimental/main libgcc-4.7-dev amd64 4.7.2-19 [2465 kB] Get:24 http://localhost/debian/ experimental/main gcc-4.7-base amd64 4.7.2-19 [148 kB] Get:25 http://localhost/debian/ experimental/main mime-support all 3.53~experimental2 [36.5 kB] Get:26 http://localhost/debian/ experimental/main libpython2.7-minimal amd64 2.7.3-15 [531 kB] Get:27 http://localhost/debian/ experimental/main python2.7-minimal amd64 2.7.3-15 [1220 kB] Get:28 http://localhost/debian/ experimental/main libpython2.7-stdlib amd64 2.7.3-15 [2367 kB] Get:29 http://localhost/debian/ experimental/main python2.7 amd64 2.7.3-15 [326 kB] Get:30 http://localhost/debian/ experimental/main python-minimal amd64 2.7.3-10 [41.8 kB] Get:31 http://localhost/debian/ experimental/main python amd64 2.7.3-10 [184 kB] Get:32 http://localhost/debian/ experimental/main libobjc-4.7-dev amd64 4.7.2-19 [717 kB] Get:33 http://localhost/debian/ experimental/main libclang-common-dev amd64 3.2-1~exp5 [303 kB] Get:34 http://localhost/debian/ experimental/main compiler-rt amd64 3.2-1~exp5 [315 kB] Get:35 http://localhost/debian/ experimental/main clang-3.2 amd64 3.2-1~exp5 [10.1 MB] Get:36 http://localhost/debian/ experimental/main clang all 3.2-1~exp5 [9506 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 56.7 MB in 1s (33.7 MB/s) Selecting previously unselected package gcc-4.8-base:amd64. (Reading database ... 13484 files and directories currently installed.) Unpacking gcc-4.8-base:amd64 (from .../gcc-4.8-base_4.8-20130127-1_amd64.deb) ... Setting up gcc-4.8-base:amd64 (4.8-20130127-1) ... (Reading database ... 13491 files and directories currently installed.) Preparing to replace libc6-dev:amd64 2.13-38 (using .../libc6-dev_2.16-0experimental1_amd64.deb) ... Unpacking replacement libc6-dev:amd64 ... Preparing to replace libc-dev-bin 2.13-38 (using .../libc-dev-bin_2.16-0experimental1_amd64.deb) ... Unpacking replacement libc-dev-bin ... Preparing to replace libc6:amd64 2.13-38 (using .../libc6_2.16-0experimental1_amd64.deb) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype Checking for services that may need to be restarted... Checking init scripts... Unpacking replacement libc6:amd64 ... Setting up libc6:amd64 (2.16-0experimental1) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype Checking for services that may need to be restarted... Checking init scripts... Nothing to restart. (Reading database ... 13509 files and directories currently installed.) Preparing to replace libgcc1:amd64 1:4.7.2-5 (using .../libgcc1_1%3a4.8-20130127-1_amd64.deb) ... Unpacking replacement libgcc1:amd64 ... Setting up libgcc1:amd64 (1:4.8-20130127-1) ... (Reading database ... 13509 files and directories currently installed.) Preparing to replace libstdc++6:amd64 4.7.2-5 (using .../libstdc++6_4.8-20130127-1_amd64.deb) ... Unpacking replacement libstdc++6:amd64 ... Setting up libstdc++6:amd64 (4.8-20130127-1) ... (Reading database ... 13509 files and directories currently installed.) Preparing to replace libtinfo5:amd64 5.9-10 (using .../libtinfo5_5.9+20130119-1_amd64.deb) ... Unpacking replacement libtinfo5:amd64 ... Setting up libtinfo5:amd64 (5.9+20130119-1) ... (Reading database ... 13509 files and directories currently installed.) Preparing to replace libncurses5:amd64 5.9-10 (using .../libncurses5_5.9+20130119-1_amd64.deb) ... Unpacking replacement libncurses5:amd64 ... Setting up libncurses5:amd64 (5.9+20130119-1) ... Selecting previously unselected package libncursesw5:amd64. (Reading database ... 13509 files and directories currently installed.) Unpacking libncursesw5:amd64 (from .../libncursesw5_5.9+20130119-1_amd64.deb) ... Selecting previously unselected package libssl1.0.0:amd64. Unpacking libssl1.0.0:amd64 (from .../libssl1.0.0_1.0.1c-4_amd64.deb) ... Selecting previously unselected package libsqlite3-0:amd64. Unpacking libsqlite3-0:amd64 (from .../libsqlite3-0_3.7.15.2-1_amd64.deb) ... Selecting previously unselected package libexpat1:amd64. Unpacking libexpat1:amd64 (from .../libexpat1_2.1.0-2_amd64.deb) ... Selecting previously unselected package libffi5:amd64. Unpacking libffi5:amd64 (from .../libffi5_3.0.10-3_amd64.deb) ... Preparing to replace libgomp1:amd64 4.7.2-5 (using .../libgomp1_4.8-20130127-1_amd64.deb) ... Unpacking replacement libgomp1:amd64 ... Preparing to replace libitm1:amd64 4.7.2-5 (using .../libitm1_4.8-20130127-1_amd64.deb) ... Unpacking replacement libitm1:amd64 ... Selecting previously unselected package libllvm3.2:amd64. Unpacking libllvm3.2:amd64 (from .../libllvm3.2_3.2-2_amd64.deb) ... Selecting previously unselected package libobjc4:amd64. Unpacking libobjc4:amd64 (from .../libobjc4_4.8-20130127-1_amd64.deb) ... Preparing to replace libquadmath0:amd64 4.7.2-5 (using .../libquadmath0_4.8-20130127-1_amd64.deb) ... Unpacking replacement libquadmath0:amd64 ... Preparing to replace libstdc++6-4.7-dev 4.7.2-5 (using .../libstdc++6-4.7-dev_4.7.2-19_amd64.deb) ... Unpacking replacement libstdc++6-4.7-dev:amd64 ... Preparing to replace g++-4.7 4.7.2-5 (using .../g++-4.7_4.7.2-19_amd64.deb) ... Unpacking replacement g++-4.7 ... Preparing to replace gcc-4.7 4.7.2-5 (using .../gcc-4.7_4.7.2-19_amd64.deb) ... Unpacking replacement gcc-4.7 ... Preparing to replace cpp-4.7 4.7.2-5 (using .../cpp-4.7_4.7.2-19_amd64.deb) ... Unpacking replacement cpp-4.7 ... Selecting previously unselected package libgcc-4.7-dev:amd64. Unpacking libgcc-4.7-dev:amd64 (from .../libgcc-4.7-dev_4.7.2-19_amd64.deb) ... Preparing to replace gcc-4.7-base:amd64 4.7.2-5 (using .../gcc-4.7-base_4.7.2-19_amd64.deb) ... Unpacking replacement gcc-4.7-base:amd64 ... Selecting previously unselected package mime-support. Unpacking mime-support (from .../mime-support_3.53~experimental2_all.deb) ... Selecting previously unselected package libpython2.7-minimal:amd64. Unpacking libpython2.7-minimal:amd64 (from .../libpython2.7-minimal_2.7.3-15_amd64.deb) ... Selecting previously unselected package python2.7-minimal. Unpacking python2.7-minimal (from .../python2.7-minimal_2.7.3-15_amd64.deb) ... Selecting previously unselected package libpython2.7-stdlib:amd64. Unpacking libpython2.7-stdlib:amd64 (from .../libpython2.7-stdlib_2.7.3-15_amd64.deb) ... Selecting previously unselected package python2.7. Unpacking python2.7 (from .../python2.7_2.7.3-15_amd64.deb) ... Selecting previously unselected package python-minimal. Unpacking python-minimal (from .../python-minimal_2.7.3-10_amd64.deb) ... Selecting previously unselected package python. Unpacking python (from .../python_2.7.3-10_amd64.deb) ... Selecting previously unselected package libobjc-4.7-dev:amd64. Unpacking libobjc-4.7-dev:amd64 (from .../libobjc-4.7-dev_4.7.2-19_amd64.deb) ... Selecting previously unselected package libclang-common-dev. Unpacking libclang-common-dev (from .../libclang-common-dev_3.2-1~exp5_amd64.deb) ... Selecting previously unselected package compiler-rt. Unpacking compiler-rt (from .../compiler-rt_3.2-1~exp5_amd64.deb) ... Selecting previously unselected package clang-3.2. Unpacking clang-3.2 (from .../clang-3.2_3.2-1~exp5_amd64.deb) ... Selecting previously unselected package clang. Unpacking clang (from .../clang_3.2-1~exp5_all.deb) ... Setting up libc-dev-bin (2.16-0experimental1) ... Setting up libc6-dev:amd64 (2.16-0experimental1) ... Setting up libncursesw5:amd64 (5.9+20130119-1) ... Setting up libssl1.0.0:amd64 (1.0.1c-4) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype Setting up libsqlite3-0:amd64 (3.7.15.2-1) ... Setting up libexpat1:amd64 (2.1.0-2) ... Setting up libffi5:amd64 (3.0.10-3) ... Setting up libgomp1:amd64 (4.8-20130127-1) ... Setting up libitm1:amd64 (4.8-20130127-1) ... Setting up libllvm3.2:amd64 (3.2-2) ... Setting up libobjc4:amd64 (4.8-20130127-1) ... Setting up libquadmath0:amd64 (4.8-20130127-1) ... Setting up gcc-4.7-base:amd64 (4.7.2-19) ... Setting up libgcc-4.7-dev:amd64 (4.7.2-19) ... Setting up libstdc++6-4.7-dev:amd64 (4.7.2-19) ... Setting up cpp-4.7 (4.7.2-19) ... Setting up gcc-4.7 (4.7.2-19) ... Setting up g++-4.7 (4.7.2-19) ... Setting up mime-support (3.53~experimental2) ... Setting up libpython2.7-minimal:amd64 (2.7.3-15) ... Setting up python2.7-minimal (2.7.3-15) ... Linking and byte-compiling packages for runtime python2.7... Setting up libpython2.7-stdlib:amd64 (2.7.3-15) ... Setting up python2.7 (2.7.3-15) ... Setting up python-minimal (2.7.3-10) ... Setting up python (2.7.3-10) ... Setting up libobjc-4.7-dev:amd64 (4.7.2-19) ... Setting up libclang-common-dev (3.2-1~exp5) ... Setting up compiler-rt (3.2-1~exp5) ... Setting up clang-3.2 (3.2-1~exp5) ... Setting up clang (3.2-1~exp5) ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7' + cd /usr/bin + for VERSION in '$VERSIONS' + rm g++-4.6 gcc-4.6 cpp-4.6 + ln -s clang++ g++-4.6 + ln -s clang gcc-4.6 + ln -s clang cpp-4.6 + for VERSION in '$VERSIONS' + rm g++-4.7 gcc-4.7 cpp-4.7 + ln -s clang++ g++-4.7 + ln -s clang gcc-4.7 + ln -s clang cpp-4.7 + cd - /«BUILDDIR» + echo 'Block the installation of new gcc version' Block the installation of new gcc version + echo 'gcc-4.6 hold' + dpkg --set-selections + echo 'cpp-4.6 hold' + dpkg --set-selections + echo 'g++-4.6 hold' + dpkg --set-selections + echo 'gcc-4.7 hold' + dpkg --set-selections + echo 'cpp-4.7 hold' + dpkg --set-selections + echo 'g++-4.7 hold' + dpkg --set-selections + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + gcc --version + grep clang + cpp --version + grep clang + g++ --version + grep clang I: Finished running '/tmp/switch-to-clang'. Finished processing commands. ──────────────────────────────────────────────────────────────────────────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/«BUILDDIR»/resolver-upppra/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 debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/710 B of archives. After this operation, 0 B of additional disk space will be used. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 14674 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) ... Merged Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, 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, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, 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 `/«BUILDDIR»/resolver-Edf_Jy/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 libasprintf-dev libasprintf0c2 libcroco3 libgettextpo-dev libgettextpo0 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libunistring0 libxml2 man-db po-debconf Suggested packages: wamerican wordlist whois vacation dh-make gettext-doc groff less 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 libasprintf-dev libasprintf0c2 libcroco3 libgettextpo-dev libgettextpo0 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libunistring0 libxml2 man-db po-debconf sbuild-build-depends-hunt-dummy 0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded. Need to get 9115 kB/9116 kB of archives. After this operation, 25.9 MB of additional disk space will be used. Get:1 http://localhost/debian/ unstable/main libpipeline1 amd64 1.2.2-1 [39.9 kB] Get:2 http://localhost/debian/ unstable/main groff-base amd64 1.22.1-2 [741 kB] Get:3 http://localhost/debian/ unstable/main bsdmainutils amd64 9.0.4 [210 kB] Get:4 http://localhost/debian/ unstable/main man-db amd64 2.6.3-3 [898 kB] Get:5 http://localhost/debian/ unstable/main libasprintf0c2 amd64 0.18.1.1-10 [27.2 kB] Get:6 http://localhost/debian/ unstable/main libmagic1 amd64 5.11-2 [202 kB] Get:7 http://localhost/debian/ unstable/main libpcre3 amd64 1:8.31-2 [247 kB] Get:8 http://localhost/debian/ unstable/main libxml2 amd64 2.8.0+dfsg1-7 [903 kB] Get:9 http://localhost/debian/ unstable/main libglib2.0-0 amd64 2.33.12+really2.32.4-5 [1838 kB] Get:10 http://localhost/debian/ unstable/main libcroco3 amd64 0.6.6-2 [134 kB] Get:11 http://localhost/debian/ unstable/main libunistring0 amd64 0.9.3-5 [434 kB] Get:12 http://localhost/debian/ unstable/main libgettextpo0 amd64 0.18.1.1-10 [145 kB] Get:13 http://localhost/debian/ unstable/main file amd64 5.11-2 [51.8 kB] Get:14 http://localhost/debian/ unstable/main gettext-base amd64 0.18.1.1-10 [154 kB] Get:15 http://localhost/debian/ unstable/main html2text amd64 1.3.2a-15 [103 kB] Get:16 http://localhost/debian/ unstable/main libasprintf-dev amd64 0.18.1.1-10 [26.8 kB] Get:17 http://localhost/debian/ unstable/main libgettextpo-dev amd64 0.18.1.1-10 [184 kB] Get:18 http://localhost/debian/ unstable/main gettext amd64 0.18.1.1-10 [1815 kB] Get:19 http://localhost/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:20 http://localhost/debian/ unstable/main po-debconf all 1.0.16+nmu2 [224 kB] Get:21 http://localhost/debian/ unstable/main debhelper all 9.20120909 [705 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 9115 kB in 0s (29.4 MB/s) Selecting previously unselected package libpipeline1:amd64. (Reading database ... 14674 files and directories currently installed.) Unpacking libpipeline1:amd64 (from .../libpipeline1_1.2.2-1_amd64.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.22.1-2_amd64.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_9.0.4_amd64.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.3-3_amd64.deb) ... Selecting previously unselected package libasprintf0c2:amd64. Unpacking libasprintf0c2:amd64 (from .../libasprintf0c2_0.18.1.1-10_amd64.deb) ... Selecting previously unselected package libmagic1:amd64. Unpacking libmagic1:amd64 (from .../libmagic1_5.11-2_amd64.deb) ... Selecting previously unselected package libpcre3:amd64. Unpacking libpcre3:amd64 (from .../libpcre3_1%3a8.31-2_amd64.deb) ... Selecting previously unselected package libxml2:amd64. Unpacking libxml2:amd64 (from .../libxml2_2.8.0+dfsg1-7_amd64.deb) ... Selecting previously unselected package libglib2.0-0:amd64. Unpacking libglib2.0-0:amd64 (from .../libglib2.0-0_2.33.12+really2.32.4-5_amd64.deb) ... Selecting previously unselected package libcroco3:amd64. Unpacking libcroco3:amd64 (from .../libcroco3_0.6.6-2_amd64.deb) ... Selecting previously unselected package libunistring0:amd64. Unpacking libunistring0:amd64 (from .../libunistring0_0.9.3-5_amd64.deb) ... Selecting previously unselected package libgettextpo0:amd64. Unpacking libgettextpo0:amd64 (from .../libgettextpo0_0.18.1.1-10_amd64.deb) ... Selecting previously unselected package file. Unpacking file (from .../archives/file_5.11-2_amd64.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.1.1-10_amd64.deb) ... Selecting previously unselected package html2text. Unpacking html2text (from .../html2text_1.3.2a-15_amd64.deb) ... Selecting previously unselected package libasprintf-dev:amd64. Unpacking libasprintf-dev:amd64 (from .../libasprintf-dev_0.18.1.1-10_amd64.deb) ... Selecting previously unselected package libgettextpo-dev:amd64. Unpacking libgettextpo-dev:amd64 (from .../libgettextpo-dev_0.18.1.1-10_amd64.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.1.1-10_amd64.deb) ... Selecting previously unselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously unselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_9.20120909_all.deb) ... Selecting previously unselected package sbuild-build-depends-hunt-dummy. Unpacking sbuild-build-depends-hunt-dummy (from .../sbuild-build-depends-hunt-dummy.deb) ... Processing triggers for mime-support ... Setting up libpipeline1:amd64 (1.2.2-1) ... Setting up groff-base (1.22.1-2) ... Setting up bsdmainutils (9.0.4) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up man-db (2.6.3-3) ... Building database of manual pages ... Setting up libasprintf0c2:amd64 (0.18.1.1-10) ... Setting up libmagic1:amd64 (5.11-2) ... Setting up libpcre3:amd64 (1:8.31-2) ... Setting up libxml2:amd64 (2.8.0+dfsg1-7) ... Setting up libglib2.0-0:amd64 (2.33.12+really2.32.4-5) ... No schema files found: doing nothing. Setting up libcroco3:amd64 (0.6.6-2) ... Setting up libunistring0:amd64 (0.9.3-5) ... Setting up libgettextpo0:amd64 (0.18.1.1-10) ... Setting up file (5.11-2) ... Setting up gettext-base (0.18.1.1-10) ... Setting up html2text (1.3.2a-15) ... Setting up libasprintf-dev:amd64 (0.18.1.1-10) ... Setting up libgettextpo-dev:amd64 (0.18.1.1-10) ... Setting up gettext (0.18.1.1-10) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (9.20120909) ... Setting up sbuild-build-depends-hunt-dummy (0.invalid.0) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-xen-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.22-7.1 dpkg-dev_1.16.9 g++-4.6_4.6.3-15 g++-4.7_4.7.2-19 gcc-4.6_4.6.3-15 gcc-4.7_4.7.2-19 libc6-dev_2.16-0experimental1 libstdc++6_4.8-20130127-1 libstdc++6-4.6-dev_4.6.3-15 libstdc++6-4.7-dev_4.7.2-19 linux-libc-dev_3.2.35-2 Package versions: apt_0.9.7.7 base-files_7.1 base-passwd_3.5.26 bash_4.2+dfsg-0.1 binutils_2.22-7.1 bsdmainutils_9.0.4 bsdutils_1:2.20.1-5.3 build-essential_11.6 bzip2_1.0.6-4 clang_3.2-1~exp5 clang-3.2_3.2-1~exp5 compiler-rt_3.2-1~exp5 coreutils_8.20-3 cpp_4:4.7.2-1 cpp-4.6_4.6.3-15 cpp-4.7_4.7.2-19 dash_0.5.7-3 debconf_1.5.49 debconf-i18n_1.5.49 debfoster_2.7-1.2 debhelper_9.20120909 debian-archive-keyring_2012.4 debianutils_4.3.4 diffutils_1:3.2-7 dpkg_1.16.9 dpkg-dev_1.16.9 e2fslibs_1.42.5-1 e2fsprogs_1.42.5-1 fakeroot_1.18.4-2 file_5.11-2 findutils_4.4.2-5 g++_4:4.7.2-1 g++-4.6_4.6.3-15 g++-4.7_4.7.2-19 gcc_4:4.7.2-1 gcc-4.4-base_4.4.7-3 gcc-4.5-base_4.5.4-1 gcc-4.6_4.6.3-15 gcc-4.6-base_4.6.3-15 gcc-4.7_4.7.2-19 gcc-4.7-base_4.7.2-19 gcc-4.8-base_4.8-20130127-1 gettext_0.18.1.1-10 gettext-base_0.18.1.1-10 gnupg_1.4.12-7 gpgv_1.4.12-7 grep_2.14-1 groff-base_1.22.1-2 gzip_1.5-1.1 hostname_3.12 html2text_1.3.2a-15 initscripts_2.88dsf-39 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 libacl1_2.2.51-8 libapt-pkg4.12_0.9.7.7 libasprintf-dev_0.18.1.1-10 libasprintf0c2_0.18.1.1-10 libattr1_1:2.4.46-8 libblkid1_2.20.1-5.3 libbz2-1.0_1.0.6-4 libc-bin_2.13-38 libc-dev-bin_2.16-0experimental1 libc6_2.16-0experimental1 libc6-dev_2.16-0experimental1 libclang-common-dev_3.2-1~exp5 libclass-isa-perl_0.36-5 libcomerr2_1.42.5-1 libcroco3_0.6.6-2 libdb5.1_5.1.29-5 libdpkg-perl_1.16.9 libexpat1_2.1.0-2 libffi5_3.0.10-3 libfile-fcntllock-perl_0.14-2 libgc1c2_1:7.1-9.1 libgcc-4.7-dev_4.7.2-19 libgcc1_1:4.8-20130127-1 libgdbm3_1.8.3-11 libgettextpo-dev_0.18.1.1-10 libgettextpo0_0.18.1.1-10 libglib2.0-0_2.33.12+really2.32.4-5 libgmp10_2:5.0.5+dfsg-2 libgomp1_4.8-20130127-1 libgpm2_1.20.4-6 libitm1_4.8-20130127-1 libllvm3.2_3.2-2 liblocale-gettext-perl_1.05-7+b1 liblzma5_5.1.1alpha+20120614-2 libmagic1_5.11-2 libmount1_2.20.1-5.3 libmpc2_0.9-4 libmpfr4_3.1.0-5 libncurses5_5.9+20130119-1 libncursesw5_5.9+20130119-1 libobjc-4.7-dev_4.7.2-19 libobjc4_4.8-20130127-1 libpam-modules_1.1.3-7.1 libpam-modules-bin_1.1.3-7.1 libpam-runtime_1.1.3-7.1 libpam0g_1.1.3-7.1 libpcre3_1:8.31-2 libpipeline1_1.2.2-1 libpython2.7-minimal_2.7.3-15 libpython2.7-stdlib_2.7.3-15 libquadmath0_4.8-20130127-1 libreadline6_6.2+dfsg-0.1 libselinux1_2.1.9-5 libsemanage-common_2.1.6-6 libsemanage1_2.1.6-6 libsepol1_2.1.4-3 libslang2_2.2.4-15 libsqlite3-0_3.7.15.2-1 libss2_1.42.5-1 libssl1.0.0_1.0.1c-4 libstdc++6_4.8-20130127-1 libstdc++6-4.6-dev_4.6.3-15 libstdc++6-4.7-dev_4.7.2-19 libswitch-perl_2.16-2 libtext-charwidth-perl_0.04-7+b1 libtext-iconv-perl_1.7-5 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_1.2000-1 libtinfo5_5.9+20130119-1 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-23+nmu1 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.3 libxml2_2.8.0+dfsg1-7 linux-libc-dev_3.2.35-2 login_1:4.1.5.1-1 lsb-base_4.1+Debian9 make_3.81-8.2 man-db_2.6.3-3 mawk_1.3.3-17 mime-support_3.53~experimental2 mount_2.20.1-5.3 multiarch-support_2.13-38 ncurses-base_5.9-10 ncurses-bin_5.9-10 passwd_1:4.1.5.1-1 patch_2.6.1-3 perl_5.14.2-17 perl-base_5.14.2-17 perl-modules_5.14.2-17 po-debconf_1.0.16+nmu2 python_2.7.3-10 python-minimal_2.7.3-10 python2.7_2.7.3-15 python2.7-minimal_2.7.3-15 readline-common_6.2+dfsg-0.1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-hunt-dummy_0.invalid.0 sed_4.2.1-10 sensible-utils_0.0.7 sudo_1.8.5p2-1 sysv-rc_2.88dsf-39 sysvinit_2.88dsf-39 sysvinit-utils_2.88dsf-39 tar_1.26+dfsg-0.1 tzdata_2012j-1 ucf_3.0025+nmu3 util-linux_2.20.1-5.3 vim_2:7.3.547-6 vim-common_2:7.3.547-6 vim-runtime_2:7.3.547-6 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.7.dfsg-13 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Thu May 7 00:09:53 2009 UTC 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 User Environment ──────────────── HOME=/sbuild-nonexistent LOGNAME=user PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1000 SCHROOT_GROUP=user SCHROOT_SESSION_ID=unstable-amd64-sbuild-f0bbfb03-06b2-4be4-a983-617226aa2659 SCHROOT_UID=1000 SCHROOT_USER=user SHELL=/bin/sh USER=user dpkg-buildpackage ───────────────── dpkg-buildpackage: source package hunt dpkg-buildpackage: source version 1.5-6 dpkg-buildpackage: source changed by Angel Ramos 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 `/«PKGBUILDDIR»' 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 `/«PKGBUILDDIR»/tpserv' rm -f *.o rm -f tpserv make[2]: Leaving directory `/«PKGBUILDDIR»/tpserv' make[1]: Leaving directory `/«PKGBUILDDIR»' [ ! -f tpserv/Makefile ] || /usr/bin/make -C tpserv distclean make[1]: Entering directory `/«PKGBUILDDIR»/tpserv' rm -f *.o rm -f tpserv make[1]: Leaving directory `/«PKGBUILDDIR»/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-buildpackage: warning: debian/rules must be updated to support the 'build-arch' and 'build-indep' targets (at least 'build-arch' seems to be missing) debian/rules build dh_testdir # build package here /usr/bin/make make[1]: Entering directory `/«PKGBUILDDIR»' cc -Wall -O2 -g -D_REENTRANT -c -o hunt.o hunt.c In file included from hunt.c:9: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' 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); ^~~~~~~ ./hunt.h:422:45: note: passing argument to parameter 'mac' here int sprintf_eth_mac(char *b, unsigned char *mac); ^ 4 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o main.o main.c In file included from main.c:9: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' 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); ^~~~~~~~~~~~ ./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); ^~~~~~~~~~~~ ./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); ^~~~~~~~~~~~ ./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); ^~~~~~~~~~~~ ./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 [-Wbackslash-newline-escape] fprintf(stderr, "Network interface %s does not have "\ ^ 6 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o c/list.o c/list.c c/list.c:297:44: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-pointer-cast] return __list_remove(l, __func_remove_at, (void *) nr); ^ 1 warning generated. cc -Wall -O2 -g -D_REENTRANT -c -o c/hash.o c/hash.c c/hash.c:29:13: warning: array index 44 is past the end of the array (which contains 44 elements) [-Warray-bounds] return ht_size[sizeof(ht_size) / sizeof(ht_size[0])]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c/hash.c:18:2: 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 In file included from util.c:9: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' 1 warning generated. cc -Wall -O2 -g -D_REENTRANT -c -o net.o net.c In file included from net.c:9: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' 1 warning generated. cc -Wall -O2 -g -D_REENTRANT -c -o rst.o rst.c In file included from rst.c:9: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' 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; ^ ~~~~~~~~~~~~~~~ 5 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o menu.o menu.c In file included from menu.c:9: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' 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, ^~~~~~~~~ ./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, " "); ~~^ ~~~~~~~~~~~~~~~~ 5 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o hijack.o hijack.c In file included from hijack.c:9: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' 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; ^ ~~~~~~~~~~~~~~~ 5 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o rstd.o rstd.c In file included from rstd.c:9: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' rstd.c:86:27: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-pointer-cast] p->p_arg[MODULE_RSTD] = (void *) dbi->rst_mode; ^ 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) ^~~~~~~~~ ./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) ^~~~~~~~~ ./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); ^~~~~~~~~ ./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); ^~~~~~~~~ ./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, ^~~~~~~~~ ./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) ^~~~~~~~~~~~~~ ./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, ^~~~~~~~~ ./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) ^~~~~~~~~~~~~~ ./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); ^~~~~~~~~ ./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); ^~~~~~~~~ ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ 12 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o sniff.o sniff.c In file included from sniff.c:9: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' 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); ^~~~~~~~~~~~~ ./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); ^~~~~~~~~~~~~ ./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) && ^~~~~~~~~~~~~ ./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)) ^~~~~~~~~~~~~ ./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) && ^~~~~~~~~~~~~ ./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)) ^~~~~~~~~~~~~ ./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) ^~~~~~~~~ ./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) ^~~~~~~~~ ./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) ^~~~~~~~~ ./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) ^~~~~~~~~ ./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); ^~~~~~~~~ ./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); ^~~~~~~~~ ./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, ^~~~~~~~~ ./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, ^~~~~~~~~ ./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, ^~~~~~~~~ ./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, ^~~~~~~~~ ./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); ^~~~~~~~~ ./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); ^~~~~~~~~ ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ 19 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o macdisc.o macdisc.c In file included from macdisc.c:9: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' 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; ^ ~~~~~~~~ 5 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o tap.o tap.c In file included from tap.c:31: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' 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); ^~~ ./hunt.h:421:34: note: passing argument to parameter 'mac' here int print_eth_mac(unsigned char *mac); ^ 2 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o arphijack.o arphijack.c In file included from arphijack.c:9: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' 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, ^~~~~~~~~~~~~~~ ./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, ^~~~~~~~~~~~~~~ ./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, ^~~~~~~~~~~~~~~ ./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, ^~~~~~~~~~~~~~~ ./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; ^ ~~~~~~~~~~~~~~~ 11 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o tty.o tty.c In file included from tty.c:9: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' 1 warning generated. cc -Wall -O2 -g -D_REENTRANT -c -o synchijack.o synchijack.c In file included from synchijack.c:9: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' 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; ^ ~~~~~~~~~~~~~~~ 12 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o arpspoof.o arpspoof.c In file included from arpspoof.c:9: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' 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); ^~~~~~~~~~~~~~~~~ ./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, ^~~~~~~~~~~~~~~~~ ./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); ^~~~~~~~~~~~ ./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); ^~~~~~~~~~~~ ./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); ^~~~~~~~~~~~~~~~~ ./hunt.h:700:26: note: passing argument to parameter 'dst_mac' here char *src_mac, char *dst_mac); ^ 28 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o hostup.o hostup.c In file included from hostup.c:9: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' 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, ^~~~~~~~~~ ./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)); ^~~~~~~~~~ ./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)); ^~~~~~~~ ./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) || ^~~~~~~~~~~~~~~~~~~ ./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) || ^~~~~~~~~~ ./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))) { ^~~~~~~~ ./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))) { ^~~~~~~~~~ ./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()); ^~~~~~~ ./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) { ^~~~~~~ ./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()); ^~~~~~~ ./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) { ^~~~~~~ ./hunt.h:365:64: note: passing argument to parameter 'dfl' here int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); ^ 18 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o addpolicy.o addpolicy.c In file included from addpolicy.c:9: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' 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) ^~~~~~~~~ ./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) ^~~~~~~~~ ./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); ^~~~~~~~~ ./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); ^~~~~~~~~ ./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, ^~~~~~~~~ ./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) ^~~~~~~~~~~~~~ ./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, ^~~~~~~~~ ./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) ^~~~~~~~~~~~~~ ./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); ^~~~~~~~~ ./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); ^~~~~~~~~ ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ 11 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o options.o options.c In file included from options.c:9: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' 1 warning generated. cc -Wall -O2 -g -D_REENTRANT -c -o resolv.o resolv.c In file included from resolv.c:1: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' resolv.c:485:52: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-pointer-cast] pthread_create(&res_update_thr, NULL, update_thr, (void *) fd_req); ^ 2 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o timer.o timer.c In file included from timer.c:11: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' timer.c:154:3: warning: implicitly declaring 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' 2 warnings generated. cc -Wall -O2 -g -D_REENTRANT -c -o pktrelay.o pktrelay.c In file included from pktrelay.c:9: ./hunt.h:410:5: warning: incompatible redeclaration of library function 'log2' int log2(unsigned int i); ^ ./hunt.h:410:5: note: 'log2' is a builtin with type 'double (double)' 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) ^~~~~~~~~ ./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) ^~~~~~~~~ ./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); ^~~~~~~~~ ./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); ^~~~~~~~~ ./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, ^~~~~~~~~ ./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) ^~~~~~~~~~~~~ ./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, ^~~~~~~~~ ./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) ^~~~~~~~~~~~~ ./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); ^~~~~~~~~ ./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); ^~~~~~~~~ ./hunt.h:428:31: note: passing argument to parameter 'db_ports' here void port_htons(unsigned int *db_ports); ^ 11 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': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here main.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:309: first defined here util.o: In function `generate_key': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here util.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:309: first defined here net.o: In function `generate_key': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here net.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:309: first defined here rst.o: In function `generate_key': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here rst.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:309: first defined here menu.o: In function `generate_key': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here menu.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:309: first defined here hijack.o: In function `generate_key': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here hijack.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:309: first defined here rstd.o: In function `generate_key': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here rstd.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:309: first defined here sniff.o: In function `generate_key': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here sniff.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:309: first defined here macdisc.o: In function `generate_key': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here macdisc.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:309: first defined here tap.o: In function `generate_key': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here tap.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:309: first defined here arphijack.o: In function `generate_key': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here arphijack.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:309: first defined here tty.o: In function `generate_key': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here tty.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:309: first defined here synchijack.o: In function `generate_key': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here synchijack.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:309: first defined here arpspoof.o: In function `generate_key': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here arpspoof.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:309: first defined here hostup.o: In function `generate_key': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here hostup.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:309: first defined here addpolicy.o: In function `generate_key': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here addpolicy.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:309: first defined here options.o: In function `generate_key': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here options.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:309: first defined here resolv.o: In function `generate_key': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here resolv.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:309: first defined here timer.o: In function `generate_key': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here timer.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:309: first defined here pktrelay.o: In function `generate_key': /«PKGBUILDDIR»/./hunt.h:297: multiple definition of `generate_key' hunt.o:/«PKGBUILDDIR»/./hunt.h:297: first defined here pktrelay.o: In function `uci_generate_key': /«PKGBUILDDIR»/./hunt.h:309: multiple definition of `uci_generate_key' hunt.o:/«PKGBUILDDIR»/./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: *** [build-stamp] Error 2 make[1]: Leaving directory `/«PKGBUILDDIR»' dpkg-buildpackage: error: debian/rules build gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20130128-0607 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 1500 Build-Time: 4 Distribution: unstable Fail-Stage: build Install-Time: 7 Job: hunt_1.5-6 Package: hunt Package-Time: 39 Source-Version: 1.5-6 Space: 1500 Status: attempted Version: 1.5-6 ──────────────────────────────────────────────────────────────────────────────── Finished at 20130128-0607 Build needed 00:00:39, 1500k disc space DC-Status: Failed 40.385126s