DC-Build-Header: foundry 0.0.20130809-2 / 2014-09-04 18:31:01 +0000 DC-Task: source:foundry version:0.0.20130809-2 architecture:any chroot:unstable esttime:425 logfile:/tmp/foundry_0.0.20130809-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 " foundry_0.0.20130809-2' sbuild (Debian sbuild) 0.63.2 (18 Aug 2012) on ip-172-31-6-124.us-west-2.compute.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ foundry 0.0.20130809-2clang1 (amd64) 04 Sep 2014 18:31 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: foundry Version: 0.0.20130809-2clang1 Source Version: 0.0.20130809-2 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 I: NOTICE: Log filtering will replace 'build/foundry-0HgAl9/foundry-0.0.20130809' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/foundry-0HgAl9' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-98f84f59-9467-4ebc-acb3-3eb075dcaaed' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Get:1 http://localhost:9999 unstable InRelease [233 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-09-03-1436.55.pdiff [24.7 kB] Get:6 http://localhost:9999 unstable/main 2014-09-03-2030.01.pdiff [10.5 kB] Get:7 http://localhost:9999 unstable/main 2014-09-04-0229.22.pdiff [7545 B] Get:8 http://localhost:9999 unstable/main 2014-09-04-0831.05.pdiff [14.0 kB] Get:9 http://localhost:9999 unstable/main amd64 2014-09-03-1436.55.pdiff [26.7 kB] Get:10 http://localhost:9999 unstable/main 2014-09-04-0831.05.pdiff [14.0 kB] Get:11 http://localhost:9999 unstable/main amd64 2014-09-03-2030.01.pdiff [12.4 kB] Get:12 http://localhost:9999 unstable/main amd64 2014-09-04-0229.22.pdiff [5892 B] Get:13 http://localhost:9999 unstable/main amd64 2014-09-04-0831.05.pdiff [18.1 kB] Get:14 http://localhost:9999 unstable/main 2014-09-03-1436.55.pdiff [3960 B] Get:15 http://localhost:9999 unstable/main 2014-09-03-2030.01.pdiff [1010 B] Get:16 http://localhost:9999 unstable/main 2014-09-04-0229.22.pdiff [648 B] Get:17 http://localhost:9999 unstable/main 2014-09-04-0831.05.pdiff [61 B] Get:18 http://localhost:9999 unstable/main amd64 2014-09-04-0831.05.pdiff [18.1 kB] Get:19 http://localhost:9999 unstable/main 2014-09-04-0831.05.pdiff [61 B] Fetched 382 kB in 5s (72.8 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: binutils 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 3310 kB of archives. After this operation, 50.2 kB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main binutils amd64 2.24.51.20140903-1 [3310 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 3310 kB in 0s (31.4 MB/s) (Reading database ... 15135 files and directories currently installed.) Preparing to unpack .../binutils_2.24.51.20140903-1_amd64.deb ... Unpacking binutils (2.24.51.20140903-1) over (2.24.51.20140818-1) ... Setting up binutils (2.24.51.20140903-1) ... Processing triggers for libc-bin (2.19-10) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... Need to get 42.6 kB of source archives. Get:1 http://localhost:9999/debian/ unstable/main foundry 0.0.20130809-2 (dsc) [1199 B] Get:2 http://localhost:9999/debian/ unstable/main foundry 0.0.20130809-2 (tar) [37.5 kB] Get:3 http://localhost:9999/debian/ unstable/main foundry 0.0.20130809-2 (diff) [3930 B] Fetched 42.6 kB in 1s (34.5 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... + CLANG_VERSION=3.5 + echo 'Install of clang-3.5' Install of clang-3.5 + apt-get update Hit http://localhost:9999 unstable InRelease Get:1 http://localhost:9999 unstable/main Sources/DiffIndex [7876 B] Get:2 http://localhost:9999 unstable/main amd64 Packages/DiffIndex [7876 B] Get:3 http://localhost:9999 unstable/main Translation-en/DiffIndex [7876 B] Fetched 23.6 kB in 1s (12.8 kB/s) Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-3.5 Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libbsd0 libclang-common-3.5-dev libclang1-3.5 libedit2 libffi6 libllvm3.5 libobjc-4.9-dev libobjc4 Suggested packages: gnustep gnustep-devel clang-3.5-doc Recommended packages: llvm-3.5-dev python The following NEW packages will be installed: clang-3.5 libbsd0 libclang-common-3.5-dev libclang1-3.5 libedit2 libffi6 libllvm3.5 libobjc-4.9-dev libobjc4 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 33.3 MB of archives. After this operation, 132 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libbsd0 amd64 0.7.0-2 [67.9 kB] Get:2 http://localhost:9999/debian/ unstable/main libedit2 amd64 3.1-20140620-2 [85.1 kB] Get:3 http://localhost:9999/debian/ unstable/main libffi6 amd64 3.1-2 [19.8 kB] Get:4 http://localhost:9999/debian/ unstable/main libllvm3.5 amd64 1:3.5-1 [7609 kB] Get:5 http://localhost:9999/debian/ unstable/main libobjc4 amd64 4.9.1-12 [112 kB] Get:6 http://localhost:9999/debian/ unstable/main libobjc-4.9-dev amd64 4.9.1-12 [372 kB] Get:7 http://localhost:9999/debian/ unstable/main libclang1-3.5 amd64 1:3.5-1 [3628 kB] Get:8 http://localhost:9999/debian/ unstable/main libclang-common-3.5-dev amd64 1:3.5-1 [677 kB] Get:9 http://localhost:9999/debian/ unstable/main clang-3.5 amd64 1:3.5-1 [20.7 MB] debconf: delaying package configuration, since apt-utils is not installed Fetched 33.3 MB in 0s (33.5 MB/s) Selecting previously unselected package libbsd0:amd64. (Reading database ... 15135 files and directories currently installed.) Preparing to unpack .../libbsd0_0.7.0-2_amd64.deb ... Unpacking libbsd0:amd64 (0.7.0-2) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../libedit2_3.1-20140620-2_amd64.deb ... Unpacking libedit2:amd64 (3.1-20140620-2) ... Selecting previously unselected package libffi6:amd64. Preparing to unpack .../libffi6_3.1-2_amd64.deb ... Unpacking libffi6:amd64 (3.1-2) ... Selecting previously unselected package libllvm3.5:amd64. Preparing to unpack .../libllvm3.5_1%3a3.5-1_amd64.deb ... Unpacking libllvm3.5:amd64 (1:3.5-1) ... Selecting previously unselected package libobjc4:amd64. Preparing to unpack .../libobjc4_4.9.1-12_amd64.deb ... Unpacking libobjc4:amd64 (4.9.1-12) ... Selecting previously unselected package libobjc-4.9-dev:amd64. Preparing to unpack .../libobjc-4.9-dev_4.9.1-12_amd64.deb ... Unpacking libobjc-4.9-dev:amd64 (4.9.1-12) ... Selecting previously unselected package libclang1-3.5:amd64. Preparing to unpack .../libclang1-3.5_1%3a3.5-1_amd64.deb ... Unpacking libclang1-3.5:amd64 (1:3.5-1) ... Selecting previously unselected package libclang-common-3.5-dev. Preparing to unpack .../libclang-common-3.5-dev_1%3a3.5-1_amd64.deb ... Unpacking libclang-common-3.5-dev (1:3.5-1) ... Selecting previously unselected package clang-3.5. Preparing to unpack .../clang-3.5_1%3a3.5-1_amd64.deb ... Unpacking clang-3.5 (1:3.5-1) ... Setting up libbsd0:amd64 (0.7.0-2) ... Setting up libedit2:amd64 (3.1-20140620-2) ... Setting up libffi6:amd64 (3.1-2) ... Setting up libllvm3.5:amd64 (1:3.5-1) ... Setting up libobjc4:amd64 (4.9.1-12) ... Setting up libobjc-4.9-dev:amd64 (4.9.1-12) ... Setting up libclang1-3.5:amd64 (1:3.5-1) ... Setting up libclang-common-3.5-dev (1:3.5-1) ... Setting up clang-3.5 (1:3.5-1) ... Processing triggers for libc-bin (2.19-10) ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8 4.9' + cd /usr/bin + for VERSION in '$VERSIONS' + rm -f g++-4.6 gcc-4.6 cpp-4.6 gcc + ln -s clang++-3.5 g++-4.6 + ln -s clang-3.5 gcc-4.6 + ln -s clang-3.5 cpp-4.6 + ln -s clang-3.5 gcc + echo 'gcc-4.6 hold' + dpkg --set-selections + echo 'g++-4.6 hold' + dpkg --set-selections + for VERSION in '$VERSIONS' + rm -f g++-4.7 gcc-4.7 cpp-4.7 gcc + ln -s clang++-3.5 g++-4.7 + ln -s clang-3.5 gcc-4.7 + ln -s clang-3.5 cpp-4.7 + ln -s clang-3.5 gcc + echo 'gcc-4.7 hold' + dpkg --set-selections + echo 'g++-4.7 hold' + dpkg --set-selections + for VERSION in '$VERSIONS' + rm -f g++-4.8 gcc-4.8 cpp-4.8 gcc + ln -s clang++-3.5 g++-4.8 + ln -s clang-3.5 gcc-4.8 + ln -s clang-3.5 cpp-4.8 + ln -s clang-3.5 gcc + echo 'gcc-4.8 hold' + dpkg --set-selections dpkg: warning: package not in database at line 1: gcc-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method + echo 'g++-4.8 hold' + dpkg --set-selections dpkg: warning: package not in database at line 1: g++-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method + for VERSION in '$VERSIONS' + rm -f g++-4.9 gcc-4.9 cpp-4.9 gcc + ln -s clang++-3.5 g++-4.9 + ln -s clang-3.5 gcc-4.9 + ln -s clang-3.5 cpp-4.9 + ln -s clang-3.5 gcc + echo 'gcc-4.9 hold' + dpkg --set-selections + echo 'g++-4.9 hold' + dpkg --set-selections + cd - /«BUILDDIR» + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + gcc --version + grep clang + cpp --version + grep clang + g++ --version + grep clang I: Finished running '/tmp/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-qAp3Yv/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/816 B of archives. After this operation, 0 B of additional disk space will be used. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 15338 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, init, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit-utils, tar, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.9.1), g++ (>= 4:4.9.1), make, dpkg-dev (>= 1.17.11), libboost-dev, debhelper (>= 9), flex, bison Filtered Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, init, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit-utils, tar, util-linux, libc6-dev, gcc (>= 4:4.9.1), g++ (>= 4:4.9.1), make, dpkg-dev (>= 1.17.11), libboost-dev, debhelper (>= 9), flex, bison dpkg-deb: building package `sbuild-build-depends-foundry-dummy' in `/«BUILDDIR»/resolver-8O1S_Z/apt_archive/sbuild-build-depends-foundry-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install foundry build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: bison bsdmainutils debhelper file flex gettext gettext-base groff-base intltool-debian libasprintf0c2 libbison-dev libboost-dev libboost1.55-dev libcroco3 libfl-dev libglib2.0-0 libmagic1 libpipeline1 libsigsegv2 libunistring0 libxml2 m4 man-db po-debconf Suggested packages: bison-doc wamerican wordlist whois vacation dh-make gettext-doc groff libboost-doc libboost1.55-doc libboost-atomic1.55-dev libboost-chrono1.55-dev libboost-context1.55-dev libboost-coroutine1.55-dev libboost-date-time1.55-dev libboost-exception1.55-dev libboost-filesystem1.55-dev libboost-graph1.55-dev libboost-graph-parallel1.55-dev libboost-iostreams1.55-dev libboost-locale1.55-dev libboost-log1.55-dev libboost-math1.55-dev libboost-mpi1.55-dev libboost-mpi-python1.55-dev libboost-program-options1.55-dev libboost-python1.55-dev libboost-random1.55-dev libboost-regex1.55-dev libboost-serialization1.55-dev libboost-signals1.55-dev libboost-system1.55-dev libboost-test1.55-dev libboost-thread1.55-dev libboost-timer1.55-dev libboost-wave1.55-dev libboost1.55-tools-dev libmpfrc++-dev libntl-dev 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: bison bsdmainutils debhelper file flex gettext gettext-base groff-base intltool-debian libasprintf0c2 libbison-dev libboost-dev libboost1.55-dev libcroco3 libfl-dev libglib2.0-0 libmagic1 libpipeline1 libsigsegv2 libunistring0 libxml2 m4 man-db po-debconf sbuild-build-depends-foundry-dummy 0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded. Need to get 16.5 MB/16.5 MB of archives. After this operation, 128 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libpipeline1 amd64 1.3.0-1 [25.8 kB] Get:2 http://localhost:9999/debian/ unstable/main groff-base amd64 1.22.2-7 [1142 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.7.1-1 [990 kB] Get:5 http://localhost:9999/debian/ unstable/main libasprintf0c2 amd64 0.19.2-2 [30.8 kB] Get:6 http://localhost:9999/debian/ unstable/main libmagic1 amd64 1:5.19-1 [237 kB] Get:7 http://localhost:9999/debian/ unstable/main libxml2 amd64 2.9.1+dfsg1-4 [797 kB] Get:8 http://localhost:9999/debian/ unstable/main libsigsegv2 amd64 2.10-4 [28.8 kB] Get:9 http://localhost:9999/debian/ unstable/main m4 amd64 1.4.17-4 [254 kB] Get:10 http://localhost:9999/debian/ unstable/main libfl-dev amd64 2.5.39-8 [75.0 kB] Get:11 http://localhost:9999/debian/ unstable/main flex amd64 2.5.39-8 [422 kB] Get:12 http://localhost:9999/debian/ unstable/main libglib2.0-0 amd64 2.40.0-5 [2421 kB] Get:13 http://localhost:9999/debian/ unstable/main libcroco3 amd64 0.6.8-3 [135 kB] Get:14 http://localhost:9999/debian/ unstable/main libunistring0 amd64 0.9.3-5.2 [283 kB] Get:15 http://localhost:9999/debian/ unstable/main file amd64 1:5.19-1 [58.0 kB] Get:16 http://localhost:9999/debian/ unstable/main gettext-base amd64 0.19.2-2 [120 kB] Get:17 http://localhost:9999/debian/ unstable/main libbison-dev amd64 2:3.0.2.dfsg-2 [426 kB] Get:18 http://localhost:9999/debian/ unstable/main bison amd64 2:3.0.2.dfsg-2 [765 kB] Get:19 http://localhost:9999/debian/ unstable/main gettext amd64 0.19.2-2 [1237 kB] Get:20 http://localhost:9999/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:21 http://localhost:9999/debian/ unstable/main po-debconf all 1.0.16+nmu3 [220 kB] Get:22 http://localhost:9999/debian/ unstable/main debhelper all 9.20140817 [814 kB] Get:23 http://localhost:9999/debian/ unstable/main libboost1.55-dev amd64 1.55.0+dfsg-2 [5812 kB] Get:24 http://localhost:9999/debian/ unstable/main libboost-dev amd64 1.55.0.2 [3368 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 16.5 MB in 1s (13.4 MB/s) Selecting previously unselected package libpipeline1:amd64. (Reading database ... 15338 files and directories currently installed.) Preparing to unpack .../libpipeline1_1.3.0-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.3.0-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../groff-base_1.22.2-7_amd64.deb ... Unpacking groff-base (1.22.2-7) ... 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.7.1-1_amd64.deb ... Unpacking man-db (2.6.7.1-1) ... Selecting previously unselected package libasprintf0c2:amd64. Preparing to unpack .../libasprintf0c2_0.19.2-2_amd64.deb ... Unpacking libasprintf0c2:amd64 (0.19.2-2) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../libmagic1_1%3a5.19-1_amd64.deb ... Unpacking libmagic1:amd64 (1:5.19-1) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../libxml2_2.9.1+dfsg1-4_amd64.deb ... Unpacking libxml2:amd64 (2.9.1+dfsg1-4) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../libsigsegv2_2.10-4_amd64.deb ... Unpacking libsigsegv2:amd64 (2.10-4) ... Selecting previously unselected package m4. Preparing to unpack .../archives/m4_1.4.17-4_amd64.deb ... Unpacking m4 (1.4.17-4) ... Selecting previously unselected package libfl-dev:amd64. Preparing to unpack .../libfl-dev_2.5.39-8_amd64.deb ... Unpacking libfl-dev:amd64 (2.5.39-8) ... Selecting previously unselected package flex. Preparing to unpack .../flex_2.5.39-8_amd64.deb ... Unpacking flex (2.5.39-8) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../libglib2.0-0_2.40.0-5_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.40.0-5) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../libcroco3_0.6.8-3_amd64.deb ... Unpacking libcroco3:amd64 (0.6.8-3) ... Selecting previously unselected package libunistring0:amd64. Preparing to unpack .../libunistring0_0.9.3-5.2_amd64.deb ... Unpacking libunistring0:amd64 (0.9.3-5.2) ... Selecting previously unselected package file. Preparing to unpack .../file_1%3a5.19-1_amd64.deb ... Unpacking file (1:5.19-1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../gettext-base_0.19.2-2_amd64.deb ... Unpacking gettext-base (0.19.2-2) ... Selecting previously unselected package libbison-dev:amd64. Preparing to unpack .../libbison-dev_2%3a3.0.2.dfsg-2_amd64.deb ... Unpacking libbison-dev:amd64 (2:3.0.2.dfsg-2) ... Selecting previously unselected package bison. Preparing to unpack .../bison_2%3a3.0.2.dfsg-2_amd64.deb ... Unpacking bison (2:3.0.2.dfsg-2) ... Selecting previously unselected package gettext. Preparing to unpack .../gettext_0.19.2-2_amd64.deb ... Unpacking gettext (0.19.2-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../intltool-debian_0.35.0+20060710.1_all.deb ... Unpacking intltool-debian (0.35.0+20060710.1) ... Selecting previously unselected package po-debconf. Preparing to unpack .../po-debconf_1.0.16+nmu3_all.deb ... Unpacking po-debconf (1.0.16+nmu3) ... Selecting previously unselected package debhelper. Preparing to unpack .../debhelper_9.20140817_all.deb ... Unpacking debhelper (9.20140817) ... Selecting previously unselected package libboost1.55-dev:amd64. Preparing to unpack .../libboost1.55-dev_1.55.0+dfsg-2_amd64.deb ... Unpacking libboost1.55-dev:amd64 (1.55.0+dfsg-2) ... Selecting previously unselected package libboost-dev:amd64. Preparing to unpack .../libboost-dev_1.55.0.2_amd64.deb ... Unpacking libboost-dev:amd64 (1.55.0.2) ... Selecting previously unselected package sbuild-build-depends-foundry-dummy. Preparing to unpack .../sbuild-build-depends-foundry-dummy.deb ... Unpacking sbuild-build-depends-foundry-dummy (0.invalid.0) ... Setting up libpipeline1:amd64 (1.3.0-1) ... Setting up groff-base (1.22.2-7) ... 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.7.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libasprintf0c2:amd64 (0.19.2-2) ... Setting up libmagic1:amd64 (1:5.19-1) ... Setting up libxml2:amd64 (2.9.1+dfsg1-4) ... Setting up libsigsegv2:amd64 (2.10-4) ... Setting up m4 (1.4.17-4) ... Setting up libfl-dev:amd64 (2.5.39-8) ... Setting up flex (2.5.39-8) ... Setting up libglib2.0-0:amd64 (2.40.0-5) ... No schema files found: doing nothing. Setting up libcroco3:amd64 (0.6.8-3) ... Setting up libunistring0:amd64 (0.9.3-5.2) ... Setting up file (1:5.19-1) ... Setting up gettext-base (0.19.2-2) ... Setting up libbison-dev:amd64 (2:3.0.2.dfsg-2) ... Setting up bison (2:3.0.2.dfsg-2) ... update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode Setting up gettext (0.19.2-2) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu3) ... Setting up debhelper (9.20140817) ... Setting up libboost1.55-dev:amd64 (1.55.0+dfsg-2) ... Setting up libboost-dev:amd64 (1.55.0.2) ... Setting up sbuild-build-depends-foundry-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.19-10) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-xen-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.24.51.20140903-1 dpkg-dev_1.17.13 g++-4.6_4.6.4-7 g++-4.9_4.9.1-12 gcc-4.6_4.6.4-7 gcc-4.7_4.7.4-3 gcc-4.9_4.9.1-12 libc6-dev_2.19-10 libstdc++-4.9-dev_4.9.1-12 libstdc++6_4.9.1-12 libstdc++6-4.6-dev_4.6.4-7 linux-libc-dev_3.14.15-2 Package versions: acl_2.2.52-1.1 adduser_3.113+nmu3 apt_1.0.7 base-files_7.5 base-passwd_3.5.35 bash_4.3-9 binutils_2.24.51.20140903-1 bison_2:3.0.2.dfsg-2 bsdmainutils_9.0.5 bsdutils_1:2.20.1-5.8 build-essential_11.7 bzip2_1.0.6-7 clang-3.5_1:3.5-1 coreutils_8.23-2 cpp_4:4.9.1-3 cpp-4.6_4.6.4-7 cpp-4.7_4.7.4-3 cpp-4.9_4.9.1-12 dash_0.5.7-4 dbus_1.8.6-2 debconf_1.5.53 debconf-i18n_1.5.53 debfoster_2.7-2 debhelper_9.20140817 debian-archive-keyring_2014.1 debianutils_4.4 diffutils_1:3.3-1 dmsetup_2:1.02.88-1 dpkg_1.17.13 dpkg-dev_1.17.13 e2fslibs_1.42.12-1 e2fsprogs_1.42.12-1 fakeroot_1.20.1-1.1 file_1:5.19-1 findutils_4.4.2-9 flex_2.5.39-8 g++_4:4.9.1-3 g++-4.6_4.6.4-7 g++-4.9_4.9.1-12 gcc_4:4.9.1-3 gcc-4.4-base_4.4.7-8 gcc-4.5-base_4.5.4-1 gcc-4.6_4.6.4-7 gcc-4.6-base_4.6.4-7 gcc-4.7_4.7.4-3 gcc-4.7-base_4.7.4-3 gcc-4.8-base_4.8.3-10 gcc-4.9_4.9.1-12 gcc-4.9-base_4.9.1-12 gettext_0.19.2-2 gettext-base_0.19.2-2 gnupg_1.4.18-3 gpgv_1.4.18-3 grep_2.20-2 groff-base_1.22.2-7 gzip_1.6-3 hostname_3.15 init_1.21 initscripts_2.88dsf-53.4 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 libacl1_2.2.52-1.1 libalgorithm-c3-perl_0.09-1 libapt-pkg4.12_1.0.7 libarchive-extract-perl_0.72-1 libasan1_4.9.1-12 libasprintf0c2_0.19.2-2 libatomic1_4.9.1-12 libattr1_1:2.4.47-1 libaudit-common_1:2.3.7-1 libaudit1_1:2.3.7-1 libbison-dev_2:3.0.2.dfsg-2 libblkid1_2.20.1-5.8 libboost-dev_1.55.0.2 libboost1.55-dev_1.55.0+dfsg-2 libbsd0_0.7.0-2 libbz2-1.0_1.0.6-7 libc-bin_2.19-10 libc-dev-bin_2.19-10 libc6_2.19-10 libc6-dev_2.19-10 libcap-ng0_0.7.4-2 libcap2_1:2.24-4 libcap2-bin_1:2.24-4 libcgi-fast-perl_1:2.02-1 libcgi-pm-perl_4.03-1 libcilkrts5_4.9.1-12 libclang-common-3.5-dev_1:3.5-1 libclang1-3.5_1:3.5-1 libclass-c3-perl_0.26-1 libclass-c3-xs-perl_0.13-2+b1 libclass-isa-perl_0.36-5 libcloog-isl4_0.18.2-1 libcloog-ppl1_0.16.1-5 libcomerr2_1.42.12-1 libcroco3_0.6.8-3 libcryptsetup4_2:1.6.6-1 libdata-optlist-perl_0.109-1 libdata-section-perl_0.200006-1 libdb5.1_5.1.29-5 libdb5.3_5.3.28-6 libdbus-1-3_1.8.6-2 libdebconfclient0_0.191 libdevmapper1.02.1_2:1.02.88-1 libdpkg-perl_1.17.13 libedit2_3.1-20140620-2 libexpat1_2.1.0-6 libfakeroot_1.20.1-1.1 libfcgi-perl_0.77-1+b1 libffi6_3.1-2 libfile-fcntllock-perl_0.22-1+b1 libfl-dev_2.5.39-8 libgc1c2_1:7.2d-6.3 libgcc-4.7-dev_4.7.4-3 libgcc-4.9-dev_4.9.1-12 libgcc1_1:4.9.1-12 libgcrypt11_1.5.4-3 libgcrypt20_1.6.2-3 libgdbm3_1.8.3-13 libglib2.0-0_2.40.0-5 libgmp10_2:6.0.0+dfsg-6 libgmpxx4ldbl_2:6.0.0+dfsg-6 libgomp1_4.9.1-12 libgpg-error0_1.13-4 libgpm2_1.20.4-6.1 libisl10_0.12.2-2 libitm1_4.9.1-12 libkmod2_18-1 libllvm3.5_1:3.5-1 liblocale-gettext-perl_1.05-8+b1 liblog-message-perl_0.8-1 liblog-message-simple-perl_0.10-2 liblsan0_4.9.1-12 liblzma5_5.1.1alpha+20120614-2 libmagic1_1:5.19-1 libmodule-build-perl_0.420800-1 libmodule-pluggable-perl_5.1-1 libmodule-signature-perl_0.73-1 libmount1_2.20.1-5.8 libmpc2_0.9-4 libmpc3_1.0.2-1 libmpfr4_3.1.2-1 libmro-compat-perl_0.12-1 libncurses5_5.9+20140712-2 libncursesw5_5.9+20140712-2 libobjc-4.9-dev_4.9.1-12 libobjc4_4.9.1-12 libpackage-constants-perl_0.04-1 libpam-cap_1:2.24-4 libpam-modules_1.1.8-3.1 libpam-modules-bin_1.1.8-3.1 libpam-runtime_1.1.8-3.1 libpam-systemd_208-8 libpam0g_1.1.8-3.1 libparams-util-perl_1.07-2+b1 libpcre3_1:8.35-3 libpipeline1_1.3.0-1 libpod-latex-perl_0.61-1 libpod-readme-perl_0.11-1 libppl-c4_1:1.1-3 libppl13_1:1.1-3 libprocps3_1:3.3.9-7 libquadmath0_4.9.1-12 libreadline6_6.3-8 libregexp-common-perl_2013031301-1 libselinux1_2.3-2 libsemanage-common_2.3-1 libsemanage1_2.3-1 libsepol1_2.3-2 libsigsegv2_2.10-4 libslang2_2.2.4-17 libsoftware-license-perl_0.103010-1 libss2_1.42.12-1 libstdc++-4.9-dev_4.9.1-12 libstdc++6_4.9.1-12 libstdc++6-4.6-dev_4.6.4-7 libsub-exporter-perl_0.986-1 libsub-install-perl_0.928-1 libswitch-perl_2.17-1 libsystemd-daemon0_208-8 libsystemd-journal0_208-8 libsystemd-login0_208-8 libterm-ui-perl_0.42-1 libtext-charwidth-perl_0.04-7+b3 libtext-iconv-perl_1.7-5+b2 libtext-soundex-perl_3.4-1+b2 libtext-template-perl_1.46-1 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_2.3000-2 libtinfo5_5.9+20140712-2 libtsan0_4.9.1-12 libubsan0_4.9.1-12 libudev1_208-8 libunistring0_0.9.3-5.2 libusb-0.1-4_2:0.1.12-24 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.8 libwrap0_7.6.q-25 libxml2_2.9.1+dfsg1-4 linux-libc-dev_3.14.15-2 login_1:4.2-2+b1 lsb-base_4.1+Debian13 m4_1.4.17-4 make_4.0-8 man-db_2.6.7.1-1 mawk_1.3.3-17 mount_2.20.1-5.8 multiarch-support_2.19-10 ncurses-base_5.9+20140712-2 ncurses-bin_5.9+20140712-2 passwd_1:4.2-2+b1 patch_2.7.1-6 perl_5.20.0-6 perl-base_5.20.0-6 perl-modules_5.20.0-6 po-debconf_1.0.16+nmu3 procps_1:3.3.9-7 psmisc_22.21-2 readline-common_6.3-8 rename_0.20-3 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-foundry-dummy_0.invalid.0 sed_4.2.2-4 sensible-utils_0.0.9 startpar_0.59-3 sudo_1.8.9p5-1 systemd_208-8 systemd-sysv_208-8 sysv-rc_2.88dsf-53.4 sysvinit_2.88dsf-53.4 sysvinit-utils_2.88dsf-53.4 tar_1.27.1-2 tcpd_7.6.q-25 tzdata_2014g-1 ucf_3.0030 udev_208-8 util-linux_2.20.1-5.8 vim_2:7.4.430-1 vim-common_2:7.4.430-1 vim-runtime_2:7.4.430-1 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.8.dfsg-2 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Fri Aug 9 16:49:33 2013 UTC using RSA key ID 57DFBFBB gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./foundry_0.0.20130809-2.dsc dpkg-source: info: extracting foundry in foundry-0.0.20130809 dpkg-source: info: unpacking foundry_0.0.20130809.orig.tar.bz2 dpkg-source: info: unpacking foundry_0.0.20130809-2.debian.tar.gz dpkg-source: info: applying distclean dpkg-source: info: applying c++11 dpkg-source: info: applying warning dpkg-source: info: applying include dpkg-source: info: applying test dpkg-source: info: applying install dpkg-source: info: applying gcc48 dpkg-source: info: applying nothrow Check disc space ──────────────── Sufficient free space for build Hack binNMU version ─────────────────── Created changelog entry for binNMU version 0.0.20130809-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-98f84f59-9467-4ebc-acb3-3eb075dcaaed SCHROOT_UID=1000 SCHROOT_USER=user SHELL=/bin/sh USER=user dpkg-buildpackage ───────────────── dpkg-buildpackage: source package foundry dpkg-buildpackage: source version 0.0.20130809-2clang1 dpkg-buildpackage: source distribution unstable dpkg-source --before-build foundry-0.0.20130809 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh clean --parallel dh_testdir -O--parallel dh_auto_clean -O--parallel dh_clean -O--parallel debian/rules build-arch dh build-arch --parallel dh_testdir -a -O--parallel dh_auto_configure -a -O--parallel debian/rules override_dh_auto_build make[1]: Entering directory '/«PKGBUILDDIR»' dh_auto_build --parallel -- CXXFLAGS+='-W -Wall -Werror' Makefile:3: *** mixed implicit and normal rules: deprecated syntax make[2]: Entering directory '/«PKGBUILDDIR»' make -C lang all make[3]: Entering directory '/«PKGBUILDDIR»/lang' cp tree_bison.yy stage2/tree_bison.yy cp tree_cst.yy stage2/tree_cst.yy bison -d tree_bison.yy -o stage1/tree_bison_parse.cpp bison -d tree_cst.yy -o stage1/tree_cst_parse.cpp bison -d parse_cst.yy -o stage1/parse_cst_parse.cpp tree_bison.yy:35.1-13: warning: deprecated directive, use '%name-prefix' [-Wdeprecated] cd stage1 && flex -o tree_bison_lex.cpp --header-file=tree_bison_lex.hpp ../tree_bison.ll %name-prefix="tree_bison_" ^^^^^^cd stage1 && flex -o tree_cst_lex.cpp --header-file=tree_cst_lex.hpp ../tree_cst.ll ^^^^^^^ cd stage1 && flex -o parse_cst_lex.cpp --header-file=parse_cst_lex.hpp ../parse_cst.ll cp tree_bison.ll stage2/tree_bison.ll tree_cst.yy:68.1-13: warning: deprecated directive, use '%name-prefix' [-Wdeprecated] %name-prefix="tree_cst_" ^^^^^^^^^^^^^ cp tree_cst.ll stage2/tree_cst.ll bison -d stage2/tree_bison.yy -o stage2/tree_bison_parse.cpp bison -d stage2/tree_cst.yy -o stage2/tree_cst_parse.cpp stage2/tree_bison.yy:35parse_cst.yy:19.1-13: warning: deprecated directive, use '%name-prefix' [-Wdeprecated] %name-prefix="parse_cst_" cd stage2 && flex -o tree_bison_lex.cpp --header-file=tree_bison_lex.hpp tree_bison.ll ^^^^^^^^^^^^^ cd stage2 && flex -o tree_cst_lex.cpp --header-file=tree_cst_lex.hpp tree_cst.ll .1-13: warning: deprecated directive, use '%name-prefix' [-Wdeprecated] stage2/tree_cst.yy:68.1-13: warning: deprecated directive, use '%name-prefix' [-Wdeprecated] %name-prefix="tree_cst_" ^^^^^^^^^^^^^ %name-prefix="tree_bison_" ^^^^^^^^^^^^^ test -f stage1/tree_bison_lex.hpp || (rm -f stage1/tree_bison_lex.cpp && make stage1/tree_bison_lex.cpp) test -f stage1/tree_cst_lex.hpp || (rm -f stage1/tree_cst_lex.cpp && make stage1/tree_cst_lex.cpp) test -f stage1/parse_cst_lex.hpp || (rm -f stage1/parse_cst_lex.cpp && make stage1/parse_cst_lex.cpp) touch stage1/tree_bison_lex.hpp touch stage1/tree_cst_lex.hpp touch stage1/parse_cst_lex.hpp test -f stage2/tree_bison_lex.hpp || (rm -f stage2/tree_bison_lex.cpp && make stage2/tree_bison_lex.cpp) test -f stage2/tree_cst_lex.hpp || (rm -f stage2/tree_cst_lex.cpp && make stage2/tree_cst_lex.cpp) touch stage2/tree_bison_lex.hpp touch stage2/tree_cst_lex.hpp test -f stage1/tree_bison_parse.hpp || (rm -f stage1/tree_bison_parse.cpp && make stage1/tree_bison_parse.cpp) touch stage1/tree_bison_parse.hpp test -f stage2/tree_bison_parse.hpp || (rm -f stage2/tree_bison_parse.cpp && make stage2/tree_bison_parse.cpp) touch stage2/tree_bison_parse.hpp test -f stage1/parse_cst_parse.hpp || (rm -f stage1/parse_cst_parse.cpp && make stage1/parse_cst_parse.cpp) touch stage1/parse_cst_parse.hpp test -f stage1/tree_cst_parse.hpp || (rm -f stage1/tree_cst_parse.cpp && make stage1/tree_cst_parse.cpp) touch stage1/tree_cst_parse.hpp g++ -D_FORTIFY_SOURCE=2 -Istage1 -I. -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -W -Wall -Werror -std=c++0x -MD -MF stage1/.foundry-parse.d -o stage1/foundry-parse.o -c foundry-parse.cpp g++ -D_FORTIFY_SOURCE=2 -Istage1 -I. -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -W -Wall -Werror -std=c++0x -MD -MF stage1/.bison_to_ast_visitor.d -o stage1/bison_to_ast_visitor.o -c bison_to_ast_visitor.cpp g++ -D_FORTIFY_SOURCE=2 -Istage1 -I. -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -W -Wall -Werror -std=c++0x -Wno-unused-parameter -MD -MF stage1/.parse_cst_lex.d -o stage1/parse_cst_lex.o -c stage1/parse_cst_lex.cpp g++ -D_FORTIFY_SOURCE=2 -Istage1 -I. -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -W -Wall -Werror -std=c++0x -MD -MF stage1/.header_output_visitor.d -o stage1/header_output_visitor.o -c header_output_visitor.cpp g++ -D_FORTIFY_SOURCE=2 -Istage1 -I. -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -W -Wall -Werror -std=c++0x -MD -MF stage1/.impl_output_visitor.d -o stage1/impl_output_visitor.o -c impl_output_visitor.cpp g++ -D_FORTIFY_SOURCE=2 -Istage1 -I. -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -W -Wall -Werror -std=c++0x -MD -MF stage1/.inline_simple_visitor.d -o stage1/inline_simple_visitor.o -c inline_simple_visitor.cpp g++ -D_FORTIFY_SOURCE=2 -Istage1 -I. -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -W -Wall -Werror -std=c++0x -MD -MF stage1/.lex_output_visitor.d -o stage1/lex_output_visitor.o -c lex_output_visitor.cpp g++ -D_FORTIFY_SOURCE=2 -Istage1 -I. -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -W -Wall -Werror -std=c++0x -MD -MF stage1/.mark_nodes_visitor.d -o stage1/mark_nodes_visitor.o -c mark_nodes_visitor.cpp g++ -D_FORTIFY_SOURCE=2 -Istage1 -I. -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -W -Wall -Werror -std=c++0x -MD -MF stage1/.bison_output_visitor.d -o stage1/bison_output_visitor.o -c bison_output_visitor.cpp g++ -D_FORTIFY_SOURCE=2 -Istage1 -I. -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -W -Wall -Werror -std=c++0x -MD -MF stage1/.parse_cst_cst.d -o stage1/parse_cst_cst.o -c parse_cst_cst.cpp In file included from parse_cst_cst.cpp:1: ./parse_cst_cst.hpp:135:1: error: 'node_const_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_const_visitor ^ ./parse_cst_cst.hpp:30:1: note: did you mean class here? struct node_const_visitor; ^~~~~~ class In file included from bison_to_ast_visitor.cpp:6: In file included from ./bison_to_ast_visitor.hpp:9: ./tree_bison_cst.hpp:94:1: error: 'node_const_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_const_visitor ^ ./tree_bison_cst.hpp:25:1: note: did you mean class here? struct node_const_visitor; ^~~~~~ class In file included from inline_simple_visitor.cpp:5: In file included from ./inline_simple_visitor.h:4: ./parse_tree.hpp:60:1: error: 'node_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_visitor ^ ./parse_tree.hpp:16:1: note: did you mean class here? struct node_visitor; ^~~~~~ class In file included from bison_output_visitor.cpp:5: In file included from ./bison_output_visitor.h:4: ./parse_tree.hpp:60:1: error: 'node_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_visitor ^ ./parse_tree.hpp:16:1: note: did you mean class here? struct node_visitor; ^~~~~~ class ./parse_tree.hppIn file included from foundry-parse.cpp:1: In file included from ./parse_cst_to_ast_visitor.h:4: ./parse_cst_cst.hpp:135:1: error: 'node_const_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_const_visitor ^ ./parse_cst_cst.hpp:30:1: note: did you mean class here? struct node_const_visitor; ^~~~~~ class ./parse_tree.hpp:101:1: error: 'node_const_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_const_visitor ^ ./parse_tree.hpp:15:1: note: did you mean class here? struct node_const_visitor; ^~~~~~ class :101:1: error: 'node_const_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_const_visitor ^ ./parse_tree.hpp:15:1: note: did you mean class here? struct node_const_visitor; ^~~~~~ class In file included from ../parse_cst.ll:2: ./parse_cst_cst.hpp:135:1: error: 'node_const_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_const_visitor ^ ./parse_cst_cst.hpp:30:1: note: did you mean class here? struct node_const_visitor; ^~~~~~ class In file included from lex_output_visitor.cpp:5: In file included from ./lex_output_visitor.h:4: ./parse_tree.hpp:60:1: error: 'node_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_visitor ^ ./parse_tree.hpp:16:1: note: did you mean class here? struct node_visitor; ^~~~~~ class ./parse_tree.hpp:101:1: error: 'node_const_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_const_visitor ^ ./parse_tree.hpp:15:1: note: did you mean class here? struct node_const_visitor; ^~~~~~ class In file included from foundry-parse.cpp:1: In file included from ./parse_cst_to_ast_visitor.h:5: ./parse_tree.hpp:60:1: error: 'node_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_visitor ^ ./parse_tree.hpp:16:1: note: did you mean class here? struct node_visitor; ^~~~~~ class ./parse_tree.hpp:101:1: error: 'node_const_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_const_visitor ^ ./parse_tree.hpp:15:1: note: did you mean class here? struct node_const_visitor; ^~~~~~ class parse_cst_lex.cpp:765:2: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] register yy_state_type yy_current_state; ^~~~~~~~~ parse_cst_lex.cpp:766:2: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] register char *yy_cp, *yy_bp; ^~~~~~~~~ parse_cst_lex.cpp:766:2: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] register char *yy_cp, *yy_bp; ^~~~~~~~~ parse_cst_lex.cpp:767:2: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] register int yy_act; ^~~~~~~~~ parse_cst_lex.cpp:822:4: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; ^~~~~~~~~ parse_cst_lex.cpp:1116:2: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; ^~~~~~~~~ parse_cst_lex.cpp:1117:2: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] register char *source = yyg->yytext_ptr; ^~~~~~~~~ parse_cst_lex.cpp:1118:2: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] register int number_to_move, i; ^~~~~~~~~ parse_cst_lex.cpp:1118:2: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] In file included from impl_output_visitor.cpp:6: In file included from ./impl_output_visitor.hpp:9: ./tree_tree.hpp:77:1: error: 'node_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_visitor ^ ./tree_tree.hpp:27:1: note: did you mean class here? struct node_visitor; ^~~~~~ class In file included from mark_nodes_visitor.cpp:1: In file included from ./mark_nodes_visitor.hpp:4: ./tree_tree.hpp:77:1: error: 'node_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_visitor ^ ./tree_tree.hpp:27:1: 1 error generated. register int number_to_move, i; ^~~~~~~~~ parse_cst_lex.cpp:1250:2: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] register yy_state_type yy_current_state; ^~~~~~~~~ parse_cst_lex.cpp:1251:2: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] register char *yy_cp; ^~~~~~~~~ parse_cst_lex.cpp:1258:3: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); ^~~~~~~~~ note: did you mean class here? struct node_visitor; ^~~~~~ class parse_cst_lex.cpp:1283:2: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] register int yy_is_jam; ^~~~~~~~~ parse_cst_lex.cpp:1285:2: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] register char *yy_cp = yyg->yy_c_buf_p; ^~~~~~~~~ parse_cst_lex.cpp:1287:2: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] register YY_CHAR yy_c = 1; ^~~~~~~~~ make[3]: *** [stage1/parse_cst_cst.o] Error 1 make[3]: *** Waiting for unfinished jobs.... Makefile:183: recipe for target 'stage1/parse_cst_cst.o' failed ./tree_tree.hpp:124:1: error: 'node_const_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_const_visitor ^ ./tree_tree.hpp:26:1: note: did you mean class here? struct node_const_visitor; ^~~~~~ class ./tree_tree.hpp:124:1: error: 'node_const_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_const_visitor ^ ./tree_tree.hpp:26:1: note: did you mean class here? struct node_const_visitor; ^~~~~~ class In file included from bison_to_ast_visitor.cpp:6: In file included from ./bison_to_ast_visitor.hpp:10: ./tree_tree.hpp:77:1: error: 'node_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_visitor ^ ./tree_tree.hpp:27:1: note: did you mean class here? struct node_visitor; ^~~~~~ class ./tree_tree.hpp:124:1: error: 'node_const_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_const_visitor ^ ./tree_tree.hpp:26:1: note: did you mean class here? struct node_const_visitor; ^~~~~~ class In file included from header_output_visitor.cpp:6: In file included from ./header_output_visitor.hpp:9: ./tree_tree.hpp:77:1: error: 'node_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_visitor ^ ./tree_tree.hpp:27:1: note: did you mean class here? struct node_visitor; ^~~~~~ class 16 errors generated. ./tree_tree.hpp:124:1: error: 'node_const_visitor' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags] class node_const_visitor ^ ./tree_tree.hpp:26:1: note: did you mean class here? struct node_const_visitor; ^~~~~~ class In file included from bison_output_visitor.cpp:5: ./bison_output_visitor.h:33:14: error: private field 'multiple_alternatives' is not used [-Werror,-Wunused-private-field] bool multiple_alternatives; ^make[3]: *** [stage1/parse_cst_lex.o] Error 1 Makefile:187: recipe for target 'stage1/parse_cst_lex.o' failed 3 errors generated. make[3]: *** [stage1/bison_output_visitor.o] Error 1 Makefile:183: recipe for target 'stage1/bison_output_visitor.o' failed 2 errors generated. In file included from make[3]: *** [stage1/lex_output_visitor.o] Error 1 Makefile:183: recipe for target 'stage1/lex_output_visitor.o' failed inline_simple_visitor.cpp:5: ./inline_simple_visitor.h:27:14: error: private field 'verbose' is not used [-Werror,-Wunused-private-field] bool verbose; ^ 3 errors generated. make[3]: *** [stage1/inline_simple_visitor.o] Error 1 Makefile:183: recipe for target 'stage1/inline_simple_visitor.o' failed 2 errors generated. make[3]: *** [stage1/impl_output_visitor.o] Error 1 Makefile:183: recipe for target 'stage1/impl_output_visitor.o' failed 2 errors generated. make[3]: *** [stage1/mark_nodes_visitor.o] Error 1 Makefile:183: recipe for target 'stage1/mark_nodes_visitor.o' failed 3 errors generated. make[3]: *** [stage1/foundry-parse.o] Error 1 Makefile:183: recipe for target 'stage1/foundry-parse.o' failed 2 errors generated. make[3]: *** [stage1/header_output_visitor.o] Error 1 Makefile:183: recipe for target 'stage1/header_output_visitor.o' failed 3 errors generated. make[3]: *** [stage1/bison_to_ast_visitor.o] Error 1 Makefile:183: recipe for target 'stage1/bison_to_ast_visitor.o' failed rm stage2/tree_cst.ll stage1/tree_cst_lex.cpp stage1/parse_cst_parse.cpp stage2/tree_bison_lex.cpp stage1/tree_bison_parse.cpp stage2/tree_bison.yy stage2/tree_cst.yy stage1/tree_cst_parse.cpp stage1/parse_cst_lex.cpp stage2/tree_cst_lex.cpp stage2/tree_cst_parse.cpp stage2/tree_bison_parse.cpp stage1/tree_bison_lex.cpp stage2/tree_bison.ll make[3]: Leaving directory '/«PKGBUILDDIR»/lang' make[2]: *** [all] Error 2 dh_auto_build: make -j10 CXXFLAGS+=-W -Wall -Werror returned exit code 2 Makefile:4: recipe for target 'all' failed make[2]: Leaving directory '/«PKGBUILDDIR»' make[1]: *** [override_dh_auto_build] Error 2 debian/rules:11: recipe for target 'override_dh_auto_build' failed make[1]: Leaving directory '/«PKGBUILDDIR»' make: *** [build-arch] Error 2 debian/rules:8: recipe for target 'build-arch' failed dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20140904-1831 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Build Architecture: amd64 Build-Space: 1048 Build-Time: 7 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 13 Job: foundry_0.0.20130809-2 Machine Architecture: amd64 Package: foundry Package-Time: 52 Source-Version: 0.0.20130809-2 Space: 1048 Status: attempted Version: 0.0.20130809-2clang1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20140904-1831 Build needed 00:00:52, 1048k disc space DC-Status: Failed 53.011761634s DC-Time-Estimation: 53.011761634 versus expected 425 (r/m: 7.017088791243244 ; m: 53.011761634)