DC-Build-Header: ratfor 1.0-16 / 2017-07-06 21:10:03 +0000 DC-Task: type:rebuild-binarch-only source:ratfor version:1.0-16 chroot:unstable esttime:26 logfile:/tmp/ratfor_1.0-16_unstable_clang4.0.log modes:clang40:binarch-only DC-Sbuild-call: su user42 -c 'sbuild -n --arch-any --apt-update -d unstable -v --chroot-setup-commands=/tmp/clang40 ratfor_1.0-16' sbuild (Debian sbuild) 0.73.0 (23 Dec 2016) on ip-172-31-42-24.eu-central-1.compute.internal +==============================================================================+ | ratfor 1.0-16 (amd64) Thu, 06 Jul 2017 21:10:03 +0000 | +==============================================================================+ Package: ratfor Version: 1.0-16 Source Version: 1.0-16 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 Build Type: any I: NOTICE: Log filtering will replace 'var/run/schroot/mount/unstable-amd64-sbuild-7e74b528-80ce-4432-b7f6-d8b2ebef668a' with '<>' +------------------------------------------------------------------------------+ | Chroot Setup Commands | +------------------------------------------------------------------------------+ /tmp/clang40 ------------ + echo 'Entering customization script...' Entering customization script... + CLANG_VERSION=4.0 + echo 'Install of clang-4.0' Install of clang-4.0 + apt-get update Get:1 http://127.0.0.1:9999/debian unstable InRelease [255 kB] Get:2 http://127.0.0.1:9999/debian unstable/main Sources.diff/Index [27.9 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 Packages.diff/Index [27.9 kB] Get:4 http://127.0.0.1:9999/debian unstable/main Translation-en.diff/Index [27.9 kB] Get:5 http://127.0.0.1:9999/debian unstable/main Sources 2017-07-02-0216.39.pdiff [15.0 kB] Get:6 http://127.0.0.1:9999/debian unstable/main Sources 2017-07-02-0817.00.pdiff [7416 B] Get:7 http://127.0.0.1:9999/debian unstable/main Sources 2017-07-02-1415.16.pdiff [17.0 kB] Get:8 http://127.0.0.1:9999/debian unstable/main Sources 2017-07-02-2015.53.pdiff [15.2 kB] Get:9 http://127.0.0.1:9999/debian unstable/main Sources 2017-07-03-0215.43.pdiff [50.2 kB] Get:10 http://127.0.0.1:9999/debian unstable/main Sources 2017-07-03-0815.58.pdiff [5500 B] Get:11 http://127.0.0.1:9999/debian unstable/main Sources 2017-07-03-1420.59.pdiff [15.8 kB] Get:12 http://127.0.0.1:9999/debian unstable/main Sources 2017-07-03-2015.52.pdiff [15.6 kB] Get:13 http://127.0.0.1:9999/debian unstable/main Sources 2017-07-04-0215.56.pdiff [7165 B] Get:14 http://127.0.0.1:9999/debian unstable/main Sources 2017-07-04-0817.36.pdiff [8303 B] Get:15 http://127.0.0.1:9999/debian unstable/main Sources 2017-07-04-1416.28.pdiff [11.7 kB] Get:16 http://127.0.0.1:9999/debian unstable/main Sources 2017-07-04-2017.16.pdiff [12.7 kB] Get:17 http://127.0.0.1:9999/debian unstable/main Sources 2017-07-05-0215.45.pdiff [7714 B] Get:18 http://127.0.0.1:9999/debian unstable/main Sources 2017-07-05-0817.10.pdiff [6491 B] Get:19 http://127.0.0.1:9999/debian unstable/main Sources 2017-07-05-1416.09.pdiff [13.0 kB] Get:20 http://127.0.0.1:9999/debian unstable/main Sources 2017-07-05-2019.56.pdiff [14.2 kB] Get:21 http://127.0.0.1:9999/debian unstable/main Sources 2017-07-06-0216.07.pdiff [9132 B] Get:22 http://127.0.0.1:9999/debian unstable/main Sources 2017-07-06-0817.23.pdiff [16.8 kB] Get:23 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2017-07-02-0216.39.pdiff [31.6 kB] Get:24 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2017-07-02-0817.00.pdiff [12.0 kB] Get:25 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2017-07-02-1415.16.pdiff [11.6 kB] Get:26 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2017-07-02-2015.53.pdiff [12.9 kB] Get:27 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2017-07-03-0215.43.pdiff [63.1 kB] Get:28 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2017-07-03-0815.58.pdiff [23.3 kB] Get:29 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2017-07-03-1420.59.pdiff [40.0 kB] Get:30 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2017-07-03-2015.52.pdiff [28.4 kB] Get:22 http://127.0.0.1:9999/debian unstable/main Sources 2017-07-06-0817.23.pdiff [16.8 kB] Get:31 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2017-07-04-0215.56.pdiff [7447 B] Get:32 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2017-07-04-0817.36.pdiff [5458 B] Get:33 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2017-07-04-1416.28.pdiff [33.1 kB] Get:34 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2017-07-04-2017.16.pdiff [18.8 kB] Get:35 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2017-07-05-0215.45.pdiff [5901 B] Get:36 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2017-07-05-0817.10.pdiff [15.3 kB] Get:37 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2017-07-05-1416.09.pdiff [11.4 kB] Get:38 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2017-07-05-2019.56.pdiff [13.0 kB] Get:39 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2017-07-06-0216.07.pdiff [8638 B] Get:40 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2017-07-06-0817.23.pdiff [31.2 kB] Get:41 http://127.0.0.1:9999/debian unstable/main Translation-en 2017-07-02-0216.39.pdiff [1271 B] Get:42 http://127.0.0.1:9999/debian unstable/main Translation-en 2017-07-02-2015.53.pdiff [793 B] Get:43 http://127.0.0.1:9999/debian unstable/main Translation-en 2017-07-03-0215.43.pdiff [327 B] Get:44 http://127.0.0.1:9999/debian unstable/main Translation-en 2017-07-03-0815.58.pdiff [270 B] Get:45 http://127.0.0.1:9999/debian unstable/main Translation-en 2017-07-03-1420.59.pdiff [1066 B] Get:46 http://127.0.0.1:9999/debian unstable/main Translation-en 2017-07-03-2015.52.pdiff [465 B] Get:47 http://127.0.0.1:9999/debian unstable/main Translation-en 2017-07-04-0215.56.pdiff [291 B] Get:48 http://127.0.0.1:9999/debian unstable/main Translation-en 2017-07-04-0817.36.pdiff [539 B] Get:40 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2017-07-06-0817.23.pdiff [31.2 kB] Get:49 http://127.0.0.1:9999/debian unstable/main Translation-en 2017-07-04-1416.28.pdiff [484 B] Get:50 http://127.0.0.1:9999/debian unstable/main Translation-en 2017-07-04-2017.16.pdiff [1126 B] Get:51 http://127.0.0.1:9999/debian unstable/main Translation-en 2017-07-05-0215.45.pdiff [214 B] Get:52 http://127.0.0.1:9999/debian unstable/main Translation-en 2017-07-05-0817.10.pdiff [606 B] Get:53 http://127.0.0.1:9999/debian unstable/main Translation-en 2017-07-05-1416.09.pdiff [214 B] Get:54 http://127.0.0.1:9999/debian unstable/main Translation-en 2017-07-05-2019.56.pdiff [2615 B] Get:55 http://127.0.0.1:9999/debian unstable/main Translation-en 2017-07-06-0216.07.pdiff [1869 B] Get:56 http://127.0.0.1:9999/debian unstable/main Translation-en 2017-07-06-0817.23.pdiff [915 B] Get:56 http://127.0.0.1:9999/debian unstable/main Translation-en 2017-07-06-0817.23.pdiff [915 B] Fetched 974 kB in 1s (790 kB/s) Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-4.0 Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: cpp-6 g++-6 gcc-6 gcc-6-base gcc-7-base libasan3 libatomic1 libbsd0 libcc1-0 libcilkrts5 libclang-common-4.0-dev libclang1-4.0 libedit2 libffi6 libgcc-6-dev libgcc1 libgomp1 libitm1 libjsoncpp1 libllvm4.0 liblsan0 libmpx2 libncurses5 libobjc-6-dev libobjc4 libquadmath0 libstdc++-6-dev libstdc++6 libtsan0 libubsan0 Suggested packages: gnustep gnustep-devel clang-4.0-doc libomp-dev gcc-6-locales g++-6-multilib gcc-6-doc libstdc++6-6-dbg gcc-6-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan3-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg libstdc++-6-doc Recommended packages: llvm-4.0-dev python libgpm2 The following NEW packages will be installed: clang-4.0 libbsd0 libclang-common-4.0-dev libclang1-4.0 libedit2 libffi6 libjsoncpp1 libllvm4.0 libncurses5 libobjc-6-dev libobjc4 The following packages will be upgraded: cpp-6 g++-6 gcc-6 gcc-6-base gcc-7-base libasan3 libatomic1 libcc1-0 libcilkrts5 libgcc-6-dev libgcc1 libgomp1 libitm1 liblsan0 libmpx2 libquadmath0 libstdc++-6-dev libstdc++6 libtsan0 libubsan0 20 upgraded, 11 newly installed, 0 to remove and 13 not upgraded. Need to get 101 MB of archives. After this operation, 320 MB of additional disk space will be used. Get:1 http://127.0.0.1:9999/debian unstable/main amd64 libquadmath0 amd64 7.1.0-9 [132 kB] Get:2 http://127.0.0.1:9999/debian unstable/main amd64 libitm1 amd64 7.1.0-9 [27.2 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 gcc-7-base amd64 7.1.0-9 [180 kB] Get:4 http://127.0.0.1:9999/debian unstable/main amd64 libstdc++6 amd64 7.1.0-9 [398 kB] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 libmpx2 amd64 7.1.0-9 [11.4 kB] Get:6 http://127.0.0.1:9999/debian unstable/main amd64 liblsan0 amd64 7.1.0-9 [124 kB] Get:7 http://127.0.0.1:9999/debian unstable/main amd64 libtsan0 amd64 7.1.0-9 [270 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 libubsan0 amd64 7.1.0-9 [117 kB] Get:9 http://127.0.0.1:9999/debian unstable/main amd64 libcilkrts5 amd64 7.1.0-9 [42.0 kB] Get:10 http://127.0.0.1:9999/debian unstable/main amd64 libcc1-0 amd64 7.1.0-9 [37.7 kB] Get:11 http://127.0.0.1:9999/debian unstable/main amd64 libatomic1 amd64 7.1.0-9 [8782 B] Get:12 http://127.0.0.1:9999/debian unstable/main amd64 libgomp1 amd64 7.1.0-9 [75.1 kB] Get:13 http://127.0.0.1:9999/debian unstable/main amd64 libgcc1 amd64 1:7.1.0-9 [39.3 kB] Get:14 http://127.0.0.1:9999/debian unstable/main amd64 libasan3 amd64 6.4.0-1 [310 kB] Get:15 http://127.0.0.1:9999/debian unstable/main amd64 g++-6 amd64 6.4.0-1 [7084 kB] Get:16 http://127.0.0.1:9999/debian unstable/main amd64 libstdc++-6-dev amd64 6.4.0-1 [1421 kB] Get:17 http://127.0.0.1:9999/debian unstable/main amd64 gcc-6 amd64 6.4.0-1 [6908 kB] Get:18 http://127.0.0.1:9999/debian unstable/main amd64 libgcc-6-dev amd64 6.4.0-1 [2297 kB] Get:19 http://127.0.0.1:9999/debian unstable/main amd64 cpp-6 amd64 6.4.0-1 [6549 kB] Get:20 http://127.0.0.1:9999/debian unstable/main amd64 gcc-6-base amd64 6.4.0-1 [180 kB] Get:21 http://127.0.0.1:9999/debian unstable/main amd64 libbsd0 amd64 0.8.5-1 [89.6 kB] Get:22 http://127.0.0.1:9999/debian unstable/main amd64 libncurses5 amd64 6.0+20161126-1 [93.4 kB] Get:23 http://127.0.0.1:9999/debian unstable/main amd64 libedit2 amd64 3.1-20170329-1 [85.2 kB] Get:24 http://127.0.0.1:9999/debian unstable/main amd64 libffi6 amd64 3.2.1-6 [20.4 kB] Get:25 http://127.0.0.1:9999/debian unstable/main amd64 libllvm4.0 amd64 1:4.0.1-1 [12.3 MB] Get:26 http://127.0.0.1:9999/debian unstable/main amd64 libclang1-4.0 amd64 1:4.0.1-1 [6355 kB] Get:27 http://127.0.0.1:9999/debian unstable/main amd64 libjsoncpp1 amd64 1.7.4-3 [75.6 kB] Get:28 http://127.0.0.1:9999/debian unstable/main amd64 libobjc4 amd64 7.1.0-9 [51.0 kB] Get:29 http://127.0.0.1:9999/debian unstable/main amd64 libobjc-6-dev amd64 6.4.0-1 [197 kB] Get:30 http://127.0.0.1:9999/debian unstable/main amd64 libclang-common-4.0-dev amd64 1:4.0.1-1 [2495 kB] Get:31 http://127.0.0.1:9999/debian unstable/main amd64 clang-4.0 amd64 1:4.0.1-1 [52.7 MB] debconf: delaying package configuration, since apt-utils is not installed Fetched 101 MB in 1s (96.2 MB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9635 files and directories currently installed.) Preparing to unpack .../libquadmath0_7.1.0-9_amd64.deb ... Unpacking libquadmath0:amd64 (7.1.0-9) over (7.1.0-8) ... Preparing to unpack .../libitm1_7.1.0-9_amd64.deb ... Unpacking libitm1:amd64 (7.1.0-9) over (7.1.0-8) ... Preparing to unpack .../gcc-7-base_7.1.0-9_amd64.deb ... Unpacking gcc-7-base:amd64 (7.1.0-9) over (7.1.0-8) ... Setting up gcc-7-base:amd64 (7.1.0-9) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9635 files and directories currently installed.) Preparing to unpack .../libstdc++6_7.1.0-9_amd64.deb ... Unpacking libstdc++6:amd64 (7.1.0-9) over (7.1.0-8) ... Setting up libstdc++6:amd64 (7.1.0-9) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9635 files and directories currently installed.) Preparing to unpack .../0-libmpx2_7.1.0-9_amd64.deb ... Unpacking libmpx2:amd64 (7.1.0-9) over (7.1.0-8) ... Preparing to unpack .../1-liblsan0_7.1.0-9_amd64.deb ... Unpacking liblsan0:amd64 (7.1.0-9) over (7.1.0-8) ... Preparing to unpack .../2-libtsan0_7.1.0-9_amd64.deb ... Unpacking libtsan0:amd64 (7.1.0-9) over (7.1.0-8) ... Preparing to unpack .../3-libubsan0_7.1.0-9_amd64.deb ... Unpacking libubsan0:amd64 (7.1.0-9) over (7.1.0-8) ... Preparing to unpack .../4-libcilkrts5_7.1.0-9_amd64.deb ... Unpacking libcilkrts5:amd64 (7.1.0-9) over (7.1.0-8) ... Preparing to unpack .../5-libcc1-0_7.1.0-9_amd64.deb ... Unpacking libcc1-0:amd64 (7.1.0-9) over (7.1.0-8) ... Preparing to unpack .../6-libatomic1_7.1.0-9_amd64.deb ... Unpacking libatomic1:amd64 (7.1.0-9) over (7.1.0-8) ... Preparing to unpack .../7-libgomp1_7.1.0-9_amd64.deb ... Unpacking libgomp1:amd64 (7.1.0-9) over (7.1.0-8) ... Preparing to unpack .../8-libgcc1_1%3a7.1.0-9_amd64.deb ... Unpacking libgcc1:amd64 (1:7.1.0-9) over (1:7.1.0-8) ... Setting up libgcc1:amd64 (1:7.1.0-9) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9635 files and directories currently installed.) Preparing to unpack .../00-libasan3_6.4.0-1_amd64.deb ... Unpacking libasan3:amd64 (6.4.0-1) over (6.3.0-21) ... Preparing to unpack .../01-g++-6_6.4.0-1_amd64.deb ... Unpacking g++-6 (6.4.0-1) over (6.3.0-21) ... Preparing to unpack .../02-libstdc++-6-dev_6.4.0-1_amd64.deb ... Unpacking libstdc++-6-dev:amd64 (6.4.0-1) over (6.3.0-21) ... Preparing to unpack .../03-gcc-6_6.4.0-1_amd64.deb ... Unpacking gcc-6 (6.4.0-1) over (6.3.0-21) ... Preparing to unpack .../04-libgcc-6-dev_6.4.0-1_amd64.deb ... Unpacking libgcc-6-dev:amd64 (6.4.0-1) over (6.3.0-21) ... Preparing to unpack .../05-cpp-6_6.4.0-1_amd64.deb ... Unpacking cpp-6 (6.4.0-1) over (6.3.0-21) ... Preparing to unpack .../06-gcc-6-base_6.4.0-1_amd64.deb ... Unpacking gcc-6-base:amd64 (6.4.0-1) over (6.3.0-21) ... Selecting previously unselected package libbsd0:amd64. Preparing to unpack .../07-libbsd0_0.8.5-1_amd64.deb ... Unpacking libbsd0:amd64 (0.8.5-1) ... Selecting previously unselected package libncurses5:amd64. Preparing to unpack .../08-libncurses5_6.0+20161126-1_amd64.deb ... Unpacking libncurses5:amd64 (6.0+20161126-1) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../09-libedit2_3.1-20170329-1_amd64.deb ... Unpacking libedit2:amd64 (3.1-20170329-1) ... Selecting previously unselected package libffi6:amd64. Preparing to unpack .../10-libffi6_3.2.1-6_amd64.deb ... Unpacking libffi6:amd64 (3.2.1-6) ... Selecting previously unselected package libllvm4.0:amd64. Preparing to unpack .../11-libllvm4.0_1%3a4.0.1-1_amd64.deb ... Unpacking libllvm4.0:amd64 (1:4.0.1-1) ... Selecting previously unselected package libclang1-4.0:amd64. Preparing to unpack .../12-libclang1-4.0_1%3a4.0.1-1_amd64.deb ... Unpacking libclang1-4.0:amd64 (1:4.0.1-1) ... Selecting previously unselected package libjsoncpp1:amd64. Preparing to unpack .../13-libjsoncpp1_1.7.4-3_amd64.deb ... Unpacking libjsoncpp1:amd64 (1.7.4-3) ... Selecting previously unselected package libobjc4:amd64. Preparing to unpack .../14-libobjc4_7.1.0-9_amd64.deb ... Unpacking libobjc4:amd64 (7.1.0-9) ... Selecting previously unselected package libobjc-6-dev:amd64. Preparing to unpack .../15-libobjc-6-dev_6.4.0-1_amd64.deb ... Unpacking libobjc-6-dev:amd64 (6.4.0-1) ... Selecting previously unselected package libclang-common-4.0-dev. Preparing to unpack .../16-libclang-common-4.0-dev_1%3a4.0.1-1_amd64.deb ... Unpacking libclang-common-4.0-dev (1:4.0.1-1) ... Selecting previously unselected package clang-4.0. Preparing to unpack .../17-clang-4.0_1%3a4.0.1-1_amd64.deb ... Unpacking clang-4.0 (1:4.0.1-1) ... Setting up libquadmath0:amd64 (7.1.0-9) ... Setting up libncurses5:amd64 (6.0+20161126-1) ... Setting up libgomp1:amd64 (7.1.0-9) ... Setting up libatomic1:amd64 (7.1.0-9) ... Setting up libcc1-0:amd64 (7.1.0-9) ... Setting up libobjc4:amd64 (7.1.0-9) ... Setting up libcilkrts5:amd64 (7.1.0-9) ... Setting up libubsan0:amd64 (7.1.0-9) ... Setting up libtsan0:amd64 (7.1.0-9) ... Setting up gcc-6-base:amd64 (6.4.0-1) ... Setting up libbsd0:amd64 (0.8.5-1) ... Setting up liblsan0:amd64 (7.1.0-9) ... Setting up libmpx2:amd64 (7.1.0-9) ... Processing triggers for libc-bin (2.24-12) ... Setting up libffi6:amd64 (3.2.1-6) ... Setting up cpp-6 (6.4.0-1) ... Setting up libitm1:amd64 (7.1.0-9) ... Setting up libjsoncpp1:amd64 (1.7.4-3) ... Setting up libedit2:amd64 (3.1-20170329-1) ... Setting up libasan3:amd64 (6.4.0-1) ... Setting up libgcc-6-dev:amd64 (6.4.0-1) ... Setting up libstdc++-6-dev:amd64 (6.4.0-1) ... Setting up gcc-6 (6.4.0-1) ... Setting up g++-6 (6.4.0-1) ... Setting up libllvm4.0:amd64 (1:4.0.1-1) ... Setting up libobjc-6-dev:amd64 (6.4.0-1) ... Setting up libclang1-4.0:amd64 (1:4.0.1-1) ... Setting up libclang-common-4.0-dev (1:4.0.1-1) ... Setting up clang-4.0 (1:4.0.1-1) ... Processing triggers for libc-bin (2.24-12) ... W: --force-yes is deprecated, use one of the options starting with --allow instead. + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8 4.9 5 6 7' + cd /usr/bin + for VERSION in $VERSIONS + rm -f g++-4.6 gcc-4.6 cpp-4.6 gcc + ln -s clang++-4.0 g++-4.6 + ln -s clang-4.0 gcc-4.6 + ln -s clang-4.0 cpp-4.6 + ln -s clang-4.0 gcc + echo 'gcc-4.6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.7 gcc-4.7 cpp-4.7 gcc + ln -s clang++-4.0 g++-4.7 + ln -s clang-4.0 gcc-4.7 + ln -s clang-4.0 cpp-4.7 + ln -s clang-4.0 gcc + echo 'gcc-4.7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.8 gcc-4.8 cpp-4.8 gcc + ln -s clang++-4.0 g++-4.8 + ln -s clang-4.0 gcc-4.8 + ln -s clang-4.0 cpp-4.8 + ln -s clang-4.0 gcc + echo 'gcc-4.8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available 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; please see the FAQ + echo 'g++-4.8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available 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; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.9 gcc-4.9 cpp-4.9 gcc + ln -s clang++-4.0 g++-4.9 + ln -s clang-4.0 gcc-4.9 + ln -s clang-4.0 cpp-4.9 + ln -s clang-4.0 gcc + echo 'gcc-4.9 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.9 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.9 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.9 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-5 gcc-5 cpp-5 gcc + ln -s clang++-4.0 g++-5 + ln -s clang-4.0 gcc-5 + ln -s clang-4.0 cpp-5 + ln -s clang-4.0 gcc + echo 'gcc-5 hold' + dpkg --set-selections + echo 'g++-5 hold' + dpkg --set-selections + for VERSION in $VERSIONS + rm -f g++-6 gcc-6 cpp-6 gcc + ln -s clang++-4.0 g++-6 + ln -s clang-4.0 gcc-6 + ln -s clang-4.0 cpp-6 + ln -s clang-4.0 gcc + echo 'gcc-6 hold' + dpkg --set-selections + echo 'g++-6 hold' + dpkg --set-selections + for VERSION in $VERSIONS + rm -f g++-7 gcc-7 cpp-7 gcc + ln -s clang++-4.0 g++-7 + ln -s clang-4.0 gcc-7 + ln -s clang-4.0 cpp-7 + ln -s clang-4.0 gcc + echo 'gcc-7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + cd - /build/ratfor-UD15a5 + 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/clang40'. Finished processing commands. -------------------------------------------------------------------------------- +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Hit:1 http://127.0.0.1:9999/debian unstable InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following NEW packages will be installed: libgnutls30 libhogweed4 libidn2-0 libnettle6 libp11-kit0 libtasn1-6 libunistring2 The following packages will be upgraded: apt cpp debconf g++ gcc libapt-pkg5.0 libdebconfclient0 libperl5.24 libsystemd0 libudev1 perl perl-base perl-modules-5.24 13 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 12.5 MB of archives. After this operation, 6330 kB of additional disk space will be used. Get:1 http://127.0.0.1:9999/debian unstable/main amd64 libperl5.24 amd64 5.24.1-6 [3525 kB] Get:2 http://127.0.0.1:9999/debian unstable/main amd64 perl amd64 5.24.1-6 [218 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 perl-base amd64 5.24.1-6 [1344 kB] Get:4 http://127.0.0.1:9999/debian unstable/main amd64 perl-modules-5.24 all 5.24.1-6 [2723 kB] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 libapt-pkg5.0 amd64 1.5~beta1 [922 kB] Get:6 http://127.0.0.1:9999/debian unstable/main amd64 libnettle6 amd64 3.3-1+b1 [191 kB] Get:7 http://127.0.0.1:9999/debian unstable/main amd64 libhogweed4 amd64 3.3-1+b1 [136 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 libunistring2 amd64 0.9.7-2 [377 kB] Get:9 http://127.0.0.1:9999/debian unstable/main amd64 libidn2-0 amd64 0.16-1+b1 [56.6 kB] Get:10 http://127.0.0.1:9999/debian unstable/main amd64 libp11-kit0 amd64 0.23.7-2 [193 kB] Get:11 http://127.0.0.1:9999/debian unstable/main amd64 libtasn1-6 amd64 4.12-2 [51.0 kB] Get:12 http://127.0.0.1:9999/debian unstable/main amd64 libgnutls30 amd64 3.5.13-2 [914 kB] Get:13 http://127.0.0.1:9999/debian unstable/main amd64 apt amd64 1.5~beta1 [1237 kB] Get:14 http://127.0.0.1:9999/debian unstable/main amd64 debconf all 1.5.62 [160 kB] Get:15 http://127.0.0.1:9999/debian unstable/main amd64 libsystemd0 amd64 233-10 [281 kB] Get:16 http://127.0.0.1:9999/debian unstable/main amd64 libudev1 amd64 233-10 [126 kB] Get:17 http://127.0.0.1:9999/debian unstable/main amd64 libdebconfclient0 amd64 0.229 [47.9 kB] Get:18 http://127.0.0.1:9999/debian unstable/main amd64 cpp amd64 4:6.3.0-4d1 [18.8 kB] Get:19 http://127.0.0.1:9999/debian unstable/main amd64 gcc amd64 4:6.3.0-4d1 [5252 B] Get:20 http://127.0.0.1:9999/debian unstable/main amd64 g++ amd64 4:6.3.0-4d1 [1548 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 12.5 MB in 0s (87.6 MB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10135 files and directories currently installed.) Preparing to unpack .../libperl5.24_5.24.1-6_amd64.deb ... Unpacking libperl5.24:amd64 (5.24.1-6) over (5.24.1-4) ... Preparing to unpack .../perl_5.24.1-6_amd64.deb ... Unpacking perl (5.24.1-6) over (5.24.1-4) ... Preparing to unpack .../perl-base_5.24.1-6_amd64.deb ... Unpacking perl-base (5.24.1-6) over (5.24.1-4) ... Setting up perl-base (5.24.1-6) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10135 files and directories currently installed.) Preparing to unpack .../perl-modules-5.24_5.24.1-6_all.deb ... Unpacking perl-modules-5.24 (5.24.1-6) over (5.24.1-4) ... Preparing to unpack .../libapt-pkg5.0_1.5~beta1_amd64.deb ... Unpacking libapt-pkg5.0:amd64 (1.5~beta1) over (1.4.6) ... Setting up libapt-pkg5.0:amd64 (1.5~beta1) ... Selecting previously unselected package libnettle6:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10135 files and directories currently installed.) Preparing to unpack .../libnettle6_3.3-1+b1_amd64.deb ... Unpacking libnettle6:amd64 (3.3-1+b1) ... Setting up libnettle6:amd64 (3.3-1+b1) ... Selecting previously unselected package libhogweed4:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10142 files and directories currently installed.) Preparing to unpack .../libhogweed4_3.3-1+b1_amd64.deb ... Unpacking libhogweed4:amd64 (3.3-1+b1) ... Setting up libhogweed4:amd64 (3.3-1+b1) ... Selecting previously unselected package libunistring2:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10145 files and directories currently installed.) Preparing to unpack .../libunistring2_0.9.7-2_amd64.deb ... Unpacking libunistring2:amd64 (0.9.7-2) ... Setting up libunistring2:amd64 (0.9.7-2) ... Selecting previously unselected package libidn2-0:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10151 files and directories currently installed.) Preparing to unpack .../libidn2-0_0.16-1+b1_amd64.deb ... Unpacking libidn2-0:amd64 (0.16-1+b1) ... Setting up libidn2-0:amd64 (0.16-1+b1) ... Selecting previously unselected package libp11-kit0:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10161 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.23.7-2_amd64.deb ... Unpacking libp11-kit0:amd64 (0.23.7-2) ... Setting up libp11-kit0:amd64 (0.23.7-2) ... Selecting previously unselected package libtasn1-6:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10169 files and directories currently installed.) Preparing to unpack .../libtasn1-6_4.12-2_amd64.deb ... Unpacking libtasn1-6:amd64 (4.12-2) ... Setting up libtasn1-6:amd64 (4.12-2) ... Selecting previously unselected package libgnutls30:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10178 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.5.13-2_amd64.deb ... Unpacking libgnutls30:amd64 (3.5.13-2) ... Setting up libgnutls30:amd64 (3.5.13-2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10205 files and directories currently installed.) Preparing to unpack .../apt_1.5~beta1_amd64.deb ... Unpacking apt (1.5~beta1) over (1.4.6) ... Setting up apt (1.5~beta1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10204 files and directories currently installed.) Preparing to unpack .../debconf_1.5.62_all.deb ... Unpacking debconf (1.5.62) over (1.5.61) ... Setting up debconf (1.5.62) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10204 files and directories currently installed.) Preparing to unpack .../libsystemd0_233-10_amd64.deb ... Unpacking libsystemd0:amd64 (233-10) over (233-9) ... Setting up libsystemd0:amd64 (233-10) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10204 files and directories currently installed.) Preparing to unpack .../libudev1_233-10_amd64.deb ... Unpacking libudev1:amd64 (233-10) over (233-9) ... Setting up libudev1:amd64 (233-10) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10204 files and directories currently installed.) Preparing to unpack .../libdebconfclient0_0.229_amd64.deb ... Unpacking libdebconfclient0:amd64 (0.229) over (0.228) ... Setting up libdebconfclient0:amd64 (0.229) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10204 files and directories currently installed.) Preparing to unpack .../cpp_4%3a6.3.0-4d1_amd64.deb ... Unpacking cpp (4:6.3.0-4d1) over (4:6.3.0-4) ... Preparing to unpack .../gcc_4%3a6.3.0-4d1_amd64.deb ... Removing old gcc doc directory. Unpacking gcc (4:6.3.0-4d1) over (4:6.3.0-4) ... Preparing to unpack .../g++_4%3a6.3.0-4d1_amd64.deb ... Unpacking g++ (4:6.3.0-4d1) over (4:6.3.0-4) ... Setting up cpp (4:6.3.0-4d1) ... Setting up perl-modules-5.24 (5.24.1-6) ... Setting up libperl5.24:amd64 (5.24.1-6) ... Setting up gcc (4:6.3.0-4d1) ... Setting up perl (5.24.1-6) ... Processing triggers for libc-bin (2.24-12) ... Setting up g++ (4:6.3.0-4d1) ... +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Check APT --------- Checking available source versions... Download source files with APT ------------------------------ Reading package lists... Need to get 25.4 kB of source archives. Get:1 http://127.0.0.1:9999/debian unstable/main ratfor 1.0-16 (dsc) [1614 B] Get:2 http://127.0.0.1:9999/debian unstable/main ratfor 1.0-16 (tar) [17.0 kB] Get:3 http://127.0.0.1:9999/debian unstable/main ratfor 1.0-16 (diff) [6773 B] Fetched 25.4 kB in 0s (220 kB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/ratfor-UD15a5/ratfor-1.0' with '<>' I: NOTICE: Log filtering will replace 'build/ratfor-UD15a5' with '<>' +------------------------------------------------------------------------------+ | Install build-essential | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-nt2pWL/apt_archive/sbuild-build-depends-core-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy dpkg-scanpackages: info: Wrote 1 entries to output Packages file. Ign:1 copy:/<>/resolver-nt2pWL/apt_archive ./ InRelease Get:2 copy:/<>/resolver-nt2pWL/apt_archive ./ Release [957 B] Ign:3 copy:/<>/resolver-nt2pWL/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-nt2pWL/apt_archive ./ Sources [349 B] Get:5 copy:/<>/resolver-nt2pWL/apt_archive ./ Packages [433 B] Fetched 1739 B in 0s (0 B/s) Reading package lists... 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 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 784 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-nt2pWL/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [784 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 784 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 10206 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (amd64 included in any) +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper (>= 5.0) Filtered Build-Depends: debhelper (>= 5.0) dpkg-deb: building package 'sbuild-build-depends-ratfor-dummy' in '/<>/resolver-nt2pWL/apt_archive/sbuild-build-depends-ratfor-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-ratfor-dummy dpkg-scanpackages: info: Wrote 2 entries to output Packages file. Ign:1 copy:/<>/resolver-nt2pWL/apt_archive ./ InRelease Get:2 copy:/<>/resolver-nt2pWL/apt_archive ./ Release [963 B] Ign:3 copy:/<>/resolver-nt2pWL/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-nt2pWL/apt_archive ./ Sources [486 B] Get:5 copy:/<>/resolver-nt2pWL/apt_archive ./ Packages [568 B] Fetched 2017 B in 0s (0 B/s) Reading package lists... Reading package lists... Install ratfor build dependencies (apt-based resolver) ------------------------------------------------------ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libcroco3 libfile-stripnondeterminism-perl libglib2.0-0 libicu57 libmagic-mgc libmagic1 libpipeline1 libsigsegv2 libtimedate-perl libtool libxml2 m4 man-db po-debconf Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc less www-browser libmail-box-perl Recommended packages: curl | wget | lynx-cur libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libltdl-dev xml-core libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libcroco3 libfile-stripnondeterminism-perl libglib2.0-0 libicu57 libmagic-mgc libmagic1 libpipeline1 libsigsegv2 libtimedate-perl libtool libxml2 m4 man-db po-debconf sbuild-build-depends-ratfor-dummy 0 upgraded, 29 newly installed, 0 to remove and 0 not upgraded. Need to get 19.3 MB of archives. After this operation, 65.7 MB of additional disk space will be used. Get:1 copy:/<>/resolver-nt2pWL/apt_archive ./ sbuild-build-depends-ratfor-dummy 0.invalid.0 [786 B] Get:2 http://127.0.0.1:9999/debian unstable/main amd64 groff-base amd64 1.22.3-9 [1160 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 bsdmainutils amd64 9.0.12+nmu1 [186 kB] Get:4 http://127.0.0.1:9999/debian unstable/main amd64 libpipeline1 amd64 1.4.1-2 [27.6 kB] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 man-db amd64 2.7.6.1-2 [1044 kB] Get:6 http://127.0.0.1:9999/debian unstable/main amd64 libmagic-mgc amd64 1:5.30-1 [222 kB] Get:7 http://127.0.0.1:9999/debian unstable/main amd64 libmagic1 amd64 1:5.30-1 [111 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 file amd64 1:5.30-1 [63.9 kB] Get:9 http://127.0.0.1:9999/debian unstable/main amd64 gettext-base amd64 0.19.8.1-2+b1 [122 kB] Get:10 http://127.0.0.1:9999/debian unstable/main amd64 libicu57 amd64 57.1-6 [7701 kB] Get:11 http://127.0.0.1:9999/debian unstable/main amd64 libxml2 amd64 2.9.4+dfsg1-3 [715 kB] Get:12 http://127.0.0.1:9999/debian unstable/main amd64 libsigsegv2 amd64 2.11-1 [29.9 kB] Get:13 http://127.0.0.1:9999/debian unstable/main amd64 m4 amd64 1.4.18-1 [202 kB] Get:14 http://127.0.0.1:9999/debian unstable/main amd64 autoconf all 2.69-10 [338 kB] Get:15 http://127.0.0.1:9999/debian unstable/main amd64 autotools-dev all 20161112.1 [73.4 kB] Get:16 http://127.0.0.1:9999/debian unstable/main amd64 automake all 1:1.15.1-2 [736 kB] Get:17 http://127.0.0.1:9999/debian unstable/main amd64 autopoint all 0.19.8.1-2 [433 kB] Get:18 http://127.0.0.1:9999/debian unstable/main amd64 libtool all 2.4.6-2 [545 kB] Get:19 http://127.0.0.1:9999/debian unstable/main amd64 dh-autoreconf all 14 [15.9 kB] Get:20 http://127.0.0.1:9999/debian unstable/main amd64 libarchive-zip-perl all 1.59-1 [95.5 kB] Get:21 http://127.0.0.1:9999/debian unstable/main amd64 libfile-stripnondeterminism-perl all 0.035-2 [17.0 kB] Get:22 http://127.0.0.1:9999/debian unstable/main amd64 libtimedate-perl all 2.3000-2 [42.2 kB] Get:23 http://127.0.0.1:9999/debian unstable/main amd64 dh-strip-nondeterminism all 0.035-2 [10.7 kB] Get:24 http://127.0.0.1:9999/debian unstable/main amd64 libglib2.0-0 amd64 2.52.3-1 [2742 kB] Get:25 http://127.0.0.1:9999/debian unstable/main amd64 libcroco3 amd64 0.6.12-1 [144 kB] Get:26 http://127.0.0.1:9999/debian unstable/main amd64 gettext amd64 0.19.8.1-2+b1 [1301 kB] Get:27 http://127.0.0.1:9999/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.4 [26.3 kB] Get:28 http://127.0.0.1:9999/debian unstable/main amd64 po-debconf all 1.0.20 [247 kB] Get:29 http://127.0.0.1:9999/debian unstable/main amd64 debhelper all 10.6.2 [968 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 19.3 MB in 0s (96.5 MB/s) Selecting previously unselected package groff-base. (Reading database ... 10206 files and directories currently installed.) Preparing to unpack .../00-groff-base_1.22.3-9_amd64.deb ... Unpacking groff-base (1.22.3-9) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_9.0.12+nmu1_amd64.deb ... Unpacking bsdmainutils (9.0.12+nmu1) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../02-libpipeline1_1.4.1-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.4.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../03-man-db_2.7.6.1-2_amd64.deb ... Unpacking man-db (2.7.6.1-2) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../04-libmagic-mgc_1%3a5.30-1_amd64.deb ... Unpacking libmagic-mgc (1:5.30-1) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../05-libmagic1_1%3a5.30-1_amd64.deb ... Unpacking libmagic1:amd64 (1:5.30-1) ... Selecting previously unselected package file. Preparing to unpack .../06-file_1%3a5.30-1_amd64.deb ... Unpacking file (1:5.30-1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../07-gettext-base_0.19.8.1-2+b1_amd64.deb ... Unpacking gettext-base (0.19.8.1-2+b1) ... Selecting previously unselected package libicu57:amd64. Preparing to unpack .../08-libicu57_57.1-6_amd64.deb ... Unpacking libicu57:amd64 (57.1-6) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../09-libxml2_2.9.4+dfsg1-3_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-3) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../10-libsigsegv2_2.11-1_amd64.deb ... Unpacking libsigsegv2:amd64 (2.11-1) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.18-1_amd64.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.69-10_all.deb ... Unpacking autoconf (2.69-10) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20161112.1_all.deb ... Unpacking autotools-dev (20161112.1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.15.1-2_all.deb ... Unpacking automake (1:1.15.1-2) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.19.8.1-2_all.deb ... Unpacking autopoint (0.19.8.1-2) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.6-2_all.deb ... Unpacking libtool (2.4.6-2) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_14_all.deb ... Unpacking dh-autoreconf (14) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.59-1_all.deb ... Unpacking libarchive-zip-perl (1.59-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_0.035-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.035-2) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../20-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_0.035-2_all.deb ... Unpacking dh-strip-nondeterminism (0.035-2) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../22-libglib2.0-0_2.52.3-1_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.52.3-1) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../23-libcroco3_0.6.12-1_amd64.deb ... Unpacking libcroco3:amd64 (0.6.12-1) ... Selecting previously unselected package gettext. Preparing to unpack .../24-gettext_0.19.8.1-2+b1_amd64.deb ... Unpacking gettext (0.19.8.1-2+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../25-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../26-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../27-debhelper_10.6.2_all.deb ... Unpacking debhelper (10.6.2) ... Selecting previously unselected package sbuild-build-depends-ratfor-dummy. Preparing to unpack .../28-sbuild-build-depends-ratfor-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-ratfor-dummy (0.invalid.0) ... Setting up libarchive-zip-perl (1.59-1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsigsegv2:amd64 (2.11-1) ... Setting up groff-base (1.22.3-9) ... Setting up libglib2.0-0:amd64 (2.52.3-1) ... No schema files found: doing nothing. Setting up gettext-base (0.19.8.1-2+b1) ... Setting up libpipeline1:amd64 (1.4.1-2) ... Setting up m4 (1.4.18-1) ... Setting up libicu57:amd64 (57.1-6) ... Setting up libxml2:amd64 (2.9.4+dfsg1-3) ... Setting up libmagic-mgc (1:5.30-1) ... Setting up libmagic1:amd64 (1:5.30-1) ... Setting up libcroco3:amd64 (0.6.12-1) ... Processing triggers for libc-bin (2.24-12) ... Setting up autotools-dev (20161112.1) ... Setting up bsdmainutils (9.0.12+nmu1) ... 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 autopoint (0.19.8.1-2) ... Setting up libfile-stripnondeterminism-perl (0.035-2) ... Setting up gettext (0.19.8.1-2+b1) ... Setting up autoconf (2.69-10) ... Setting up file (1:5.30-1) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up automake (1:1.15.1-2) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up man-db (2.7.6.1-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libtool (2.4.6-2) ... Setting up po-debconf (1.0.20) ... Setting up dh-autoreconf (14) ... Setting up dh-strip-nondeterminism (0.035-2) ... Setting up debhelper (10.6.2) ... Setting up sbuild-build-depends-ratfor-dummy (0.invalid.0) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.9.0-2-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.28-6 dpkg-dev_1.18.24 g++-6_6.4.0-1 gcc-6_6.4.0-1 libc6-dev_2.24-12 libstdc++-6-dev_6.4.0-1 libstdc++6_7.1.0-9 linux-libc-dev_4.11.6-1 Package versions: adduser_3.115 apt_1.5~beta1 autoconf_2.69-10 automake_1:1.15.1-2 autopoint_0.19.8.1-2 autotools-dev_20161112.1 base-files_10 base-passwd_3.5.43 bash_4.4-5 binutils_2.28-6 bsdmainutils_9.0.12+nmu1 bsdutils_1:2.29.2-1 build-essential_12.3 bzip2_1.0.6-8.1 clang-4.0_1:4.0.1-1 coreutils_8.26-3 cpp_4:6.3.0-4d1 cpp-6_6.4.0-1 dash_0.5.8-2.4 debconf_1.5.62 debfoster_2.7-2.1+b1 debhelper_10.6.2 debian-archive-keyring_2017.5 debianutils_4.8.1.1 dh-autoreconf_14 dh-strip-nondeterminism_0.035-2 diffutils_1:3.5-3 dpkg_1.18.24 dpkg-dev_1.18.24 e2fslibs_1.43.4-2 e2fsprogs_1.43.4-2 eatmydata_105-5 fakeroot_1.21-3.1 file_1:5.30-1 findutils_4.6.0+git+20170606-2 g++_4:6.3.0-4d1 g++-6_6.4.0-1 gcc_4:6.3.0-4d1 gcc-6_6.4.0-1 gcc-6-base_6.4.0-1 gcc-7-base_7.1.0-9 gettext_0.19.8.1-2+b1 gettext-base_0.19.8.1-2+b1 gpgv_2.1.18-8 grep_2.27-2 groff-base_1.22.3-9 gzip_1.6-5+b1 hostname_3.18+b1 init-system-helpers_1.48 intltool-debian_0.35.0+20060710.4 libacl1_2.2.52-3+b1 libapt-pkg5.0_1.5~beta1 libarchive-zip-perl_1.59-1 libasan3_6.4.0-1 libatomic1_7.1.0-9 libattr1_1:2.4.47-2+b2 libaudit-common_1:2.7.7-1 libaudit1_1:2.7.7-1+b1 libblkid1_2.29.2-1 libbsd0_0.8.5-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.24-12 libc-dev-bin_2.24-12 libc6_2.24-12 libc6-dev_2.24-12 libcap-ng0_0.7.7-3+b1 libcc1-0_7.1.0-9 libcilkrts5_7.1.0-9 libclang-common-4.0-dev_1:4.0.1-1 libclang1-4.0_1:4.0.1-1 libcomerr2_1.43.4-2 libcroco3_0.6.12-1 libdb5.3_5.3.28-12+b1 libdebconfclient0_0.229 libdpkg-perl_1.18.24 libeatmydata1_105-5 libedit2_3.1-20170329-1 libfakeroot_1.21-3.1 libfdisk1_2.29.2-1 libffi6_3.2.1-6 libfile-stripnondeterminism-perl_0.035-2 libgc1c2_1:7.4.2-8 libgcc-6-dev_6.4.0-1 libgcc1_1:7.1.0-9 libgcrypt20_1.7.8-1 libgdbm3_1.8.3-14 libglib2.0-0_2.52.3-1 libgmp10_2:6.1.2+dfsg-1 libgnutls30_3.5.13-2 libgomp1_7.1.0-9 libgpg-error0_1.27-3 libhogweed4_3.3-1+b1 libicu57_57.1-6 libidn2-0_0.16-1+b1 libisl15_0.18-1 libitm1_7.1.0-9 libjsoncpp1_1.7.4-3 libllvm4.0_1:4.0.1-1 liblsan0_7.1.0-9 liblz4-1_0.0~r131-2+b1 liblzma5_5.2.2-1.2+b1 libmagic-mgc_1:5.30-1 libmagic1_1:5.30-1 libmount1_2.29.2-1 libmpc3_1.0.3-1+b2 libmpfr4_3.1.5-1 libmpx2_7.1.0-9 libncurses5_6.0+20161126-1 libncursesw5_6.0+20161126-1 libnettle6_3.3-1+b1 libobjc-6-dev_6.4.0-1 libobjc4_7.1.0-9 libp11-kit0_0.23.7-2 libpam-modules_1.1.8-3.6 libpam-modules-bin_1.1.8-3.6 libpam-runtime_1.1.8-3.6 libpam0g_1.1.8-3.6 libpcre3_2:8.39-3 libperl5.24_5.24.1-6 libpipeline1_1.4.1-2 libquadmath0_7.1.0-9 libselinux1_2.6-3+b2 libsemanage-common_2.6-2 libsemanage1_2.6-2+b1 libsepol1_2.6-2 libsigsegv2_2.11-1 libsmartcols1_2.29.2-1 libss2_1.43.4-2 libstdc++-6-dev_6.4.0-1 libstdc++6_7.1.0-9 libsystemd0_233-10 libtasn1-6_4.12-2 libtimedate-perl_2.3000-2 libtinfo5_6.0+20161126-1 libtool_2.4.6-2 libtsan0_7.1.0-9 libubsan0_7.1.0-9 libudev1_233-10 libunistring2_0.9.7-2 libustr-1.0-1_1.0.4-6 libuuid1_2.29.2-1 libxml2_2.9.4+dfsg1-3 linux-libc-dev_4.11.6-1 login_1:4.4-4.1 m4_1.4.18-1 make_4.1-9.1 man-db_2.7.6.1-2 mawk_1.3.3-17+b3 mount_2.29.2-1 multiarch-support_2.24-12 ncurses-base_6.0+20161126-1 ncurses-bin_6.0+20161126-1 passwd_1:4.4-4.1 patch_2.7.5-1+b2 perl_5.24.1-6 perl-base_5.24.1-6 perl-modules-5.24_5.24.1-6 po-debconf_1.0.20 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-ratfor-dummy_0.invalid.0 sed_4.4-1 sensible-utils_0.0.9 sysvinit-utils_2.88dsf-59.9 tar_1.29b-1.1 util-linux_2.29.2-1 xz-utils_5.2.2-1.2+b1 zlib1g_1:1.2.8.dfsg-5 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Sat Jan 21 23:04:32 2017 UTC gpgv: using RSA key 3AFA757FAC6EA11D2FF45DF088D24287A2D898B1 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ratfor_1.0-16.dsc dpkg-source: info: extracting ratfor in /<> dpkg-source: info: unpacking ratfor_1.0.orig.tar.gz dpkg-source: info: applying ratfor_1.0-16.diff.gz dpkg-source: info: upstream files that have been modified: /<>/Makefile /<>/getopt.c /<>/rat4.c /<>/ratfor.1 Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf HOME=/sbuild-nonexistent LANG=en_US.UTF-8 LC_ALL=POSIX LOGNAME=user42 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=1001 SCHROOT_GROUP=user42 SCHROOT_SESSION_ID=unstable-amd64-sbuild-7e74b528-80ce-4432-b7f6-d8b2ebef668a SCHROOT_UID=1001 SCHROOT_USER=user42 SHELL=/bin/sh USER=user42 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package ratfor dpkg-buildpackage: info: source version 1.0-16 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Adrian Bunk dpkg-source --before-build ratfor-1.0 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean make -f Makefile clean make[1]: Entering directory '/<>' rm -f ratfor getopt.o lookup.o rat4.o *~ "#*#" make[1]: Leaving directory '/<>' rm -f stamp-build debian/files debian/substvars rm -rf debian/tmp dpkg-buildpackage: warning: debian/rules must be updated to support the 'build-arch' and 'build-indep' targets (at least 'build-arch' seems to be missing) debian/rules build test -f rat4.c -a -f debian/rules make -f Makefile CFLAGS="-g -DF77 -DS_CHAR=\"signed char\" -O2" make[1]: Entering directory '/<>' gcc -g -DF77 -DS_CHAR="signed char" -O2 -c -o getopt.o getopt.c getopt.c:31:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(argv[optind77], "--")==0) { ^ getopt.c:31:7: note: include the header or explicitly provide a declaration for 'strcmp' 1 warning generated. gcc -g -DF77 -DS_CHAR="signed char" -O2 -c -o lookup.o lookup.c lookup.c:14:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] hash(s) ^ lookup.c:35:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(s, np->name) == 0) ^ lookup.c:35:7: note: include the header or explicitly provide a declaration for 'strcmp' lookup.c:35:14: warning: passing 'signed char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(s, np->name) == 0) ^ lookup.c:35:17: warning: passing 'signed char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(s, np->name) == 0) ^~~~~~~~ lookup.c:51:22: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] S_CHAR *strsave(), *malloc(); ^ lookup.c:51:22: note: 'malloc' is a builtin with type 'void *(unsigned long)' lookup.c:63:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(np->def); /* free prev. */ ^ lookup.c:77:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] S_CHAR *p, *malloc(); ^ lookup.c:51:22: note: 'malloc' is a builtin with type 'void *(unsigned long)' S_CHAR *strsave(), *malloc(); ^ lookup.c:79:18: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] if ((p = malloc(strlen(s)+1)) != NULL) ^ lookup.c:79:18: note: include the header or explicitly provide a declaration for 'strlen' lookup.c:79:25: warning: passing 'signed char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((p = malloc(strlen(s)+1)) != NULL) ^ lookup.c:80:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(p, s); ^ lookup.c:80:3: note: include the header or explicitly provide a declaration for 'strcpy' lookup.c:80:10: warning: passing 'signed char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, s); ^ lookup.c:80:13: warning: passing 'signed char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, s); ^ 12 warnings generated. gcc -g -DF77 -DS_CHAR="signed char" -O2 -c -o rat4.o rat4.c rat4.c:166:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc,argv) ^ rat4.c:177:12: warning: implicit declaration of function 'our_getopt' is invalid in C99 [-Wimplicit-function-declaration] while ((c=our_getopt(argc, argv, "C?n:l:o:")) != EOF) ^ rat4.c:190:5: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration] error("can't write %s\n", optarg); ^ rat4.c:217:2: warning: implicit declaration of function 'initvars' is invalid in C99 [-Wimplicit-function-declaration] initvars(); ^ rat4.c:219:2: warning: implicit declaration of function 'parse' is invalid in C99 [-Wimplicit-function-declaration] parse(); /* call parser.. */ ^ rat4.c:227:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] initvars() ^ rat4.c:242:2: warning: implicit declaration of function 'install' is invalid in C99 [-Wimplicit-function-declaration] install(def, deftyp); /* default definitions */ ^ rat4.c:247:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rat4.c:253:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] parse() ^ rat4.c:260:15: warning: implicit declaration of function 'lex' is invalid in C99 [-Wimplicit-function-declaration] for (token = lex(lexstr); token != EOF; token = lex(lexstr)) { ^ rat4.c:262:4: warning: implicit declaration of function 'ifcode' is invalid in C99 [-Wimplicit-function-declaration] ifcode(&lab); ^ rat4.c:264:4: warning: implicit declaration of function 'docode' is invalid in C99 [-Wimplicit-function-declaration] docode(&lab); ^ rat4.c:266:4: warning: implicit declaration of function 'whilec' is invalid in C99 [-Wimplicit-function-declaration] whilec(&lab); ^ rat4.c:268:4: warning: implicit declaration of function 'forcod' is invalid in C99 [-Wimplicit-function-declaration] forcod(&lab); ^ rat4.c:270:4: warning: implicit declaration of function 'repcod' is invalid in C99 [-Wimplicit-function-declaration] repcod(&lab); ^ rat4.c:272:4: warning: implicit declaration of function 'swcode' is invalid in C99 [-Wimplicit-function-declaration] swcode(&lab); ^ rat4.c:278:5: warning: implicit declaration of function 'synerr' is invalid in C99 [-Wimplicit-function-declaration] synerr("illegal case of default."); ^ rat4.c:280:5: warning: implicit declaration of function 'cascod' is invalid in C99 [-Wimplicit-function-declaration] cascod(labval[i], token); ^ rat4.c:283:4: warning: implicit declaration of function 'labelc' is invalid in C99 [-Wimplicit-function-declaration] labelc(lexstr); ^ rat4.c:286:5: warning: implicit declaration of function 'elseif' is invalid in C99 [-Wimplicit-function-declaration] elseif(labval[sp]); ^ rat4.c:296:5: warning: implicit declaration of function 'baderr' is invalid in C99 [-Wimplicit-function-declaration] baderr("stack overflow in parser."); ^ rat4.c:308:6: warning: implicit declaration of function 'swend' is invalid in C99 [-Wimplicit-function-declaration] swend(labval[sp]); ^ rat4.c:315:5: warning: implicit declaration of function 'otherc' is invalid in C99 [-Wimplicit-function-declaration] otherc(lexstr); ^ rat4.c:317:5: warning: implicit declaration of function 'brknxt' is invalid in C99 [-Wimplicit-function-declaration] brknxt(sp, lextyp, labval, token); ^ rat4.c:319:5: warning: implicit declaration of function 'retcod' is invalid in C99 [-Wimplicit-function-declaration] retcod(); ^ rat4.c:321:5: warning: implicit declaration of function 'strdcl' is invalid in C99 [-Wimplicit-function-declaration] strdcl(); ^ rat4.c:323:4: warning: implicit declaration of function 'pbstr' is invalid in C99 [-Wimplicit-function-declaration] pbstr(lexstr); ^ rat4.c:324:4: warning: implicit declaration of function 'unstak' is invalid in C99 [-Wimplicit-function-declaration] unstak(&sp, lextyp, labval, token); ^ rat4.c:329:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rat4.c:349:7: warning: implicit declaration of function 'type' is invalid in C99 [-Wimplicit-function-declaration] if (type(str[i]) != DIGIT) ^ rat4.c:360:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] balpar() ^ rat4.c:365:6: warning: implicit declaration of function 'gnbtok' is invalid in C99 [-Wimplicit-function-declaration] if (gnbtok(token, MAXTOK) != LPAREN) { ^ rat4.c:367:3: error: non-void function 'balpar' should return a value [-Wreturn-type] return; ^ rat4.c:369:2: warning: implicit declaration of function 'outstr' is invalid in C99 [-Wimplicit-function-declaration] outstr(token); ^ rat4.c:372:7: warning: implicit declaration of function 'gettok' is invalid in C99 [-Wimplicit-function-declaration] t = gettok(token, MAXTOK); ^ rat4.c:404:9: warning: implicit declaration of function 'gtok' is invalid in C99 [-Wimplicit-function-declaration] for (t=gtok(token, toksiz, fd); t!=EOF; t=gtok(token, toksiz, fd)) { ^ rat4.c:407:7: warning: implicit declaration of function 'look' is invalid in C99 [-Wimplicit-function-declaration] if (look(token, defn) == NO) /* undefined */ ^ rat4.c:410:4: warning: implicit declaration of function 'getdef' is invalid in C99 [-Wimplicit-function-declaration] getdef(token, toksiz, defn, MAXDEF, fd); ^ rat4.c:417:3: warning: implicit declaration of function 'fold' is invalid in C99 [-Wimplicit-function-declaration] fold(token); ^ rat4.c:426:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] eatup() ^ rat4.c:472:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getdef(token, toksiz, defn, defsiz, fd) ^ rat4.c:482:2: warning: implicit declaration of function 'skpblk' is invalid in C99 [-Wimplicit-function-declaration] skpblk(fd); ^ rat4.c:508:4: warning: implicit declaration of function 'putbak' is invalid in C99 [-Wimplicit-function-declaration] putbak(c); ^ rat4.c:547:12: warning: implicit declaration of function 'equal' is invalid in C99 [-Wimplicit-function-declaration] if (equal(token, fncn) == YES) { ^ rat4.c:599:7: warning: implicit declaration of function 'scopy' is invalid in C99 [-Wimplicit-function-declaration] scopy(name, 0, fnames, fnamp); ^ rat4.c:652:6: warning: implicit declaration of function 'outasis' is invalid in C99 [-Wimplicit-function-declaration] outasis(fd); /* copy direct to output if % */ ^ rat4.c:658:6: warning: implicit declaration of function 'outcmnt' is invalid in C99 [-Wimplicit-function-declaration] outcmnt(fd); /* copy comments to output */ ^ rat4.c:716:8: warning: implicit declaration of function 'itoc' is invalid in C99 [-Wimplicit-function-declaration] i = itoc(n, lexstr, toksiz); ^ rat4.c:740:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ rat4.c:765:7: warning: implicit declaration of function 'relate' is invalid in C99 [-Wimplicit-function-declaration] i = relate(lexstr, fd); ^ rat4.c:888:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] pbstr(in) ^ rat4.c:901:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] putbak(c) ^ rat4.c:975:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] skpblk(fd) ^ rat4.c:1014:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] brknxt(sp, lextyp, labval, token) ^ rat4.c:1027:7: warning: implicit declaration of function 'ctoi' is invalid in C99 [-Wimplicit-function-declaration] n = ctoi(ptoken, &i) - 1; ^ rat4.c:1039:5: warning: implicit declaration of function 'outgo' is invalid in C99 [-Wimplicit-function-declaration] outgo(labval[i]+1); ^ rat4.c:1046:4: error: non-void function 'brknxt' should return a value [-Wreturn-type] return; ^ rat4.c:1052:2: error: non-void function 'brknxt' should return a value [-Wreturn-type] return; ^ rat4.c:1059:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] docode(lab) ^ rat4.c:1063:2: warning: implicit declaration of function 'outtab' is invalid in C99 [-Wimplicit-function-declaration] outtab(); ^ rat4.c:1065:9: warning: implicit declaration of function 'labgen' is invalid in C99 [-Wimplicit-function-declaration] *lab = labgen(2); ^ rat4.c:1066:2: warning: implicit declaration of function 'outnum' is invalid in C99 [-Wimplicit-function-declaration] outnum(*lab); ^ rat4.c:1068:2: warning: implicit declaration of function 'outdon' is invalid in C99 [-Wimplicit-function-declaration] outdon(); ^ rat4.c:1075:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dostat(lab) ^ rat4.c:1078:2: warning: implicit declaration of function 'outcon' is invalid in C99 [-Wimplicit-function-declaration] outcon(lab); ^ rat4.c:1086:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] elseif(lab) ^ rat4.c:1104:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] forcod(lab) ^ rat4.c:1115:3: error: non-void function 'forcod' should return a value [-Wreturn-type] return; ^ rat4.c:1130:3: warning: implicit declaration of function 'outch' is invalid in C99 [-Wimplicit-function-declaration] outch(LPAREN); ^ rat4.c:1142:5: error: non-void function 'forcod' should return a value [-Wreturn-type] return; ^ rat4.c:1186:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fors(lab) ^ rat4.c:1210:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ifcode(lab) ^ rat4.c:1217:2: warning: implicit declaration of function 'ifthen' is invalid in C99 [-Wimplicit-function-declaration] ifthen(); ^ rat4.c:1228:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ifend() ^ rat4.c:1240:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ifgo(lab) ^ rat4.c:1256:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ifthen() ^ rat4.c:1270:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] labelc(lexstr) ^ rat4.c:1301:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] otherc(lexstr) ^ rat4.c:1315:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] outch(c) ^ rat4.c:1335:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] outcon(n) ^ rat4.c:1340:3: error: non-void function 'outcon' should return a value [-Wreturn-type] return; /* don't need unlabeled continues */ ^ rat4.c:1352:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] outdon() ^ rat4.c:1365:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] outcmnt(fd) ^ rat4.c:1377:15: warning: array index 81 is past the end of the array (which contains 81 elements) [-Warray-bounds] comout[81]=EOS; ^ ~~ rat4.c:1369:9: note: array 'comout' declared here S_CHAR comout[81]; ^ :2:16: note: expanded from here #define S_CHAR signed char ^ rat4.c:1395:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] outasis(fd) ^ rat4.c:1408:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] outgo(n) ^ rat4.c:1412:3: error: non-void function 'outgo' should return a value [-Wreturn-type] return; ^ rat4.c:1423:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] outnum(n) ^ rat4.c:1450:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] outstr(str) ^ rat4.c:1463:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] outtab() ^ rat4.c:1474:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] repcod(lab) ^ rat4.c:1491:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] retcod() ^ rat4.c:1507:9: warning: passing 'char [7]' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] outstr(sret); ^~~~ rat4.c:1514:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] strdcl() ^ rat4.c:1548:9: warning: passing 'char *' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] outstr(dat); ^~~ rat4.c:1570:8: warning: passing 'char *' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] pbstr(eoss); /* push back EOS for subsequent substitution */ ^~~~ rat4.c:1578:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] unstak(sp, lextyp, labval, token) ^ rat4.c:1612:4: warning: implicit declaration of function 'whiles' is invalid in C99 [-Wimplicit-function-declaration] whiles(labval[tp]); ^ rat4.c:1616:4: warning: implicit declaration of function 'untils' is invalid in C99 [-Wimplicit-function-declaration] untils(labval[tp], token); ^ rat4.c:1625:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] untils(lab, token) ^ rat4.c:1646:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] whilec(lab) ^ rat4.c:1667:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] whiles(lab) ^ rat4.c:1685:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] baderr(msg) ^ rat4.c:1695:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] error(msg, s) ^ rat4.c:1706:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] synerr(msg) ^ rat4.c:1712:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,errmsg); ^~~~~~ rat4.c:1712:17: note: treat the string as an argument to avoid this fprintf(stderr,errmsg); ^ "%s", rat4.c:1718:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,(char*)lc); ^ ~~ rat4.c:1718:17: note: treat the string as an argument to avoid this fprintf(stderr,(char*)lc); ^ "%s", rat4.c:1721:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,in); ^~ rat4.c:1721:19: note: treat the string as an argument to avoid this fprintf(stderr,in); ^ "%s", rat4.c:1722:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,(char*)&fnames[i]); ^ ~~~~~~~~~~ rat4.c:1722:19: note: treat the string as an argument to avoid this fprintf(stderr,(char*)&fnames[i]); ^ "%s", rat4.c:1759:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fold(token) ^ rat4.c:1796:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] scopy(from, i, to, j) ^ rat4.c:1868:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cascod (lab, token) ^ rat4.c:1876:11: warning: passing 'char [25]' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] synerr ("illegal case or default."); ^~~~~~~~~~~~~~~~~~~~~~~~~~ rat4.c:1877:3: error: non-void function 'cascod' should return a value [-Wreturn-type] return; ^ rat4.c:1883:10: warning: implicit declaration of function 'caslab' is invalid in C99 [-Wimplicit-function-declaration] while (caslab (&lb, &t) != EOF) { ^ rat4.c:1888:13: warning: passing 'char [29]' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] synerr ("illegal range in case label."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rat4.c:1892:13: warning: passing 'char [23]' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] baderr ("switch table overflow."); ^~~~~~~~~~~~~~~~~~~~~~~~ rat4.c:1897:14: warning: passing 'char [22]' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] synerr ("duplicate case label."); ^~~~~~~~~~~~~~~~~~~~~~~ rat4.c:1899:13: warning: passing 'char [22]' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] synerr ("duplicate case label."); ^~~~~~~~~~~~~~~~~~~~~~~ rat4.c:1910:13: warning: passing 'char [21]' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] synerr ("illegal case syntax."); ^~~~~~~~~~~~~~~~~~~~~~ rat4.c:1916:12: warning: passing 'char [39]' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] baderr ("multiple defaults in switch statement."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rat4.c:1922:11: warning: passing 'char [16]' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] synerr ("unexpected EOF."); ^~~~~~~~~~~~~~~~~ rat4.c:1924:11: warning: passing 'char [40]' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] baderr ("missing colon in case or default label."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rat4.c:1954:11: warning: passing 'char [20]' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] synerr ("invalid case label."); ^~~~~~~~~~~~~~~~~~~~~ rat4.c:1970:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] swcode (lab) ^ rat4.c:1977:11: warning: passing 'char [23]' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] baderr ("switch table overflow."); ^~~~~~~~~~~~~~~~~~~~~~~~ rat4.c:1985:2: warning: implicit declaration of function 'swvar' is invalid in C99 [-Wimplicit-function-declaration] swvar(*lab); ^ rat4.c:1994:11: warning: passing 'char [40]' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] synerr ("missing left brace in switch statement."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rat4.c:2003:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] swend(lab) ^ rat4.c:2072:12: warning: passing 'char *' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] outstr (sif); ^~~ rat4.c:2075:13: warning: passing 'char *' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] outstr (seq); /* # .eq....*/ ^~~ rat4.c:2079:13: warning: passing 'char *' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] outstr (sge); /* # .ge.lb.and.Innn.le.ub */ ^~~ rat4.c:2081:13: warning: passing 'char *' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] outstr (sand); ^~~~ rat4.c:2083:13: warning: passing 'char *' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] outstr (sle); ^~~ rat4.c:2100:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] swvar (lab) ^ 127 warnings and 8 errors generated. : recipe for target 'rat4.o' failed make[1]: *** [rat4.o] Error 1 make[1]: Leaving directory '/<>' debian/rules:29: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 -------------------------------------------------------------------------------- Build finished at 2017-07-06T21:10:31Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Type: any Build-Space: 140 Build-Time: 0 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 6 Job: ratfor_1.0-16 Machine Architecture: amd64 Package: ratfor Package-Time: 28 Source-Version: 1.0-16 Space: 140 Status: attempted Version: 1.0-16 -------------------------------------------------------------------------------- Finished at 2017-07-06T21:10:31Z Build needed 00:00:28, 140k disk space E: Build failure (dpkg-buildpackage died) DC-Status: Failed 29.398955011s