DC-Build-Header: kfreebsd-9 9.0-12 / 2013-07-15 17:20:13 +0000 DC-Task: source:kfreebsd-9 version:9.0-12 architecture:any chroot:unstable esttime:1447 logfile:/tmp/kfreebsd-9_9.0-12_unstable_clang.log modes:binary-only: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 " kfreebsd-9_9.0-12' sbuild (Debian sbuild) 0.63.2 (18 Aug 2012) on ip-10-168-29-90.ec2.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ kfreebsd-9 9.0-12clang1 (amd64) 15 Jul 2013 17:20 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: kfreebsd-9 Version: 9.0-12clang1 Source Version: 9.0-12 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 I: NOTICE: Log filtering will replace 'build/kfreebsd-9-fdCqjI/kfreebsd-9-9.0' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/kfreebsd-9-fdCqjI' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-a7eae01e-8a1d-404a-9fc5-185f484fb794' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Get:1 http://localhost:9999 unstable InRelease [204 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 2013-07-13-2032.15.pdiff [23.1 kB] Get:6 http://localhost:9999 unstable/main amd64 2013-07-13-2032.15.pdiff [16.9 kB] Get:7 http://localhost:9999 unstable/main 2013-07-13-2032.15.pdiff [23.1 kB] Get:8 http://localhost:9999 unstable/main 2013-07-13-2032.15.pdiff [1809 B] Get:9 http://localhost:9999 unstable/main amd64 2013-07-13-2032.15.pdiff [16.9 kB] Get:10 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [12.9 kB] Get:11 http://localhost:9999 unstable/main 2013-07-13-2032.15.pdiff [1809 B] Get:12 http://localhost:9999 unstable/main amd64 2013-07-14-0231.07.pdiff [14.9 kB] Get:13 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [12.9 kB] Get:14 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [1384 B] Get:15 http://localhost:9999 unstable/main amd64 2013-07-14-0231.07.pdiff [14.9 kB] Get:16 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [4670 B] Get:17 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [1384 B] Get:18 http://localhost:9999 unstable/main amd64 2013-07-14-0832.16.pdiff [1624 B] Get:19 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [4670 B] Get:20 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [337 B] Get:21 http://localhost:9999 unstable/main amd64 2013-07-14-0832.16.pdiff [1624 B] Get:22 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [11.4 kB] Get:23 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [337 B] Get:24 http://localhost:9999 unstable/main amd64 2013-07-14-1431.18.pdiff [8223 B] Get:25 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [11.4 kB] Get:26 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [887 B] Get:27 http://localhost:9999 unstable/main amd64 2013-07-14-1431.18.pdiff [8223 B] Get:28 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [9038 B] Get:29 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [887 B] Get:30 http://localhost:9999 unstable/main amd64 2013-07-14-2031.21.pdiff [9955 B] Get:31 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [9038 B] Get:32 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [2736 B] Get:33 http://localhost:9999 unstable/main amd64 2013-07-14-2031.21.pdiff [9955 B] Get:34 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [9715 B] Get:35 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [2736 B] Get:36 http://localhost:9999 unstable/main amd64 2013-07-15-0229.01.pdiff [12.7 kB] Get:37 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [9715 B] Get:38 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [2239 B] Get:39 http://localhost:9999 unstable/main amd64 2013-07-15-0229.01.pdiff [12.7 kB] Get:40 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [3273 B] Get:41 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [2239 B] Get:42 http://localhost:9999 unstable/main amd64 2013-07-15-0830.19.pdiff [3964 B] Get:43 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [3273 B] Get:44 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [1357 B] Get:45 http://localhost:9999 unstable/main amd64 2013-07-15-0830.19.pdiff [3964 B] Get:46 http://localhost:9999 unstable/main 2013-07-15-1432.36.pdiff [5326 B] Get:47 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [1357 B] Get:48 http://localhost:9999 unstable/main amd64 2013-07-15-1432.36.pdiff [9809 B] Get:49 http://localhost:9999 unstable/main 2013-07-15-1432.36.pdiff [5326 B] Get:50 http://localhost:9999 unstable/main 2013-07-15-1432.36.pdiff [322 B] Get:51 http://localhost:9999 unstable/main amd64 2013-07-15-1432.36.pdiff [9809 B] Get:52 http://localhost:9999 unstable/main 2013-07-15-1432.36.pdiff [322 B] Fetched 397 kB in 31s (12.7 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: initscripts sysv-rc sysvinit sysvinit-utils 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 405 kB of archives. After this operation, 20.5 kB disk space will be freed. Get:1 http://localhost:9999/debian/ unstable/main sysvinit amd64 2.88dsf-42 [134 kB] Get:2 http://localhost:9999/debian/ unstable/main sysv-rc all 2.88dsf-42 [80.4 kB] Get:3 http://localhost:9999/debian/ unstable/main sysvinit-utils amd64 2.88dsf-42 [103 kB] Get:4 http://localhost:9999/debian/ unstable/main initscripts amd64 2.88dsf-42 [87.1 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 405 kB in 0s (10.9 MB/s) (Reading database ... 13844 files and directories currently installed.) Preparing to replace sysvinit 2.88dsf-41 (using .../sysvinit_2.88dsf-42_amd64.deb) ... Unpacking replacement sysvinit ... Setting up sysvinit (2.88dsf-42) ... Not restarting sysvinit (Reading database ... 13844 files and directories currently installed.) Preparing to replace sysv-rc 2.88dsf-41 (using .../sysv-rc_2.88dsf-42_all.deb) ... Unpacking replacement sysv-rc ... Preparing to replace sysvinit-utils 2.88dsf-41 (using .../sysvinit-utils_2.88dsf-42_amd64.deb) ... Unpacking replacement sysvinit-utils ... Setting up sysvinit-utils (2.88dsf-42) ... Setting up sysv-rc (2.88dsf-42) ... (Reading database ... 13844 files and directories currently installed.) Preparing to replace initscripts 2.88dsf-41 (using .../initscripts_2.88dsf-42_amd64.deb) ... Removing unmodified and obsolete conffile /etc/init.d/mtab.sh ... Unpacking replacement initscripts ... Setting up initscripts (2.88dsf-42) ... Installing new version of config file /etc/init.d/bootmisc.sh ... Installing new version of config file /etc/init.d/checkfs.sh ... Installing new version of config file /etc/init.d/checkroot.sh ... Installing new version of config file /etc/init.d/checkroot-bootclean.sh ... Installing new version of config file /etc/init.d/mountdevsubfs.sh ... Installing new version of config file /etc/init.d/mountkernfs.sh ... Installing new version of config file /etc/init.d/rmnologin ... Installing new version of config file /etc/network/if-up.d/mountnfs ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... NOTICE: 'kfreebsd-9' packaging is maintained in the 'Svn' version control system at: svn://svn.debian.org/glibc-bsd/trunk/kfreebsd-9/ Need to get 33.0 MB of source archives. Get:1 http://localhost:9999/debian/ unstable/main kfreebsd-9 9.0-12 (dsc) [10.2 kB] Get:2 http://localhost:9999/debian/ unstable/main kfreebsd-9 9.0-12 (tar) [32.9 MB] Get:3 http://localhost:9999/debian/ unstable/main kfreebsd-9 9.0-12 (diff) [89.4 kB] Fetched 33.0 MB in 1s (16.9 MB/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' Install of clang + 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.3 Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libclang-common-3.3-dev libclang1-3.3 libffi6 libllvm3.3 libobjc-4.7-dev libobjc4 libstdc++6-4.7-dev Suggested packages: libstdc++6-4.7-doc Recommended packages: llvm-3.3-dev python The following NEW packages will be installed: clang-3.3 libclang-common-3.3-dev libclang1-3.3 libffi6 libllvm3.3 libobjc-4.7-dev libobjc4 libstdc++6-4.7-dev 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. Need to get 27.2 MB of archives. After this operation, 80.8 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libffi6 amd64 3.0.13-4 [21.6 kB] Get:2 http://localhost:9999/debian/ unstable/main libllvm3.3 amd64 1:3.3-3 [8575 kB] Get:3 http://localhost:9999/debian/ unstable/main libobjc4 amd64 4.8.1-6 [160 kB] Get:4 http://localhost:9999/debian/ unstable/main libstdc++6-4.7-dev amd64 4.7.3-5 [1695 kB] Get:5 http://localhost:9999/debian/ unstable/main libobjc-4.7-dev amd64 4.7.3-5 [719 kB] Get:6 http://localhost:9999/debian/ unstable/main libclang-common-3.3-dev amd64 1:3.3-3 [574 kB] Get:7 http://localhost:9999/debian/ unstable/main libclang1-3.3 amd64 1:3.3-3 [4579 kB] Get:8 http://localhost:9999/debian/ unstable/main clang-3.3 amd64 1:3.3-3 [10.9 MB] debconf: delaying package configuration, since apt-utils is not installed Fetched 27.2 MB in 1s (25.6 MB/s) Selecting previously unselected package libffi6:amd64. (Reading database ... 13843 files and directories currently installed.) Unpacking libffi6:amd64 (from .../libffi6_3.0.13-4_amd64.deb) ... Selecting previously unselected package libllvm3.3:amd64. Unpacking libllvm3.3:amd64 (from .../libllvm3.3_1%3a3.3-3_amd64.deb) ... Selecting previously unselected package libobjc4:amd64. Unpacking libobjc4:amd64 (from .../libobjc4_4.8.1-6_amd64.deb) ... Selecting previously unselected package libstdc++6-4.7-dev:amd64. Unpacking libstdc++6-4.7-dev:amd64 (from .../libstdc++6-4.7-dev_4.7.3-5_amd64.deb) ... Selecting previously unselected package libobjc-4.7-dev:amd64. Unpacking libobjc-4.7-dev:amd64 (from .../libobjc-4.7-dev_4.7.3-5_amd64.deb) ... Selecting previously unselected package libclang-common-3.3-dev. Unpacking libclang-common-3.3-dev (from .../libclang-common-3.3-dev_1%3a3.3-3_amd64.deb) ... Selecting previously unselected package libclang1-3.3. Unpacking libclang1-3.3 (from .../libclang1-3.3_1%3a3.3-3_amd64.deb) ... Selecting previously unselected package clang-3.3. Unpacking clang-3.3 (from .../clang-3.3_1%3a3.3-3_amd64.deb) ... Setting up libffi6:amd64 (3.0.13-4) ... Setting up libllvm3.3:amd64 (1:3.3-3) ... Setting up libobjc4:amd64 (4.8.1-6) ... Setting up libstdc++6-4.7-dev:amd64 (4.7.3-5) ... Setting up libobjc-4.7-dev:amd64 (4.7.3-5) ... Setting up libclang-common-3.3-dev (1:3.3-3) ... Setting up libclang1-3.3 (1:3.3-3) ... Setting up clang-3.3 (1:3.3-3) ... Processing triggers for libc-bin ... + 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-_QCOaG/apt_archive/sbuild-build-depends-core-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install core build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/710 B of archives. After this operation, 0 B of additional disk space will be used. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 14698 files and directories currently installed.) Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy.deb) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 5.0.0), bzip2, sharutils, flex-old | flex, freebsd-buildutils (>= 9), gcc-4.6, libdb-dev, libbsd-dev (>= 0.3.0), pkg-config, libsbuf-dev, libsbuf-dev (>= 8.2-2) | kfreebsd-kernel-headers (<< 0.56) Filtered Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, util-linux, libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 5.0.0), bzip2, sharutils, flex-old, freebsd-buildutils (>= 9), gcc-4.6, libdb-dev, libbsd-dev (>= 0.3.0), pkg-config, libsbuf-dev, libsbuf-dev (>= 8.2-2) dpkg-deb: building package `sbuild-build-depends-kfreebsd-9-dummy' in `/«BUILDDIR»/resolver-Smxjmt/apt_archive/sbuild-build-depends-kfreebsd-9-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install kfreebsd-9 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 byacc debhelper file flex-old freebsd-buildutils freebsd-glue gettext gettext-base groff-base intltool-debian libasprintf0c2 libbsd-dev libbsd0 libcroco3 libdb-dev libdb5.1-dev libexpat1 libexpat1-dev libglib2.0-0 libmagic1 libpipeline1 libpopt0 libsbuf-dev libsbuf6 libunistring0 libxml2 man-db original-awk patchutils pkg-config po-debconf sharutils unzip Suggested packages: wamerican wordlist whois vacation dh-make bison gettext-doc groff db5.1-doc less www-browser libmail-box-perl bsd-mailx mailx zip 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: bsdmainutils byacc debhelper file flex-old freebsd-buildutils freebsd-glue gettext gettext-base groff-base intltool-debian libasprintf0c2 libbsd-dev libbsd0 libcroco3 libdb-dev libdb5.1-dev libexpat1 libexpat1-dev libglib2.0-0 libmagic1 libpipeline1 libpopt0 libsbuf-dev libsbuf6 libunistring0 libxml2 man-db original-awk patchutils pkg-config po-debconf sbuild-build-depends-kfreebsd-9-dummy sharutils unzip 0 upgraded, 35 newly installed, 0 to remove and 0 not upgraded. Need to get 11.9 MB/11.9 MB of archives. After this operation, 33.7 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libpipeline1 amd64 1.2.4-1 [41.0 kB] Get:2 http://localhost:9999/debian/ unstable/main libpopt0 amd64 1.16-7 [56.4 kB] Get:3 http://localhost:9999/debian/ unstable/main groff-base amd64 1.22.2-3 [747 kB] Get:4 http://localhost:9999/debian/ unstable/main bsdmainutils amd64 9.0.5 [211 kB] Get:5 http://localhost:9999/debian/ unstable/main man-db amd64 2.6.5-2 [976 kB] Get:6 http://localhost:9999/debian/ unstable/main libasprintf0c2 amd64 0.18.2.1-1 [28.9 kB] Get:7 http://localhost:9999/debian/ unstable/main libmagic1 amd64 1:5.14-2 [216 kB] Get:8 http://localhost:9999/debian/ unstable/main libxml2 amd64 2.9.1+dfsg1-2 [911 kB] Get:9 http://localhost:9999/debian/ unstable/main libbsd0 amd64 0.6.0-1 [67.4 kB] Get:10 http://localhost:9999/debian/ unstable/main libglib2.0-0 amd64 2.36.3-3 [2048 kB] Get:11 http://localhost:9999/debian/ unstable/main libcroco3 amd64 0.6.8-2 [133 kB] Get:12 http://localhost:9999/debian/ unstable/main libexpat1 amd64 2.1.0-4 [138 kB] Get:13 http://localhost:9999/debian/ unstable/main libunistring0 amd64 0.9.3-5 [434 kB] Get:14 http://localhost:9999/debian/ unstable/main original-awk amd64 2011-08-10-2 [74.9 kB] Get:15 http://localhost:9999/debian/ unstable/main file amd64 1:5.14-2 [54.0 kB] Get:16 http://localhost:9999/debian/ unstable/main gettext-base amd64 0.18.2.1-1 [156 kB] Get:17 http://localhost:9999/debian/ unstable/main gettext amd64 0.18.2.1-1 [2019 kB] Get:18 http://localhost:9999/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:19 http://localhost:9999/debian/ unstable/main po-debconf all 1.0.16+nmu2 [224 kB] Get:20 http://localhost:9999/debian/ unstable/main debhelper all 9.20130630 [710 kB] Get:21 http://localhost:9999/debian/ unstable/main libbsd-dev amd64 0.6.0-1 [157 kB] Get:22 http://localhost:9999/debian/ unstable/main libexpat1-dev amd64 2.1.0-4 [223 kB] Get:23 http://localhost:9999/debian/ unstable/main libsbuf6 amd64 9.0+ds1-4 [14.4 kB] Get:24 http://localhost:9999/debian/ unstable/main libsbuf-dev amd64 9.0+ds1-4 [13.9 kB] Get:25 http://localhost:9999/debian/ unstable/main patchutils amd64 0.3.2-2 [109 kB] Get:26 http://localhost:9999/debian/ unstable/main pkg-config amd64 0.26-1 [59.5 kB] Get:27 http://localhost:9999/debian/ unstable/main sharutils amd64 1:4.11.1-2 [195 kB] Get:28 http://localhost:9999/debian/ unstable/main unzip amd64 6.0-9 [194 kB] Get:29 http://localhost:9999/debian/ unstable/main byacc amd64 20121003-2 [64.9 kB] Get:30 http://localhost:9999/debian/ unstable/main flex-old amd64 2.5.4a-10 [200 kB] Get:31 http://localhost:9999/debian/ unstable/main freebsd-glue all 0.0.7 [23.2 kB] Get:32 http://localhost:9999/debian/ unstable/main freebsd-buildutils amd64 9.0-11 [502 kB] Get:33 http://localhost:9999/debian/ unstable/main libdb5.1-dev amd64 5.1.29-6 [882 kB] Get:34 http://localhost:9999/debian/ unstable/main libdb-dev amd64 5.1.6 [2240 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 11.9 MB in 1s (8932 kB/s) Selecting previously unselected package libpipeline1:amd64. (Reading database ... 14698 files and directories currently installed.) Unpacking libpipeline1:amd64 (from .../libpipeline1_1.2.4-1_amd64.deb) ... Selecting previously unselected package libpopt0:amd64. Unpacking libpopt0:amd64 (from .../libpopt0_1.16-7_amd64.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.22.2-3_amd64.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_9.0.5_amd64.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.5-2_amd64.deb) ... Selecting previously unselected package libasprintf0c2:amd64. Unpacking libasprintf0c2:amd64 (from .../libasprintf0c2_0.18.2.1-1_amd64.deb) ... Selecting previously unselected package libmagic1:amd64. Unpacking libmagic1:amd64 (from .../libmagic1_1%3a5.14-2_amd64.deb) ... Selecting previously unselected package libxml2:amd64. Unpacking libxml2:amd64 (from .../libxml2_2.9.1+dfsg1-2_amd64.deb) ... Selecting previously unselected package libbsd0:amd64. Unpacking libbsd0:amd64 (from .../libbsd0_0.6.0-1_amd64.deb) ... Selecting previously unselected package libglib2.0-0:amd64. Unpacking libglib2.0-0:amd64 (from .../libglib2.0-0_2.36.3-3_amd64.deb) ... Selecting previously unselected package libcroco3:amd64. Unpacking libcroco3:amd64 (from .../libcroco3_0.6.8-2_amd64.deb) ... Selecting previously unselected package libexpat1:amd64. Unpacking libexpat1:amd64 (from .../libexpat1_2.1.0-4_amd64.deb) ... Selecting previously unselected package libunistring0:amd64. Unpacking libunistring0:amd64 (from .../libunistring0_0.9.3-5_amd64.deb) ... Selecting previously unselected package original-awk. Unpacking original-awk (from .../original-awk_2011-08-10-2_amd64.deb) ... Selecting previously unselected package file. Unpacking file (from .../file_1%3a5.14-2_amd64.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.2.1-1_amd64.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.2.1-1_amd64.deb) ... Selecting previously unselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously unselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_9.20130630_all.deb) ... Selecting previously unselected package libbsd-dev. Unpacking libbsd-dev (from .../libbsd-dev_0.6.0-1_amd64.deb) ... Selecting previously unselected package libexpat1-dev:amd64. Unpacking libexpat1-dev:amd64 (from .../libexpat1-dev_2.1.0-4_amd64.deb) ... Selecting previously unselected package libsbuf6. Unpacking libsbuf6 (from .../libsbuf6_9.0+ds1-4_amd64.deb) ... Selecting previously unselected package libsbuf-dev. Unpacking libsbuf-dev (from .../libsbuf-dev_9.0+ds1-4_amd64.deb) ... Selecting previously unselected package patchutils. Unpacking patchutils (from .../patchutils_0.3.2-2_amd64.deb) ... Selecting previously unselected package pkg-config. Unpacking pkg-config (from .../pkg-config_0.26-1_amd64.deb) ... Selecting previously unselected package sharutils. Unpacking sharutils (from .../sharutils_1%3a4.11.1-2_amd64.deb) ... Selecting previously unselected package unzip. Unpacking unzip (from .../archives/unzip_6.0-9_amd64.deb) ... Selecting previously unselected package byacc. Unpacking byacc (from .../byacc_20121003-2_amd64.deb) ... Selecting previously unselected package flex-old. Unpacking flex-old (from .../flex-old_2.5.4a-10_amd64.deb) ... Selecting previously unselected package freebsd-glue. Unpacking freebsd-glue (from .../freebsd-glue_0.0.7_all.deb) ... Selecting previously unselected package freebsd-buildutils. Unpacking freebsd-buildutils (from .../freebsd-buildutils_9.0-11_amd64.deb) ... Replaced by files in installed package freebsd-glue ... Selecting previously unselected package libdb5.1-dev. Unpacking libdb5.1-dev (from .../libdb5.1-dev_5.1.29-6_amd64.deb) ... Selecting previously unselected package libdb-dev:amd64. Unpacking libdb-dev:amd64 (from .../libdb-dev_5.1.6_amd64.deb) ... Selecting previously unselected package sbuild-build-depends-kfreebsd-9-dummy. Unpacking sbuild-build-depends-kfreebsd-9-dummy (from .../sbuild-build-depends-kfreebsd-9-dummy.deb) ... Setting up libpipeline1:amd64 (1.2.4-1) ... Setting up libpopt0:amd64 (1.16-7) ... 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-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libasprintf0c2:amd64 (0.18.2.1-1) ... Setting up libmagic1:amd64 (1:5.14-2) ... Setting up libxml2:amd64 (2.9.1+dfsg1-2) ... Setting up libbsd0:amd64 (0.6.0-1) ... Setting up libglib2.0-0:amd64 (2.36.3-3) ... No schema files found: doing nothing. Setting up libcroco3:amd64 (0.6.8-2) ... Setting up libexpat1:amd64 (2.1.0-4) ... Setting up libunistring0:amd64 (0.9.3-5) ... Setting up original-awk (2011-08-10-2) ... Setting up file (1:5.14-2) ... Setting up gettext-base (0.18.2.1-1) ... Setting up gettext (0.18.2.1-1) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (9.20130630) ... Setting up libbsd-dev (0.6.0-1) ... Setting up libexpat1-dev:amd64 (2.1.0-4) ... Setting up libsbuf6 (9.0+ds1-4) ... Setting up libsbuf-dev (9.0+ds1-4) ... Setting up patchutils (0.3.2-2) ... Setting up pkg-config (0.26-1) ... Setting up sharutils (1:4.11.1-2) ... Setting up unzip (6.0-9) ... Setting up byacc (20121003-2) ... update-alternatives: using /usr/bin/byacc to provide /usr/bin/yacc (yacc) in auto mode Setting up flex-old (2.5.4a-10) ... Setting up freebsd-glue (0.0.7) ... Setting up freebsd-buildutils (9.0-11) ... Setting up libdb5.1-dev (5.1.29-6) ... Setting up libdb-dev:amd64 (5.1.6) ... Setting up sbuild-build-depends-kfreebsd-9-dummy (0.invalid.0) ... Processing triggers for libc-bin ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-xen-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.23.52.20130620-1 dpkg-dev_1.16.10 g++-4.6_4.6.4-4 g++-4.8_4.8.1-6 gcc-4.6_4.6.4-4 gcc-4.7_4.7.3-5 gcc-4.8_4.8.1-6 libc6-dev_2.17-7 libstdc++-4.8-dev_4.8.1-6 libstdc++6_4.8.1-6 libstdc++6-4.6-dev_4.6.4-4 libstdc++6-4.7-dev_4.7.3-5 linux-libc-dev_3.9.8-1 Package versions: apt_0.9.9.1 base-files_7.2 base-passwd_3.5.26 bash_4.2+dfsg-1 binutils_2.23.52.20130620-1 bsdmainutils_9.0.5 bsdutils_1:2.20.1-5.5 build-essential_11.6 byacc_20121003-2 bzip2_1.0.6-4 clang-3.3_1:3.3-3 coreutils_8.20-3 cpp_4:4.8.1-2 cpp-4.6_4.6.4-4 cpp-4.7_4.7.3-5 cpp-4.8_4.8.1-6 dash_0.5.7-3 debconf_1.5.50 debconf-i18n_1.5.50 debfoster_2.7-1.2 debhelper_9.20130630 debian-archive-keyring_2012.4 debianutils_4.3.4 diffutils_1:3.2-8 dpkg_1.16.10 dpkg-dev_1.16.10 e2fslibs_1.42.8-1 e2fsprogs_1.42.8-1 fakeroot_1.19-2 file_1:5.14-2 findutils_4.4.2-6 flex-old_2.5.4a-10 freebsd-buildutils_9.0-11 freebsd-glue_0.0.7 g++_4:4.8.1-2 g++-4.6_4.6.4-4 g++-4.8_4.8.1-6 gcc_4:4.8.1-2 gcc-4.4-base_4.4.7-4 gcc-4.5-base_4.5.4-1 gcc-4.6_4.6.4-4 gcc-4.6-base_4.6.4-4 gcc-4.7_4.7.3-5 gcc-4.7-base_4.7.3-5 gcc-4.8_4.8.1-6 gcc-4.8-base_4.8.1-6 gettext_0.18.2.1-1 gettext-base_0.18.2.1-1 gnupg_1.4.12-7 gpgv_1.4.12-7 grep_2.14-2 groff-base_1.22.2-3 gzip_1.6-1 hostname_3.13 initscripts_2.88dsf-42 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 libacl1_2.2.52-1 libapt-pkg4.12_0.9.9.1 libasan0_4.8.1-6 libasprintf0c2_0.18.2.1-1 libatomic1_4.8.1-6 libattr1_1:2.4.47-1 libblkid1_2.20.1-5.5 libbsd-dev_0.6.0-1 libbsd0_0.6.0-1 libbz2-1.0_1.0.6-4 libc-bin_2.17-7 libc-dev-bin_2.17-7 libc6_2.17-7 libc6-dev_2.17-7 libcap2_1:2.22-1.2 libclang-common-3.3-dev_1:3.3-3 libclang1-3.3_1:3.3-3 libclass-isa-perl_0.36-5 libcloog-isl4_0.18.0-2 libcloog-ppl1_0.16.1-3 libcomerr2_1.42.8-1 libcroco3_0.6.8-2 libdb-dev_5.1.6 libdb5.1_5.1.29-6 libdb5.1-dev_5.1.29-6 libdpkg-perl_1.16.10 libexpat1_2.1.0-4 libexpat1-dev_2.1.0-4 libffi6_3.0.13-4 libfile-fcntllock-perl_0.14-2 libgc1c2_1:7.2d-5 libgcc-4.7-dev_4.7.3-5 libgcc-4.8-dev_4.8.1-6 libgcc1_1:4.8.1-6 libgdbm3_1.8.3-12 libglib2.0-0_2.36.3-3 libgmp10_2:5.1.2+dfsg-2 libgmpxx4ldbl_2:5.1.2+dfsg-2 libgomp1_4.8.1-6 libgpm2_1.20.4-6.1 libisl10_0.11.2-1 libitm1_4.8.1-6 libllvm3.3_1:3.3-3 liblocale-gettext-perl_1.05-7+b1 liblzma5_5.1.1alpha+20120614-2 libmagic1_1:5.14-2 libmount1_2.20.1-5.5 libmpc2_0.9-4 libmpc3_1.0.1-1 libmpfr4_3.1.1-1 libncurses5_5.9+20130608-1 libobjc-4.7-dev_4.7.3-5 libobjc4_4.8.1-6 libpam-modules_1.1.3-9 libpam-modules-bin_1.1.3-9 libpam-runtime_1.1.3-9 libpam0g_1.1.3-9 libpcre3_1:8.31-2 libpipeline1_1.2.4-1 libpopt0_1.16-7 libppl-c4_1:1.0-7 libppl12_1:1.0-7 libquadmath0_4.8.1-6 libreadline6_6.2+dfsg-0.1 libsbuf-dev_9.0+ds1-4 libsbuf6_9.0+ds1-4 libselinux1_2.1.13-2 libsemanage-common_2.1.10-2 libsemanage1_2.1.10-2 libsepol1_2.1.9-2 libslang2_2.2.4-15 libss2_1.42.8-1 libstdc++-4.8-dev_4.8.1-6 libstdc++6_4.8.1-6 libstdc++6-4.6-dev_4.6.4-4 libstdc++6-4.7-dev_4.7.3-5 libswitch-perl_2.16-2 libtext-charwidth-perl_0.04-7+b1 libtext-iconv-perl_1.7-5 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_1.2000-1 libtinfo5_5.9+20130608-1 libtsan0_4.8.1-6 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-23.2 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.5 libxml2_2.9.1+dfsg1-2 linux-libc-dev_3.9.8-1 login_1:4.1.5.1-1 lsb-base_4.1+Debian12 make_3.81-8.2 man-db_2.6.5-2 mawk_1.3.3-17 mount_2.20.1-5.5 multiarch-support_2.17-7 ncurses-base_5.9+20130608-1 ncurses-bin_5.9+20130608-1 original-awk_2011-08-10-2 passwd_1:4.1.5.1-1 patch_2.7.1-3 patchutils_0.3.2-2 perl_5.14.2-21 perl-base_5.14.2-21 perl-modules_5.14.2-21 pkg-config_0.26-1 po-debconf_1.0.16+nmu2 readline-common_6.2+dfsg-0.1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-kfreebsd-9-dummy_0.invalid.0 sed_4.2.2-1 sensible-utils_0.0.9 sharutils_1:4.11.1-2 sudo_1.8.5p2-1+nmu1 sysv-rc_2.88dsf-42 sysvinit_2.88dsf-42 sysvinit-utils_2.88dsf-42 tar_1.26+dfsg-6 tzdata_2013c-2 ucf_3.0027+nmu1 unzip_6.0-9 util-linux_2.20.1-5.5 vim_2:7.3.923-3 vim-common_2:7.3.923-3 vim-runtime_2:7.3.923-3 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.8.dfsg-1 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Sun Jun 23 11:58:59 2013 UTC using RSA key ID 4008C6F9 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./kfreebsd-9_9.0-12.dsc dpkg-source: info: extracting kfreebsd-9 in kfreebsd-9-9.0 dpkg-source: info: unpacking kfreebsd-9_9.0.orig.tar.gz dpkg-source: info: unpacking kfreebsd-9_9.0-12.debian.tar.gz dpkg-source: info: applying improve_tmpfs_mem_info.diff dpkg-source: info: applying remove_tmpfs_warning.diff dpkg-source: info: applying amd64_increase_DFLDSIZ.diff dpkg-source: info: applying SA-12_04.sysret.patch dpkg-source: info: applying EN-12_02.ipv6refcount.patch dpkg-source: info: applying fix_VOP_VPTOCNP_bypass_for_nullfs.diff dpkg-source: info: applying pf_counter_initialization_SVN236364.diff dpkg-source: info: applying svn239447_SCTP_DoS.patch dpkg-source: info: applying SA-12_08.linux.patch dpkg-source: info: applying SA-13_05.nfsserver.patch dpkg-source: info: applying SA-13_06.mmap.patch dpkg-source: info: applying 001_misc.diff dpkg-source: info: applying 002_maxpathlen.diff dpkg-source: info: applying 003_glibc_dev_aicasm.diff dpkg-source: info: applying 004_xargs.diff dpkg-source: info: applying 005_linux_cflags.diff dpkg-source: info: applying 006_mips_i8259_alloc.diff dpkg-source: info: applying 101_nullfs_vsock.diff dpkg-source: info: applying 107_mount_update.diff dpkg-source: info: applying 108_teken_utf8_table.diff dpkg-source: info: applying 109_linprocfs_non_x86.diff dpkg-source: info: applying 110_disable_trampoline_flavour.diff dpkg-source: info: applying 201_pseudofs.diff dpkg-source: info: applying 901_disable_optimization_2.diff dpkg-source: info: applying 902_version.diff dpkg-source: info: applying 903_disable_non-free_drivers.diff dpkg-source: info: applying 904_dev_full.diff dpkg-source: info: applying 906_grow_sysv_ipc_limits.diff dpkg-source: info: applying 908_linprocfs_is_not_proc.diff dpkg-source: info: applying 910_GENERIC_hints.diff dpkg-source: info: applying 913_uudecode.diff dpkg-source: info: applying 914_psm.diff dpkg-source: info: applying 915_ip6.v6only.diff dpkg-source: info: applying 916_NKPT_amd64.diff dpkg-source: info: applying 917_disable_kgssapi.diff dpkg-source: info: applying 918_unix_socket_overflow.diff dpkg-source: info: applying 919_delete_key.diff dpkg-source: info: applying 950_no_stack_protector.diff dpkg-source: info: applying 999_config.diff dpkg-source: info: applying 999_firmware.diff Check disc space ──────────────── Sufficient free space for build Hack binNMU version ─────────────────── Created changelog entry for binNMU version 9.0-12clang1 User Environment ──────────────── 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-a7eae01e-8a1d-404a-9fc5-185f484fb794 SCHROOT_UID=1000 SCHROOT_USER=user SHELL=/bin/sh USER=user dpkg-buildpackage ───────────────── dpkg-buildpackage: source package kfreebsd-9 dpkg-buildpackage: source version 9.0-12clang1 dpkg-source --before-build kfreebsd-9-9.0 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -rf src kfreebsd-source-* flavor-* config rm -f debian/kfreebsd-image-*.preinst rm -f debian/kfreebsd-image-*.prerm rm -f debian/kfreebsd-image-*.postinst rm -f debian/kfreebsd-image-*.postrm rm -f *-stamp dh_clean debian/rules build-arch mkdir /«PKGBUILDDIR»/src cp -af /«PKGBUILDDIR»/sys /«PKGBUILDDIR»/usr.sbin /«PKGBUILDDIR»/src set -e ; find src/sys -type f | (while read i ; do \ sed -i $i \ -e 's/defined\s*(\s*__FreeBSD__\s*)/1/g' \ -e 's/#\s*ifdef\s*__FreeBSD__\(\s\|$\)/#if 1/g' \ -e 's/#\s*ifndef\s*__FreeBSD__\(\s\|$\)/#if 0/g' \ -e 's/__FreeBSD__/9/g' \ \ -e 's/defined\s*(\s*\(__linux__\|linux\)\s*)/0/g' \ -e 's/#\s*ifdef\s*\(__linux__\|linux\)\(\s\|$\)/#if 0/g' \ -e 's/#\s*ifndef\s*\(__linux__\|linux\)\(\s\|$\)/#if 1/g' \ ; done) touch src-stamp rm -rf config cp -af src/usr.sbin/config config CFLAGS="-D__va_list=__builtin_va_list -isystem /usr/include/bsd -DLIBBSD_OVERLAY -lbsd" make MACHINE_ARCH=amd64 CC=gcc-4.6 WERROR= -DWITHOUT_KERNEL_SYMBOLS -C config Warning: Object directory not changed from original /«PKGBUILDDIR»/config yacc -d config.y cp y.tab.c config.c gcc-4.6 -D__va_list=__builtin_va_list -isystem /usr/include/bsd -DLIBBSD_OVERLAY -lbsd -I. -I/«PKGBUILDDIR»/config -std=gnu99 -fstack-protector -c config.c clang: warning: -lbsd: 'linker' input unused gcc-4.6 -D__va_list=__builtin_va_list -isystem /usr/include/bsd -DLIBBSD_OVERLAY -lbsd -I. -I/«PKGBUILDDIR»/config -std=gnu99 -fstack-protector -c main.c clang: warning: -lbsd: 'linker' input unused main.c:393:3: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration] asprintf(&cp, "%s/%s", destdir, file); ^ 1 warning generated. lex -t lang.l > lang.c gcc-4.6 -D__va_list=__builtin_va_list -isystem /usr/include/bsd -DLIBBSD_OVERLAY -lbsd -I. -I/«PKGBUILDDIR»/config -std=gnu99 -fstack-protector -c lang.c clang: warning: -lbsd: 'linker' input unused lang.l:228:2: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration] asprintf(&cf->cfg_path, "%s", fname); ^ 1 warning generated. gcc-4.6 -D__va_list=__builtin_va_list -isystem /usr/include/bsd -DLIBBSD_OVERLAY -lbsd -I. -I/«PKGBUILDDIR»/config -std=gnu99 -fstack-protector -c mkmakefile.c clang: warning: -lbsd: 'linker' input unused gcc-4.6 -D__va_list=__builtin_va_list -isystem /usr/include/bsd -DLIBBSD_OVERLAY -lbsd -I. -I/«PKGBUILDDIR»/config -std=gnu99 -fstack-protector -c mkheaders.c clang: warning: -lbsd: 'linker' input unused gcc-4.6 -D__va_list=__builtin_va_list -isystem /usr/include/bsd -DLIBBSD_OVERLAY -lbsd -I. -I/«PKGBUILDDIR»/config -std=gnu99 -fstack-protector -c mkoptions.c clang: warning: -lbsd: 'linker' input unused file2c 'char kernconfstr[] = {' ',0};' < /«PKGBUILDDIR»/config/kernconf.tmpl > kernconf.c gcc-4.6 -D__va_list=__builtin_va_list -isystem /usr/include/bsd -DLIBBSD_OVERLAY -lbsd -I. -I/«PKGBUILDDIR»/config -std=gnu99 -fstack-protector -c kernconf.c clang: warning: -lbsd: 'linker' input unused gcc-4.6 -D__va_list=__builtin_va_list -isystem /usr/include/bsd -DLIBBSD_OVERLAY -lbsd -I. -I/«PKGBUILDDIR»/config -std=gnu99 -fstack-protector -o config config.o main.o lang.o mkmakefile.o mkheaders.o mkoptions.o kernconf.o -ll -lsbuf gzip -cn -9 config.5 > config.5.gz gzip -cn -9 config.8 > config.8.gz touch config-stamp cp -af src flavor-9.0-2-amd64 touch src-flavor-amd64-stamp # Add the abiname and the flavor to the kernel version sed -i -e 's/^RELEASE=".*"/RELEASE="9.0-2-amd64"/g' flavor-9.0-2-amd64/sys/conf/newvers.sh # Change ident to the kernel version sed -i -e 's/^i=.*/i="Debian amd64 (9.0-12clang1)"/g' flavor-9.0-2-amd64/sys/conf/newvers.sh # Set /lib/modules/ as module dir sed -i -e 's,^KODIR?=.*,KODIR="/lib/modules/9.0-2-amd64",g' flavor-9.0-2-amd64/sys/conf/kern.pre.mk sed -i -e '/^static char linker_path/s,".*","/lib/modules/9.0-2-amd64",g' flavor-9.0-2-amd64/sys/kern/kern_linker.c # Always set explicit link target to match with ld's implicit target (needed # to build on non-kFreeBSD) sed -i \ -e 's/elf32-i386-freebsd/elf64-x86-64/g' \ -e 's/elf64-x86-64-freebsd/elf64-x86-64/g' \ -e 's/elf32-tradlittlemips-freebsd/elf64-x86-64/g' \ -e 's/elf32-tradbigmips-freebsd/elf64-x86-64/g' \ flavor-9.0-2-amd64/sys/conf/ldscript.amd64 # Configure the kernel cp debian/arch/amd64/amd64.config flavor-9.0-2-amd64/sys/amd64/conf/ ln -sf amd64.config flavor-9.0-2-amd64/sys/amd64/conf/DEBCUSTOM cd flavor-9.0-2-amd64/sys/amd64/conf \ && config DEBCUSTOM WARNING: duplicate option `SC_PIXEL_MODE' encountered. Kernel build directory is ../compile/DEBCUSTOM Don't forget to do ``make cleandepend && make depend'' # Build it make MACHINE_ARCH=amd64 CC=gcc-4.6 WERROR= -DWITHOUT_KERNEL_SYMBOLS -C flavor-9.0-2-amd64/sys/amd64/compile/DEBCUSTOM/ depend machine -> ../../../amd64/include x86 -> ../../../x86/include gcc-4.6 -c -O2 -frename-registers -pipe -fno-strict-aliasing -O1 -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../dev/ath -I../../../dev/ath/ath_hal -I../../../contrib/ngatm -I../../../dev/twa -I../../../gnu/fs/xfs/FreeBSD -I../../../gnu/fs/xfs/FreeBSD/support -I../../../gnu/fs/xfs -I../../../dev/cxgb -I../../../dev/cxgbe -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float -fno-asynchronous-unwind-tables -ffreestanding ../../../amd64/amd64/genassym.c clang: warning: argument unused during compilation: '-frename-registers' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-finline-limit=8000' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '--param inline-unit-growth=100' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '--param large-function-growth=1000' [-Wunused-command-line-argument] NM='nm' sh ../../../kern/genassym.sh genassym.o > assym.s awk -f ../../../tools/vnode_if.awk ../../../kern/vnode_if.src -p awk -f ../../../tools/vnode_if.awk ../../../kern/vnode_if.src -q awk -f ../../../tools/vnode_if.awk ../../../kern/vnode_if.src -h awk -f ../../../tools/acpi_quirks2h.awk ../../../dev/acpica/acpi_quirks CC='gcc-4.6' make -f ../../../dev/aic7xxx/aicasm/Makefile MAKESRCPATH=../../../dev/aic7xxx/aicasm Warning: Object directory not changed from original /«PKGBUILDDIR»/flavor-9.0-2-amd64/sys/amd64/compile/DEBCUSTOM yacc -b aicasm_gram -d -o aicasm_gram.c ../../../dev/aic7xxx/aicasm/aicasm_gram.y yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c ../../../dev/aic7xxx/aicasm/aicasm_macro_gram.y gcc-4.6 -O2 -pipe -isystem /usr/include/bsd -DLIBBSD_OVERLAY -I../../../dev/aic7xxx/aicasm -std=gnu99 -fstack-protector -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign -c ../../../dev/aic7xxx/aicasm/aicasm.c gcc-4.6 -O2 -pipe -isystem /usr/include/bsd -DLIBBSD_OVERLAY -I../../../dev/aic7xxx/aicasm -std=gnu99 -fstack-protector -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign -c ../../../dev/aic7xxx/aicasm/aicasm_symbol.c gcc-4.6 -O2 -pipe -isystem /usr/include/bsd -DLIBBSD_OVERLAY -I../../../dev/aic7xxx/aicasm -std=gnu99 -fstack-protector -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign -c aicasm_gram.c ../../../dev/aic7xxx/aicasm/aicasm_gram.y:1532:40: warning: unused parameter 'argnum' [-Wunused-parameter] add_macro_arg(const char *argtext, int argnum) ^ ../../../dev/aic7xxx/aicasm/aicasm_gram.y:1079:24: warning: comparison of constant 330 with expression of type 'scope_type' is always false [-Wtautological-constant-out-of-range-compare] || last_scope->type == T_ELSE) { ~~~~~~~~~~~~~~~~ ^ ~~~~~~ 2 warnings generated. gcc-4.6 -O2 -pipe -isystem /usr/include/bsd -DLIBBSD_OVERLAY -I../../../dev/aic7xxx/aicasm -std=gnu99 -fstack-protector -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign -c aicasm_macro_gram.c lex -t ../../../dev/aic7xxx/aicasm/aicasm_scan.l > aicasm_scan.c gcc-4.6 -O2 -pipe -isystem /usr/include/bsd -DLIBBSD_OVERLAY -I../../../dev/aic7xxx/aicasm -std=gnu99 -fstack-protector -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign -c aicasm_scan.c ../../../dev/aic7xxx/aicasm/aicasm_scan.l:847:12: warning: function 'input' is not needed and will not be emitted [-Wunneeded-internal-declaration] static int input(void) ^ 1 warning generated. lex -t -Pmm ../../../dev/aic7xxx/aicasm/aicasm_macro_scan.l > aicasm_macro_scan.c gcc-4.6 -O2 -pipe -isystem /usr/include/bsd -DLIBBSD_OVERLAY -I../../../dev/aic7xxx/aicasm -std=gnu99 -fstack-protector -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign -c aicasm_macro_scan.c ../../../dev/aic7xxx/aicasm/aicasm_macro_scan.l:545:12: warning: function 'input' is not needed and will not be emitted [-Wunneeded-internal-declaration] static int input(void) ^ 1 warning generated. gcc-4.6 -O2 -pipe -isystem /usr/include/bsd -DLIBBSD_OVERLAY -I../../../dev/aic7xxx/aicasm -std=gnu99 -fstack-protector -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign -o aicasm aicasm.o aicasm_symbol.o aicasm_gram.o aicasm_macro_gram.o aicasm_scan.o aicasm_macro_scan.o -ll -ldb -lbsd ./aicasm -nostdinc -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../dev/ath -I../../../dev/ath/ath_hal -I../../../contrib/ngatm -I../../../dev/twa -I../../../gnu/fs/xfs/FreeBSD -I../../../gnu/fs/xfs/FreeBSD/support -I../../../gnu/fs/xfs -I../../../dev/cxgb -I../../../dev/cxgbe -I../../../cam/scsi -I../../../dev/aic7xxx -o aic7xxx_seq.h -r aic7xxx_reg.h -p aic7xxx_reg_print.c -i ../../../dev/aic7xxx/aic7xxx_osm.h ../../../dev/aic7xxx/aic7xxx.seq ./aicasm: 880 instructions used ./aicasm -nostdinc -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../dev/ath -I../../../dev/ath/ath_hal -I../../../contrib/ngatm -I../../../dev/twa -I../../../gnu/fs/xfs/FreeBSD -I../../../gnu/fs/xfs/FreeBSD/support -I../../../gnu/fs/xfs -I../../../dev/cxgb -I../../../dev/cxgbe -I../../../cam/scsi -I../../../dev/aic7xxx -o aic79xx_seq.h -r aic79xx_reg.h -p aic79xx_reg_print.c -i ../../../dev/aic7xxx/aic79xx_osm.h ../../../dev/aic7xxx/aic79xx.seq ./aicasm: 826 instructions used awk -f ../../../tools/miidevs2h.awk ../../../dev/mii/miidevs awk -f ../../../tools/pccarddevs2h.awk ../../../dev/pccard/pccarddevs awk -f ../../../teken/gensequences ../../../teken/sequences > teken_state.h awk -f ../../../tools/usbdevs2h.awk ../../../dev/usb/usbdevs -h awk -f ../../../tools/usbdevs2h.awk ../../../dev/usb/usbdevs -d gcc-4.6 -O2 -frename-registers -pipe -fno-strict-aliasing -O1 -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../dev/ath -I../../../dev/ath/ath_hal -I../../../contrib/ngatm -I../../../dev/twa -I../../../gnu/fs/xfs/FreeBSD -I../../../gnu/fs/xfs/FreeBSD/support -I../../../gnu/fs/xfs -I../../../dev/cxgb -I../../../dev/cxgbe -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -c ../../../amd64/linux32/linux32_genassym.c clang: warning: argument unused during compilation: '-frename-registers' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-finline-limit=8000' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '--param inline-unit-growth=100' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '--param large-function-growth=1000' [-Wunused-command-line-argument] sh ../../../kern/genassym.sh linux32_genassym.o > linux32_assym.h gcc-4.6 -O2 -frename-registers -pipe -fno-strict-aliasing -O1 -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../dev/ath -I../../../dev/ath/ath_hal -I../../../contrib/ngatm -I../../../dev/twa -I../../../gnu/fs/xfs/FreeBSD -I../../../gnu/fs/xfs/FreeBSD/support -I../../../gnu/fs/xfs -I../../../dev/cxgb -I../../../dev/cxgbe -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -c ../../../compat/ia32/ia32_genassym.c clang: warning: argument unused during compilation: '-frename-registers' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-finline-limit=8000' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '--param inline-unit-growth=100' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '--param large-function-growth=1000' [-Wunused-command-line-argument] env NM='nm' sh ../../../kern/genassym.sh ia32_genassym.o > ia32_assym.h gcc-4.6 -c -x assembler-with-cpp -DLOCORE -O2 -frename-registers -pipe -fno-strict-aliasing -O1 -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../dev/ath -I../../../dev/ath/ath_hal -I../../../contrib/ngatm -I../../../dev/twa -I../../../gnu/fs/xfs/FreeBSD -I../../../gnu/fs/xfs/FreeBSD/support -I../../../gnu/fs/xfs -I../../../dev/cxgb -I../../../dev/cxgbe -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float -fno-asynchronous-unwind-tables -ffreestanding ../../../amd64/acpica/acpi_wakecode.S clang: warning: argument unused during compilation: '-frename-registers' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-finline-limit=8000' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '--param inline-unit-growth=100' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '--param large-function-growth=1000' [-Wunused-command-line-argument] ../../../amd64/acpica/acpi_wakecode.S:55:2: error: unexpected directive .code16 .code16 ^ ../../../amd64/acpica/acpi_wakecode.S:55:9: error: .code16 not supported yet .code16 ^ ../../../amd64/acpica/acpi_wakecode.S:109:2: error: invalid instruction mnemonic 'lgdtl' lgdtl bootgdtdesc - wakeup_start ^ *** Error code 1 Stop in /«PKGBUILDDIR»/flavor-9.0-2-amd64/sys/amd64/compile/DEBCUSTOM. make: *** [build-flavor-amd64-stamp] Error 1 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 rm src-flavor-amd64-stamp ──────────────────────────────────────────────────────────────────────────────── Build finished at 20130715-1722 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Build Architecture: amd64 Build-Space: 548032 Build-Time: 66 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 11 Job: kfreebsd-9_9.0-12 Machine Architecture: amd64 Package: kfreebsd-9 Package-Time: 135 Source-Version: 9.0-12 Space: 548032 Status: attempted Version: 9.0-12clang1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20130715-1722 Build needed 00:02:15, 548032k disc space DC-Status: Failed 136.769700501s DC-Time-Estimation: 136.769700501 versus expected 1447 (r/m: 9.579828680617899 ; m: 136.769700501)