DC-Build-Header: weplab 0.1.5-2 / 2014-01-06 09:19:55 +0000 DC-Task: source:weplab version:0.1.5-2 architecture:any chroot:unstable esttime:37 logfile:/tmp/weplab_0.1.5-2_unstable_clang.log modes:binary-only:parallel:clang DC-Sbuild-call: su user -c 'sbuild -n --apt-update -d unstable -v --chroot-setup-commands=/tmp/switch-to-clang --append-to-version "clang1" --maintainer "Lucas Nussbaum " --uploader "Lucas Nussbaum " weplab_0.1.5-2' sbuild (Debian sbuild) 0.63.2 (18 Aug 2012) on ip-172-31-7-245.us-west-2.compute.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ weplab 0.1.5-2clang1 (amd64) 06 Jan 2014 09:19 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: weplab Version: 0.1.5-2clang1 Source Version: 0.1.5-2 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 I: NOTICE: Log filtering will replace 'build/weplab-_dUyIG/weplab-0.1.5' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/weplab-_dUyIG' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-b6ecf658-6143-445c-a804-bb919b5a0764' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Get:1 http://localhost:9999 unstable InRelease [206 kB] Get:2 http://localhost:9999 unstable/main Sources/DiffIndex [7876 B] Get:3 http://localhost:9999 unstable/main amd64 Packages/DiffIndex [7876 B] Get:4 http://localhost:9999 unstable/main Translation-en/DiffIndex [7876 B] Get:5 http://localhost:9999 unstable/main 2014-01-04-1439.27.pdiff [11.3 kB] Get:6 http://localhost:9999 unstable/main 2014-01-04-1439.27.pdiff [11.3 kB] Get:7 http://localhost:9999 unstable/main amd64 2014-01-04-1439.27.pdiff [11.8 kB] Get:8 http://localhost:9999 unstable/main 2014-01-04-1439.27.pdiff [1898 B] Get:9 http://localhost:9999 unstable/main amd64 2014-01-04-1439.27.pdiff [11.8 kB] Get:10 http://localhost:9999 unstable/main 2014-01-04-2039.41.pdiff [12.3 kB] Get:11 http://localhost:9999 unstable/main 2014-01-04-1439.27.pdiff [1898 B] Get:12 http://localhost:9999 unstable/main amd64 2014-01-04-2039.41.pdiff [24.3 kB] Get:13 http://localhost:9999 unstable/main 2014-01-04-2039.41.pdiff [12.3 kB] Get:14 http://localhost:9999 unstable/main 2014-01-04-2039.41.pdiff [2358 B] Get:15 http://localhost:9999 unstable/main amd64 2014-01-04-2039.41.pdiff [24.3 kB] Get:16 http://localhost:9999 unstable/main 2014-01-05-0239.35.pdiff [9640 B] Get:17 http://localhost:9999 unstable/main 2014-01-04-2039.41.pdiff [2358 B] Get:18 http://localhost:9999 unstable/main amd64 2014-01-05-0239.35.pdiff [18.3 kB] Get:19 http://localhost:9999 unstable/main 2014-01-05-0239.35.pdiff [9640 B] Get:20 http://localhost:9999 unstable/main 2014-01-05-0239.35.pdiff [504 B] Get:21 http://localhost:9999 unstable/main amd64 2014-01-05-0239.35.pdiff [18.3 kB] Get:22 http://localhost:9999 unstable/main 2014-01-05-0840.32.pdiff [4885 B] Get:23 http://localhost:9999 unstable/main 2014-01-05-0239.35.pdiff [504 B] Get:24 http://localhost:9999 unstable/main amd64 2014-01-05-0840.32.pdiff [3950 B] Get:25 http://localhost:9999 unstable/main 2014-01-05-0840.32.pdiff [4885 B] Get:26 http://localhost:9999 unstable/main 2014-01-05-0840.32.pdiff [214 B] Get:27 http://localhost:9999 unstable/main amd64 2014-01-05-0840.32.pdiff [3950 B] Get:28 http://localhost:9999 unstable/main 2014-01-05-1438.24.pdiff [7183 B] Get:29 http://localhost:9999 unstable/main 2014-01-05-0840.32.pdiff [214 B] Get:30 http://localhost:9999 unstable/main amd64 2014-01-05-1438.24.pdiff [3882 B] Get:31 http://localhost:9999 unstable/main 2014-01-05-1438.24.pdiff [7183 B] Get:32 http://localhost:9999 unstable/main 2014-01-05-1438.24.pdiff [1111 B] Get:33 http://localhost:9999 unstable/main amd64 2014-01-05-1438.24.pdiff [3882 B] Get:34 http://localhost:9999 unstable/main 2014-01-05-2041.02.pdiff [20.2 kB] Get:35 http://localhost:9999 unstable/main 2014-01-05-1438.24.pdiff [1111 B] Get:36 http://localhost:9999 unstable/main amd64 2014-01-05-2041.02.pdiff [17.0 kB] Get:37 http://localhost:9999 unstable/main 2014-01-05-2041.02.pdiff [20.2 kB] Get:38 http://localhost:9999 unstable/main 2014-01-05-2041.02.pdiff [2166 B] Get:39 http://localhost:9999 unstable/main amd64 2014-01-05-2041.02.pdiff [17.0 kB] Get:40 http://localhost:9999 unstable/main 2014-01-06-0239.34.pdiff [7972 B] Get:41 http://localhost:9999 unstable/main 2014-01-05-2041.02.pdiff [2166 B] Get:42 http://localhost:9999 unstable/main amd64 2014-01-06-0239.34.pdiff [21.1 kB] Get:43 http://localhost:9999 unstable/main 2014-01-06-0239.34.pdiff [7972 B] Get:44 http://localhost:9999 unstable/main 2014-01-06-0239.34.pdiff [238 B] Get:45 http://localhost:9999 unstable/main amd64 2014-01-06-0239.34.pdiff [21.1 kB] Get:46 http://localhost:9999 unstable/main 2014-01-06-0239.34.pdiff [238 B] Fetched 412 kB in 28s (14.5 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: libterm-ui-perl 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 19.1 kB of archives. After this operation, 1024 B of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libterm-ui-perl all 0.42-1 [19.1 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 19.1 kB in 0s (1181 kB/s) (Reading database ... 13944 files and directories currently installed.) Preparing to unpack .../libterm-ui-perl_0.42-1_all.deb ... Unpacking libterm-ui-perl (0.42-1) over (0.38-1) ... Setting up libterm-ui-perl (0.42-1) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ 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 125 kB of source archives. Get:1 http://localhost:9999/debian/ unstable/main weplab 0.1.5-2 (dsc) [636 B] Get:2 http://localhost:9999/debian/ unstable/main weplab 0.1.5-2 (tar) [122 kB] Get:3 http://localhost:9999/debian/ unstable/main weplab 0.1.5-2 (diff) [2257 B] Fetched 125 kB in 1s (113 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 'Install of clang-3.4' Install of clang-3.4 + apt-get update Hit http://localhost:9999 unstable InRelease Hit http://localhost:9999 unstable/main Sources/DiffIndex Hit http://localhost:9999 unstable/main amd64 Packages/DiffIndex Hit http://localhost:9999 unstable/main Translation-en/DiffIndex Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-3.4 Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libclang-common-3.4-dev libclang1-3.4 libffi6 libllvm3.4 libobjc-4.8-dev libobjc4 Recommended packages: llvm-3.4-dev python The following NEW packages will be installed: clang-3.4 libclang-common-3.4-dev libclang1-3.4 libffi6 libllvm3.4 libobjc-4.8-dev libobjc4 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 19.9 MB of archives. After this operation, 82.1 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libffi6 amd64 3.0.13-10 [19.3 kB] Get:2 http://localhost:9999/debian/ unstable/main libllvm3.4 amd64 1:3.4-1 [6528 kB] Get:3 http://localhost:9999/debian/ unstable/main libobjc4 amd64 4.8.2-11 [110 kB] Get:4 http://localhost:9999/debian/ unstable/main libobjc-4.8-dev amd64 4.8.2-11 [370 kB] Get:5 http://localhost:9999/debian/ unstable/main libclang1-3.4 amd64 1:3.4-1 [3526 kB] Get:6 http://localhost:9999/debian/ unstable/main libclang-common-3.4-dev amd64 1:3.4-1 [516 kB] Get:7 http://localhost:9999/debian/ unstable/main clang-3.4 amd64 1:3.4-1 [8878 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 19.9 MB in 0s (25.6 MB/s) Selecting previously unselected package libffi6:amd64. (Reading database ... 13944 files and directories currently installed.) Preparing to unpack .../libffi6_3.0.13-10_amd64.deb ... Unpacking libffi6:amd64 (3.0.13-10) ... Selecting previously unselected package libllvm3.4:amd64. Preparing to unpack .../libllvm3.4_1%3a3.4-1_amd64.deb ... Unpacking libllvm3.4:amd64 (1:3.4-1) ... Selecting previously unselected package libobjc4:amd64. Preparing to unpack .../libobjc4_4.8.2-11_amd64.deb ... Unpacking libobjc4:amd64 (4.8.2-11) ... Selecting previously unselected package libobjc-4.8-dev:amd64. Preparing to unpack .../libobjc-4.8-dev_4.8.2-11_amd64.deb ... Unpacking libobjc-4.8-dev:amd64 (4.8.2-11) ... Selecting previously unselected package libclang1-3.4:amd64. Preparing to unpack .../libclang1-3.4_1%3a3.4-1_amd64.deb ... Unpacking libclang1-3.4:amd64 (1:3.4-1) ... Selecting previously unselected package libclang-common-3.4-dev. Preparing to unpack .../libclang-common-3.4-dev_1%3a3.4-1_amd64.deb ... Unpacking libclang-common-3.4-dev (1:3.4-1) ... Selecting previously unselected package clang-3.4. Preparing to unpack .../clang-3.4_1%3a3.4-1_amd64.deb ... Unpacking clang-3.4 (1:3.4-1) ... Setting up libffi6:amd64 (3.0.13-10) ... Setting up libllvm3.4:amd64 (1:3.4-1) ... Setting up libobjc4:amd64 (4.8.2-11) ... Setting up libobjc-4.8-dev:amd64 (4.8.2-11) ... Setting up libclang1-3.4:amd64 (1:3.4-1) ... Setting up libclang-common-3.4-dev (1:3.4-1) ... Setting up clang-3.4 (1:3.4-1) ... Processing triggers for libc-bin (2.17-97) ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8' + cd /usr/bin + for VERSION in '$VERSIONS' + rm -f 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 -f 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 + for VERSION in '$VERSIONS' + rm -f g++-4.8 gcc-4.8 cpp-4.8 + ln -s clang++ g++-4.8 + ln -s clang gcc-4.8 + ln -s clang cpp-4.8 + cd - /«BUILDDIR» + echo 'Block the installation of new gcc version' Block the installation of new gcc version + dpkg --set-selections + 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 'gcc-4.8 hold' + dpkg --set-selections + echo 'cpp-4.8 hold' + dpkg --set-selections + echo 'g++-4.8 hold' + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + grep clang + gcc --version + grep clang + cpp --version + grep clang + g++ --version 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-4vsdNY/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/766 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 ... 14105 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, 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), autotools-dev, debhelper (>= 5), libpcap0.8-dev 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), autotools-dev, debhelper (>= 5), libpcap0.8-dev dpkg-deb: building package `sbuild-build-depends-weplab-dummy' in `/«BUILDDIR»/resolver-ABXlNM/apt_archive/sbuild-build-depends-weplab-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install weplab build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: autotools-dev bsdmainutils debhelper file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libglib2.0-0 libmagic1 libpcap0.8 libpcap0.8-dev 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 libasprintf-dev libgettextpo-dev libglib2.0-data shared-mime-info xml-core libmail-sendmail-perl The following NEW packages will be installed: autotools-dev bsdmainutils debhelper file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libglib2.0-0 libmagic1 libpcap0.8 libpcap0.8-dev libpipeline1 libunistring0 libxml2 man-db po-debconf sbuild-build-depends-weplab-dummy 0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded. Need to get 8349 kB/8350 kB of archives. After this operation, 25.9 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libpipeline1 amd64 1.2.6-1 [24.8 kB] Get:2 http://localhost:9999/debian/ unstable/main groff-base amd64 1.22.2-3 [747 kB] Get:3 http://localhost:9999/debian/ unstable/main bsdmainutils amd64 9.0.5 [211 kB] Get:4 http://localhost:9999/debian/ unstable/main man-db amd64 2.6.5-3 [975 kB] Get:5 http://localhost:9999/debian/ unstable/main libasprintf0c2 amd64 0.18.3.1-2 [29.1 kB] Get:6 http://localhost:9999/debian/ unstable/main libmagic1 amd64 1:5.14-2 [216 kB] Get:7 http://localhost:9999/debian/ unstable/main libxml2 amd64 2.9.1+dfsg1-3 [791 kB] Get:8 http://localhost:9999/debian/ unstable/main libglib2.0-0 amd64 2.36.4-1 [2055 kB] Get:9 http://localhost:9999/debian/ unstable/main libcroco3 amd64 0.6.8-2 [133 kB] Get:10 http://localhost:9999/debian/ unstable/main libpcap0.8 amd64 1.5.2-1 [127 kB] Get:11 http://localhost:9999/debian/ unstable/main libunistring0 amd64 0.9.3-5 [434 kB] Get:12 http://localhost:9999/debian/ unstable/main file amd64 1:5.14-2 [54.0 kB] Get:13 http://localhost:9999/debian/ unstable/main gettext-base amd64 0.18.3.1-2 [116 kB] Get:14 http://localhost:9999/debian/ unstable/main autotools-dev all 20130810.1 [69.6 kB] Get:15 http://localhost:9999/debian/ unstable/main gettext amd64 0.18.3.1-2 [1202 kB] Get:16 http://localhost:9999/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:17 http://localhost:9999/debian/ unstable/main po-debconf all 1.0.16+nmu2 [224 kB] Get:18 http://localhost:9999/debian/ unstable/main debhelper all 9.20131227 [687 kB] Get:19 http://localhost:9999/debian/ unstable/main libpcap0.8-dev amd64 1.5.2-1 [223 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 8349 kB in 0s (19.5 MB/s) Selecting previously unselected package libpipeline1:amd64. (Reading database ... 14105 files and directories currently installed.) Preparing to unpack .../libpipeline1_1.2.6-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.2.6-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../groff-base_1.22.2-3_amd64.deb ... Unpacking groff-base (1.22.2-3) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../bsdmainutils_9.0.5_amd64.deb ... Unpacking bsdmainutils (9.0.5) ... Selecting previously unselected package man-db. Preparing to unpack .../man-db_2.6.5-3_amd64.deb ... Unpacking man-db (2.6.5-3) ... Selecting previously unselected package libasprintf0c2:amd64. Preparing to unpack .../libasprintf0c2_0.18.3.1-2_amd64.deb ... Unpacking libasprintf0c2:amd64 (0.18.3.1-2) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../libmagic1_1%3a5.14-2_amd64.deb ... Unpacking libmagic1:amd64 (1:5.14-2) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../libxml2_2.9.1+dfsg1-3_amd64.deb ... Unpacking libxml2:amd64 (2.9.1+dfsg1-3) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../libglib2.0-0_2.36.4-1_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.36.4-1) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../libcroco3_0.6.8-2_amd64.deb ... Unpacking libcroco3:amd64 (0.6.8-2) ... Selecting previously unselected package libpcap0.8:amd64. Preparing to unpack .../libpcap0.8_1.5.2-1_amd64.deb ... Unpacking libpcap0.8:amd64 (1.5.2-1) ... Selecting previously unselected package libunistring0:amd64. Preparing to unpack .../libunistring0_0.9.3-5_amd64.deb ... Unpacking libunistring0:amd64 (0.9.3-5) ... Selecting previously unselected package file. Preparing to unpack .../file_1%3a5.14-2_amd64.deb ... Unpacking file (1:5.14-2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../gettext-base_0.18.3.1-2_amd64.deb ... Unpacking gettext-base (0.18.3.1-2) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../autotools-dev_20130810.1_all.deb ... Unpacking autotools-dev (20130810.1) ... Selecting previously unselected package gettext. Preparing to unpack .../gettext_0.18.3.1-2_amd64.deb ... Unpacking gettext (0.18.3.1-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../intltool-debian_0.35.0+20060710.1_all.deb ... Unpacking intltool-debian (0.35.0+20060710.1) ... Selecting previously unselected package po-debconf. Preparing to unpack .../po-debconf_1.0.16+nmu2_all.deb ... Unpacking po-debconf (1.0.16+nmu2) ... Selecting previously unselected package debhelper. Preparing to unpack .../debhelper_9.20131227_all.deb ... Unpacking debhelper (9.20131227) ... Selecting previously unselected package libpcap0.8-dev. Preparing to unpack .../libpcap0.8-dev_1.5.2-1_amd64.deb ... Unpacking libpcap0.8-dev (1.5.2-1) ... Selecting previously unselected package sbuild-build-depends-weplab-dummy. Preparing to unpack .../sbuild-build-depends-weplab-dummy.deb ... Unpacking sbuild-build-depends-weplab-dummy (0.invalid.0) ... Setting up libpipeline1:amd64 (1.2.6-1) ... Setting up groff-base (1.22.2-3) ... Setting up bsdmainutils (9.0.5) ... 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.5-3) ... Not building database; man-db/auto-update is not 'true'. Setting up libasprintf0c2:amd64 (0.18.3.1-2) ... Setting up libmagic1:amd64 (1:5.14-2) ... Setting up libxml2:amd64 (2.9.1+dfsg1-3) ... Setting up libglib2.0-0:amd64 (2.36.4-1) ... No schema files found: doing nothing. Setting up libcroco3:amd64 (0.6.8-2) ... Setting up libpcap0.8:amd64 (1.5.2-1) ... Setting up libunistring0:amd64 (0.9.3-5) ... Setting up file (1:5.14-2) ... Setting up gettext-base (0.18.3.1-2) ... Setting up autotools-dev (20130810.1) ... Setting up gettext (0.18.3.1-2) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (9.20131227) ... Setting up libpcap0.8-dev (1.5.2-1) ... Setting up sbuild-build-depends-weplab-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.17-97) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-xen-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.24-2 dpkg-dev_1.17.5 g++-4.6_4.6.4-5 g++-4.8_4.8.2-11 gcc-4.6_4.6.4-5 gcc-4.7_4.7.3-9 gcc-4.8_4.8.2-11 libc6-dev_2.17-97 libstdc++-4.8-dev_4.8.2-11 libstdc++6_4.8.2-11 libstdc++6-4.6-dev_4.6.4-5 linux-libc-dev_3.12.6-2 Package versions: apt_0.9.14.2 autotools-dev_20130810.1 base-files_7.2 base-passwd_3.5.29 bash_4.2+dfsg-1 binutils_2.24-2 bsdmainutils_9.0.5 bsdutils_1:2.20.1-5.5 build-essential_11.6 bzip2_1.0.6-5 clang-3.4_1:3.4-1 coreutils_8.21-1 cpp_4:4.8.2-1 cpp-4.6_4.6.4-5 cpp-4.7_4.7.3-9 cpp-4.8_4.8.2-11 dash_0.5.7-3+nmu1 debconf_1.5.52 debconf-i18n_1.5.52 debfoster_2.7-1.2 debhelper_9.20131227 debian-archive-keyring_2012.4 debianutils_4.4 diffutils_1:3.3-1 dpkg_1.17.5 dpkg-dev_1.17.5 e2fslibs_1.42.9-2 e2fsprogs_1.42.9-2 fakeroot_1.20-3 file_1:5.14-2 findutils_4.4.2-7 g++_4:4.8.2-1 g++-4.6_4.6.4-5 g++-4.8_4.8.2-11 gcc_4:4.8.2-1 gcc-4.4-base_4.4.7-6 gcc-4.5-base_4.5.4-1 gcc-4.6_4.6.4-5 gcc-4.6-base_4.6.4-5 gcc-4.7_4.7.3-9 gcc-4.7-base_4.7.3-9 gcc-4.8_4.8.2-11 gcc-4.8-base_4.8.2-11 gettext_0.18.3.1-2 gettext-base_0.18.3.1-2 gnupg_1.4.15-3 gpgv_1.4.15-3 grep_2.15-2 groff-base_1.22.2-3 gzip_1.6-3 hostname_3.15 initscripts_2.88dsf-45 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 libacl1_2.2.52-1 libapt-pkg4.12_0.9.14.2 libarchive-extract-perl_0.70-1 libasan0_4.8.2-11 libasprintf0c2_0.18.3.1-2 libatomic1_4.8.2-11 libattr1_1:2.4.47-1 libaudit-common_1:2.3.2-3 libaudit1_1:2.3.2-3 libblkid1_2.20.1-5.5 libbz2-1.0_1.0.6-5 libc-bin_2.17-97 libc-dev-bin_2.17-97 libc6_2.17-97 libc6-dev_2.17-97 libcap2_1:2.22-1.2 libclang-common-3.4-dev_1:3.4-1 libclang1-3.4_1:3.4-1 libclass-isa-perl_0.36-5 libcloog-isl4_0.18.1-3 libcloog-ppl1_0.16.1-4 libcomerr2_1.42.9-2 libcroco3_0.6.8-2 libdb5.1_5.1.29-7 libdpkg-perl_1.17.5 libfakeroot_1.20-3 libffi6_3.0.13-10 libfile-fcntllock-perl_0.14-2+b1 libgc1c2_1:7.2d-6 libgcc-4.7-dev_4.7.3-9 libgcc-4.8-dev_4.8.2-11 libgcc1_1:4.8.2-11 libgdbm3_1.8.3-12 libglib2.0-0_2.36.4-1 libgmp10_2:5.1.3+dfsg-1 libgmpxx4ldbl_2:5.1.3+dfsg-1 libgomp1_4.8.2-11 libgpm2_1.20.4-6.1 libisl10_0.12.1-2 libitm1_4.8.2-11 libllvm3.4_1:3.4-1 liblocale-gettext-perl_1.05-7+b2 liblog-message-simple-perl_0.10-1 liblzma5_5.1.1alpha+20120614-2 libmagic1_1:5.14-2 libmodule-pluggable-perl_4.8-1 libmount1_2.20.1-5.5 libmpc2_0.9-4 libmpc3_1.0.1-1 libmpfr4_3.1.2-1 libncurses5_5.9+20130608-1 libobjc-4.8-dev_4.8.2-11 libobjc4_4.8.2-11 libpam-modules_1.1.3-10 libpam-modules-bin_1.1.3-10 libpam-runtime_1.1.3-10 libpam0g_1.1.3-10 libpcap0.8_1.5.2-1 libpcap0.8-dev_1.5.2-1 libpcre3_1:8.31-2 libpipeline1_1.2.6-1 libpod-latex-perl_0.61-1 libppl-c4_1:1.0-7 libppl12_1:1.0-7 libquadmath0_4.8.2-11 libreadline6_6.2+dfsg-0.1 libselinux1_2.2.1-1 libsemanage-common_2.2-1 libsemanage1_2.2-1 libsepol1_2.2-1 libslang2_2.2.4-16 libss2_1.42.9-2 libstdc++-4.8-dev_4.8.2-11 libstdc++6_4.8.2-11 libstdc++6-4.6-dev_4.6.4-5 libswitch-perl_2.16-2 libterm-ui-perl_0.42-1 libtext-charwidth-perl_0.04-7+b2 libtext-iconv-perl_1.7-5+b1 libtext-soundex-perl_3.4-1+b1 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_2.3000-1 libtinfo5_5.9+20130608-1 libtsan0_4.8.2-11 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-23.3 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.5 libxml2_2.9.1+dfsg1-3 linux-libc-dev_3.12.6-2 login_1:4.1.5.1-1 lsb-base_4.1+Debian12 make_3.81-8.3 man-db_2.6.5-3 mawk_1.3.3-17 mount_2.20.1-5.5 multiarch-support_2.17-97 ncurses-base_5.9+20130608-1 ncurses-bin_5.9+20130608-1 passwd_1:4.1.5.1-1 patch_2.7.1-4 perl_5.18.1-5 perl-base_5.18.1-5 perl-modules_5.18.1-5 po-debconf_1.0.16+nmu2 readline-common_6.2+dfsg-0.1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-weplab-dummy_0.invalid.0 sed_4.2.2-3 sensible-utils_0.0.9 sudo_1.8.8-2 sysv-rc_2.88dsf-45 sysvinit_2.88dsf-45 sysvinit-core_2.88dsf-45 sysvinit-utils_2.88dsf-45 tar_1.27-4 tzdata_2013i-1 ucf_3.0027+nmu1 util-linux_2.20.1-5.5 vim_2:7.4.052-1 vim-common_2:7.4.052-1 vim-runtime_2:7.4.052-1 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.8.dfsg-1 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Sun Dec 2 19:20:32 2007 UTC using DSA key ID D9309644 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./weplab_0.1.5-2.dsc dpkg-source: info: extracting weplab in weplab-0.1.5 dpkg-source: info: unpacking weplab_0.1.5.orig.tar.gz dpkg-source: info: applying weplab_0.1.5-2.diff.gz Check disc space ──────────────── Sufficient free space for build Hack binNMU version ─────────────────── Created changelog entry for binNMU version 0.1.5-2clang1 User Environment ──────────────── DEB_BUILD_OPTIONS=parallel=10 HOME=/sbuild-nonexistent LOGNAME=user PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1000 SCHROOT_GROUP=user SCHROOT_SESSION_ID=unstable-amd64-sbuild-b6ecf658-6143-445c-a804-bb919b5a0764 SCHROOT_UID=1000 SCHROOT_USER=user SHELL=/bin/sh USER=user dpkg-buildpackage ───────────────── dpkg-buildpackage: source package weplab dpkg-buildpackage: source version 0.1.5-2clang1 dpkg-buildpackage: source distribution unstable dpkg-source --before-build weplab-0.1.5 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp \ config.sub \ config.guess [ ! -f Makefile ] || /usr/bin/make distclean dh_clean 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 cp -f /usr/share/misc/config.sub config.sub cp -f /usr/share/misc/config.guess config.guess ./configure --host=x86_64-linux-gnu \ --build=x86_64-linux-gnu \ --prefix=/usr \ --mandir=\${prefix}/share/man \ CFLAGS="-Wall -g -O2" \ LDFLAGS="-Wl,-z,defs" checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking for x86_64-linux-gnu-gcc... x86_64-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-linux-gnu-gcc accepts -g... yes checking for x86_64-linux-gnu-gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... x86_64-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for sys/types.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking for ANSI C header files... (cached) yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for pcap_open_live in -lpcap... yes warning: compiler is not known: not optimizing! using x86_64-linux-gnu-gcc -Wall -g -O2 configure: creating ./config.status config.status: creating Makefile dh_testdir /usr/bin/make make[1]: Entering directory `/«PKGBUILDDIR»' x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -Wall -g -O2 -c main.c main.c:111:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(error); ^~~~~ main.c:138:8: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ main.c:303:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] saux=optarg; ^~~~~~~ main.c:307:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (atoi(saux)>NUMBER_ATTACKS || !atoi(saux)) QuitParameterError("attacks to be launched must be defined as positive numbers from 1 to 5 splitted by commas and no spaces"); ^~~~ /usr/include/stdlib.h:278:26: note: passing argument to parameter '__nptr' here __NTH (atoi (const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ main.c:307:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (atoi(saux)>NUMBER_ATTACKS || !atoi(saux)) QuitParameterError("attacks to be launched must be defined as positive numbers from 1 to 5 splitted by commas and no spaces"); ^~~~ /usr/include/stdlib.h:278:26: note: passing argument to parameter '__nptr' here __NTH (atoi (const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ main.c:308:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] defaultAttacks[STABILITY_LEVELS][atoi(saux)-1]=1; ^~~~ /usr/include/stdlib.h:278:26: note: passing argument to parameter '__nptr' here __NTH (atoi (const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ main.c:310:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] saux=(&optarg[i])+1; ^~~~~~~~~~~~~~~ main.c:334:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] global_v.useDebugKey=ReadHexByteArray(optarg,global_v.debugKey,strlen(optarg)+1); ^~~~~~ main.c:137:37: note: passing argument to parameter 'asciiByteArray' here int ReadHexByteArray(unsigned char *asciiByteArray, unsigned char *destination, int asciiByteArrayMaxSize){ ^ main.c:160:8: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ main.c:196:6: warning: unused variable 'h1' [-Wunused-variable] int h1, h2; ^ main.c:196:10: warning: unused variable 'h2' [-Wunused-variable] int h1, h2; ^ 11 warnings generated. x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -Wall -g -O2 -c analpfile.c analpfile.c:105:7: warning: implicit declaration of function 'GetPacketBssid' is invalid in C99 [-Wimplicit-function-declaration] if (GetPacketBssid(pkt+144,bssid)){ ^ In file included from analpfile.c:35: ./debug.h:31:13: warning: inline function 'debug' is not defined [-Wundefined-inline] inline void debug(char *formatString, ...); ^ analpfile.c:85:2: note: used here debug ("Setting the memmory to 0s"); ^ 2 warnings generated. x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -Wall -g -O2 -c bruteforce.c In file included from bruteforce.c:36: ./debug.h:31:13: warning: inline function 'debug' is not defined [-Wundefined-inline] inline void debug(char *formatString, ...); ^ bruteforce.c:178:2: note: used here debug("Launched process number %u",currentProcessNumber); ^ 1 warning generated. x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -Wall -g -O2 -c capture.c In file included from capture.c:37: ./debug.h:31:13: warning: inline function 'debug' is not defined [-Wundefined-inline] inline void debug(char *formatString, ...); ^ capture.c:64:25: note: used here if (global_v.debug>1) debug("Packet %u (%u size) is smaller than %u\n",countCapturedPackets, header->caplen, MIN_PKT_LEN); ^ 1 warning generated. x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -Wall -g -O2 -c debug.c x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -Wall -g -O2 -c dictionary.c dictionary.c:143:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (((rv=fgets(word, sz-1, wordfile))!=NULL)&&((word[0]=='\r')||(word[0]=='\n'))) { ^~~~ /usr/include/stdio.h:622:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ dictionary.c:284:13: warning: passing 'unsigned char [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(keys, word, global_v.key_len); ^~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:760:52: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^ dictionary.c:284:19: warning: passing 'unsigned char [100]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(keys, word, global_v.key_len); ^~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:760:58: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^ dictionary.c:286:12: warning: passing 'unsigned char [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(last_keys, keys); ^~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ dictionary.c:286:23: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(last_keys, keys); ^~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ dictionary.c:294:20: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] wep_keygen128(word, keys); ^~~~ dictionary.c:71:26: note: passing argument to parameter 'str' here void wep_keygen128(char *str, unsigned char *keys){ ^ dictionary.c:300:19: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] wep_keygen40(word, keys); ^~~~ dictionary.c:104:25: note: passing argument to parameter 'str' here void wep_keygen40(char *str, u_char *keys){ ^ dictionary.c:186:6: warning: unused variable 'totalByte' [-Wunused-variable] int totalByte=0xFF; ^ dictionary.c:187:6: warning: unused variable 'totalTemp' [-Wunused-variable] int totalTemp=0; ^ 9 warnings generated. x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -Wall -g -O2 -c globals.c x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -Wall -g -O2 -c heuristics.c heuristics.c:59:12: warning: unused variable 'k' [-Wunused-variable] int i, j,k; ^ heuristics.c:61:10: warning: unused variable 'E' [-Wunused-variable] u_char E, S[N]; ^ heuristics.c:72:16: warning: unused variable 'byteBackup' [-Wunused-variable] unsigned char byteBackup=0; ^ heuristics.c:325:42: warning: implicit declaration of function 'target_bssid' is invalid in C99 [-Wimplicit-function-declaration] if (global_v.target_bssid_selected) if (target_bssid(pkt)) { ^ heuristics.c:397:101: warning: invalid conversion specifier ')' [-Wformat-invalid-specifier] printf("Perhaps you should increase the default probability (--perc) to a higher value (default 70%), or capture more packets.\n"); ~^ In file included from heuristics.c:37: ./debug.h:31:13: warning: inline function 'debug' is not defined [-Wundefined-inline] inline void debug(char *formatString, ...); ^ heuristics.c:309:26: note: used here if (global_v.debug>2) debug("Packet %u has negative size with prismheader!! Perhaps you dont need --prismheader"); ^ 6 warnings generated. x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -Wall -g -O2 -c md5.c md5.c:38:2: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' memset(ctx->in, 0, 64); ^ md5.c:38:2: note: please include the header or explicitly provide a declaration for 'memset' md5.c:66:6: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' memcpy(p, buf, len); ^ md5.c:66:6: note: please include the header or explicitly provide a declaration for 'memcpy' md5.c:130:27: warning: 'memset' call operates on objects of type 'struct MD5Context' while the size is based on a different type 'struct MD5Context *' [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ~~~ ^~~ md5.c:130:27: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^~~ md5.c:262:2: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' printf("%s:\n", m); ^ md5.c:262:2: note: please include the header or explicitly provide a declaration for 'printf' 4 warnings generated. x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -Wall -g -O2 -c wep.c wep.c:289:8: warning: implicit declaration of function 'target_bssid' is invalid in C99 [-Wimplicit-function-declaration] if (target_bssid(pkt)) { ^ wep.c:294:8: warning: implicit declaration of function 'GetPacketBssid' is invalid in C99 [-Wimplicit-function-declaration] if (GetPacketBssid(pkt,global_v.target_bssid)){ ^ wep.c:360:35: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] printf("Total packets read: %u\n",totalPackets); ~~ ^~~~~~~~~~~~ %lu In file included from wep.c:36: ./debug.h:31:13: warning: inline function 'debug' is not defined [-Wundefined-inline] inline void debug(char *formatString, ...); ^ wep.c:273:25: note: used here if (global_v.debug>2) debug("Packet %u has different real length (%u) than captured length (%u)",totalPackets,h.len, h.caplen); ^ 4 warnings generated. x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -Wall -g -O2 -c attack.c x86_64-linux-gnu-gcc -Wall -g -O2 -Wl,-z,defs -o weplab main.o analpfile.o bruteforce.o capture.o debug.o dictionary.o globals.o heuristics.o md5.o wep.o attack.o -lpcap analpfile.o: In function `AnalyzePcapFile': /«PKGBUILDDIR»/analpfile.c:85: undefined reference to `debug' /«PKGBUILDDIR»/analpfile.c:88: undefined reference to `debug' /«PKGBUILDDIR»/analpfile.c:136: undefined reference to `debug' /«PKGBUILDDIR»/analpfile.c:160: undefined reference to `debug' /«PKGBUILDDIR»/analpfile.c:161: undefined reference to `debug' analpfile.o:/«PKGBUILDDIR»/analpfile.c:163: more undefined references to `debug' follow bruteforce.o: In function `bruteforce': /«PKGBUILDDIR»/bruteforce.c:211: undefined reference to `IncrementKeyOptimized' capture.o: In function `callbackWeakPackets': /«PKGBUILDDIR»/capture.c:64: undefined reference to `debug' /«PKGBUILDDIR»/capture.c:73: undefined reference to `debug' /«PKGBUILDDIR»/capture.c:74: undefined reference to `debug' /«PKGBUILDDIR»/capture.c:76: undefined reference to `debug' /«PKGBUILDDIR»/capture.c:77: undefined reference to `debug' capture.o:/«PKGBUILDDIR»/capture.c:78: more undefined references to `debug' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [weplab] Error 1 make[1]: Leaving directory `/«PKGBUILDDIR»' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20140106-0921 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Build Architecture: amd64 Build-Space: 904 Build-Time: 8 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 9 Job: weplab_0.1.5-2 Machine Architecture: amd64 Package: weplab Package-Time: 69 Source-Version: 0.1.5-2 Space: 904 Status: attempted Version: 0.1.5-2clang1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20140106-0921 Build needed 00:01:09, 904k disc space DC-Status: Failed 69.789230377s