DC-Build-Header: hlbr 1.7.2-2 / 2014-01-06 09:26:22 +0000 DC-Task: source:hlbr version:1.7.2-2 architecture:any chroot:unstable esttime:35 logfile:/tmp/hlbr_1.7.2-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 " hlbr_1.7.2-2' sbuild (Debian sbuild) 0.63.2 (18 Aug 2012) on ip-172-31-15-145.us-west-2.compute.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ hlbr 1.7.2-2clang1 (amd64) 06 Jan 2014 09:26 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: hlbr Version: 1.7.2-2clang1 Source Version: 1.7.2-2 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 I: NOTICE: Log filtering will replace 'build/hlbr-n1QLCl/hlbr-1.7.2' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/hlbr-n1QLCl' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-83dbfa0c-a126-4fe5-8ba1-d20561767bfe' 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 (1135 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... NOTICE: 'hlbr' packaging is maintained in the 'Svn' version control system at: svn://svn.debian.org/svn/debian-br-team/packages/hlbr Need to get 216 kB of source archives. Get:1 http://localhost:9999/debian/ unstable/main hlbr 1.7.2-2 (dsc) [1193 B] Get:2 http://localhost:9999/debian/ unstable/main hlbr 1.7.2-2 (tar) [210 kB] Get:3 http://localhost:9999/debian/ unstable/main hlbr 1.7.2-2 (diff) [4538 B] Fetched 216 kB in 1s (171 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.4 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-QDbHVd/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), debhelper (>= 7), dpatch, libpcre3-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), debhelper (>= 7), dpatch, libpcre3-dev dpkg-deb: building package `sbuild-build-depends-hlbr-dummy' in `/«BUILDDIR»/resolver-y5eZY2/apt_archive/sbuild-build-depends-hlbr-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install hlbr 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 dpatch file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libglib2.0-0 libmagic1 libpcre3-dev libpcrecpp0 libpipeline1 libunistring0 libxml2 man-db po-debconf Suggested packages: wamerican wordlist whois vacation dh-make curl gettext-doc groff less www-browser libmail-box-perl Recommended packages: patchutils autopoint libasprintf-dev libgettextpo-dev libglib2.0-data shared-mime-info xml-core libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils debhelper dpatch file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libglib2.0-0 libmagic1 libpcre3-dev libpcrecpp0 libpipeline1 libunistring0 libxml2 man-db po-debconf sbuild-build-depends-hlbr-dummy 0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded. Need to get 8508 kB/8509 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 libpcrecpp0 amd64 1:8.31-2 [128 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 gettext amd64 0.18.3.1-2 [1202 kB] Get:15 http://localhost:9999/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:16 http://localhost:9999/debian/ unstable/main po-debconf all 1.0.16+nmu2 [224 kB] Get:17 http://localhost:9999/debian/ unstable/main debhelper all 9.20131227 [687 kB] Get:18 http://localhost:9999/debian/ unstable/main dpatch all 2.0.35 [95.2 kB] Get:19 http://localhost:9999/debian/ unstable/main libpcre3-dev amd64 1:8.31-2 [356 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 8508 kB in 0s (21.9 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 libpcrecpp0:amd64. Preparing to unpack .../libpcrecpp0_1%3a8.31-2_amd64.deb ... Unpacking libpcrecpp0:amd64 (1:8.31-2) ... 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 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 dpatch. Preparing to unpack .../archives/dpatch_2.0.35_all.deb ... Unpacking dpatch (2.0.35) ... Selecting previously unselected package libpcre3-dev:amd64. Preparing to unpack .../libpcre3-dev_1%3a8.31-2_amd64.deb ... Unpacking libpcre3-dev:amd64 (1:8.31-2) ... Selecting previously unselected package sbuild-build-depends-hlbr-dummy. Preparing to unpack .../sbuild-build-depends-hlbr-dummy.deb ... Unpacking sbuild-build-depends-hlbr-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 libpcrecpp0:amd64 (1:8.31-2) ... 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 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 dpatch (2.0.35) ... Setting up libpcre3-dev:amd64 (1:8.31-2) ... Setting up sbuild-build-depends-hlbr-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 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 dpatch_2.0.35 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 libpcre3_1:8.31-2 libpcre3-dev_1:8.31-2 libpcrecpp0_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-hlbr-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 Mon Mar 8 14:25:34 2010 UTC using DSA key ID D9309644 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./hlbr_1.7.2-2.dsc dpkg-source: info: extracting hlbr in hlbr-1.7.2 dpkg-source: info: unpacking hlbr_1.7.2.orig.tar.gz dpkg-source: info: applying hlbr_1.7.2-2.diff.gz Check disc space ──────────────── Sufficient free space for build Hack binNMU version ─────────────────── Created changelog entry for binNMU version 1.7.2-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-83dbfa0c-a126-4fe5-8ba1-d20561767bfe SCHROOT_UID=1000 SCHROOT_USER=user SHELL=/bin/sh USER=user dpkg-buildpackage ───────────────── dpkg-buildpackage: source package hlbr dpkg-buildpackage: source version 1.7.2-2clang1 dpkg-buildpackage: source distribution unstable dpkg-source --before-build hlbr-1.7.2 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dpatch deapply-all 01_configure not applied to ./ . rm -rf patch-stamp patch-stampT debian/patched dh_testdir dh_testroot rm -f build-stamp config.status [ ! -f Makefile ] || /usr/bin/make clean rm -f config.sub config.guess 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 test -d debian/patched || install -d debian/patched dpatch apply-all applying patch 01_configure to ./ ... ok. dpatch cat-all >>patch-stampT mv -f patch-stampT patch-stamp dh_testdir ./configure --build x86_64-linux-gnu CFLAGS="" LDFLAGS="-Wl,-z,defs" *********************************** Arquivo de configuracao para o HLBR Configure script for HLBR *********************************** Buscando SO / Checking OS..........................LINUX Buscando compilador C / Checking for a C compiler../usr/bin/gcc Buscando endianness / Checking endianness..........LITTLE ----------------------------------------------------------- Por favor, selecione o idioma / Please, select the language Portugues - Pressione p e ENTER English - Press ENTER ----------------------------------------------------------- Language: english Buscando o daemon / Checking for daemon............Encontrado / Found Buscando freopen / Checking for freopen............Encontrado / Found Buscando dlopen / Checking for dlopen..............Encontrado / Found Buscando libpcre / Checking for libpcre............Encontrado / Found ------------------------------- HLBR - Hogwash Light BR Version: 1.7.2 Date: Feb 27, 2010 Pronto / Done. ------------------------------- Execute "# make" para compilar. Run "# make" to compile. ------------------------------- touch config.status dh_testdir /usr/bin/make make[1]: Entering directory `/«PKGBUILDDIR»' gcc -g -c -o engine/hlbr.o engine/hlbr.c gcc -g -c -o engine/alert_limit.o engine/alert_limit.c gcc -g -c -o engine/bits.o engine/bits.c gcc -g -c -o engine/parse_config.o engine/parse_config.c engine/parse_config.c:121:37: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(List->Name, MAX_NAME_LEN, Name); ^~~~ engine/parse_config.c:237:23: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] fprintf (fp, "%d\n", getpid()); ^ engine/parse_config.c:274:52: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(Globals.SensorName, strlen(Current)+1, Current); ^~~~~~~ engine/parse_config.c:351:52: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(Interface->Name, MAX_INTERFACE_NAME_LEN, Name); ^~~~ 4 warnings generated. gcc -g -c -o engine/parse_rules.o engine/parse_rules.c engine/parse_rules.c:234:56: warning: for loop has empty body [-Wempty-body] for (i = strlen(FDir); i >= 0 && FDir[i] != '/'; i--); ^ engine/parse_rules.c:234:56: note: put the semicolon on a separate line to silence this warning 1 warning generated. gcc -g -c -o engine/main_loop.o engine/main_loop.c gcc -g -c -o engine/session.o engine/session.c gcc -g -c -o engine/jtree.o engine/jtree.c gcc -g -c -o engine/num_list.o engine/num_list.c gcc -g -c -o engine/message.o engine/message.c gcc -g -c -o engine/cache.o engine/cache.c gcc -g -c -o engine/regex.o engine/regex.c gcc -g -c -o engine/hlbrlib.o engine/hlbrlib.c engine/hlbrlib.c:181:9: warning: format specifies type 'unsigned int' but the argument has type 'char *' [-Wformat] FREE(s); ~~~~~^ engine/hlbr.h:127:72: note: expanded from macro 'FREE' PRINTERROR3("Attempting to free a NULL pointer at 0x%x (%s():%d)\n", x, __FUNCTION__, __LINE__); \ ^ engine/hlbr.h:93:59: note: expanded from macro 'PRINTERROR3' #define PRINTERROR3(msg, p1, p2, p3) fprintf(stderr, msg, p1, p2, p3) ^ engine/hlbrlib.c:182:9: warning: format specifies type 'unsigned int' but the argument has type 'char *' [-Wformat] FREE(ptr); ~~~~~^~~ engine/hlbr.h:127:72: note: expanded from macro 'FREE' PRINTERROR3("Attempting to free a NULL pointer at 0x%x (%s():%d)\n", x, __FUNCTION__, __LINE__); \ ^ engine/hlbr.h:93:59: note: expanded from macro 'PRINTERROR3' #define PRINTERROR3(msg, p1, p2, p3) fprintf(stderr, msg, p1, p2, p3) ^ engine/hlbrlib.c:204:11: warning: format specifies type 'unsigned int' but the argument has type 'char *' [-Wformat] FREE(ll->item); ~~~~~^~~~~~~~ engine/hlbr.h:127:72: note: expanded from macro 'FREE' PRINTERROR3("Attempting to free a NULL pointer at 0x%x (%s():%d)\n", x, __FUNCTION__, __LINE__); \ ^ engine/hlbr.h:93:59: note: expanded from macro 'PRINTERROR3' #define PRINTERROR3(msg, p1, p2, p3) fprintf(stderr, msg, p1, p2, p3) ^ engine/hlbrlib.c:205:11: warning: format specifies type 'unsigned int' but the argument has type 'QueueList *' (aka 'struct queue_t *') [-Wformat] FREE(ll); ~~~~~^~ engine/hlbr.h:127:72: note: expanded from macro 'FREE' PRINTERROR3("Attempting to free a NULL pointer at 0x%x (%s():%d)\n", x, __FUNCTION__, __LINE__); \ ^ engine/hlbr.h:93:59: note: expanded from macro 'PRINTERROR3' #define PRINTERROR3(msg, p1, p2, p3) fprintf(stderr, msg, p1, p2, p3) ^ engine/hlbrlib.c:209:11: warning: format specifies type 'unsigned int' but the argument has type 'char *' [-Wformat] FREE(ll->item); ~~~~~^~~~~~~~ engine/hlbr.h:127:72: note: expanded from macro 'FREE' PRINTERROR3("Attempting to free a NULL pointer at 0x%x (%s():%d)\n", x, __FUNCTION__, __LINE__); \ ^ engine/hlbr.h:93:59: note: expanded from macro 'PRINTERROR3' #define PRINTERROR3(msg, p1, p2, p3) fprintf(stderr, msg, p1, p2, p3) ^ engine/hlbrlib.c:210:11: warning: format specifies type 'unsigned int' but the argument has type 'QueueList *' (aka 'struct queue_t *') [-Wformat] FREE(ll); ~~~~~^~ engine/hlbr.h:127:72: note: expanded from macro 'FREE' PRINTERROR3("Attempting to free a NULL pointer at 0x%x (%s():%d)\n", x, __FUNCTION__, __LINE__); \ ^ engine/hlbr.h:93:59: note: expanded from macro 'PRINTERROR3' #define PRINTERROR3(msg, p1, p2, p3) fprintf(stderr, msg, p1, p2, p3) ^ engine/hlbrlib.c:229:12: warning: format specifies type 'unsigned int' but the argument has type 'char *' [-Wformat] FREE(ll->item); ~~~~~^~~~~~~~ engine/hlbr.h:127:72: note: expanded from macro 'FREE' PRINTERROR3("Attempting to free a NULL pointer at 0x%x (%s():%d)\n", x, __FUNCTION__, __LINE__); \ ^ engine/hlbr.h:93:59: note: expanded from macro 'PRINTERROR3' #define PRINTERROR3(msg, p1, p2, p3) fprintf(stderr, msg, p1, p2, p3) ^ engine/hlbrlib.c:230:12: warning: format specifies type 'unsigned int' but the argument has type 'QueueList *' (aka 'struct queue_t *') [-Wformat] FREE(ll); ~~~~~^~ engine/hlbr.h:127:72: note: expanded from macro 'FREE' PRINTERROR3("Attempting to free a NULL pointer at 0x%x (%s():%d)\n", x, __FUNCTION__, __LINE__); \ ^ engine/hlbr.h:93:59: note: expanded from macro 'PRINTERROR3' #define PRINTERROR3(msg, p1, p2, p3) fprintf(stderr, msg, p1, p2, p3) ^ 8 warnings generated. gcc -g -c -o engine/url.o engine/url.c engine/url.c:57:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] decoded[(*decoded_size)++] = urietohex (&content[i++]); ^~~~~~~~~~~~~ engine/url.c:11:39: note: passing argument to parameter 'str' here inline char urietohex (unsigned char *str) { ^ 1 warning generated. gcc -g -c -o packets/packet.o packets/packet.c gcc -g -c -o packets/packet_linux_raw.o packets/packet_linux_raw.c packets/packet_linux_raw.c:243:3: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] (void*)InterfaceID ^ 1 warning generated. gcc -g -c -o packets/packet_obsd_bpf.o packets/packet_obsd_bpf.c gcc -g -c -o packets/packet_osx_bpf.o packets/packet_osx_bpf.c gcc -g -c -o packets/packet_tcpdump.o packets/packet_tcpdump.c packets/packet_tcpdump.c:179:3: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] (void*)InterfaceID ^ 1 warning generated. gcc -g -c -o packets/packet_solaris_dlpi.o packets/packet_solaris_dlpi.c gcc -g -c -o decoders/decode.o decoders/decode.c decoders/decode.c:99:59: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(Globals.Decoders[DecoderID].Name, MAX_NAME_LEN, Name); ^~~~ 1 warning generated. gcc -g -c -o decoders/decode_interface.o decoders/decode_interface.c gcc -g -c -o decoders/decode_ethernet.o decoders/decode_ethernet.c gcc -g -c -o decoders/decode_ip.o decoders/decode_ip.c gcc -g -c -o decoders/decode_ip_defrag.o decoders/decode_ip_defrag.c decoders/decode_ip_defrag.c:113:2: warning: implicit declaration of function 'PacketZero' is invalid in C99 [-Wimplicit-function-declaration] PacketZero (newp); ^ decoders/decode_ip_defrag.c:316:2: warning: implicit declaration of function 'CacheTimeout' is invalid in C99 [-Wimplicit-function-declaration] CacheTimeout(FragCache, time(NULL)); ^ 2 warnings generated. gcc -g -c -o decoders/decode_icmp.o decoders/decode_icmp.c gcc -g -c -o decoders/decode_udp.o decoders/decode_udp.c gcc -g -c -o decoders/decode_tcp.o decoders/decode_tcp.c decoders/decode_tcp.c:51:2: warning: implicit declaration of function 'AssignSessionTCP' is invalid in C99 [-Wimplicit-function-declaration] AssignSessionTCP(PacketSlot, (void*)data); ^ 1 warning generated. gcc -g -c -o decoders/decode_http.o decoders/decode_http.c decoders/decode_http.c:99:8: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] pbaux = Globals.Packets[PacketSlot].RawPacket + Globals.Packets[PacketSlot].BeginData; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. gcc -g -c -o decoders/decode_dns.o decoders/decode_dns.c decoders/decode_dns.c:102:50: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] DNS2Human((char*)(p->RawPacket+p->BeginData), data->Q[i].Query, MAX_DNS_QUERY_LEN); ^~~~~~~~~~~~~~~~ decoders/decode_dns.c:17:32: note: passing argument to parameter 'Human' here int DNS2Human(char* DNS, char* Human, int HumanLen){ ^ 1 warning generated. gcc -g -c -o decoders/decode_arp.o decoders/decode_arp.c gcc -g -c -o tests/test.o tests/test.c gcc -g -c -o tests/test_interface_name.o tests/test_interface_name.c gcc -g -c -o tests/test_ethernet_type.o tests/test_ethernet_type.c gcc -g -c -o tests/test_ethernet_src.o tests/test_ethernet_src.c gcc -g -c -o tests/test_ethernet_dst.o tests/test_ethernet_dst.c gcc -g -c -o tests/test_ip_src.o tests/test_ip_src.c tests/test_ip_src.c:71:4: warning: implicit declaration of function 'NotAndBitFields' is invalid in C99 [-Wimplicit-function-declaration] NotAndBitFields(p->RuleBits, t->RuleBits, p->RuleBits, Globals.NumRules); ^ tests/test_ip_src.c:121:3: warning: implicit declaration of function 'SetBit' is invalid in C99 [-Wimplicit-function-declaration] SetBit(data->RuleBits, Globals.NumRules, RuleID, 1); ^ 2 warnings generated. gcc -g -c -o tests/test_ip_dst.o tests/test_ip_dst.c gcc -g -c -o tests/test_ip_proto.o tests/test_ip_proto.c gcc -g -c -o tests/test_ip_ttl.o tests/test_ip_ttl.c gcc -g -c -o tests/test_ip_check.o tests/test_ip_check.c gcc -g -c -o tests/test_icmp_type.o tests/test_icmp_type.c gcc -g -c -o tests/test_icmp_code.o tests/test_icmp_code.c gcc -g -c -o tests/test_tcp_port.o tests/test_tcp_port.c gcc -g -c -o tests/test_tcp_src.o tests/test_tcp_src.c gcc -g -c -o tests/test_tcp_dst.o tests/test_tcp_dst.c gcc -g -c -o tests/test_tcp_content.o tests/test_tcp_content.c tests/test_tcp_content.c:99:11: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(data->tcp_content, MAX_CONTENT_LEN, Args); ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ tests/test_tcp_content.c:99:47: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(data->tcp_content, MAX_CONTENT_LEN, Args); ^~~~ tests/test_tcp_content.c:101:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!AddStringJTree(&TCPContentTree, Args, strlen(Args), RuleID)){ ^~~~ tests/../engine/jtree.h:41:45: note: passing argument to parameter 'String' here int AddStringJTree(JTree* j, unsigned char* String, int SLen, int RuleID); ^ 3 warnings generated. gcc -g -c -o tests/test_tcp_nocase.o tests/test_tcp_nocase.c tests/test_tcp_nocase.c:74:11: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(data->tcp_content, MAX_CONTENT_LEN, "%s", Args); ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ tests/test_tcp_nocase.c:76:38: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!AddStringJTree(&TCPNoCaseTree, Args, strlen(Args), RuleID)){ ^~~~ tests/../engine/jtree.h:41:45: note: passing argument to parameter 'String' here int AddStringJTree(JTree* j, unsigned char* String, int SLen, int RuleID); ^ 2 warnings generated. gcc -g -c -o tests/test_tcp_listcontent.o tests/test_tcp_listcontent.c tests/test_tcp_listcontent.c:115:45: warning: passing 'char [10240]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!AddStringJTree(&TCPListContentTree, LineBuff, strlen(LineBuff), RuleID)) { ^~~~~~~~ tests/../engine/jtree.h:41:45: note: passing argument to parameter 'String' here int AddStringJTree(JTree* j, unsigned char* String, int SLen, int RuleID); ^ 1 warning generated. gcc -g -c -o tests/test_tcp_listnocase.o tests/test_tcp_listnocase.c tests/test_tcp_listnocase.c:94:44: warning: passing 'char [10240]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!AddStringJTree(&TCPListNoCaseTree, LineBuff, strlen(LineBuff), RuleID)) { ^~~~~~~~ tests/../engine/jtree.h:41:45: note: passing argument to parameter 'String' here int AddStringJTree(JTree* j, unsigned char* String, int SLen, int RuleID); ^ 1 warning generated. gcc -g -c -o tests/test_tcp_flags.o tests/test_tcp_flags.c gcc -g -c -o tests/test_tcp_offset.o tests/test_tcp_offset.c tests/test_tcp_offset.c:120:3: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] c=Args; ^~~~~ tests/test_tcp_offset.c:128:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] data->offset=atoi(c); ^ /usr/include/stdlib.h:147:30: note: passing argument to parameter '__nptr' here extern int atoi (const char *__nptr) ^ tests/test_tcp_offset.c:134:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] SLen=strlen(c1); ^~ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 3 warnings generated. gcc -g -c -o tests/test_tcp_regex.o tests/test_tcp_regex.c tests/test_tcp_regex.c:60:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!RegexExec(data->regex, p->RawPacket + p->BeginData, p->PacketLen - p->BeginData)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/../engine/regex.h:26:40: note: passing argument to parameter 'data' here int RegexExec (HLBRRegex *regex, char *data, int data_size); ^ tests/test_tcp_regex.c:91:11: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(data->tcp_content, MAX_CONTENT_LEN, "%s", Args); ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ tests/test_tcp_regex.c:93:29: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] data->regex = RegexCompile(data->tcp_content, PCRE_MULTILINE, NOTEMPTY, 0); ^~~~~~~~~~~~~~~~~ tests/../engine/regex.h:25:32: note: passing argument to parameter 'Args' here HLBRRegex *RegexCompile (char *Args, int coptions, int eoptions, int offset); ^ 3 warnings generated. gcc -g -c -o tests/test_http_content.o tests/test_http_content.c tests/test_http_content.c:49:2: warning: implicit declaration of function 'GetDataByID' is invalid in C99 [-Wimplicit-function-declaration] GetDataByID (PacketSlot, HTTPDecoderID, (void **)&http); ^ tests/test_http_content.c:51:71: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MatchStrings(&HTTPContentTree, Globals.Packets[PacketSlot].RuleBits, http->decoded, http->decoded_size); ^~~~~~~~~~~~~ tests/../engine/jtree.h:43:74: note: passing argument to parameter 'String' here int MatchStrings(JTree* j, unsigned char* PacketRuleBits, unsigned char* String, int SLen); ^ tests/test_http_content.c:76:11: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(data->http_content, MAX_CONTENT_LEN, Args); ^~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ tests/test_http_content.c:76:48: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(data->http_content, MAX_CONTENT_LEN, Args); ^~~~ tests/test_http_content.c:78:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!AddStringJTree(&HTTPContentTree, Args, strlen(Args), RuleID)){ ^~~~ tests/../engine/jtree.h:41:45: note: passing argument to parameter 'String' here int AddStringJTree(JTree* j, unsigned char* String, int SLen, int RuleID); ^ tests/test_http_content.c:114:16: warning: implicit declaration of function 'GetDecoderByName' is invalid in C99 [-Wimplicit-function-declaration] HTTPDecoderID=GetDecoderByName("HTTP"); ^ 6 warnings generated. gcc -g -c -o tests/test_http_method.o tests/test_http_method.c In file included from tests/test_http_method.c:7: tests/../decoders/decode_http.h:21:12: warning: inline function 'BinSearch' is not defined [-Wundefined-inline] inline int BinSearch (int *vec, int n, int value); ^ tests/test_http_method.c:61:9: note: used here if (!BinSearch(data->method, data->mnum, http->method)) ^ In file included from tests/test_http_method.c:7: tests/../decoders/decode_http.h:22:13: warning: inline function 'ShellSort' is not defined [-Wundefined-inline] inline void ShellSort(int *vec, int n); ^ tests/test_http_method.c:157:2: note: used here ShellSort (data->method, data->mnum); ^ 2 warnings generated. gcc -g -c -o tests/test_http_nocase.o tests/test_http_nocase.c tests/test_http_nocase.c:53:2: warning: implicit declaration of function 'GetDataByID' is invalid in C99 [-Wimplicit-function-declaration] GetDataByID (PacketSlot, HTTPDecoderID, (void **)&http); ^ tests/test_http_nocase.c:55:70: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MatchStrings(&HTTPNoCaseTree, Globals.Packets[PacketSlot].RuleBits, http->decoded, http->decoded_size); ^~~~~~~~~~~~~ tests/../engine/jtree.h:43:74: note: passing argument to parameter 'String' here int MatchStrings(JTree* j, unsigned char* PacketRuleBits, unsigned char* String, int SLen); ^ tests/test_http_nocase.c:83:11: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(data->http_content, MAX_CONTENT_LEN, "%s", Args); ^~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ tests/test_http_nocase.c:85:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!AddStringJTree(&HTTPNoCaseTree, Args, strlen(Args), RuleID)){ ^~~~ tests/../engine/jtree.h:41:45: note: passing argument to parameter 'String' here int AddStringJTree(JTree* j, unsigned char* String, int SLen, int RuleID); ^ tests/test_http_nocase.c:121:16: warning: implicit declaration of function 'GetDecoderByName' is invalid in C99 [-Wimplicit-function-declaration] HTTPDecoderID=GetDecoderByName("HTTP"); ^ 5 warnings generated. gcc -g -c -o tests/test_http_regex.o tests/test_http_regex.c tests/test_http_regex.c:53:2: warning: implicit declaration of function 'GetDataByID' is invalid in C99 [-Wimplicit-function-declaration] GetDataByID (PacketSlot, HTTPDecoderID, (void **)&http); ^ tests/test_http_regex.c:119:16: warning: implicit declaration of function 'GetDecoderByName' is invalid in C99 [-Wimplicit-function-declaration] HTTPDecoderID=GetDecoderByName("HTTP"); ^ 2 warnings generated. gcc -g -c -o tests/test_udp_regex.o tests/test_udp_regex.c tests/test_udp_regex.c:61:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!RegexExec(data->regex, p->RawPacket + p->BeginData, p->PacketLen - p->BeginData)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/../engine/regex.h:26:40: note: passing argument to parameter 'data' here int RegexExec (HLBRRegex *regex, char *data, int data_size); ^ tests/test_udp_regex.c:92:11: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(data->udp_content, MAX_CONTENT_LEN, "%s", Args); ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ tests/test_udp_regex.c:94:29: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] data->regex = RegexCompile(data->udp_content, MULTILINE, NOTEMPTY, 0); ^~~~~~~~~~~~~~~~~ tests/../engine/regex.h:25:32: note: passing argument to parameter 'Args' here HLBRRegex *RegexCompile (char *Args, int coptions, int eoptions, int offset); ^ 3 warnings generated. gcc -g -c -o tests/test_udp_src.o tests/test_udp_src.c gcc -g -c -o tests/test_udp_dst.o tests/test_udp_dst.c gcc -g -c -o tests/test_udp_content.o tests/test_udp_content.c tests/test_udp_content.c:99:11: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(data->udp_content, MAX_CONTENT_LEN, Args); ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ tests/test_udp_content.c:99:47: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(data->udp_content, MAX_CONTENT_LEN, Args); ^~~~ tests/test_udp_content.c:101:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!AddStringJTree(&UDPContentTree, Args, strlen(Args), RuleID)){ ^~~~ tests/../engine/jtree.h:41:45: note: passing argument to parameter 'String' here int AddStringJTree(JTree* j, unsigned char* String, int SLen, int RuleID); ^ 3 warnings generated. gcc -g -c -o tests/test_udp_nocase.o tests/test_udp_nocase.c tests/test_udp_nocase.c:74:11: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(data->udp_content, MAX_CONTENT_LEN, Args); ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ tests/test_udp_nocase.c:74:47: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(data->udp_content, MAX_CONTENT_LEN, Args); ^~~~ tests/test_udp_nocase.c:76:38: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!AddStringJTree(&UDPNoCaseTree, Args, strlen(Args), RuleID)){ ^~~~ tests/../engine/jtree.h:41:45: note: passing argument to parameter 'String' here int AddStringJTree(JTree* j, unsigned char* String, int SLen, int RuleID); ^ 3 warnings generated. gcc -g -c -o actions/action.o actions/action.c actions/action.c:83:61: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(Globals.ActionItems[ActionID].Name, MAX_NAME_LEN, Name); ^~~~ 1 warning generated. gcc -g -c -o actions/action_drop.o actions/action_drop.c gcc -g -c -o actions/action_alert_console.o actions/action_alert_console.c gcc -g -c -o actions/action_alert_file.o actions/action_alert_file.c gcc -g -c -o actions/action_dump_packet.o actions/action_dump_packet.c gcc -g -c -o actions/action_route_sip.o actions/action_route_sip.c gcc -g -c -o actions/action_bns.o actions/action_bns.c gcc -g -c -o actions/action_alert_syslog.o actions/action_alert_syslog.c actions/action_alert_syslog.c:207:11: warning: format specifies type 'unsigned int' but the argument has type 'char *' [-Wformat] FREE(ptr); ~~~~~^~~ actions/../engine/hlbr.h:127:72: note: expanded from macro 'FREE' PRINTERROR3("Attempting to free a NULL pointer at 0x%x (%s():%d)\n", x, __FUNCTION__, __LINE__); \ ^ actions/../engine/hlbr.h:93:59: note: expanded from macro 'PRINTERROR3' #define PRINTERROR3(msg, p1, p2, p3) fprintf(stderr, msg, p1, p2, p3) ^ actions/action_alert_syslog.c:218:11: warning: format specifies type 'unsigned int' but the argument has type 'char *' [-Wformat] FREE(ptr); ~~~~~^~~ actions/../engine/hlbr.h:127:72: note: expanded from macro 'FREE' PRINTERROR3("Attempting to free a NULL pointer at 0x%x (%s():%d)\n", x, __FUNCTION__, __LINE__); \ ^ actions/../engine/hlbr.h:93:59: note: expanded from macro 'PRINTERROR3' #define PRINTERROR3(msg, p1, p2, p3) fprintf(stderr, msg, p1, p2, p3) ^ actions/action_alert_syslog.c:234:11: warning: format specifies type 'unsigned int' but the argument has type 'char *' [-Wformat] FREE(ptr); ~~~~~^~~ actions/../engine/hlbr.h:127:72: note: expanded from macro 'FREE' PRINTERROR3("Attempting to free a NULL pointer at 0x%x (%s():%d)\n", x, __FUNCTION__, __LINE__); \ ^ actions/../engine/hlbr.h:93:59: note: expanded from macro 'PRINTERROR3' #define PRINTERROR3(msg, p1, p2, p3) fprintf(stderr, msg, p1, p2, p3) ^ 3 warnings generated. gcc -g -c -o actions/action_alert_email.o actions/action_alert_email.c gcc -g -c -o actions/action_alert_socket.o actions/action_alert_socket.c gcc -g -c -o actions/action_alert_listensocket.o actions/action_alert_listensocket.c actions/action_alert_listensocket.c:121:66: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] RCons[i].FD=accept(sockfd, (struct sockaddr*)&remote_addr, &sin_size); ^~~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:245:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ actions/action_alert_listensocket.c:248:11: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(alert.Message, 1024, "%s %s\n",Buff, Buff2); ^~~~~~~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ 2 warnings generated. gcc -g -c -o routes/route.o routes/route.c routes/route.c:89:55: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(Globals.Routes[RouteID].Name, MAX_NAME_LEN, Name); ^~~~ 1 warning generated. gcc -g -c -o routes/route_macfilter.o routes/route_macfilter.c routes/route_macfilter.c:179:35: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(Aliases[i].Alias, 512, Globals.Interfaces[i].Name); ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. gcc -g -c -o routes/route_simple_bridge.o routes/route_simple_bridge.c gcc -g -c -o routes/route_dip.o routes/route_dip.c gcc -g -c -o routes/route_sip.o routes/route_sip.c gcc -g -c -o routes/route_broadcast.o routes/route_broadcast.c gcc -g -c -o routes/route_arp.o routes/route_arp.c gcc -g -c -o routes/route_interface.o routes/route_interface.c gcc -g -c -o routes/route_bns.o routes/route_bns.c cd engine;make make[2]: Entering directory `/«PKGBUILDDIR»/engine' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/«PKGBUILDDIR»/engine' cd packets; make make[2]: Entering directory `/«PKGBUILDDIR»/packets' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/«PKGBUILDDIR»/packets' cd decoders; make make[2]: Entering directory `/«PKGBUILDDIR»/decoders' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/«PKGBUILDDIR»/decoders' cd tests; make make[2]: Entering directory `/«PKGBUILDDIR»/tests' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/«PKGBUILDDIR»/tests' cd actions; make make[2]: Entering directory `/«PKGBUILDDIR»/actions' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/«PKGBUILDDIR»/actions' cd routes; make make[2]: Entering directory `/«PKGBUILDDIR»/routes' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/«PKGBUILDDIR»/routes' gcc -g -o hlbr -g -Wall engine/hlbr.o engine/alert_limit.o engine/bits.o engine/parse_config.o engine/parse_rules.o engine/main_loop.o engine/session.o engine/jtree.o engine/num_list.o engine/message.o engine/cache.o engine/regex.o engine/hlbrlib.o engine/url.o packets/packet.o packets/packet_linux_raw.o packets/packet_obsd_bpf.o packets/packet_osx_bpf.o packets/packet_tcpdump.o packets/packet_solaris_dlpi.o decoders/decode.o decoders/decode_interface.o decoders/decode_ethernet.o decoders/decode_ip.o decoders/decode_ip_defrag.o decoders/decode_icmp.o decoders/decode_udp.o decoders/decode_tcp.o decoders/decode_http.o decoders/decode_dns.o decoders/decode_arp.o tests/test.o tests/test_interface_name.o tests/test_ethernet_type.o tests/test_ethernet_src.o tests/test_ethernet_dst.o tests/test_ip_src.o tests/test_ip_dst.o tests/test_ip_proto.o tests/test_ip_ttl.o tests/test_ip_check.o tests/test_icmp_type.o tests/test_icmp_code.o tests/test_tcp_port.o tests/test_tcp_src.o tests/test_tcp_dst.o tests/test_tcp_content.o tests/test_tcp_nocase.o tests/test_tcp_listcontent.o tests/test_tcp_listnocase.o tests/test_tcp_flags.o tests/test_tcp_offset.o tests/test_tcp_regex.o tests/test_http_content.o tests/test_http_method.o tests/test_http_nocase.o tests/test_http_regex.o tests/test_udp_regex.o tests/test_udp_src.o tests/test_udp_dst.o tests/test_udp_content.o tests/test_udp_nocase.o actions/action.o actions/action_drop.o actions/action_alert_console.o actions/action_alert_file.o actions/action_dump_packet.o actions/action_route_sip.o actions/action_bns.o actions/action_alert_syslog.o actions/action_alert_email.o actions/action_alert_socket.o actions/action_alert_listensocket.o routes/route.o routes/route_macfilter.o routes/route_simple_bridge.o routes/route_dip.o routes/route_sip.o routes/route_broadcast.o routes/route_arp.o routes/route_interface.o routes/route_bns.o -lpthread -ldl -lpcre -rdynamic engine/url.o: In function `URLDecode': /«PKGBUILDDIR»/engine/url.c:56: undefined reference to `isencoded' /«PKGBUILDDIR»/engine/url.c:57: undefined reference to `urietohex' decoders/decode_http.o: In function `DecodeHTTP': /«PKGBUILDDIR»/decoders/decode_http.c:115: undefined reference to `BinSearch' decoders/decode_http.o: In function `ParseMethods': /«PKGBUILDDIR»/decoders/decode_http.c:176: undefined reference to `ShellSort' tests/test_http_method.o: In function `TestHTTPMethod': /«PKGBUILDDIR»/tests/test_http_method.c:61: undefined reference to `BinSearch' tests/test_http_method.o: In function `HTTPMethodAddNode': /«PKGBUILDDIR»/tests/test_http_method.c:108: undefined reference to `BinSearch' /«PKGBUILDDIR»/tests/test_http_method.c:157: undefined reference to `ShellSort' clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [hlbr] 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-0927 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Build Architecture: amd64 Build-Space: 3552 Build-Time: 8 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 9 Job: hlbr_1.7.2-2 Machine Architecture: amd64 Package: hlbr Package-Time: 69 Source-Version: 1.7.2-2 Space: 3552 Status: attempted Version: 1.7.2-2clang1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20140106-0927 Build needed 00:01:09, 3552k disc space DC-Status: Failed 69.874193538s