DC-Build-Header: glimpse 4.18.7-3 / 2017-07-06 15:56:56 +0000 DC-Task: type:rebuild-binarch-only source:glimpse version:4.18.7-3 chroot:unstable esttime: logfile:/tmp/glimpse_4.18.7-3_unstable_clang3.9.log modes:clang:binarch-only DC-Sbuild-call: su user42 -c 'sbuild -n --arch-any --apt-update -d unstable -v --chroot-setup-commands=/tmp/clang glimpse_4.18.7-3' sbuild (Debian sbuild) 0.73.0 (23 Dec 2016) on ip-172-31-43-157.eu-central-1.compute.internal +==============================================================================+ | glimpse 4.18.7-3 (amd64) Thu, 06 Jul 2017 15:56:56 +0000 | +==============================================================================+ Package: glimpse Version: 4.18.7-3 Source Version: 4.18.7-3 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-794d956a-fd66-432a-aca9-48663883709b' with '<>' +------------------------------------------------------------------------------+ | Chroot Setup Commands | +------------------------------------------------------------------------------+ /tmp/clang ---------- + echo 'Entering customization script...' Entering customization script... + CLANG_VERSION=3.9 + echo 'Install of clang-3.9' Install of clang-3.9 + 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 (758 kB/s) Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-3.9 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-3.9-dev libclang1-3.9 libedit2 libffi6 libgcc-6-dev libgcc1 libgomp1 libitm1 libjsoncpp1 libllvm3.9 liblsan0 libmpx2 libncurses5 libobjc-6-dev libobjc4 libquadmath0 libstdc++-6-dev libstdc++6 libtsan0 libubsan0 Suggested packages: gnustep gnustep-devel clang-3.9-doc 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-3.9-dev python libgpm2 The following NEW packages will be installed: clang-3.9 libbsd0 libclang-common-3.9-dev libclang1-3.9 libedit2 libffi6 libjsoncpp1 libllvm3.9 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 83.9 MB of archives. After this operation, 251 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 libllvm3.9 amd64 1:3.9.1-10 [11.3 MB] Get:26 http://127.0.0.1:9999/debian unstable/main amd64 libclang1-3.9 amd64 1:3.9.1-10 [5875 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-3.9-dev amd64 1:3.9.1-10 [2573 kB] Get:31 http://127.0.0.1:9999/debian unstable/main amd64 clang-3.9 amd64 1:3.9.1-10 [37.4 MB] debconf: delaying package configuration, since apt-utils is not installed Fetched 83.9 MB in 0s (97.4 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 libllvm3.9:amd64. Preparing to unpack .../11-libllvm3.9_1%3a3.9.1-10_amd64.deb ... Unpacking libllvm3.9:amd64 (1:3.9.1-10) ... Selecting previously unselected package libclang1-3.9:amd64. Preparing to unpack .../12-libclang1-3.9_1%3a3.9.1-10_amd64.deb ... Unpacking libclang1-3.9:amd64 (1:3.9.1-10) ... 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-3.9-dev. Preparing to unpack .../16-libclang-common-3.9-dev_1%3a3.9.1-10_amd64.deb ... Unpacking libclang-common-3.9-dev (1:3.9.1-10) ... Selecting previously unselected package clang-3.9. Preparing to unpack .../17-clang-3.9_1%3a3.9.1-10_amd64.deb ... Unpacking clang-3.9 (1:3.9.1-10) ... 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 libllvm3.9:amd64 (1:3.9.1-10) ... Setting up libclang-common-3.9-dev (1:3.9.1-10) ... Setting up gcc-6 (6.4.0-1) ... Setting up g++-6 (6.4.0-1) ... Setting up libobjc-6-dev:amd64 (6.4.0-1) ... Setting up libclang1-3.9:amd64 (1:3.9.1-10) ... Setting up clang-3.9 (1:3.9.1-10) ... 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++-3.9 g++-4.6 + ln -s clang-3.9 gcc-4.6 + ln -s clang-3.9 cpp-4.6 + ln -s clang-3.9 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++-3.9 g++-4.7 + ln -s clang-3.9 gcc-4.7 + ln -s clang-3.9 cpp-4.7 + ln -s clang-3.9 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++-3.9 g++-4.8 + ln -s clang-3.9 gcc-4.8 + ln -s clang-3.9 cpp-4.8 + ln -s clang-3.9 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++-3.9 g++-4.9 + ln -s clang-3.9 gcc-4.9 + ln -s clang-3.9 cpp-4.9 + ln -s clang-3.9 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++-3.9 g++-5 + ln -s clang-3.9 gcc-5 + ln -s clang-3.9 cpp-5 + ln -s clang-3.9 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++-3.9 g++-6 + ln -s clang-3.9 gcc-6 + ln -s clang-3.9 cpp-6 + ln -s clang-3.9 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++-3.9 g++-7 + ln -s clang-3.9 gcc-7 + ln -s clang-3.9 cpp-7 + ln -s clang-3.9 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/glimpse-78Pplx + 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/clang'. 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 (86.8 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 ... 10107 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 ... 10107 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 ... 10107 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 ... 10114 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 ... 10117 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 ... 10123 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 ... 10133 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 ... 10141 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 ... 10150 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 ... 10177 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 ... 10176 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 ... 10176 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 ... 10176 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 ... 10176 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 ... 10176 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... NOTICE: 'glimpse' packaging is maintained in the 'Git' version control system at: git://github.com/az143/glimpse.git -b master Please use: git clone git://github.com/az143/glimpse.git -b master to retrieve the latest (possibly unreleased) updates to the package. Need to get 518 kB of source archives. Get:1 http://127.0.0.1:9999/debian unstable/main glimpse 4.18.7-3 (dsc) [1762 B] Get:2 http://127.0.0.1:9999/debian unstable/main glimpse 4.18.7-3 (tar) [511 kB] Get:3 http://127.0.0.1:9999/debian unstable/main glimpse 4.18.7-3 (diff) [5172 B] Fetched 518 kB in 0s (4588 kB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/glimpse-78Pplx/glimpse-4.18.7' with '<>' I: NOTICE: Log filtering will replace 'build/glimpse-78Pplx' 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-UtwFFs/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-UtwFFs/apt_archive ./ InRelease Get:2 copy:/<>/resolver-UtwFFs/apt_archive ./ Release [957 B] Ign:3 copy:/<>/resolver-UtwFFs/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-UtwFFs/apt_archive ./ Sources [349 B] Get:5 copy:/<>/resolver-UtwFFs/apt_archive ./ Packages [432 B] Fetched 1738 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-UtwFFs/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 ... 10178 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: flex, libfl-dev, debhelper (>= 8) Filtered Build-Depends: flex, libfl-dev, debhelper (>= 8) dpkg-deb: building package 'sbuild-build-depends-glimpse-dummy' in '/<>/resolver-UtwFFs/apt_archive/sbuild-build-depends-glimpse-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-glimpse-dummy dpkg-scanpackages: info: Wrote 2 entries to output Packages file. Ign:1 copy:/<>/resolver-UtwFFs/apt_archive ./ InRelease Get:2 copy:/<>/resolver-UtwFFs/apt_archive ./ Release [963 B] Ign:3 copy:/<>/resolver-UtwFFs/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-UtwFFs/apt_archive ./ Sources [495 B] Get:5 copy:/<>/resolver-UtwFFs/apt_archive ./ Packages [579 B] Fetched 2037 B in 0s (0 B/s) Reading package lists... Reading package lists... Install glimpse 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 flex gettext gettext-base groff-base intltool-debian libarchive-zip-perl libcroco3 libfile-stripnondeterminism-perl libfl-dev 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 bison 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 flex gettext gettext-base groff-base intltool-debian libarchive-zip-perl libcroco3 libfile-stripnondeterminism-perl libfl-dev libglib2.0-0 libicu57 libmagic-mgc libmagic1 libpipeline1 libsigsegv2 libtimedate-perl libtool libxml2 m4 man-db po-debconf sbuild-build-depends-glimpse-dummy 0 upgraded, 31 newly installed, 0 to remove and 0 not upgraded. Need to get 19.9 MB of archives. After this operation, 67.1 MB of additional disk space will be used. Get:1 copy:/<>/resolver-UtwFFs/apt_archive ./ sbuild-build-depends-glimpse-dummy 0.invalid.0 [796 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 libsigsegv2 amd64 2.11-1 [29.9 kB] Get:7 http://127.0.0.1:9999/debian unstable/main amd64 m4 amd64 1.4.18-1 [202 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 flex amd64 2.6.1-1.3 [440 kB] Get:9 http://127.0.0.1:9999/debian unstable/main amd64 libmagic-mgc amd64 1:5.30-1 [222 kB] Get:10 http://127.0.0.1:9999/debian unstable/main amd64 libmagic1 amd64 1:5.30-1 [111 kB] Get:11 http://127.0.0.1:9999/debian unstable/main amd64 file amd64 1:5.30-1 [63.9 kB] Get:12 http://127.0.0.1:9999/debian unstable/main amd64 gettext-base amd64 0.19.8.1-2+b1 [122 kB] Get:13 http://127.0.0.1:9999/debian unstable/main amd64 libicu57 amd64 57.1-6 [7701 kB] Get:14 http://127.0.0.1:9999/debian unstable/main amd64 libxml2 amd64 2.9.4+dfsg1-3 [715 kB] Get:15 http://127.0.0.1:9999/debian unstable/main amd64 autoconf all 2.69-10 [338 kB] Get:16 http://127.0.0.1:9999/debian unstable/main amd64 autotools-dev all 20161112.1 [73.4 kB] Get:17 http://127.0.0.1:9999/debian unstable/main amd64 automake all 1:1.15.1-2 [736 kB] Get:18 http://127.0.0.1:9999/debian unstable/main amd64 autopoint all 0.19.8.1-2 [433 kB] Get:19 http://127.0.0.1:9999/debian unstable/main amd64 libtool all 2.4.6-2 [545 kB] Get:20 http://127.0.0.1:9999/debian unstable/main amd64 dh-autoreconf all 14 [15.9 kB] Get:21 http://127.0.0.1:9999/debian unstable/main amd64 libarchive-zip-perl all 1.59-1 [95.5 kB] Get:22 http://127.0.0.1:9999/debian unstable/main amd64 libfile-stripnondeterminism-perl all 0.035-2 [17.0 kB] Get:23 http://127.0.0.1:9999/debian unstable/main amd64 libtimedate-perl all 2.3000-2 [42.2 kB] Get:24 http://127.0.0.1:9999/debian unstable/main amd64 dh-strip-nondeterminism all 0.035-2 [10.7 kB] Get:25 http://127.0.0.1:9999/debian unstable/main amd64 libglib2.0-0 amd64 2.52.3-1 [2742 kB] Get:26 http://127.0.0.1:9999/debian unstable/main amd64 libcroco3 amd64 0.6.12-1 [144 kB] Get:27 http://127.0.0.1:9999/debian unstable/main amd64 gettext amd64 0.19.8.1-2+b1 [1301 kB] Get:28 http://127.0.0.1:9999/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.4 [26.3 kB] Get:29 http://127.0.0.1:9999/debian unstable/main amd64 po-debconf all 1.0.20 [247 kB] Get:30 http://127.0.0.1:9999/debian unstable/main amd64 debhelper all 10.6.2 [968 kB] Get:31 http://127.0.0.1:9999/debian unstable/main amd64 libfl-dev amd64 2.6.1-1.3 [93.1 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 19.9 MB in 0s (73.6 MB/s) Selecting previously unselected package groff-base. (Reading database ... 10178 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 libsigsegv2:amd64. Preparing to unpack .../04-libsigsegv2_2.11-1_amd64.deb ... Unpacking libsigsegv2:amd64 (2.11-1) ... Selecting previously unselected package m4. Preparing to unpack .../05-m4_1.4.18-1_amd64.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package flex. Preparing to unpack .../06-flex_2.6.1-1.3_amd64.deb ... Unpacking flex (2.6.1-1.3) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../07-libmagic-mgc_1%3a5.30-1_amd64.deb ... Unpacking libmagic-mgc (1:5.30-1) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../08-libmagic1_1%3a5.30-1_amd64.deb ... Unpacking libmagic1:amd64 (1:5.30-1) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.30-1_amd64.deb ... Unpacking file (1:5.30-1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../10-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 .../11-libicu57_57.1-6_amd64.deb ... Unpacking libicu57:amd64 (57.1-6) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../12-libxml2_2.9.4+dfsg1-3_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../13-autoconf_2.69-10_all.deb ... Unpacking autoconf (2.69-10) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../14-autotools-dev_20161112.1_all.deb ... Unpacking autotools-dev (20161112.1) ... Selecting previously unselected package automake. Preparing to unpack .../15-automake_1%3a1.15.1-2_all.deb ... Unpacking automake (1:1.15.1-2) ... Selecting previously unselected package autopoint. Preparing to unpack .../16-autopoint_0.19.8.1-2_all.deb ... Unpacking autopoint (0.19.8.1-2) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-2_all.deb ... Unpacking libtool (2.4.6-2) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_14_all.deb ... Unpacking dh-autoreconf (14) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-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 .../20-libfile-stripnondeterminism-perl_0.035-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.035-2) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../21-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-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 .../23-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 .../24-libcroco3_0.6.12-1_amd64.deb ... Unpacking libcroco3:amd64 (0.6.12-1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-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 .../26-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 .../27-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_10.6.2_all.deb ... Unpacking debhelper (10.6.2) ... Selecting previously unselected package libfl-dev:amd64. Preparing to unpack .../29-libfl-dev_2.6.1-1.3_amd64.deb ... Unpacking libfl-dev:amd64 (2.6.1-1.3) ... Selecting previously unselected package sbuild-build-depends-glimpse-dummy. Preparing to unpack .../30-sbuild-build-depends-glimpse-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-glimpse-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 flex (2.6.1-1.3) ... Setting up autoconf (2.69-10) ... Setting up file (1:5.30-1) ... Setting up libfl-dev:amd64 (2.6.1-1.3) ... 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-glimpse-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.24-12) ... +------------------------------------------------------------------------------+ | 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-3.9_1:3.9.1-10 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 flex_2.6.1-1.3 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-3.9-dev_1:3.9.1-10 libclang1-3.9_1:3.9.1-10 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 libfl-dev_2.6.1-1.3 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 libllvm3.9_1:3.9.1-10 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-glimpse-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 Wed Dec 14 07:22:56 2016 UTC gpgv: using RSA key 3D3A838837D0FA8D gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./glimpse_4.18.7-3.dsc dpkg-source: info: extracting glimpse in /<> dpkg-source: info: unpacking glimpse_4.18.7.orig.tar.gz dpkg-source: info: unpacking glimpse_4.18.7-3.debian.tar.xz dpkg-source: info: applying 01-makefile dpkg-source: info: applying 01-manpages 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-794d956a-fd66-432a-aca9-48663883709b SCHROOT_UID=1001 SCHROOT_USER=user42 SHELL=/bin/sh USER=user42 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package glimpse dpkg-buildpackage: info: source version 4.18.7-3 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Alexander Zangerl dpkg-source --before-build glimpse-4.18.7 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || /usr/bin/make distclean dh_clean dh_clean: Compatibility levels before 9 are deprecated (level 8 in use) debian/rules build-arch dh_testdir CFLAGS="-g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" INSTALL_OPTS="-s" ./configure --prefix=/usr --mandir='${prefix}/share/man' checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for ar... /usr/bin/ar checking for ranlib... ranlib checking whether ln -s works... yes checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for strip... /usr/bin/strip checking for cp... /bin/cp checking for a BSD-compatible install... /usr/bin/install -c checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/dir.h usability... yes checking sys/dir.h presence... yes checking for sys/dir.h... yes checking sys/ndir.h usability... no checking sys/ndir.h presence... no checking for sys/ndir.h... no checking strerr.h usability... no checking strerr.h presence... no checking for strerr.h... no checking whether time.h and sys/time.h may both be included... yes checking for an ANSI C-conforming const... yes checking return type of signal handlers... void checking whether utime accepts a null argument... yes checking for strdup... yes checking for strerror... yes checking for sqrt in -lm... yes checking for dlopen in -lc... no checking for dlopen in -ldl... yes checking for connect... yes checking for gethostbyname... yes configure: creating ./config.status config.status: creating Makefile config.status: creating index/Makefile config.status: creating compress/Makefile config.status: creating agrep/Makefile config.status: creating dynfilters/Makefile config.status: creating libtemplate/Makefile config.status: creating libtemplate/util/Makefile config.status: creating libtemplate/template/Makefile config.status: creating libtemplate/lib/Makefile config.status: creating libtemplate/include/autoconf.h config.status: libtemplate/include/autoconf.h is unchanged /usr/bin/make make[1]: Entering directory '/<>' [ -d bin ] || mkdir bin [ -d lib ] || mkdir lib for d in compress agrep libtemplate index dynfilters ; do \ ( cd $d; /usr/bin/make ); \ done make[2]: Entering directory '/<>/compress' gcc -I../index -I../agrep -I../libtemplate/include -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o hash.o hash.c hash.c:168:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] thash4k(word, len) ^ hash.c:212:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] *i = thash4k(word, len); ^~~~ hash.c:280:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] fprintf(hashfp, "%d %d %s\n", thash64k(e->word, strlen(e->word)), wordindex, e->word); /* must look like I used 64K table */ ^~~~~~~ hash.c:522:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] pad_hash_file(filename, FILEBLOCKSIZE) ^ 4 warnings generated. gcc -I../index -I../agrep -I../libtemplate/include -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o string.o string.c string.c:28:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((stringfp = fopen(string_file, "w")) == NULL) { ^~~~~~~~~~~ /usr/include/stdio.h:274:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ string.c:32:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((indexfp = fopen(index_file, "r")) == NULL) { ^~~~~~~~~~ /usr/include/stdio.h:274:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ string.c:213:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] pad_string_file(filename, FILEBLOCKSIZE) ^ string.c:225:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((infp = fopen(filename, "r")) == NULL) { ^~~~~~~~ /usr/include/stdio.h:274:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ string.c:229:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(buf, "%s.index", filename); ^~~ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ string.c:230:23: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((indexfp = fopen(buf, "w")) == NULL) { ^~~ /usr/include/stdio.h:274:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ string.c:235:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(buf, "%s.%d", filename, pid); ^~~ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ string.c:236:21: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((outfp = fopen(buf, "w")) == NULL) { ^~~ /usr/include/stdio.h:274:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ string.c:249:27: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((char *)buf != fgets(buf, MAX_NAME_LEN, infp)) goto end_of_input; ^~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ string.c:251:8: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fputs(buf, outfp); ^~~ /usr/include/stdio.h:691:42: note: passing argument to parameter '__s' here extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ string.c:256:14: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while(fgets(buf, MAX_NAME_LEN, infp) == (char *)buf) { ^~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ string.c:261:10: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fputs(buf, outfp); ^~~ /usr/include/stdio.h:691:42: note: passing argument to parameter '__s' here extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ string.c:265:14: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else fputs(buf, outfp); ^~~ /usr/include/stdio.h:691:42: note: passing argument to parameter '__s' here extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ string.c:277:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(buf, "exec %s %s.%d %s\n", SYSTEM_MV, tescapesinglequote(filename, es1), pid, tescapesinglequote(filename, es2)); ^~~ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ string.c:278:9: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] system(buf); ^~~ /usr/include/stdlib.h:677:32: note: passing argument to parameter '__command' here extern int system (const char *__command) __wur; ^ 15 warnings generated. gcc -I../index -I../agrep -I../libtemplate/include -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o misc.o misc.c misc.c:34:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_usemalloc() ^ misc.c:37:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ misc.c:39:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] unset_usemalloc() ^ misc.c:42:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ misc.c:61:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] myfpcopy(fp, src) ^ misc.c:75:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mystrcpy(dest, src) ^ misc.c:80:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(*dest = *src) { ~~~~~~^~~~~~ misc.c:80:14: note: place parentheses around the assignment to silence this warning while(*dest = *src) { ^ ( ) misc.c:80:14: note: use '==' to turn this assignment into an equality comparison while(*dest = *src) { ^ == misc.c:203:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] build_freq(freq_words_table, freq_words_strings, freq_words_lens, freq_file, flags) ^ misc.c:274:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] initialize_common(freq_file, flags) ^ misc.c:291:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] uninitialize_common() ^ misc.c:294:2: error: non-void function 'uninitialize_common' should return a value [-Wreturn-type] return; ^ 10 warnings and 1 error generated. : recipe for target 'misc.o' failed make[2]: *** [misc.o] Error 1 make[2]: Leaving directory '/<>/compress' make[2]: Entering directory '/<>/agrep' gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o follow.o follow.c gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o asearch.o asearch.c asearch.c:47:10: warning: implicit declaration of function 'asearch0' is invalid in C99 [-Wimplicit-function-declaration] return asearch0(old_D_pat, text, D); ^ asearch.c:69:15: warning: implicit declaration of function 'fill_buf' is invalid in C99 [-Wimplicit-function-declaration] while ((l = fill_buf(text, buffer + Max_record, BlockSize)) > 0) ^ asearch.c:184:18: warning: implicit declaration of function 'output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == output(buffer, lasti, printout_end, j)) {free_buf(text, buffer); return -1;} ^ asearch.c:718:27: warning: '&' within '|' [-Wbitwise-op-parentheses] A[0] = (((B[0] >> 1)) & CMask | r1 ) ; ~~~~~~~~~~~~~~^~~~~~~ ~ asearch.c:718:27: note: place parentheses around the '&' expression to silence this warning A[0] = (((B[0] >> 1)) & CMask | r1 ) ; ^ ( ) asearch.c:963:27: warning: '&' within '|' [-Wbitwise-op-parentheses] A[0] = (((B[0] >> 1)) & CMask | r1 ) ; ~~~~~~~~~~~~~~^~~~~~~ ~ asearch.c:963:27: note: place parentheses around the '&' expression to silence this warning A[0] = (((B[0] >> 1)) & CMask | r1 ) ; ^ ( ) 5 warnings generated. gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o asearch1.o asearch1.c asearch1.c:62:22: warning: implicit declaration of function 'fill_buf' is invalid in C99 [-Wimplicit-function-declaration] while ((num_read = fill_buf(Text, buffer + Max_record, BlockSize)) > 0) ^ asearch1.c:77:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buffer+Max_record+num_read, old_D_pat, D_length); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:51: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~~ asearch1.c:158:18: warning: implicit declaration of function 'output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == output(buffer, lasti, i-D_length-1, j)) {free_buf(Text, buffer); return -1;} ^ asearch1.c:287:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:51: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~~ asearch1.c:287:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); ^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:57: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~ 5 warnings generated. gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o agrep.o agrep.c agrep.c:177:24: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] if (AComplexBoolean) destroy_tree(AParse); ^ agrep.c:209:16: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(D_pattern, original_D_pattern); ^~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:209:27: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(D_pattern, original_D_pattern); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:211:16: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(old_D_pat, original_old_D_pat); ^~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:211:27: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(old_D_pat, original_old_D_pat); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:264:9: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(tc_D_pattern, "\n"); ^~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:329:7: warning: implicit declaration of function 'exponen' is invalid in C99 [-Wimplicit-function-declaration] k = exponen(M); ^ agrep.c:425:22: warning: implicit declaration of function 'fill_buf' is invalid in C99 [-Wimplicit-function-declaration] while ((num_read = fill_buf(Text, buffer + Maxline, BlockSize)) > 0) ^ agrep.c:516:17: warning: implicit declaration of function 'r_output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} ^ agrep.c:524:41: warning: '&' within '|' [-Wbitwise-op-parentheses] r2 = (Next[r3>>hh] | Next1[r3&LL]) & CMask | Init0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ~ agrep.c:524:41: note: place parentheses around the '&' expression to silence this warning r2 = (Next[r3>>hh] | Next1[r3&LL]) & CMask | Init0; ^ ( ) agrep.c:615:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:51: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~~ agrep.c:615:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ^~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:57: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~ agrep.c:713:41: warning: '&' within '|' [-Wbitwise-op-parentheses] r2 = (Next[r3>>hh] | Next1[r3&LL]) & CMask | Init0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ~ agrep.c:713:41: note: place parentheses around the '&' expression to silence this warning r2 = (Next[r3>>hh] | Next1[r3&LL]) & CMask | Init0; ^ ( ) agrep.c:1106:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:51: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~~ agrep.c:1106:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ^~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:57: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~ agrep.c:1468:20: warning: '&' within '|' [-Wbitwise-op-parentheses] r2 = Next[r3] & CMask | r1; ~~~~~~~~~^~~~~~~ ~ agrep.c:1468:20: note: place parentheses around the '&' expression to silence this warning r2 = Next[r3] & CMask | r1; ^ ( ) agrep.c:1551:20: warning: '&' within '|' [-Wbitwise-op-parentheses] r3 = Next[r2] & CMask | r1; ~~~~~~~~~^~~~~~~ ~ agrep.c:1551:20: note: place parentheses around the '&' expression to silence this warning r3 = Next[r2] & CMask | r1; ^ ( ) agrep.c:1624:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buffer+Maxline-ResidueSize, buffer+lasti, ResidueSize); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:51: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~~ agrep.c:1624:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buffer+Maxline-ResidueSize, buffer+lasti, ResidueSize); ^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:57: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~ agrep.c:1653:20: warning: '&' within '|' [-Wbitwise-op-parentheses] r2 = Next[r3] & CMask | r1; ~~~~~~~~~^~~~~~~ ~ agrep.c:1653:20: note: place parentheses around the '&' expression to silence this warning r2 = Next[r3] & CMask | r1; ^ ( ) agrep.c:1736:20: warning: '&' within '|' [-Wbitwise-op-parentheses] r3 = Next[r2] & CMask | r1; ~~~~~~~~~^~~~~~~ ~ agrep.c:1736:20: note: place parentheses around the '&' expression to silence this warning r3 = Next[r2] & CMask | r1; ^ ( ) agrep.c:2045:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:51: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~~ agrep.c:2045:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ^~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:57: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~ agrep.c:2464:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(Progname, argv[0], MAXNAME); ^~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:51: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~~ agrep.c:2465:23: warning: implicit declaration of function 'agrep_usage' is invalid in C99 [-Wimplicit-function-declaration] if (argc < 2) return agrep_usage(); ^ agrep.c:2634:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(D_pattern+1, argv[0]); ^~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2651:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(D_pattern+1, p + 1); ^~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2655:12: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(D_pattern, ">; "); ^~~~~~~~~ /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2659:12: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(original_D_pattern, D_pattern); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2659:32: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(original_D_pattern, D_pattern); ^~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2697:14: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(Pattern, (argv)[0]); ^~~~~~~ /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2699:18: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else strcat(Pattern, argv[0]); ^~~~~~~ /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2705:14: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(Pattern, p+1); ^~~~~~~ /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2707:19: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else strcat (Pattern, p+1); ^~~~~~~ /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2712:21: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] pattern_index = abs(argv - original_argv); ^ agrep.c:2712:21: note: use function 'labs' instead pattern_index = abs(argv - original_argv); ^~~ labs agrep.c:2728:13: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(Pattern, argv[0]); ^~~~~~~ /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2748:14: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (Pattern, p+1); ^~~~~~~ /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2751:21: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] pattern_index = abs(argv - original_argv); ^ agrep.c:2751:21: note: use function 'labs' instead pattern_index = abs(argv - original_argv); ^~~ labs agrep.c:2801:9: warning: implicit declaration of function 'prepf' is invalid in C99 [-Wimplicit-function-declaration] if (prepf(multifd, NULL, 0) <= -1) { ^ agrep.c:3028:2: warning: implicit declaration of function 'initialize_common' is invalid in C99 [-Wimplicit-function-declaration] initialize_common(FREQ_FILE, 0); /* no error msgs */ ^ agrep.c:3053:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Pattern, *argv); ^~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3054:19: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] pattern_index = abs(argv - original_argv); ^ agrep.c:3054:19: note: use function 'labs' instead pattern_index = abs(argv - original_argv); ^~~ labs agrep.c:3082:38: warning: implicit declaration of function 'check_file' is invalid in C99 [-Wimplicit-function-declaration] if (!glimpse_call && ((filetype = check_file(*argv)) == NOSUCHFILE) && !PRINTNONEXISTENTFILE) { ^ agrep.c:3095:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Textfiles[Numfiles++], *argv++); ^~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3102:13: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] M = strlen(Pattern); ^~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ agrep.c:3127:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(pattern_buffer, Pattern, M+1); /* copy \0 */ ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:51: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~~ agrep.c:3127:27: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(pattern_buffer, Pattern, M+1); /* copy \0 */ ^~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:57: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~ agrep.c:3144:50: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (agrep_init(argc, argv, -1, pattern_len, pattern_buffer)); ^~~~~~~~~~~~~~ agrep.c:3154:49: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (agrep_init(argc, argv, 3, pattern_len, pattern_buffer)); ^~~~~~~~~~~~~~ agrep.c:3186:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(agrep_saved_pattern, pattern_buffer)) { ^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:111:40: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^~ agrep.c:3186:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(agrep_saved_pattern, pattern_buffer)) { ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:111:74: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^~ agrep.c:3186:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(agrep_saved_pattern, pattern_buffer)) { ^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:114:27: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ agrep.c:3186:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(agrep_saved_pattern, pattern_buffer)) { ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:114:31: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ agrep.c:3186:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(agrep_saved_pattern, pattern_buffer)) { ^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:116:36: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^~ agrep.c:3186:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(agrep_saved_pattern, pattern_buffer)) { ^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:118:26: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ agrep.c:3186:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(agrep_saved_pattern, pattern_buffer)) { ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:118:30: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ agrep.c:3186:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(agrep_saved_pattern, pattern_buffer)) { ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:121:39: note: expanded from macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^~ agrep.c:3186:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(agrep_saved_pattern, pattern_buffer)) { ^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:123:29: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ agrep.c:3186:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(agrep_saved_pattern, pattern_buffer)) { ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:123:33: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ agrep.c:3186:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(agrep_saved_pattern, pattern_buffer)) { ^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:125:33: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^~ agrep.c:3186:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(agrep_saved_pattern, pattern_buffer)) { ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:125:37: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^~ agrep.c:3206:12: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(Pattern, pattern_buffer, pattern_len+1); /* copy \0 */ ^~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:51: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~~ agrep.c:3206:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(Pattern, pattern_buffer, pattern_len+1); /* copy \0 */ ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:57: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~ agrep.c:3207:14: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] M = strlen(Pattern); ^~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ agrep.c:3290:13: warning: implicit declaration of function 'checksg' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == checksg(Pattern, D, 1)) return -1; /* check if the pattern is simple */ ^ agrep.c:3291:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(OldPattern, Pattern); ^~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3291:22: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(OldPattern, Pattern); ^~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3294:14: warning: implicit declaration of function 'preprocess' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == preprocess(D_pattern, Pattern)) return -1; ^ agrep.c:3295:11: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(old_D_pat, D_pattern); ^~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3295:22: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(old_D_pat, D_pattern); ^~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3297:25: warning: implicit declaration of function 'maskgen' is invalid in C99 [-Wimplicit-function-declaration] if(!AParse && ((M = maskgen(Pattern, D)) == -1)) return -1; ^ agrep.c:3304:24: warning: implicit declaration of function 'quick_tcompress' is invalid in C99 [-Wimplicit-function-declaration] if ((tc_D_length = quick_tcompress(FREQ_FILE,HASH_FILE,D_pattern,D_length,tc_D_pattern,MaxDelimit*2,TC_EASYSEARCH)) <= 0) { ^ agrep.c:3305:13: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(tc_D_pattern, D_pattern); ^~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3305:27: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(tc_D_pattern, D_pattern); ^~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3310:15: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] M = strlen(OldPattern); ^~~~~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ agrep.c:3333:35: warning: implicit declaration of function 'exec' is invalid in C99 [-Wimplicit-function-declaration] if (agrep_initialfd == -1) ret = exec(execfd, NULL); ^ agrep.c:3334:28: warning: implicit declaration of function 'recursive' is invalid in C99 [-Wimplicit-function-declaration] else if(RECURSIVE) ret = (recursive(Numfiles, Textfiles)); ^ agrep.c:3353:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return(agrep_search(pattern_len, pattern_buffer, -1, input_len, input_buffer, output_len, output)); ^~~~~~~~~~~~~~ agrep.c:3365:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return(agrep_search(pattern_len, pattern_buffer, 3, file_num, file_buffer, output_len, output)); ^~~~~~~~~~~~~~ agrep.c:3396:47: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((ret = memagrep_init(argc, argv, MAXPAT, Pattern)) < 0) return -1; ^~~~~~~ agrep.c:3399:30: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return memagrep_search(ret, Pattern, input_len, input_buffer, output_len, output); ^~~~~~~ agrep.c:3411:48: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((ret = fileagrep_init(argc, argv, MAXPAT, Pattern)) < 0) return -1; ^~~~~~~ agrep.c:3414:31: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return fileagrep_search(ret, Pattern, 0, NULL, output_len, output); ^~~~~~~ agrep.c:3443:13: warning: implicit declaration of function 'compat' is invalid in C99 [-Wimplicit-function-declaration] if ((-1 == compat())) return -1; /* check compatibility between options */ ^ agrep.c:3456:30: warning: implicit declaration of function 'mgrep' is invalid in C99 [-Wimplicit-function-declaration] if(PAT_FILE || PAT_BUFFER) mgrep(fd, AParse); ^ agrep.c:3458:20: warning: implicit declaration of function 'sgrep' is invalid in C99 [-Wimplicit-function-declaration] if(SGREP) ret = sgrep(OldPattern, strlen(OldPattern), fd, D, 0); ^ agrep.c:3458:45: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(SGREP) ret = sgrep(OldPattern, strlen(OldPattern), fd, D, 0); ^~~~~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ agrep.c:3459:20: warning: implicit declaration of function 'bitap' is invalid in C99 [-Wimplicit-function-declaration] else ret = bitap(old_D_pat, Pattern, fd, M, D); ^ agrep.c:3512:34: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (PRINTFILENUMBER) sprintf(CurrentFileName, "%d", i); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ agrep.c:3513:17: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else strcpy(CurrentFileName, file_list[i]); ^~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3519:9: warning: implicit declaration of function 'tuncompressible_filename' is invalid in C99 [-Wimplicit-function-declaration] if (!tuncompressible_filename(file_list[i], strlen(file_list[i]))) TCOMPRESSED = OFF; ^ agrep.c:3528:47: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(SGREP) ret = sgrep(OldPattern, strlen(OldPattern), fd, D, i); ^~~~~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ agrep.c:3700:16: warning: implicit declaration of function 'file_out' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == file_out(file_list[i])) { ^ agrep.c:3722:12: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(old_D_pat, D_pattern); ^~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3722:23: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(old_D_pat, D_pattern); ^~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3731:35: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (PRINTFILENUMBER) sprintf(CurrentFileName, "%d", i); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ agrep.c:3732:18: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else strcpy(CurrentFileName, file_list[i]); ^~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3738:48: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(SGREP) ret = sgrep(OldPattern,strlen(OldPattern),fd,D, i); ^~~~~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ agrep.c:3783:35: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (PRINTFILENUMBER) sprintf(CurrentFileName, "%d", i); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ agrep.c:3784:18: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else strcpy(CurrentFileName, file_list[i]); ^~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3790:48: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(SGREP) ret = sgrep(OldPattern,strlen(OldPattern),fd,D, i); ^~~~~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 101 warnings generated. gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o bitap.o bitap.c bitap.c:70:11: warning: implicit declaration of function 're' is invalid in C99 [-Wimplicit-function-declaration] return re(fd, M, D); /* SUN: need to find a even point */ ^ bitap.c:73:11: warning: implicit declaration of function 're1' is invalid in C99 [-Wimplicit-function-declaration] return re1(fd, M, D); ^ bitap.c:78:10: warning: implicit declaration of function 'asearch1' is invalid in C99 [-Wimplicit-function-declaration] return asearch1(old_D_pat, fd, D); ^ bitap.c:82:10: warning: implicit declaration of function 'asearch' is invalid in C99 [-Wimplicit-function-declaration] return asearch(old_D_pat, fd, D); ^ bitap.c:104:22: warning: implicit declaration of function 'fill_buf' is invalid in C99 [-Wimplicit-function-declaration] while ((num_read = fill_buf(fd, buffer + Max_record, BlockSize)) > 0) ^ bitap.c:122:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buffer+Max_record+num_read, old_D_pat, D_length); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:51: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~~ bitap.c:195:18: warning: implicit declaration of function 'output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == output(buffer, lasti, print_end, j - (NumBufferFills - 1))) { free_buf(fd, buffer); return -1;} ^ bitap.c:297:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:51: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~~ bitap.c:297:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); ^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:57: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~ bitap.c:498:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fill_buf(fd, buf, record_size) ^ 10 warnings generated. gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o checkfile.o checkfile.c checkfile.c:47:6: warning: implicit declaration of function 'my_stat' is invalid in C99 [-Wimplicit-function-declaration] if (my_stat(fname, &buf) != 0) { ^ 1 warning generated. gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o compat.o compat.c compat.c:9:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern FILEOUT; ~~~~~~ ^ compat.c:10:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern REGEX; ~~~~~~ ^ compat.c:11:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern DELIMITER; ~~~~~~ ^ compat.c:12:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern WHOLELINE; ~~~~~~ ^ compat.c:13:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern LINENUM; ~~~~~~ ^ compat.c:14:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern I, S, DD; ~~~~~~ ^ compat.c:14:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern I, S, DD; ~~~~~~ ^ compat.c:14:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern I, S, DD; ~~~~~~ ^ compat.c:15:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern JUMP; ~~~~~~ ^ 9 warnings generated. gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o maskgen.o maskgen.c maskgen.c:6:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern Mask[], Bit[], Init[], NO_ERR_MASK; ~~~~~~ ^ maskgen.c:6:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern Mask[], Bit[], Init[], NO_ERR_MASK; ~~~~~~ ^ maskgen.c:6:23: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern Mask[], Bit[], Init[], NO_ERR_MASK; ~~~~~~ ^ maskgen.c:6:31: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern Mask[], Bit[], Init[], NO_ERR_MASK; ~~~~~~ ^ maskgen.c:34:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((M = strlen(Pattern)) <= 0) return 0; ^~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 5 warnings generated. gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o parse.o parse.c parse.c:45:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] new_node(Re_Lit, l, l); ^ ../agrep/re.h:75:3: note: expanded from macro 'new_node' exit(2);\ ^ parse.c:45:2: note: include the header or explicitly provide a declaration for 'exit' ../agrep/re.h:75:3: note: expanded from macro 'new_node' exit(2);\ ^ parse.c:45:2: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration] new_node(Re_Lit, l, l); ^ ../agrep/re.h:77:2: note: expanded from macro 'new_node' memset((l), '\0', sizeof(*(x)));\ ^ parse.c:45:2: note: include the header or explicitly provide a declaration for 'memset' ../agrep/re.h:77:2: note: expanded from macro 'new_node' memset((l), '\0', sizeof(*(x)));\ ^ parse.c:48:18: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] if (l != NULL) free(l); ^ 3 warnings generated. gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o checksg.o checksg.c checksg.c:24:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] m = strlen(Pattern); ^~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 1 warning generated. gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o preprocess.o preprocess.c preprocess.c:53:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((m = strlen(Pattern)) <= 0) return 0; ^~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ preprocess.c:67:15: warning: implicit declaration of function 'asplit_pattern' is invalid in C99 [-Wimplicit-function-declaration] if (((ret1 = asplit_pattern(Pattern, m, aterminals, &anum_terminals, &AParse)) <= 0) || /* can change the pattern if simple boolean with {} */ ^ preprocess.c:68:15: warning: implicit declaration of function 'asplit_terminal' is invalid in C99 [-Wimplicit-function-declaration] ((ret2 = asplit_terminal(0, anum_terminals, multibuf, &multilen)) <= 0) || ^ preprocess.c:70:44: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] if (AComplexBoolean && (AParse != NULL)) destroy_tree(AParse); /* so that direct exec invocations don't use AParse by mistake! */ ^ preprocess.c:80:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] m = strlen(Pattern); ^~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ preprocess.c:97:23: warning: implicit declaration of function 'quick_tcompress' is invalid in C99 [-Wimplicit-function-declaration] if ((tc_D_length = quick_tcompress(FREQ_FILE, HASH_FILE, D_pattern, D_length, tc_D_pattern, MaxDelimit*2, TC_EASYSEARCH)) <= 0) { ^ preprocess.c:98:12: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(tc_D_pattern, D_pattern); ^~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ preprocess.c:98:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(tc_D_pattern, D_pattern); ^~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ preprocess.c:113:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] r_pat = (CHAR *) malloc(strlen(Pattern)+2*strlen(D_pattern) + 8); /* bug-report, From: Chris Dalton */ ^~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ preprocess.c:113:51: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] r_pat = (CHAR *) malloc(strlen(Pattern)+2*strlen(D_pattern) + 8); /* bug-report, From: Chris Dalton */ ^~~~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ preprocess.c:114:9: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(temp, D_pattern); ^~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ preprocess.c:114:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(temp, D_pattern); ^~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ preprocess.c:115:21: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] d_end = t = strlen(temp); /* size of D_pattern, including '; ' */ ^~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ preprocess.c:121:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(temp, Pattern); ^~~~ /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ preprocess.c:121:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(temp, Pattern); ^~~~~~~ /usr/include/string.h:133:70: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ preprocess.c:122:14: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] m = strlen(temp); ^~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ preprocess.c:135:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(temp, Pattern); ^~~~ /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ preprocess.c:135:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(temp, Pattern); ^~~~~~~ /usr/include/string.h:133:70: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ preprocess.c:136:14: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] m = strlen(temp); ^~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ preprocess.c:186:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(D_pattern, old_D_pat); ^~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ preprocess.c:186:20: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(D_pattern, old_D_pat); ^~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ preprocess.c:322:13: warning: implicit declaration of function 'init' is invalid in C99 [-Wimplicit-function-declaration] num_pos = init(r_pat, table); ^ preprocess.c:341:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(old_pat, Pattern); /* do real change to the Pattern to be returned */ ^~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ preprocess.c:341:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(old_pat, Pattern); /* do real change to the Pattern to be returned */ ^~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ 24 warnings generated. gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o delim.o delim.c delim.c:15:9: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(temp, src); ^~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ delim.c:15:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(temp, src); ^~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ delim.c:27:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pdestlen = strlen(dest); ^~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 3 warnings generated. gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o asplit.o asplit.c asplit.c:82:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (buffer_pat = aparse_flat(buffer, buffer_end, *pAParse, pAParse)) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ asplit.c:82:21: note: place parentheses around the assignment to silence this warning while (buffer_pat = aparse_flat(buffer, buffer_end, *pAParse, pAParse)) { ^ ( ) asplit.c:82:21: note: use '==' to turn this assignment into an equality comparison while (buffer_pat = aparse_flat(buffer, buffer_end, *pAParse, pAParse)) { ^ == asplit.c:254:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(n->data.leaf.value, oldtokenbuf); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ asplit.c:254:31: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(n->data.leaf.value, oldtokenbuf); ^~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ asplit.c:376:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] word_length = strlen(aterminals[first].data.leaf.value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ asplit.c:380:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(&pat_buf[*pat_ptr], aterminals[first].data.leaf.value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ 5 warnings generated. gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o recursive.o recursive.c recursive.c:67:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(name_buf, argv[i]); ^ recursive.c:67:3: note: include the header or explicitly provide a declaration for 'strcpy' recursive.c:71:15: warning: implicit declaration of function 'exec' is invalid in C99 [-Wimplicit-function-declaration] if ((ret = exec(3, file_list)) == -1) return -1; ^ recursive.c:74:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(file_list[j]); ^ recursive.c:114:5: warning: implicit declaration of function 'my_lstat' is invalid in C99 [-Wimplicit-function-declaration] if(my_lstat(name, &stbuf) == -1) { ^ recursive.c:147:15: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] nbp = name + strlen(name); ^ recursive.c:147:15: note: include the header or explicitly provide a declaration for 'strlen' recursive.c:160:32: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (dp->d_name[0] == '\0' || strcmp(dp->d_name, ".") == 0 || strcmp(dp->d_name, "..")==0) ^ recursive.c:160:32: note: include the header or explicitly provide a declaration for 'strcmp' 6 warnings generated. gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o sgrep.o sgrep.c sgrep.c:52:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern WORDBOUND, WHOLELINE, NOUPPER; ~~~~~~ ^ sgrep.c:52:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern WORDBOUND, WHOLELINE, NOUPPER; ~~~~~~ ^ sgrep.c:52:30: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern WORDBOUND, WHOLELINE, NOUPPER; ~~~~~~ ^ sgrep.c:193:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(pat, in_pat, MAXLINE); ^~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:51: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~~ sgrep.c:193:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(pat, in_pat, MAXLINE); ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:57: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~ sgrep.c:241:22: warning: implicit declaration of function 'fill_buf' is invalid in C99 [-Wimplicit-function-declaration] while( (num_read = fill_buf(fd, text+offset, 2*BlockSize)) > 0) ^ sgrep.c:294:16: warning: implicit declaration of function 'monkey' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == monkey(pat, m, text+start, text+end, oldpat, oldm)) { ^ sgrep.c:300:16: warning: implicit declaration of function 'bm' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == bm(pat, m, text+start, text+end, oldpat, oldm)) { ^ sgrep.c:308:16: warning: implicit declaration of function 'monkey4' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == monkey4( pat, m, text+start, text+end, D , oldpat, oldm )) { ^ sgrep.c:315:17: warning: implicit declaration of function 'a_monkey' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == a_monkey(pat, m, text+start, text+end, D, oldpat, oldm)) { ^ sgrep.c:321:17: warning: implicit declaration of function 'agrep' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == agrep(pat, m, text+start, text+end, D, oldpat, oldm)) { ^ sgrep.c:835:43: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:835:85: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:839:31: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:839:73: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1155:16: warning: implicit declaration of function 's_output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == s_output(text, ¤tpos, textbegin, textend, &lastout, pat, M, oldpat, oldM)) return -1; ^ sgrep.c:1411:39: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1411:87: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1415:27: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1415:75: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1476:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register m; ~~~~~~~~ ^ sgrep.c:1692:43: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1692:85: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1696:31: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1696:73: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1869:14: warning: implicit declaration of function 'verify' is invalid in C99 [-Wimplicit-function-declaration] if((pos = verify(m, 2*m+D, D, pat, oldtext)) > 0) { ^ sgrep.c:1986:44: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1986:86: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1990:32: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1990:74: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:2135:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] m = strlen(Pattern); ^~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sgrep.c:2177:37: warning: unsequenced modification and access to 'last' [-Wunsequenced] if(A[last] < D) A[last+1] = A[last++]+1; ~~~~ ^ sgrep.c:2199:37: warning: unsequenced modification and access to 'last' [-Wunsequenced] if(B[last] < D) B[last+1] = B[last++]+1; ~~~~ ^ sgrep.c:2217:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] m = strlen(Pattern); ^~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sgrep.c:2394:44: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:2394:86: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:2398:32: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:2398:74: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:2550:10: warning: implicit declaration of function 'blog' is invalid in C99 [-Wimplicit-function-declaration] BSize = blog(4, m); ^ 39 warnings generated. gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o newmgrep.o newmgrep.c newmgrep.c:52:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ~~~~~~ ^ newmgrep.c:52:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ~~~~~~ ^ newmgrep.c:52:22: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ~~~~~~ ^ newmgrep.c:52:30: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ~~~~~~ ^ newmgrep.c:52:44: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ~~~~~~ ^ newmgrep.c:52:65: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ~~~~~~ ^ newmgrep.c:52:81: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ~~~~~~ ^ newmgrep.c:53:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern INVERSE, OUTTAIL; ~~~~~~ ^ newmgrep.c:53:17: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern INVERSE, OUTTAIL; ~~~~~~ ^ newmgrep.c:54:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern WORDBOUND, WHOLELINE, NOUPPER; ~~~~~~ ^ newmgrep.c:54:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern WORDBOUND, WHOLELINE, NOUPPER; ~~~~~~ ^ newmgrep.c:54:30: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern WORDBOUND, WHOLELINE, NOUPPER; ~~~~~~ ^ newmgrep.c:59:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern total_line; ~~~~~~ ^ newmgrep.c:60:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern agrep_initialfd; ~~~~~~ ^ newmgrep.c:195:21: warning: implicit declaration of function 'fill_buf' is invalid in C99 [-Wimplicit-function-declaration] while((num_read = fill_buf(mfp, buf+length, 2*BlockSize)) > 0) { ^ newmgrep.c:287:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] p = strlen(patt[i]); ^~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ newmgrep.c:485:27: warning: implicit declaration of function 'm_short' is invalid in C99 [-Wimplicit-function-declaration] if(SHORT) { if (-1 == m_short(text, start, end)) {free_buf(fd, text); return -1;}} ^ newmgrep.c:486:27: warning: implicit declaration of function 'monkey1' is invalid in C99 [-Wimplicit-function-declaration] else { if (-1 == monkey1(text, start, end)) {free_buf(fd, text); return -1;}} ^ newmgrep.c:543:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(text+start, text+end, residue); ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:51: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~~ newmgrep.c:543:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(text+start, text+end, residue); ^~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:57: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~ newmgrep.c:845:39: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld newmgrep.c:845:81: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld newmgrep.c:849:27: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld newmgrep.c:849:69: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld newmgrep.c:1053:61: warning: implicit declaration of function 'eval_tree' is invalid in C99 [-Wimplicit-function-declaration] if (AComplexBoolean && dd(curtextbegin, curtextend) && eval_tree(AParse, amatched_terminals)) { ^ newmgrep.c:2001:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] leni = strlen(aterminals[i].data.leaf.value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ newmgrep.c:2007:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] lenj = strlen(aterminals[j].data.leaf.value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 27 warnings generated. gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o utilities.o utilities.c utilities.c:21:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] new_node(Stack, node, node); ^ ../agrep/re.h:75:3: note: expanded from macro 'new_node' exit(2);\ ^ utilities.c:21:2: note: include the header or explicitly provide a declaration for 'exit' ../agrep/re.h:75:3: note: expanded from macro 'new_node' exit(2);\ ^ utilities.c:21:2: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration] new_node(Stack, node, node); ^ ../agrep/re.h:77:2: note: expanded from macro 'new_node' memset((l), '\0', sizeof(*(x)));\ ^ utilities.c:21:2: note: include the header or explicitly provide a declaration for 'memset' ../agrep/re.h:77:2: note: expanded from macro 'new_node' memset((l), '\0', sizeof(*(x)));\ ^ utilities.c:42:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(temp); ^ utilities.c:168:9: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (!strncmp(line, word, wordlen)) { ^ utilities.c:168:9: note: include the header or explicitly provide a declaration for 'strncmp' utilities.c:168:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(line, word, wordlen)) { ^~~~ utilities.c:168:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(line, word, wordlen)) { ^~~~ 6 warnings generated. gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o dummyfilters.o dummyfilters.c /usr/bin/ar rcv ../lib/libagrep.a follow.o asearch.o asearch1.o agrep.o bitap.o checkfile.o compat.o maskgen.o parse.o checksg.o preprocess.o delim.o asplit.o recursive.o sgrep.o newmgrep.o utilities.o dummyfilters.o a - follow.o a - asearch.o a - asearch1.o a - agrep.o a - bitap.o a - checkfile.o a - compat.o a - maskgen.o a - parse.o a - checksg.o a - preprocess.o a - delim.o a - asplit.o a - recursive.o a - sgrep.o a - newmgrep.o a - utilities.o a - dummyfilters.o ranlib ../lib/libagrep.a gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o main.o main.c In file included from main.c:15: ../agrep/dummysyscalls.c:25:9: warning: implicit declaration of function 'lstat' is invalid in C99 [-Wimplicit-function-declaration] return lstat(name, buf); ^ ../agrep/dummysyscalls.c:33:9: warning: implicit declaration of function 'stat' is invalid in C99 [-Wimplicit-function-declaration] return stat(name, buf); ^ main.c:29:8: warning: implicit declaration of function 'fileagrep' is invalid in C99 [-Wimplicit-function-declaration] ret = fileagrep(argc, argv, 0, stdout); ^ 3 warnings generated. gcc -Wl,-z,relro -o agrep follow.o asearch.o asearch1.o agrep.o bitap.o checkfile.o compat.o maskgen.o parse.o checksg.o preprocess.o delim.o asplit.o recursive.o sgrep.o newmgrep.o utilities.o dummyfilters.o main.o make[2]: Leaving directory '/<>/agrep' make[2]: Entering directory '/<>/libtemplate' Making all in util make[3]: Entering directory '/<>/libtemplate/util' gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -I../include -c -o buffer.o buffer.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -I../include -c -o host.o host.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -I../include -c -o log.o log.c log.c:135:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ log.c:135:3: note: include the header or explicitly provide a declaration for 'exit' 1 warning generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -I../include -c -o strdup.o strdup.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -I../include -c -o system.o system.c system.c:70:3: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration] memset(argv, '\0', sizeof(char *) * 64); ^ system.c:70:3: note: include the header or explicitly provide a declaration for 'memset' 1 warning generated. gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -I../include -c -o strerror.o strerror.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -I../include -c -o string.o string.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -I../include -c -o xmalloc.o xmalloc.c ar r libutil.a buffer.o host.o log.o strdup.o system.o strerror.o string.o xmalloc.o ar: creating libutil.a ranlib libutil.a /usr/bin/install -c -m 644 libutil.a ../lib/libutil.a ranlib ../lib/libutil.a make[3]: Leaving directory '/<>/libtemplate/util' Making all in template make[3]: Entering directory '/<>/libtemplate/template' gcc -I../include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o template.o template.c ar r libtemplate.a template.o ar: creating libtemplate.a ranlib libtemplate.a /usr/bin/install -c libtemplate.a ../lib/libtemplate.a ranlib ../lib/libtemplate.a make[3]: Leaving directory '/<>/libtemplate/template' Making all in lib make[3]: Entering directory '/<>/libtemplate/lib' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/<>/libtemplate/lib' make[2]: Leaving directory '/<>/libtemplate' make[2]: Entering directory '/<>/index' rm -f buildcast.c cp glimpse.c buildcast.c gcc -c -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DBUILDCAST=1 -o buildcast.o buildcast.c buildcast.c:89:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern set_usemalloc(); /* compress/misc.c */ ~~~~~~ ^ buildcast.c:98:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cross_boundary(oldnum, newnum) ^ buildcast.c:111:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] determine_sync() ^ buildcast.c:158:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ buildcast.c:193:5: warning: implicit declaration of function 'build_filename_hashtable' is invalid in C99 [-Wimplicit-function-declaration] build_filename_hashtable((char *)NULL, 0); ^ buildcast.c:201:13: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] return usage(1); ^ buildcast.c:536:2: warning: implicit declaration of function 'partition' is invalid in C99 [-Wimplicit-function-declaration] partition(argc, argv); ^ buildcast.c:573:5: warning: implicit declaration of function 'read_filters' is invalid in C99 [-Wimplicit-function-declaration] read_filters(INDEX_DIR, UseFilters); ^ buildcast.c:585:5: warning: implicit declaration of function 'initialize_tuncompress' is invalid in C99 [-Wimplicit-function-declaration] initialize_tuncompress(string_file, freq_file, 0); ^ buildcast.c:626:5: warning: implicit declaration of function 'set_indexable_char' is invalid in C99 [-Wimplicit-function-declaration] set_indexable_char(indexable_char); ^ buildcast.c:745:5: warning: implicit declaration of function 'initialize_data_structures' is invalid in C99 [-Wimplicit-function-declaration] initialize_data_structures(file_num); ^ buildcast.c:747:5: warning: implicit declaration of function 'build_index' is invalid in C99 [-Wimplicit-function-declaration] build_index(); ^ buildcast.c:749:5: warning: implicit declaration of function 'cleanup' is invalid in C99 [-Wimplicit-function-declaration] cleanup(); ^ buildcast.c:750:5: warning: implicit declaration of function 'save_data_structures' is invalid in C99 [-Wimplicit-function-declaration] save_data_structures(); ^ buildcast.c:751:5: warning: implicit declaration of function 'destroy_filename_hashtable' is invalid in C99 [-Wimplicit-function-declaration] destroy_filename_hashtable(); ^ buildcast.c:752:5: warning: implicit declaration of function 'uninitialize_common' is invalid in C99 [-Wimplicit-function-declaration] uninitialize_common(); ^ buildcast.c:753:5: warning: implicit declaration of function 'uninitialize_tcompress' is invalid in C99 [-Wimplicit-function-declaration] uninitialize_tcompress(); ^ buildcast.c:754:5: warning: implicit declaration of function 'uninitialize_tuncompress' is invalid in C99 [-Wimplicit-function-declaration] uninitialize_tuncompress(); ^ buildcast.c:755:5: warning: implicit declaration of function 'compute_dictionary' is invalid in C99 [-Wimplicit-function-declaration] compute_dictionary(threshold, DISKBLOCKSIZE, specialwords, INDEX_DIR); ^ buildcast.c:759:7: warning: implicit declaration of function 'initialize_tcompress' is invalid in C99 [-Wimplicit-function-declaration] if (!initialize_tcompress(hash_file, freq_file, TC_ERRORMSGS)) goto docleanup; ^ buildcast.c:765:6: warning: implicit declaration of function 'tcompress_file' is invalid in C99 [-Wimplicit-function-declaration] tcompress_file(name, outname, TC_REMOVE | TC_EASYSEARCH | TC_OVERWRITE | TC_NOPROMPT); ^ buildcast.c:1063:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cleanup() ^ buildcast.c:1125:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] usage(flag) ^ 23 warnings generated. gcc -c -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 region.c gcc -c -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 dir.c dir.c:117:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fsize(name, pat, pat_len, num_pat, inc, inc_len, num_inc, toplevel) ^ dir.c:153:71: warning: implicit declaration of function 'get_filename_index' is invalid in C99 [-Wimplicit-function-declaration] if (!IndexableFile && !DeleteFromIndex && FastIndex && ((fileindex = get_filename_index(name, name_list, file_num)) != -1) && (disable_list[block2index(fileindex)] & mask_int[fileindex % (8*sizeof(int))])) { ^ dir.c:268:3: warning: implicit declaration of function 'remove_filename' is invalid in C99 [-Wimplicit-function-declaration] PROCESS_EXIT; ^ dir.c:170:4: note: expanded from macro 'PROCESS_EXIT' remove_filename(fileindex, new_partition);\ ^ dir.c:280:3: warning: implicit declaration of function 'memagrep_search' is invalid in C99 [-Wimplicit-function-declaration] PROCESS_INCLUDE; ^ dir.c:222:9: note: expanded from macro 'PROCESS_INCLUDE' (memagrep_search(-inc_len[i], inc[i], len_current_dir_buf, current_dir_buf, 0, dummyout) > 0))\ ^ dir.c:332:13: warning: implicit declaration of function 'fsize_directory' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == fsize_directory(name, pat, pat_len, num_pat, inc, inc_len, num_inc)) return -1; ^ dir.c:336:8: warning: implicit declaration of function 'filetype' is invalid in C99 [-Wimplicit-function-declaration] if (!filetype(name, IndexEverything?2:1, NULL, NULL)) printf("%s\n", name); ^ dir.c:353:14: warning: implicit declaration of function 'tuncompress_file' is invalid in C99 [-Wimplicit-function-declaration] if (tuncompress_file(name, outname, TC_EASYSEARCH | TC_OVERWRITE | TC_NOPROMPT) <= 0) return 0; ^ dir.c:393:8: warning: implicit declaration of function 'change_filename' is invalid in C99 [-Wimplicit-function-declaration] change_filename(name, name_len, fileindex, t1); ^ dir.c:427:7: warning: implicit declaration of function 'insert_filename' is invalid in C99 [-Wimplicit-function-declaration] insert_filename(LIST_GET(name_list, file_num), file_num); ^ dir.c:492:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fsize_directory(name, pat, pat_len, num_pat, inc, inc_len, num_inc) ^ 10 warnings generated. gcc -c -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 io.c In file included from io.c:12: ../index/utils.c:449:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] hashNk(name, len) ^ io.c:48:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_array_of_lines(inputfile, table, max_entry, overflow_ok) ^ io.c:66:8: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(buffer, MAX_NAME_BUF, file_in); ^~~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ io.c:67:9: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sscanf(buffer, "%d", &num_lines); ^~~~~~ /usr/include/stdio.h:450:60: note: passing argument to parameter '__s' here extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ io.c:75:14: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while(fgets(buffer, MAX_NAME_BUF, file_in)) { ^~~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ io.c:76:24: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] line_length = strlen(buffer); ^~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ io.c:107:14: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(np, buffer); ^~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ io.c:169:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_index_type(s, dashn, num, attr, delim) ^ io.c:188:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_block_numbers(srcbuf, destbuf, partfp) ^ io.c:212:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (fgets(destbuf, REAL_INDEX_BUF - MAX_WORD_BUF - 1, partfp) == NULL) { ^~~~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ io.c:218:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ io.c:266:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = strlen(filter_command[i]); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ io.c:272:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((filter_handle[i] = dlopen(filter_command[i], ^~~~~~~~~~~~~~~~~ /usr/include/dlfcn.h:56:34: note: passing argument to parameter '__file' here extern void *dlopen (const char *__file, int __mode) __THROWNL; ^ io.c:326:20: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] escapesinglequote(in_name, escaped_in); ^~~~~~~ io.c:327:20: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] escapesinglequote(out_name, escaped_out); ^~~~~~~~ io.c:369:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] read_filters(index_dir, dofilter) ^ io.c:387:20: error: non-void function 'read_filters' should return a value [-Wreturn-type] if (!dofilter) return; ^ io.c:449:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] apply_filter(inname, outname) ^ io.c:481:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((suffix = strstr(name+1, filter[i])) != NULL) { /* Chris Dalton */ ^~~~~~~~~ /usr/include/string.h:337:58: note: passing argument to parameter '__needle' here extern char *strstr (const char *__haystack, const char *__needle) ^ io.c:514:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(filter[i], suffix) == 0) { ^~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:111:40: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^~ io.c:514:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(filter[i], suffix) == 0) { ^~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:114:27: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ io.c:514:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(filter[i], suffix) == 0) { ^~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:116:36: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^~ io.c:514:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(filter[i], suffix) == 0) { ^~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:118:26: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ io.c:514:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(filter[i], suffix) == 0) { ^~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:123:29: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ io.c:514:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(filter[i], suffix) == 0) { ^~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:125:33: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^~ io.c:526:9: warning: implicit declaration of function 'memagrep_search' is invalid in C99 [-Wimplicit-function-declaration] (memagrep_search(-filter_len[i], filter[i], name_len + 2, name, 0, dummyout) > 0)) { ^ io.c:566:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static_stop_list(word) ^ io.c:662:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] my_free(ptr, size) ^ io.c:709:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] tokenallfree() ^ io.c:714:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] tokenfree(e, len) ^ io.c:736:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] indicesallfree() ^ io.c:741:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] indicesfree(e, len) ^ io.c:764:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] wordallfree() ^ io.c:769:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] wordfree(s, len) ^ io.c:995:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] index = hash64k(word, len); ^~~~ io.c:1049:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dump_mini(indexfile) ^ io.c:1073:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(s, "%s.tmp", indexfile); ^ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ io.c:1074:26: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((newindexfp = fopen(s, "w")) == NULL) { ^ /usr/include/stdio.h:274:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ io.c:1081:8: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(indexnumber, 256, indexfp); ^~~~~~~~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ io.c:1082:8: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(onefileperblock, 256, indexfp); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ io.c:1086:15: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (fgets(s, MAX_LINE_LEN, indexfp) != NULL) { ^ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ io.c:1088:20: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] linelen = strlen(s); ^ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ io.c:1096:24: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] hash_value = hash64k(s, j); ^ io.c:1099:13: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (fputs(s, newindexfp) == EOF) { ^ /usr/include/stdio.h:691:42: note: passing argument to parameter '__s' here extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ io.c:1110:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); ^ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ io.c:1111:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] system(s); ^ /usr/include/stdlib.h:677:32: note: passing argument to parameter '__command' here extern int system (const char *__command) __wur; ^ io.c:1117:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(s, "exec %s -n -T '%s' '%s.tmp' > '%s'\n", SYSTEM_SORT, escapesinglequote(INDEX_DIR, es1), escapesinglequote(indexfile, es2), escapesinglequote(indexfile, es3)); ^ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ io.c:1119:14: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] rc = system(s); ^ /usr/include/stdlib.h:677:32: note: passing argument to parameter '__command' here extern int system (const char *__command) __wur; ^ io.c:1130:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(s, "exec %s '%s.tmp'", SYSTEM_RM, escapesinglequote(indexfile, es1)); ^ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ io.c:1131:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] system(s); ^ /usr/include/stdlib.h:677:32: note: passing argument to parameter '__command' here extern int system (const char *__command) __wur; ^ io.c:1144:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(s, "%s.tmp", indexfile); ^ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ io.c:1145:26: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((newindexfp = fopen(s, "w")) == NULL) { ^ /usr/include/stdio.h:274:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ io.c:1151:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(s, "%s/%s", INDEX_DIR, MINI_FILE); ^ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ io.c:1152:22: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((minifp = fopen(s, "w")) == NULL) { ^ /usr/include/stdio.h:274:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ io.c:1159:8: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fputs(indexnumber, newindexfp); ^~~~~~~~~~~ /usr/include/stdio.h:691:42: note: passing argument to parameter '__s' here extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ io.c:1160:8: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fputs(onefileperblock, newindexfp); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:691:42: note: passing argument to parameter '__s' here extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ io.c:1167:15: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (fgets(s, MAX_LINE_LEN, indexfp) != NULL) { ^ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ io.c:1168:20: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] linelen = strlen(s); ^ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ io.c:1173:10: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sscanf(s, "%d", &hash_value); ^ /usr/include/stdio.h:450:60: note: passing argument to parameter '__s' here extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ io.c:1175:9: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fputs(t, newindexfp); ^ /usr/include/stdio.h:691:42: note: passing argument to parameter '__s' here extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ io.c:1210:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); ^ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ io.c:1211:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] system(s); ^ /usr/include/stdlib.h:677:32: note: passing argument to parameter '__command' here extern int system (const char *__command) __wur; ^ io.c:1217:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(s, "exec %s '%s.tmp' '%s'\n", SYSTEM_MV, escapesinglequote(indexfile, es1), escapesinglequote(indexfile, es2)); ^ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ io.c:1218:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] system(s); ^ /usr/include/stdlib.h:677:32: note: passing argument to parameter '__command' here extern int system (const char *__command) __wur; ^ io.c:1236:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] initialize_data_structures(files) ^ io.c:1261:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] destroy_data_structures() ^ io.c:1463:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] insert_filename(name, name_index) ^ io.c:1474:20: error: non-void function 'insert_filename' should return a value [-Wreturn-type] if (name == NULL) return; ^ io.c:1476:57: error: non-void function 'insert_filename' should return a value [-Wreturn-type] if (special_parse_name(name, len, &begin, &end) == -1) return; ^ io.c:1479:3: error: non-void function 'insert_filename' should return a value [-Wreturn-type] return; ^ io.c:1496:21: error: non-void function 'insert_filename' should return a value [-Wreturn-type] if ((*pe) != NULL) return; ^ io.c:1515:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] change_filename(name, len, index, newname) ^ io.c:1525:47: error: non-void function 'change_filename' should return a value [-Wreturn-type] if (special_get_name(name, len, temp) == -1) return; ^ io.c:1529:21: error: non-void function 'change_filename' should return a value [-Wreturn-type] if ((*pe) == NULL) return; ^ io.c:1534:2: error: non-void function 'change_filename' should return a value [-Wreturn-type] return; ^ io.c:1537:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] delete_filename(name, name_index) ^ io.c:1548:20: error: non-void function 'delete_filename' should return a value [-Wreturn-type] if (name == NULL) return; ^ io.c:1550:57: error: non-void function 'delete_filename' should return a value [-Wreturn-type] if (special_parse_name(name, len, &begin, &end) == -1) return; ^ io.c:1553:3: error: non-void function 'delete_filename' should return a value [-Wreturn-type] return; ^ io.c:1570:21: error: non-void function 'delete_filename' should return a value [-Wreturn-type] if ((*pe) == NULL) return; ^ io.c:1577:2: error: non-void function 'delete_filename' should return a value [-Wreturn-type] return; ^ io.c:1580:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_filename_hashtable() ^ io.c:1587:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] build_filename_hashtable(names, num) ^ io.c:1598:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] destroy_filename_hashtable() ^ 71 warnings and 13 errors generated. Makefile:138: recipe for target 'io.o' failed make[2]: *** [io.o] Error 1 make[2]: Leaving directory '/<>/index' make[2]: Entering directory '/<>/dynfilters' flex -F -8 htuml2txt.lex gcc -O3 -fomit-frame-pointer -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c lex.yy.c htuml2txt.lex:105:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); /* HTML odes with */ ^ htuml2txt.lex:106:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); /* corresponding ISO */ ^ htuml2txt.lex:107:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); /* codes */ ^ htuml2txt.lex:108:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:109:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:110:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:111:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:112:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:113:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:114:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:115:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:116:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:117:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:118:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:119:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:120:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:121:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:122:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:123:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:124:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:125:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:126:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:127:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:128:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:131:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:132:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:133:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:134:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:135:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:136:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:137:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:138:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:139:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:140:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:141:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:142:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:143:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:144:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:145:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:146:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:147:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:148:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:149:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:150:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:151:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:152:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:153:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:154:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:155:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:156:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:157:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:158:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:159:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:160:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:161:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:162:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:163:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:164:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:165:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:166:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:167:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:168:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:169:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:170:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:171:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:172:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:173:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:174:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:175:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:176:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:177:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:178:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:179:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:180:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:181:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:182:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:183:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:184:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:185:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:186:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:187:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:188:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:189:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:190:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:191:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:192:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:193:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:194:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:195:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:196:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:197:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:198:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:199:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:200:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:201:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:202:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:203:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:204:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:205:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:206:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:207:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:208:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:209:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:210:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:211:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:212:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:213:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:214:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:215:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:216:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:217:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:218:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:219:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:220:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:221:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:222:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:223:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:224:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:225:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('
', yyout); ^ htuml2txt.lex:226:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('
', yyout); ^ htuml2txt.lex:227:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:228:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:229:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:230:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:231:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:232:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:233:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:234:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:235:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:236:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:237:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:238:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:239:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:240:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:241:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:242:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:243:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:244:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:245:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:246:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:247:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:248:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:249:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:250:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:251:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:252:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:253:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:254:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:255:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:256:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:257:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:258:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:259:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:260:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:261:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:262:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:263:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:264:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:265:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:266:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:267:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:268:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:269:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:270:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:271:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:272:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:273:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:274:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:275:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:276:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:277:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:278:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:279:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:280:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:281:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:282:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:283:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:284:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:285:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:286:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:287:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:288:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:289:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:290:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:291:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:292:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:293:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:294:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ 188 warnings generated. gcc -o htuml2txt lex.yy.o -lfl make[2]: Leaving directory '/<>/dynfilters' gcc -c -Iindex -Iagrep -Ilibtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DISSERVER=0 -o main.o main.c In file included from main.c:33: ./communicate.c:232:22: warning: passing 'unsigned char [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (writen(sockfd, array, 4) < 4) return -1; ^~~~~ ./communicate.c:245:22: warning: passing 'unsigned char [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (writen(sockfd, array, 4) < 4) return -1; ^~~~~ ./communicate.c:290:37: warning: passing 'unsigned char [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (sockfd >= 0) if (readn(sockfd, array, 4) != 4) return -1; ^~~~~ ./communicate.c:299:37: warning: passing 'unsigned char [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (sockfd >= 0) if (readn(sockfd, array, 4) != 4) return -1; ^~~~~ main.c:204:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern free_list(); ~~~~~~ ^ main.c:292:48: warning: '/*' within block comment [-Wcomment] /* beginregionptr = curtextend - GD_length; /* prevent next curtextbegin to go behind previous curtextend (!) */ ^ main.c:373:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:156:21: note: expanded from macro 'strncmp' && strlen (s1) < ((size_t) (n))) \ ^~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ main.c:373:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:158:17: note: expanded from macro 'strncmp' && strlen (s2) < ((size_t) (n)))) \ ^~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ main.c:373:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:111:40: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^~ main.c:373:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:111:74: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^~ main.c:373:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:114:27: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ main.c:373:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:114:31: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ main.c:373:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:116:36: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^~ main.c:373:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:118:26: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ main.c:373:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:118:30: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ main.c:373:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:121:39: note: expanded from macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^~ main.c:373:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:123:29: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ main.c:373:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:123:33: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ main.c:373:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:125:33: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^~ main.c:373:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:125:37: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^~ main.c:373:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:34: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/string.h:143:33: note: passing argument to parameter '__s1' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ main.c:373:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:38: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/string.h:143:51: note: passing argument to parameter '__s2' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ main.c:400:15: warning: implicit declaration of function 'memagrep_search' is invalid in C99 [-Wimplicit-function-declaration] if ((ret = memagrep_search(AM, APattern, curtextend-curtextbegin, curtextbegin, 0, outfp)) > 0) ^ main.c:417:15: warning: implicit declaration of function 'exec' is invalid in C99 [-Wimplicit-function-declaration] if ((ret = exec(-1, NULL)) > 0) ^ main.c:438:4: warning: implicit declaration of function 'file_out' is invalid in C99 [-Wimplicit-function-declaration] file_out(realfilename); ^ main.c:466:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] read_index(indexdir) ^ main.c:536:20: warning: implicit declaration of function 'get_table' is invalid in C99 [-Wimplicit-function-declaration] GNumpartitions = get_table(P_TABLE, p_table, MAX_PARTITION, 0); ^ main.c:562:63: warning: implicit declaration of function 'read_mini' is invalid in C99 [-Wimplicit-function-declaration] if (OneFilePerBlock && glimpse_isserver && (minifp != NULL)) read_mini(indexfp, minifp); ^ main.c:563:2: warning: implicit declaration of function 'read_filenames' is invalid in C99 [-Wimplicit-function-declaration] read_filenames(); ^ main.c:566:2: warning: implicit declaration of function 'set_indexable_char' is invalid in C99 [-Wimplicit-function-declaration] set_indexable_char(indexable_char); ^ main.c:568:2: warning: implicit declaration of function 'set_special_char' is invalid in C99 [-Wimplicit-function-declaration] set_special_char(indexable_char); ^ main.c:600:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] reinitialize_server(argc, argv) ^ main.c:605:2: warning: implicit declaration of function 'attr_free_table' is invalid in C99 [-Wimplicit-function-declaration] CLEANUP; ^ main.c:593:3: note: expanded from macro 'CLEANUP' attr_free_table();\ ^ main.c:605:2: warning: implicit declaration of function 'destroy_filename_hashtable' is invalid in C99 [-Wimplicit-function-declaration] main.c:595:2: note: expanded from macro 'CLEANUP' destroy_filename_hashtable();\ ^ main.c:693:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ main.c:727:3: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] usage(); /* Client nees at least 1 argument */ ^ main.c:743:2: warning: implicit declaration of function 'init_filename_hashtable' is invalid in C99 [-Wimplicit-function-declaration] init_filename_hashtable(); ^ main.c:747:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] gethostname(SERV_HOST, MAXNAME - 2); ^~~~~~~~~ /usr/include/unistd.h:881:31: note: passing argument to parameter '__name' here extern int gethostname (char *__name, size_t __len) __THROW __nonnull ((1)); ^ main.c:751:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(&GProgname[0], argv[0]); ^~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:753:2: warning: implicit declaration of function 'region_initialize' is invalid in C99 [-Wimplicit-function-declaration] region_initialize(); ^ main.c:800:18: warning: implicit declaration of function 'usageS' is invalid in C99 [-Wimplicit-function-declaration] RETURNMAIN(usageS()); ^ main.c:824:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(SERV_HOST, argv[0]); ^~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:828:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(SERV_HOST, p+1); ^~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:1214:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((hp = gethostbyname(SERV_HOST)) == NULL) { ^~~~~~~~~ /usr/include/netdb.h:144:51: note: passing argument to parameter '__name' here extern struct hostent *gethostbyname (const char *__name); ^ main.c:1284:8: warning: implicit declaration of function 'process_query' is invalid in C99 [-Wimplicit-function-declaration] ret = process_query(oldargc, oldargv, fileno(stdin)); ^ main.c:1289:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] process_query(argc, argv, newsockfd) ^ main.c:1387:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(&GProgname[0], argv[0]); ^~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:1434:9: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(GD_pattern, "\n"); ^~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:1435:21: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] GD_length = strlen(GD_pattern); ^~~~~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ main.c:1462:7: warning: implicit declaration of function 'fileagrep' is invalid in C99 [-Wimplicit-function-declaration] i = fileagrep(oldargc, oldargv, 0, stdout); ^ main.c:1463:3: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(i); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1572:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(FileOpt, argv[0]); ^~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:1579:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(FileOpt, p+1); ^~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:1735:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(SERV_HOST, argv[0]); ^~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:1741:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(SERV_HOST, p+1); ^~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2091:3: warning: implicit declaration of function 'read_filters' is invalid in C99 [-Wimplicit-function-declaration] read_filters(INDEX_DIR, UseFilters); ^ main.c:2095:13: warning: implicit declaration of function 'fileagrep_init' is invalid in C99 [-Wimplicit-function-declaration] if ((GM = fileagrep_init(agrep_argc, agrep_argv, MAXPAT, GPattern)) <= 0) { ^ main.c:2119:11: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(APattern, GPattern); ^~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2119:21: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(APattern, GPattern); ^~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2127:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(terminals[0].data.leaf.value, GPattern); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2127:41: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(terminals[0].data.leaf.value, GPattern); ^~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2130:12: warning: implicit declaration of function 'split_pattern' is invalid in C99 [-Wimplicit-function-declaration] else if (split_pattern(GPattern, GM, APattern, terminals, &num_terminals, &GParse, StructuredIndex) <= 0) RETURN(-1); ^ main.c:2150:13: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] AM=strlen(APattern); ^~~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ main.c:2152:32: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(agrep_argv[patindex], APattern); ^~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2160:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((num = readline(newsockfd, dest_index_buf, REAL_INDEX_BUF)) <= 0) { ^~~~~~~~~~~~~~ main.c:2165:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(dest_index_buf, "BEGIN", strlen("BEGIN"))) break; ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:156:21: note: expanded from macro 'strncmp' && strlen (s1) < ((size_t) (n))) \ ^~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ main.c:2165:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(dest_index_buf, "BEGIN", strlen("BEGIN"))) break; ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:111:40: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^~ main.c:2165:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(dest_index_buf, "BEGIN", strlen("BEGIN"))) break; ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:114:27: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ main.c:2165:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(dest_index_buf, "BEGIN", strlen("BEGIN"))) break; ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:116:36: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^~ main.c:2165:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(dest_index_buf, "BEGIN", strlen("BEGIN"))) break; ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:118:26: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ main.c:2165:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(dest_index_buf, "BEGIN", strlen("BEGIN"))) break; ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:123:29: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ main.c:2165:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(dest_index_buf, "BEGIN", strlen("BEGIN"))) break; ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:125:33: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^~ main.c:2165:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(dest_index_buf, "BEGIN", strlen("BEGIN"))) break; ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:34: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/string.h:143:33: note: passing argument to parameter '__s1' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ main.c:2167:11: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sscanf(&dest_index_buf[strlen("BEGIN")], "%d%d%d", &bestmatcherrors, &NOBYTELEVEL, &OPTIMIZEBYTELEVEL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:450:60: note: passing argument to parameter '__s' here extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ main.c:2169:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] num = readline(newsockfd, dest_index_buf, REAL_INDEX_BUF); ^~~~~~~~~~~~~~ main.c:2172:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(dest_index_buf, "END", strlen("END"))) break; ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:156:21: note: expanded from macro 'strncmp' && strlen (s1) < ((size_t) (n))) \ ^~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ main.c:2172:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(dest_index_buf, "END", strlen("END"))) break; ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:111:40: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^~ main.c:2172:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(dest_index_buf, "END", strlen("END"))) break; ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:114:27: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ main.c:2172:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(dest_index_buf, "END", strlen("END"))) break; ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:116:36: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^~ main.c:2172:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(dest_index_buf, "END", strlen("END"))) break; ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:118:26: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ main.c:2172:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(dest_index_buf, "END", strlen("END"))) break; ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:123:29: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ main.c:2172:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(dest_index_buf, "END", strlen("END"))) break; ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/x86_64-linux-gnu/bits/string2.h:125:33: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^~ main.c:2172:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(dest_index_buf, "END", strlen("END"))) break; ^~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:159:34: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^~ /usr/include/string.h:143:33: note: passing argument to parameter '__s1' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ main.c:2181:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] GTextfiles[GNumfiles++] = (CHAR *)strdup(GTextfilenames[x]); ^~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:337:32: note: expanded from macro 'strdup' # define strdup(s) __strdup (s) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:329:36: note: expanded from macro '__strdup' : ({ size_t __len = strlen (s) + 1; \ ^ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ main.c:2181:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] GTextfiles[GNumfiles++] = (CHAR *)strdup(GTextfilenames[x]); ^~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:337:32: note: expanded from macro 'strdup' # define strdup(s) __strdup (s) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:334:17: note: expanded from macro '__strdup' : __strdup (s))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:324:36: note: passing argument to parameter '__string' here extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ main.c:2186:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] GTextfiles[GNumfiles++] = (CHAR *)strdup(GTextfilenames[x]); ^~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:337:32: note: expanded from macro 'strdup' # define strdup(s) __strdup (s) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:329:36: note: expanded from macro '__strdup' : ({ size_t __len = strlen (s) + 1; \ ^ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ main.c:2186:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] GTextfiles[GNumfiles++] = (CHAR *)strdup(GTextfilenames[x]); ^~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:337:32: note: expanded from macro 'strdup' # define strdup(s) __strdup (s) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:334:17: note: expanded from macro '__strdup' : __strdup (s))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:324:36: note: passing argument to parameter '__string' here extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ main.c:2217:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] num = readline(newsockfd, dest_index_buf, REAL_INDEX_BUF); ^~~~~~~~~~~~~~ main.c:2273:9: warning: implicit declaration of function 'search_index' is invalid in C99 [-Wimplicit-function-declaration] ret = search_index(GParse); ^ main.c:2303:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ main.c:2429:24: warning: implicit declaration of function 'mask_filenames' is invalid in C99 [-Wimplicit-function-declaration] if (FILENAMESINFILE) mask_filenames(src_index_set, filenames_file, file_num, num_blocks); /* keep only those files that are in filenames_file */ ^ main.c:2440:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ main.c:2457:4: warning: implicit declaration of function 'get_filenames' is invalid in C99 [-Wimplicit-function-declaration] get_filenames(src_index_set, 0, NULL, dummylen, dummypat, file_num); ^ main.c:2532:26: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(index_argv[0], GProgname); ^~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2565:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fileopt_length = strlen(FileOpt); ^~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ main.c:2566:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(index_argv[index_argc],FileOpt+j,fileopt_length-j); ^~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:57: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~ main.c:2692:37: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ main.c:2693:19: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2693:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2698:18: warning: implicit declaration of function 'fileagrep_search' is invalid in C99 [-Wimplicit-function-declaration] if ((ret = fileagrep_search(AM, APattern, 1, >extfiles[i], 0, stdout)) > 0) { ^ main.c:2721:37: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ main.c:2722:19: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2722:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2740:75: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if ((ret = glimpse_search(AM, APattern, GD_length, GD_pattern, GTextfiles[i], GTextfiles[i], GFileIndex[i], src_offset_table, stdout)) > 0) { ^~~~~~~~~~~~~ main.c:2740:90: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if ((ret = glimpse_search(AM, APattern, GD_length, GD_pattern, GTextfiles[i], GTextfiles[i], GFileIndex[i], src_offset_table, stdout)) > 0) { ^~~~~~~~~~~~~ main.c:2764:10: warning: implicit declaration of function 'apply_filter' is invalid in C99 [-Wimplicit-function-declaration] if (apply_filter(GTextfiles[i], outname[0]) == 1) { ^ main.c:2767:37: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ main.c:2768:19: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2768:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2794:76: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if ((ret = glimpse_search(AM, APattern, GD_length, GD_pattern, GTextfiles[i], outname[0], GFileIndex[i], src_offset_table, stdout)) > 0) { ^~~~~~~~~~~~~ main.c:2812:38: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ main.c:2813:20: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2813:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2831:76: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if ((ret = glimpse_search(AM, APattern, GD_length, GD_pattern, GTextfiles[i], GTextfiles[i], GFileIndex[i], src_offset_table, stdout)) > 0) { ^~~~~~~~~~~~~ main.c:2831:91: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if ((ret = glimpse_search(AM, APattern, GD_length, GD_pattern, GTextfiles[i], GTextfiles[i], GFileIndex[i], src_offset_table, stdout)) > 0) { ^~~~~~~~~~~~~ main.c:2883:36: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ main.c:2884:18: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2884:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2909:70: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else ret = glimpse_search(AM, APattern, GD_length, GD_pattern, GTextfiles[i], GTextfiles[i], GFileIndex[i], src_offset_table, tmpfp); ^~~~~~~~~~~~~ main.c:2909:85: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else ret = glimpse_search(AM, APattern, GD_length, GD_pattern, GTextfiles[i], GTextfiles[i], GFileIndex[i], src_offset_table, tmpfp); ^~~~~~~~~~~~~ main.c:2928:54: warning: implicit declaration of function 'filter_output' is invalid in C99 [-Wimplicit-function-declaration] ret = filter_output(GTextfiles[i], tempfile, GParse, GD_pattern, GD_length, GOUTTAIL, nullfp, StructuredIndex); ^ main.c:2970:36: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:366:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ main.c:2971:18: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2971:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2993:71: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else ret = glimpse_search(AM, APattern, GD_length, GD_pattern, GTextfiles[i], outname[0], GFileIndex[i], src_offset_table, tmpfp); ^~~~~~~~~~~~~ main.c:3021:71: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else ret = glimpse_search(AM, APattern, GD_length, GD_pattern, GTextfiles[i], GTextfiles[i], GFileIndex[i], src_offset_table, tmpfp); ^~~~~~~~~~~~~ main.c:3021:86: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else ret = glimpse_search(AM, APattern, GD_length, GD_pattern, GTextfiles[i], GTextfiles[i], GFileIndex[i], src_offset_table, tmpfp); ^~~~~~~~~~~~~ main.c:3128:19: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pbyteoff = atoi(temp); ^~~~ /usr/include/stdlib.h:239:26: note: passing argument to parameter '__nptr' here __NTH (atoi (const char *__nptr)) ^ main.c:3182:32: warning: implicit declaration of function 'region_create' is invalid in C99 [-Wimplicit-function-declaration] if (StructuredIndex && (-1 == region_create(infile))) { ^ main.c:3189:25: warning: implicit declaration of function 'region_destroy' is invalid in C99 [-Wimplicit-function-declaration] if (StructuredIndex) region_destroy(); ^ main.c:3262:48: warning: implicit declaration of function 'region_identify' is invalid in C99 [-Wimplicit-function-declaration] else if ( (num_attr <= 0) || (((attribute = region_identify(byteoff, 0)) < num_attr) && (attribute >= 0)) ) { ^ main.c:3286:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (memagrep_search( strlen(terminals[i].data.leaf.value), terminals[i].data.leaf.value, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ main.c:3341:17: warning: implicit declaration of function 'eval_tree' is invalid in C99 [-Wimplicit-function-declaration] success = eval_tree(GParse, matched_terminals); ^ main.c:3481:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] usage() ^ main.c:3561:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] usageS() ^ 135 warnings generated. gcc -c -Iindex -Iagrep -Ilibtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -o get_filename.o get_filename.c get_filename.c:43:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] read_filenames() ^ get_filename.c:63:9: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(buffer, MAX_NAME_SIZE, fp); ^~~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ get_filename.c:64:27: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] first_line_len = strlen(buffer); ^~~~~~ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ get_filename.c:66:10: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sscanf(buffer, "%d", &file_num); ^~~~~~ /usr/include/stdio.h:450:60: note: passing argument to parameter '__s' here extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ get_filename.c:77:3: warning: implicit declaration of function 'initialize_data_structures' is invalid in C99 [-Wimplicit-function-declaration] initialize_data_structures(file_num); ^ get_filename.c:126:103: warning: implicit declaration of function 'slow_mask_filenames' is invalid in C99 [-Wimplicit-function-declaration] if ((num_blocks*100/num_files > DEF_MAX_INDEX_PERCENT/2) && (num_blocks > MaxNum8bPartition)) return slow_mask_filenames(index_vect, infile); ^ get_filename.c:173:15: warning: implicit declaration of function 'memagrep' is invalid in C99 [-Wimplicit-function-declaration] if ((((ret = memagrep(5, argv, name_list_size, name_list_buffer, outputbuffer_len, outputbuffer)) <= 0) || (agrep_outpointer <= 0)) && (errno != ERANGE)) { ^ get_filename.c:484:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) ^ get_filename.c:539:6: error: non-void function 'get_filenames' should return a value [-Wreturn-type] return; ^ get_filename.c:581:6: error: non-void function 'get_filenames' should return a value [-Wreturn-type] return; ^ get_filename.c:598:22: warning: implicit declaration of function 'memagrep_init' is invalid in C99 [-Wimplicit-function-declaration] if ((dummylen = memagrep_init(argc, argv, MAX_PAT, dummypat)) <= 0) goto end_files; ^ get_filename.c:600:12: warning: implicit declaration of function 'memagrep_search' is invalid in C99 [-Wimplicit-function-declaration] ret = memagrep_search(dummylen, dummypat, dummylen*2, beginptr, outputbuffer_len, outputbuffer); ^ get_filename.c:673:7: error: non-void function 'get_filenames' should return a value [-Wreturn-type] return; ^ get_filename.c:752:7: error: non-void function 'get_filenames' should return a value [-Wreturn-type] return; ^ get_filename.c:778:2: error: non-void function 'get_filenames' should return a value [-Wreturn-type] return; ^ 10 warnings and 5 errors generated. Makefile:160: recipe for target 'get_filename.o' failed make[1]: *** [get_filename.o] Error 1 make[1]: Leaving directory '/<>' debian/rules:24: recipe for target 'build-stamp' failed make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 -------------------------------------------------------------------------------- Build finished at 2017-07-06T15:57:34Z 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: 6488 Build-Time: 12 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 6 Job: glimpse_4.18.7-3 Machine Architecture: amd64 Package: glimpse Package-Time: 38 Source-Version: 4.18.7-3 Space: 6488 Status: attempted Version: 4.18.7-3 -------------------------------------------------------------------------------- Finished at 2017-07-06T15:57:34Z Build needed 00:00:38, 6488k disk space E: Build failure (dpkg-buildpackage died) DC-Status: Failed 39.034732236s DC-Time-Estimation: 39.034732236 versus expected 1 (r/m: 38.034732236 ; m: 1.0)