sbuild (Debian sbuild) 0.73.0 (23 Dec 2016) on gcc131.bak.milne.osuosl.org +==============================================================================+ | glimpse 4.18.7-3 (mips64el) Sun, 21 Apr 2019 18:17:54 +0000 | +==============================================================================+ Package: glimpse Version: 4.18.7-3 Source Version: 4.18.7-3 Distribution: unstable Machine Architecture: amd64 Host Architecture: mips64el Build Architecture: amd64 Build Profiles: cross nocheck Build Type: any I: NOTICE: Log filtering will replace 'var/run/schroot/mount/unstable-amd64-sbuild-4d827ea3-7529-475f-8b2f-ef0c4a39be76' with '<>' +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Get:1 http://debian.oregonstate.edu/debian unstable InRelease [247 kB] Get:2 http://debian.oregonstate.edu/debian unstable/main Sources.diff/Index [27.9 kB] Get:3 http://debian.oregonstate.edu/debian unstable/main amd64 Packages.diff/Index [27.9 kB] Get:4 http://debian.oregonstate.edu/debian unstable/main Sources 2019-04-21-0816.38.pdiff [4183 B] Get:5 http://debian.oregonstate.edu/debian unstable/main Sources 2019-04-21-1409.28.pdiff [3218 B] Get:5 http://debian.oregonstate.edu/debian unstable/main Sources 2019-04-21-1409.28.pdiff [3218 B] Get:6 http://debian.oregonstate.edu/debian unstable/main amd64 Packages 2019-04-21-0816.38.pdiff [2335 B] Get:7 http://debian.oregonstate.edu/debian unstable/main amd64 Packages 2019-04-21-1409.28.pdiff [2681 B] Get:8 http://debian.oregonstate.edu/debian unstable/main mips64el Packages [8017 kB] Get:7 http://debian.oregonstate.edu/debian unstable/main amd64 Packages 2019-04-21-1409.28.pdiff [2681 B] Fetched 8332 kB in 2s (4449 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +------------------------------------------------------------------------------+ | 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://debian.oregonstate.edu/debian unstable/main glimpse 4.18.7-3 (dsc) [1762 B] Get:2 http://debian.oregonstate.edu/debian unstable/main glimpse 4.18.7-3 (tar) [511 kB] Get:3 http://debian.oregonstate.edu/debian unstable/main glimpse 4.18.7-3 (diff) [5172 B] Fetched 518 kB in 0s (5146 kB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/glimpse-ozfgQJ/glimpse-4.18.7' with '<>' I: NOTICE: Log filtering will replace 'build/glimpse-ozfgQJ' with '<>' +------------------------------------------------------------------------------+ | Install crossbuild-essential | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: build-essential:amd64, fakeroot:amd64, crossbuild-essential-mips64el:amd64 Filtered Build-Depends: build-essential:amd64, fakeroot:amd64, crossbuild-essential-mips64el:amd64 dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-AORaVo/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-AORaVo/apt_archive ./ InRelease Get:2 copy:/<>/resolver-AORaVo/apt_archive ./ Release [957 B] Ign:3 copy:/<>/resolver-AORaVo/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-AORaVo/apt_archive ./ Sources [364 B] Get:5 copy:/<>/resolver-AORaVo/apt_archive ./ Packages [454 B] Fetched 1775 B in 0s (106 kB/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 additional packages will be installed: binutils-mips64el-linux-gnuabi64 cpp-8-mips64el-linux-gnuabi64 cpp-mips64el-linux-gnuabi64 cross-config crossbuild-essential-mips64el dpkg-cross file g++-8-mips64el-linux-gnuabi64 g++-mips64el-linux-gnuabi64 gcc-8-cross-base gcc-8-mips64el-linux-gnuabi64 gcc-8-mips64el-linux-gnuabi64-base gcc-mips64el-linux-gnuabi64 libatomic1-mips64el-cross libc6-dev-mips64el-cross libc6-mips64el-cross libconfig-auto-perl libconfig-inifiles-perl libdebian-dpkgcross-perl libfile-homedir-perl libfile-which-perl libgcc-8-dev-mips64el-cross libgcc1-mips64el-cross libgomp1-mips64el-cross libicu63 libio-string-perl liblocale-gettext-perl libmagic-mgc libmagic1 libstdc++-8-dev-mips64el-cross libstdc++6-mips64el-cross libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml-simple-perl libxml2 libyaml-perl linux-libc-dev-mips64el-cross sensible-utils ucf Suggested packages: binutils-doc gcc-8-locales cpp-doc binutils-multiarch g++-8-multilib-mips64el-linux-gnuabi64 gcc-8-doc libstdc++6-8-dbg-mips64el-cross gcc-8-multilib-mips64el-linux-gnuabi64 libgcc1-dbg-mips64el-cross libgomp1-dbg-mips64el-cross libitm1-dbg-mips64el-cross libatomic1-dbg-mips64el-cross libasan5-dbg-mips64el-cross liblsan0-dbg-mips64el-cross libtsan0-dbg-mips64el-cross libubsan1-dbg-mips64el-cross libmpx2-dbg-mips64el-cross libquadmath0-dbg-mips64el-cross manpages-dev autoconf automake libtool flex bison gdb-mips64el-linux-gnuabi64 gcc-doc libyaml-shell-perl Recommended packages: libwww-perl libxml-sax-expat-perl libyaml-libyaml-perl | libyaml-syck-perl The following NEW packages will be installed: binutils-mips64el-linux-gnuabi64 cpp-8-mips64el-linux-gnuabi64 cpp-mips64el-linux-gnuabi64 cross-config crossbuild-essential-mips64el dpkg-cross file g++-8-mips64el-linux-gnuabi64 g++-mips64el-linux-gnuabi64 gcc-8-cross-base gcc-8-mips64el-linux-gnuabi64 gcc-8-mips64el-linux-gnuabi64-base gcc-mips64el-linux-gnuabi64 libatomic1-mips64el-cross libc6-dev-mips64el-cross libc6-mips64el-cross libconfig-auto-perl libconfig-inifiles-perl libdebian-dpkgcross-perl libfile-homedir-perl libfile-which-perl libgcc-8-dev-mips64el-cross libgcc1-mips64el-cross libgomp1-mips64el-cross libicu63 libio-string-perl liblocale-gettext-perl libmagic-mgc libmagic1 libstdc++-8-dev-mips64el-cross libstdc++6-mips64el-cross libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml-simple-perl libxml2 libyaml-perl linux-libc-dev-mips64el-cross sbuild-build-depends-core-dummy:mips64el sensible-utils ucf 0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded. Need to get 40.4 MB of archives. After this operation, 151 MB of additional disk space will be used. Get:1 copy:/<>/resolver-AORaVo/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [876 B] Get:2 http://debian.oregonstate.edu/debian unstable/main amd64 liblocale-gettext-perl amd64 1.07-3+b4 [18.9 kB] Get:3 http://debian.oregonstate.edu/debian unstable/main amd64 sensible-utils all 0.0.12 [15.8 kB] Get:4 http://debian.oregonstate.edu/debian unstable/main amd64 libmagic-mgc amd64 1:5.35-4 [242 kB] Get:5 http://debian.oregonstate.edu/debian unstable/main amd64 libmagic1 amd64 1:5.35-4 [117 kB] Get:6 http://debian.oregonstate.edu/debian unstable/main amd64 file amd64 1:5.35-4 [66.3 kB] Get:7 http://debian.oregonstate.edu/debian unstable/main amd64 ucf all 3.0038+nmu1 [69.0 kB] Get:8 http://debian.oregonstate.edu/debian unstable/main amd64 binutils-mips64el-linux-gnuabi64 amd64 2.31.1-16 [2489 kB] Get:9 http://debian.oregonstate.edu/debian unstable/main amd64 gcc-8-mips64el-linux-gnuabi64-base amd64 8.3.0-4cross1 [191 kB] Get:10 http://debian.oregonstate.edu/debian unstable/main amd64 cpp-8-mips64el-linux-gnuabi64 amd64 8.3.0-4cross1 [6284 kB] Get:11 http://debian.oregonstate.edu/debian unstable/main amd64 cpp-mips64el-linux-gnuabi64 amd64 4:8.3.0-1 [16.5 kB] Get:12 http://debian.oregonstate.edu/debian unstable/main amd64 cross-config all 2.6.15-2 [39.7 kB] Get:13 http://debian.oregonstate.edu/debian unstable/main amd64 gcc-8-cross-base all 8.3.0-4cross1 [186 kB] Get:14 http://debian.oregonstate.edu/debian unstable/main amd64 libc6-mips64el-cross all 2.28-7cross1 [1356 kB] Get:15 http://debian.oregonstate.edu/debian unstable/main amd64 libgcc1-mips64el-cross all 1:8.3.0-4cross1 [68.7 kB] Get:16 http://debian.oregonstate.edu/debian unstable/main amd64 libgomp1-mips64el-cross all 8.3.0-4cross1 [66.0 kB] Get:17 http://debian.oregonstate.edu/debian unstable/main amd64 libatomic1-mips64el-cross all 8.3.0-4cross1 [7388 B] Get:18 http://debian.oregonstate.edu/debian unstable/main amd64 libgcc-8-dev-mips64el-cross all 8.3.0-4cross1 [235 kB] Get:19 http://debian.oregonstate.edu/debian unstable/main amd64 gcc-8-mips64el-linux-gnuabi64 amd64 8.3.0-4cross1 [6702 kB] Get:20 http://debian.oregonstate.edu/debian unstable/main amd64 gcc-mips64el-linux-gnuabi64 amd64 4:8.3.0-1 [1472 B] Get:21 http://debian.oregonstate.edu/debian unstable/main amd64 libstdc++6-mips64el-cross all 8.3.0-4cross1 [310 kB] Get:22 http://debian.oregonstate.edu/debian unstable/main amd64 linux-libc-dev-mips64el-cross all 4.19.20-1cross1 [1223 kB] Get:23 http://debian.oregonstate.edu/debian unstable/main amd64 libc6-dev-mips64el-cross all 2.28-7cross1 [2513 kB] Get:24 http://debian.oregonstate.edu/debian unstable/main amd64 libstdc++-8-dev-mips64el-cross all 8.3.0-4cross1 [1559 kB] Get:25 http://debian.oregonstate.edu/debian unstable/main amd64 g++-8-mips64el-linux-gnuabi64 amd64 8.3.0-4cross1 [6862 kB] Get:26 http://debian.oregonstate.edu/debian unstable/main amd64 g++-mips64el-linux-gnuabi64 amd64 4:8.3.0-1 [1192 B] Get:27 http://debian.oregonstate.edu/debian unstable/main amd64 libconfig-inifiles-perl all 3.000001-1 [51.9 kB] Get:28 http://debian.oregonstate.edu/debian unstable/main amd64 libio-string-perl all 1.08-3 [12.3 kB] Get:29 http://debian.oregonstate.edu/debian unstable/main amd64 libicu63 amd64 63.1-6 [8292 kB] Get:30 http://debian.oregonstate.edu/debian unstable/main amd64 libxml2 amd64 2.9.4+dfsg1-7+b3 [687 kB] Get:31 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-namespacesupport-perl all 1.12-1 [14.8 kB] Get:32 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-sax-base-perl all 1.09-1 [20.4 kB] Get:33 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-sax-perl all 1.00+dfsg-1 [58.6 kB] Get:34 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-libxml-perl amd64 2.0134+dfsg-1 [344 kB] Get:35 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-simple-perl all 2.25-1 [72.0 kB] Get:36 http://debian.oregonstate.edu/debian unstable/main amd64 libyaml-perl all 1.27-1 [66.8 kB] Get:37 http://debian.oregonstate.edu/debian unstable/main amd64 libconfig-auto-perl all 0.44-1 [19.5 kB] Get:38 http://debian.oregonstate.edu/debian unstable/main amd64 libfile-which-perl all 1.23-1 [16.6 kB] Get:39 http://debian.oregonstate.edu/debian unstable/main amd64 libfile-homedir-perl all 1.004-1 [42.7 kB] Get:40 http://debian.oregonstate.edu/debian unstable/main amd64 libdebian-dpkgcross-perl all 2.6.15-2 [38.5 kB] Get:41 http://debian.oregonstate.edu/debian unstable/main amd64 dpkg-cross all 2.6.15-2 [49.3 kB] Get:42 http://debian.oregonstate.edu/debian unstable/main amd64 crossbuild-essential-mips64el all 12.6 [6584 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 40.4 MB in 1s (62.3 MB/s) Selecting previously unselected package liblocale-gettext-perl. (Reading database ... 11936 files and directories currently installed.) Preparing to unpack .../00-liblocale-gettext-perl_1.07-3+b4_amd64.deb ... Unpacking liblocale-gettext-perl (1.07-3+b4) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../01-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../02-libmagic-mgc_1%3a5.35-4_amd64.deb ... Unpacking libmagic-mgc (1:5.35-4) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../03-libmagic1_1%3a5.35-4_amd64.deb ... Unpacking libmagic1:amd64 (1:5.35-4) ... Selecting previously unselected package file. Preparing to unpack .../04-file_1%3a5.35-4_amd64.deb ... Unpacking file (1:5.35-4) ... Selecting previously unselected package ucf. Preparing to unpack .../05-ucf_3.0038+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0038+nmu1) ... Selecting previously unselected package binutils-mips64el-linux-gnuabi64. Preparing to unpack .../06-binutils-mips64el-linux-gnuabi64_2.31.1-16_amd64.deb ... Unpacking binutils-mips64el-linux-gnuabi64 (2.31.1-16) ... Selecting previously unselected package gcc-8-mips64el-linux-gnuabi64-base:amd64. Preparing to unpack .../07-gcc-8-mips64el-linux-gnuabi64-base_8.3.0-4cross1_amd64.deb ... Unpacking gcc-8-mips64el-linux-gnuabi64-base:amd64 (8.3.0-4cross1) ... Selecting previously unselected package cpp-8-mips64el-linux-gnuabi64. Preparing to unpack .../08-cpp-8-mips64el-linux-gnuabi64_8.3.0-4cross1_amd64.deb ... Unpacking cpp-8-mips64el-linux-gnuabi64 (8.3.0-4cross1) ... Selecting previously unselected package cpp-mips64el-linux-gnuabi64. Preparing to unpack .../09-cpp-mips64el-linux-gnuabi64_4%3a8.3.0-1_amd64.deb ... Unpacking cpp-mips64el-linux-gnuabi64 (4:8.3.0-1) ... Selecting previously unselected package cross-config. Preparing to unpack .../10-cross-config_2.6.15-2_all.deb ... Unpacking cross-config (2.6.15-2) ... Selecting previously unselected package gcc-8-cross-base. Preparing to unpack .../11-gcc-8-cross-base_8.3.0-4cross1_all.deb ... Unpacking gcc-8-cross-base (8.3.0-4cross1) ... Selecting previously unselected package libc6-mips64el-cross. Preparing to unpack .../12-libc6-mips64el-cross_2.28-7cross1_all.deb ... Unpacking libc6-mips64el-cross (2.28-7cross1) ... Selecting previously unselected package libgcc1-mips64el-cross. Preparing to unpack .../13-libgcc1-mips64el-cross_1%3a8.3.0-4cross1_all.deb ... Unpacking libgcc1-mips64el-cross (1:8.3.0-4cross1) ... Selecting previously unselected package libgomp1-mips64el-cross. Preparing to unpack .../14-libgomp1-mips64el-cross_8.3.0-4cross1_all.deb ... Unpacking libgomp1-mips64el-cross (8.3.0-4cross1) ... Selecting previously unselected package libatomic1-mips64el-cross. Preparing to unpack .../15-libatomic1-mips64el-cross_8.3.0-4cross1_all.deb ... Unpacking libatomic1-mips64el-cross (8.3.0-4cross1) ... Selecting previously unselected package libgcc-8-dev-mips64el-cross. Preparing to unpack .../16-libgcc-8-dev-mips64el-cross_8.3.0-4cross1_all.deb ... Unpacking libgcc-8-dev-mips64el-cross (8.3.0-4cross1) ... Selecting previously unselected package gcc-8-mips64el-linux-gnuabi64. Preparing to unpack .../17-gcc-8-mips64el-linux-gnuabi64_8.3.0-4cross1_amd64.deb ... Unpacking gcc-8-mips64el-linux-gnuabi64 (8.3.0-4cross1) ... Selecting previously unselected package gcc-mips64el-linux-gnuabi64. Preparing to unpack .../18-gcc-mips64el-linux-gnuabi64_4%3a8.3.0-1_amd64.deb ... Unpacking gcc-mips64el-linux-gnuabi64 (4:8.3.0-1) ... Selecting previously unselected package libstdc++6-mips64el-cross. Preparing to unpack .../19-libstdc++6-mips64el-cross_8.3.0-4cross1_all.deb ... Unpacking libstdc++6-mips64el-cross (8.3.0-4cross1) ... Selecting previously unselected package linux-libc-dev-mips64el-cross. Preparing to unpack .../20-linux-libc-dev-mips64el-cross_4.19.20-1cross1_all.deb ... Unpacking linux-libc-dev-mips64el-cross (4.19.20-1cross1) ... Selecting previously unselected package libc6-dev-mips64el-cross. Preparing to unpack .../21-libc6-dev-mips64el-cross_2.28-7cross1_all.deb ... Unpacking libc6-dev-mips64el-cross (2.28-7cross1) ... Selecting previously unselected package libstdc++-8-dev-mips64el-cross. Preparing to unpack .../22-libstdc++-8-dev-mips64el-cross_8.3.0-4cross1_all.deb ... Unpacking libstdc++-8-dev-mips64el-cross (8.3.0-4cross1) ... Selecting previously unselected package g++-8-mips64el-linux-gnuabi64. Preparing to unpack .../23-g++-8-mips64el-linux-gnuabi64_8.3.0-4cross1_amd64.deb ... Unpacking g++-8-mips64el-linux-gnuabi64 (8.3.0-4cross1) ... Selecting previously unselected package g++-mips64el-linux-gnuabi64. Preparing to unpack .../24-g++-mips64el-linux-gnuabi64_4%3a8.3.0-1_amd64.deb ... Unpacking g++-mips64el-linux-gnuabi64 (4:8.3.0-1) ... Selecting previously unselected package libconfig-inifiles-perl. Preparing to unpack .../25-libconfig-inifiles-perl_3.000001-1_all.deb ... Unpacking libconfig-inifiles-perl (3.000001-1) ... Selecting previously unselected package libio-string-perl. Preparing to unpack .../26-libio-string-perl_1.08-3_all.deb ... Unpacking libio-string-perl (1.08-3) ... Selecting previously unselected package libicu63:amd64. Preparing to unpack .../27-libicu63_63.1-6_amd64.deb ... Unpacking libicu63:amd64 (63.1-6) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../28-libxml2_2.9.4+dfsg1-7+b3_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libxml-namespacesupport-perl. Preparing to unpack .../29-libxml-namespacesupport-perl_1.12-1_all.deb ... Unpacking libxml-namespacesupport-perl (1.12-1) ... Selecting previously unselected package libxml-sax-base-perl. Preparing to unpack .../30-libxml-sax-base-perl_1.09-1_all.deb ... Unpacking libxml-sax-base-perl (1.09-1) ... Selecting previously unselected package libxml-sax-perl. Preparing to unpack .../31-libxml-sax-perl_1.00+dfsg-1_all.deb ... Unpacking libxml-sax-perl (1.00+dfsg-1) ... Selecting previously unselected package libxml-libxml-perl. Preparing to unpack .../32-libxml-libxml-perl_2.0134+dfsg-1_amd64.deb ... Unpacking libxml-libxml-perl (2.0134+dfsg-1) ... Selecting previously unselected package libxml-simple-perl. Preparing to unpack .../33-libxml-simple-perl_2.25-1_all.deb ... Unpacking libxml-simple-perl (2.25-1) ... Selecting previously unselected package libyaml-perl. Preparing to unpack .../34-libyaml-perl_1.27-1_all.deb ... Unpacking libyaml-perl (1.27-1) ... Selecting previously unselected package libconfig-auto-perl. Preparing to unpack .../35-libconfig-auto-perl_0.44-1_all.deb ... Unpacking libconfig-auto-perl (0.44-1) ... Selecting previously unselected package libfile-which-perl. Preparing to unpack .../36-libfile-which-perl_1.23-1_all.deb ... Unpacking libfile-which-perl (1.23-1) ... Selecting previously unselected package libfile-homedir-perl. Preparing to unpack .../37-libfile-homedir-perl_1.004-1_all.deb ... Unpacking libfile-homedir-perl (1.004-1) ... Selecting previously unselected package libdebian-dpkgcross-perl. Preparing to unpack .../38-libdebian-dpkgcross-perl_2.6.15-2_all.deb ... Unpacking libdebian-dpkgcross-perl (2.6.15-2) ... Selecting previously unselected package dpkg-cross. Preparing to unpack .../39-dpkg-cross_2.6.15-2_all.deb ... Unpacking dpkg-cross (2.6.15-2) ... Selecting previously unselected package crossbuild-essential-mips64el. Preparing to unpack .../40-crossbuild-essential-mips64el_12.6_all.deb ... Unpacking crossbuild-essential-mips64el (12.6) ... Selecting previously unselected package sbuild-build-depends-core-dummy:mips64el. Preparing to unpack .../41-sbuild-build-depends-core-dummy_0.invalid.0_mips64el.deb ... Unpacking sbuild-build-depends-core-dummy:mips64el (0.invalid.0) ... Setting up libconfig-inifiles-perl (3.000001-1) ... Setting up libfile-which-perl (1.23-1) ... Setting up libmagic-mgc (1:5.35-4) ... Setting up gcc-8-cross-base (8.3.0-4cross1) ... Setting up libmagic1:amd64 (1:5.35-4) ... Setting up libc6-mips64el-cross (2.28-7cross1) ... Setting up libxml-namespacesupport-perl (1.12-1) ... Setting up file (1:5.35-4) ... Setting up libyaml-perl (1.27-1) ... Setting up binutils-mips64el-linux-gnuabi64 (2.31.1-16) ... Setting up libicu63:amd64 (63.1-6) ... Setting up libxml-sax-base-perl (1.09-1) ... Setting up libio-string-perl (1.08-3) ... Setting up cross-config (2.6.15-2) ... Setting up gcc-8-mips64el-linux-gnuabi64-base:amd64 (8.3.0-4cross1) ... Setting up sensible-utils (0.0.12) ... Setting up linux-libc-dev-mips64el-cross (4.19.20-1cross1) ... Setting up libfile-homedir-perl (1.004-1) ... Setting up libgomp1-mips64el-cross (8.3.0-4cross1) ... Setting up libxml2:amd64 (2.9.4+dfsg1-7+b3) ... Setting up liblocale-gettext-perl (1.07-3+b4) ... Setting up cpp-8-mips64el-linux-gnuabi64 (8.3.0-4cross1) ... Setting up libatomic1-mips64el-cross (8.3.0-4cross1) ... Setting up libgcc1-mips64el-cross (1:8.3.0-4cross1) ... Setting up libc6-dev-mips64el-cross (2.28-7cross1) ... Setting up ucf (3.0038+nmu1) ... Setting up libstdc++6-mips64el-cross (8.3.0-4cross1) ... Setting up cpp-mips64el-linux-gnuabi64 (4:8.3.0-1) ... Setting up libgcc-8-dev-mips64el-cross (8.3.0-4cross1) ... Setting up libxml-sax-perl (1.00+dfsg-1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libxml-libxml-perl (2.0134+dfsg-1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libstdc++-8-dev-mips64el-cross (8.3.0-4cross1) ... Setting up gcc-8-mips64el-linux-gnuabi64 (8.3.0-4cross1) ... Setting up g++-8-mips64el-linux-gnuabi64 (8.3.0-4cross1) ... Setting up libxml-simple-perl (2.25-1) ... Setting up gcc-mips64el-linux-gnuabi64 (4:8.3.0-1) ... Setting up g++-mips64el-linux-gnuabi64 (4:8.3.0-1) ... Setting up libconfig-auto-perl (0.44-1) ... Setting up libdebian-dpkgcross-perl (2.6.15-2) ... Setting up dpkg-cross (2.6.15-2) ... Setting up crossbuild-essential-mips64el (12.6) ... Setting up sbuild-build-depends-core-dummy:mips64el (0.invalid.0) ... Processing triggers for libc-bin (2.28-8) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (mips64el included in any) Setup apt archive ----------------- dpkg-deb: building package 'sbuild-build-depends-essential-dummy' in '/<>/resolver-AORaVo/apt_archive/sbuild-build-depends-essential-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-essential-dummy dpkg-scanpackages: info: Wrote 2 entries to output Packages file. Ign:1 copy:/<>/resolver-AORaVo/apt_archive ./ InRelease Get:2 copy:/<>/resolver-AORaVo/apt_archive ./ Release [963 B] Ign:3 copy:/<>/resolver-AORaVo/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-AORaVo/apt_archive ./ Sources [484 B] Get:5 copy:/<>/resolver-AORaVo/apt_archive ./ Packages [574 B] Fetched 2021 B in 0s (111 kB/s) Reading package lists... Reading package lists... Install essential 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-essential-dummy:mips64el 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 844 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-AORaVo/apt_archive ./ sbuild-build-depends-essential-dummy 0.invalid.0 [844 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 844 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-essential-dummy:mips64el. (Reading database ... 15108 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-essential-dummy_0.invalid.0_mips64el.deb ... Unpacking sbuild-build-depends-essential-dummy:mips64el (0.invalid.0) ... Setting up sbuild-build-depends-essential-dummy:mips64el (0.invalid.0) ... +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: libc-dev, libstdc++-dev, flex, libfl-dev, debhelper (>= 8) Filtered Build-Depends: libc-dev, libstdc++-dev, flex, libfl-dev, debhelper (>= 8) dpkg-deb: building package 'sbuild-build-depends-glimpse-dummy' in '/<>/resolver-AORaVo/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-essential-dummy sbuild-build-depends-glimpse-dummy dpkg-scanpackages: info: Wrote 3 entries to output Packages file. Ign:1 copy:/<>/resolver-AORaVo/apt_archive ./ InRelease Get:2 copy:/<>/resolver-AORaVo/apt_archive ./ Release [963 B] Ign:3 copy:/<>/resolver-AORaVo/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-AORaVo/apt_archive ./ Sources [641 B] Get:5 copy:/<>/resolver-AORaVo/apt_archive ./ Packages [720 B] Fetched 2324 B in 0s (136 kB/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 dwz flex gcc-8-base:mips64el gettext gettext-base groff-base intltool-debian libarchive-zip-perl libatomic1:mips64el libbsd0 libc6:mips64el libc6-dev:mips64el libcroco3 libelf1 libfile-stripnondeterminism-perl libfl-dev:mips64el libfl2:mips64el libgcc-8-dev:mips64el libgcc1:mips64el libglib2.0-0 libgomp1:mips64el libncurses6 libpipeline1 libsigsegv2 libstdc++-8-dev:mips64el libstdc++6:mips64el libtool libuchardet0 linux-libc-dev:mips64el m4 man-db po-debconf Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make bison flex-doc gettext-doc libasprintf-dev libgettextpo-dev groff glibc-doc:mips64el libc-l10n:mips64el locales:mips64el manpages-dev:mips64el libstdc++-8-doc:mips64el libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl Recommended packages: libfl-dev curl | wget | lynx libidn2-0:mips64el libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libgpm2 libltdl-dev libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism dwz flex gcc-8-base:mips64el gettext gettext-base groff-base intltool-debian libarchive-zip-perl libatomic1:mips64el libbsd0 libc6:mips64el libc6-dev:mips64el libcroco3 libelf1 libfile-stripnondeterminism-perl libfl-dev:mips64el libfl2:mips64el libgcc-8-dev:mips64el libgcc1:mips64el libglib2.0-0 libgomp1:mips64el libncurses6 libpipeline1 libsigsegv2 libstdc++-8-dev:mips64el libstdc++6:mips64el libtool libuchardet0 linux-libc-dev:mips64el m4 man-db po-debconf sbuild-build-depends-glimpse-dummy:mips64el 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. Need to get 19.0 MB of archives. After this operation, 91.7 MB of additional disk space will be used. Get:1 copy:/<>/resolver-AORaVo/apt_archive ./ sbuild-build-depends-glimpse-dummy 0.invalid.0 [880 B] Get:2 http://debian.oregonstate.edu/debian unstable/main amd64 libbsd0 amd64 0.9.1-2 [99.5 kB] Get:3 http://debian.oregonstate.edu/debian unstable/main amd64 bsdmainutils amd64 11.1.2+b1 [191 kB] Get:4 http://debian.oregonstate.edu/debian unstable/main amd64 libuchardet0 amd64 0.0.6-3 [64.9 kB] Get:5 http://debian.oregonstate.edu/debian unstable/main amd64 groff-base amd64 1.22.4-3 [916 kB] Get:6 http://debian.oregonstate.edu/debian unstable/main amd64 libpipeline1 amd64 1.5.1-2 [31.2 kB] Get:7 http://debian.oregonstate.edu/debian unstable/main amd64 man-db amd64 2.8.5-2 [1274 kB] Get:8 http://debian.oregonstate.edu/debian unstable/main amd64 libsigsegv2 amd64 2.12-2 [32.8 kB] Get:9 http://debian.oregonstate.edu/debian unstable/main amd64 m4 amd64 1.4.18-2 [203 kB] Get:10 http://debian.oregonstate.edu/debian unstable/main amd64 flex amd64 2.6.4-6.2 [456 kB] Get:11 http://debian.oregonstate.edu/debian unstable/main amd64 gettext-base amd64 0.19.8.1-9 [123 kB] Get:12 http://debian.oregonstate.edu/debian unstable/main amd64 autoconf all 2.69-11 [341 kB] Get:13 http://debian.oregonstate.edu/debian unstable/main amd64 autotools-dev all 20180224.1 [77.0 kB] Get:14 http://debian.oregonstate.edu/debian unstable/main amd64 automake all 1:1.16.1-4 [771 kB] Get:15 http://debian.oregonstate.edu/debian unstable/main amd64 autopoint all 0.19.8.1-9 [434 kB] Get:16 http://debian.oregonstate.edu/debian unstable/main amd64 libtool all 2.4.6-10 [547 kB] Get:17 http://debian.oregonstate.edu/debian unstable/main amd64 dh-autoreconf all 19 [16.9 kB] Get:18 http://debian.oregonstate.edu/debian unstable/main amd64 libarchive-zip-perl all 1.64-1 [96.8 kB] Get:19 http://debian.oregonstate.edu/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get:20 http://debian.oregonstate.edu/debian unstable/main amd64 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get:21 http://debian.oregonstate.edu/debian unstable/main amd64 libelf1 amd64 0.176-1 [160 kB] Get:22 http://debian.oregonstate.edu/debian unstable/main amd64 dwz amd64 0.12-3 [78.0 kB] Get:23 http://debian.oregonstate.edu/debian unstable/main amd64 libglib2.0-0 amd64 2.58.3-1 [1258 kB] Get:24 http://debian.oregonstate.edu/debian unstable/main amd64 libcroco3 amd64 0.6.12-3 [145 kB] Get:25 http://debian.oregonstate.edu/debian unstable/main amd64 libncurses6 amd64 6.1+20181013-2 [102 kB] Get:26 http://debian.oregonstate.edu/debian unstable/main amd64 gettext amd64 0.19.8.1-9 [1303 kB] Get:27 http://debian.oregonstate.edu/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get:28 http://debian.oregonstate.edu/debian unstable/main amd64 po-debconf all 1.0.21 [248 kB] Get:29 http://debian.oregonstate.edu/debian unstable/main amd64 debhelper all 12.1.1 [1016 kB] Get:30 http://debian.oregonstate.edu/debian unstable/main mips64el gcc-8-base mips64el 8.3.0-6 [191 kB] Get:31 http://debian.oregonstate.edu/debian unstable/main mips64el libgcc1 mips64el 1:8.3.0-6 [68.8 kB] Get:32 http://debian.oregonstate.edu/debian unstable/main mips64el libc6 mips64el 2.28-8 [2555 kB] Get:33 http://debian.oregonstate.edu/debian unstable/main mips64el libatomic1 mips64el 8.3.0-6 [7428 B] Get:34 http://debian.oregonstate.edu/debian unstable/main mips64el linux-libc-dev mips64el 4.19.28-2 [1152 kB] Get:35 http://debian.oregonstate.edu/debian unstable/main mips64el libc6-dev mips64el 2.28-8 [2512 kB] Get:36 http://debian.oregonstate.edu/debian unstable/main mips64el libfl2 mips64el 2.6.4-6.2 [103 kB] Get:37 http://debian.oregonstate.edu/debian unstable/main mips64el libfl-dev mips64el 2.6.4-6.2 [104 kB] Get:38 http://debian.oregonstate.edu/debian unstable/main mips64el libgomp1 mips64el 8.3.0-6 [67.3 kB] Get:39 http://debian.oregonstate.edu/debian unstable/main mips64el libgcc-8-dev mips64el 8.3.0-6 [234 kB] Get:40 http://debian.oregonstate.edu/debian unstable/main mips64el libstdc++6 mips64el 8.3.0-6 [348 kB] Get:41 http://debian.oregonstate.edu/debian unstable/main mips64el libstdc++-8-dev mips64el 8.3.0-6 [1573 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 19.0 MB in 0s (53.9 MB/s) Selecting previously unselected package libbsd0:amd64. (Reading database ... 15108 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_amd64.deb ... Unpacking libbsd0:amd64 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_amd64.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../02-libuchardet0_0.0.6-3_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_amd64.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../04-libpipeline1_1.5.1-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_amd64.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../06-libsigsegv2_2.12-2_amd64.deb ... Unpacking libsigsegv2:amd64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../07-m4_1.4.18-2_amd64.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package flex. Preparing to unpack .../08-flex_2.6.4-6.2_amd64.deb ... Unpacking flex (2.6.4-6.2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../09-gettext-base_0.19.8.1-9_amd64.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package autoconf. Preparing to unpack .../10-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../11-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../12-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../13-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libtool. Preparing to unpack .../14-libtool_2.4.6-10_all.deb ... Unpacking libtool (2.4.6-10) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../15-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../16-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../17-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../18-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../19-libelf1_0.176-1_amd64.deb ... Unpacking libelf1:amd64 (0.176-1) ... Selecting previously unselected package dwz. Preparing to unpack .../20-dwz_0.12-3_amd64.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../21-libglib2.0-0_2.58.3-1_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.58.3-1) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../22-libcroco3_0.6.12-3_amd64.deb ... Unpacking libcroco3:amd64 (0.6.12-3) ... Selecting previously unselected package libncurses6:amd64. Preparing to unpack .../23-libncurses6_6.1+20181013-2_amd64.deb ... Unpacking libncurses6:amd64 (6.1+20181013-2) ... Selecting previously unselected package gettext. Preparing to unpack .../24-gettext_0.19.8.1-9_amd64.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../25-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../26-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../27-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package gcc-8-base:mips64el. Preparing to unpack .../28-gcc-8-base_8.3.0-6_mips64el.deb ... Unpacking gcc-8-base:mips64el (8.3.0-6) ... Selecting previously unselected package libgcc1:mips64el. Preparing to unpack .../29-libgcc1_1%3a8.3.0-6_mips64el.deb ... Unpacking libgcc1:mips64el (1:8.3.0-6) ... Selecting previously unselected package libc6:mips64el. Preparing to unpack .../30-libc6_2.28-8_mips64el.deb ... Unpacking libc6:mips64el (2.28-8) ... Selecting previously unselected package libatomic1:mips64el. Preparing to unpack .../31-libatomic1_8.3.0-6_mips64el.deb ... Unpacking libatomic1:mips64el (8.3.0-6) ... Selecting previously unselected package linux-libc-dev:mips64el. Preparing to unpack .../32-linux-libc-dev_4.19.28-2_mips64el.deb ... Unpacking linux-libc-dev:mips64el (4.19.28-2) ... Selecting previously unselected package libc6-dev:mips64el. Preparing to unpack .../33-libc6-dev_2.28-8_mips64el.deb ... Unpacking libc6-dev:mips64el (2.28-8) ... Selecting previously unselected package libfl2:mips64el. Preparing to unpack .../34-libfl2_2.6.4-6.2_mips64el.deb ... Unpacking libfl2:mips64el (2.6.4-6.2) ... Selecting previously unselected package libfl-dev:mips64el. Preparing to unpack .../35-libfl-dev_2.6.4-6.2_mips64el.deb ... Unpacking libfl-dev:mips64el (2.6.4-6.2) ... Selecting previously unselected package libgomp1:mips64el. Preparing to unpack .../36-libgomp1_8.3.0-6_mips64el.deb ... Unpacking libgomp1:mips64el (8.3.0-6) ... Selecting previously unselected package libgcc-8-dev:mips64el. Preparing to unpack .../37-libgcc-8-dev_8.3.0-6_mips64el.deb ... Unpacking libgcc-8-dev:mips64el (8.3.0-6) ... Selecting previously unselected package libstdc++6:mips64el. Preparing to unpack .../38-libstdc++6_8.3.0-6_mips64el.deb ... Unpacking libstdc++6:mips64el (8.3.0-6) ... Selecting previously unselected package libstdc++-8-dev:mips64el. Preparing to unpack .../39-libstdc++-8-dev_8.3.0-6_mips64el.deb ... Unpacking libstdc++-8-dev:mips64el (8.3.0-6) ... Selecting previously unselected package sbuild-build-depends-glimpse-dummy:mips64el. Preparing to unpack .../40-sbuild-build-depends-glimpse-dummy_0.invalid.0_mips64el.deb ... Unpacking sbuild-build-depends-glimpse-dummy:mips64el (0.invalid.0) ... Setting up libpipeline1:amd64 (1.5.1-2) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:amd64 (2.58.3-1) ... No schema files found: doing nothing. Setting up linux-libc-dev:mips64el (4.19.28-2) ... Setting up gettext-base (0.19.8.1-9) ... Setting up autotools-dev (20180224.1) ... Setting up libncurses6:amd64 (6.1+20181013-2) ... Setting up libsigsegv2:amd64 (2.12-2) ... Setting up gcc-8-base:mips64el (8.3.0-6) ... Setting up autopoint (0.19.8.1-9) ... Setting up libcroco3:amd64 (0.6.12-3) ... Setting up libuchardet0:amd64 (0.0.6-3) ... Setting up libbsd0:amd64 (0.9.1-2) ... Setting up libelf1:amd64 (0.176-1) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up gettext (0.19.8.1-9) ... Setting up libtool (2.4.6-10) ... Setting up m4 (1.4.18-2) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up bsdmainutils (11.1.2+b1) ... 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 autoconf (2.69-11) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up flex (2.6.4-6.2) ... Setting up po-debconf (1.0.21) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libc6:mips64el (2.28-8) ... Setting up libc6-dev:mips64el (2.28-8) ... Setting up libgcc1:mips64el (1:8.3.0-6) ... Setting up debhelper (12.1.1) ... Setting up libgomp1:mips64el (8.3.0-6) ... Setting up dh-autoreconf (19) ... Setting up libatomic1:mips64el (8.3.0-6) ... Setting up libfl2:mips64el (2.6.4-6.2) ... Setting up libgcc-8-dev:mips64el (8.3.0-6) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Setting up libstdc++6:mips64el (8.3.0-6) ... Setting up libstdc++-8-dev:mips64el (8.3.0-6) ... Setting up libfl-dev:mips64el (2.6.4-6.2) ... Setting up sbuild-build-depends-glimpse-dummy:mips64el (0.invalid.0) ... Processing triggers for libc-bin (2.28-8) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.9.0-8-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.31.1-16 dpkg-dev_1.19.6 g++-8_8.3.0-6 gcc-8_8.3.0-6 libc6-dev_2.28-8 libstdc++-8-dev_8.3.0-6 libstdc++-8-dev-mips64el-cross_8.3.0-4cross1 libstdc++6_8.3.0-6 libstdc++6-mips64el-cross_8.3.0-4cross1 linux-libc-dev_4.19.28-2 Package versions: adduser_3.118 apt_1.8.0 autoconf_2.69-11 automake_1:1.16.1-4 autopoint_0.19.8.1-9 autotools-dev_20180224.1 base-files_10.2 base-passwd_3.5.46 bash_5.0-4 binutils_2.31.1-16 binutils-common_2.31.1-16 binutils-mips64el-linux-gnuabi64_2.31.1-16 binutils-x86-64-linux-gnu_2.31.1-16 bsdmainutils_11.1.2+b1 bsdutils_1:2.33.1-0.1 build-essential_12.6 bzip2_1.0.6-9 coreutils_8.30-3 cpp_4:8.3.0-1 cpp-8_8.3.0-6 cpp-8-mips64el-linux-gnuabi64_8.3.0-4cross1 cpp-mips64el-linux-gnuabi64_4:8.3.0-1 cross-config_2.6.15-2 crossbuild-essential-mips64el_12.6 dash_0.5.10.2-5 debconf_1.5.71 debhelper_12.1.1 debian-archive-keyring_2018.1 debianutils_4.8.6.1 dh-autoreconf_19 dh-strip-nondeterminism_1.1.2-1 diffutils_1:3.7-3 dpkg_1.19.6 dpkg-cross_2.6.15-2 dpkg-dev_1.19.6 dwz_0.12-3 e2fsprogs_1.45.0-1 fakeroot_1.23-1 fdisk_2.33.1-0.1 file_1:5.35-4 findutils_4.6.0+git+20190209-2 flex_2.6.4-6.2 g++_4:8.3.0-1 g++-8_8.3.0-6 g++-8-mips64el-linux-gnuabi64_8.3.0-4cross1 g++-mips64el-linux-gnuabi64_4:8.3.0-1 gcc_4:8.3.0-1 gcc-8_8.3.0-6 gcc-8-base_8.3.0-6 gcc-8-cross-base_8.3.0-4cross1 gcc-8-mips64el-linux-gnuabi64_8.3.0-4cross1 gcc-8-mips64el-linux-gnuabi64-base_8.3.0-4cross1 gcc-mips64el-linux-gnuabi64_4:8.3.0-1 gettext_0.19.8.1-9 gettext-base_0.19.8.1-9 gpgv_2.2.13-1 grep_3.3-1 groff-base_1.22.4-3 gzip_1.9-3 hostname_3.21 init-system-helpers_1.56+nmu1 intltool-debian_0.35.0+20060710.5 libacl1_2.2.53-4 libapt-pkg5.0_1.8.0 libarchive-zip-perl_1.64-1 libasan5_8.3.0-6 libatomic1_8.3.0-6 libatomic1-mips64el-cross_8.3.0-4cross1 libattr1_1:2.4.48-4 libaudit-common_1:2.8.4-2 libaudit1_1:2.8.4-2 libbinutils_2.31.1-16 libblkid1_2.33.1-0.1 libbsd0_0.9.1-2 libbz2-1.0_1.0.6-9 libc-bin_2.28-8 libc-dev-bin_2.28-8 libc6_2.28-8 libc6-dev_2.28-8 libc6-dev-mips64el-cross_2.28-7cross1 libc6-mips64el-cross_2.28-7cross1 libcap-ng0_0.7.9-2 libcc1-0_8.3.0-6 libcom-err2_1.45.0-1 libconfig-auto-perl_0.44-1 libconfig-inifiles-perl_3.000001-1 libcroco3_0.6.12-3 libdb5.3_5.3.28+dfsg1-0.6 libdebconfclient0_0.249 libdebian-dpkgcross-perl_2.6.15-2 libdpkg-perl_1.19.6 libelf1_0.176-1 libext2fs2_1.45.0-1 libfakeroot_1.23-1 libfdisk1_2.33.1-0.1 libffi6_3.2.1-9 libfile-homedir-perl_1.004-1 libfile-stripnondeterminism-perl_1.1.2-1 libfile-which-perl_1.23-1 libfl-dev_2.6.4-6.2 libfl2_2.6.4-6.2 libgcc-8-dev_8.3.0-6 libgcc-8-dev-mips64el-cross_8.3.0-4cross1 libgcc1_1:8.3.0-6 libgcc1-mips64el-cross_1:8.3.0-4cross1 libgcrypt20_1.8.4-5 libgdbm-compat4_1.18.1-4 libgdbm6_1.18.1-4 libglib2.0-0_2.58.3-1 libgmp10_2:6.1.2+dfsg-4 libgnutls30_3.6.7-2 libgomp1_8.3.0-6 libgomp1-mips64el-cross_8.3.0-4cross1 libgpg-error0_1.35-1 libhogweed4_3.4.1-1 libicu63_63.1-6 libidn2-0_2.0.5-1 libio-string-perl_1.08-3 libisl19_0.20-2 libitm1_8.3.0-6 liblocale-gettext-perl_1.07-3+b4 liblsan0_8.3.0-6 liblz4-1_1.8.3-1 liblzma5_5.2.4-1 libmagic-mgc_1:5.35-4 libmagic1_1:5.35-4 libmount1_2.33.1-0.1 libmpc3_1.1.0-1 libmpfr6_4.0.2-1 libmpx2_8.3.0-6 libncurses6_6.1+20181013-2 libncursesw6_6.1+20181013-2 libnettle6_3.4.1-1 libp11-kit0_0.23.15-2 libpam-modules_1.3.1-5 libpam-modules-bin_1.3.1-5 libpam-runtime_1.3.1-5 libpam0g_1.3.1-5 libpcre3_2:8.39-12 libperl5.28_5.28.1-6 libpipeline1_1.5.1-2 libquadmath0_8.3.0-6 libseccomp2_2.3.3-4 libselinux1_2.8-1+b1 libsemanage-common_2.8-2 libsemanage1_2.8-2 libsepol1_2.8-1 libsigsegv2_2.12-2 libsmartcols1_2.33.1-0.1 libss2_1.45.0-1 libstdc++-8-dev_8.3.0-6 libstdc++-8-dev-mips64el-cross_8.3.0-4cross1 libstdc++6_8.3.0-6 libstdc++6-mips64el-cross_8.3.0-4cross1 libsystemd0_241-3 libtasn1-6_4.13-3 libtinfo6_6.1+20181013-2 libtool_2.4.6-10 libtsan0_8.3.0-6 libubsan1_8.3.0-6 libuchardet0_0.0.6-3 libudev1_241-3 libunistring2_0.9.10-1 libuuid1_2.33.1-0.1 libxml-libxml-perl_2.0134+dfsg-1 libxml-namespacesupport-perl_1.12-1 libxml-sax-base-perl_1.09-1 libxml-sax-perl_1.00+dfsg-1 libxml-simple-perl_2.25-1 libxml2_2.9.4+dfsg1-7+b3 libyaml-perl_1.27-1 libzstd1_1.3.8+dfsg-3 linux-libc-dev_4.19.28-2 linux-libc-dev-mips64el-cross_4.19.20-1cross1 login_1:4.5-1.1 m4_1.4.18-2 make_4.2.1-1.2 man-db_2.8.5-2 mawk_1.3.3-17+b3 mount_2.33.1-0.1 ncurses-base_6.1+20181013-2 ncurses-bin_6.1+20181013-2 passwd_1:4.5-1.1 patch_2.7.6-3 perl_5.28.1-6 perl-base_5.28.1-6 perl-modules-5.28_5.28.1-6 po-debconf_1.0.21 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-essential-dummy_0.invalid.0 sbuild-build-depends-glimpse-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12 sysvinit-utils_2.93-8 tar_1.30+dfsg-5 tzdata_2019a-1 ucf_3.0038+nmu1 util-linux_2.33.1-0.1 xz-utils_5.2.4-1 zlib1g_1:1.2.11.dfsg-1 +------------------------------------------------------------------------------+ | 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: using patch list from debian/patches/series 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 CONFIG_SITE=/etc/dpkg-cross/cross-config.mips64el DEB_BUILD_OPTIONS=nocheck HOME=/sbuild-nonexistent LANG=en_US.UTF-8 LC_ALL=POSIX LOGNAME=helmut 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=1003 SCHROOT_GROUP=helmut SCHROOT_SESSION_ID=unstable-amd64-sbuild-4d827ea3-7529-475f-8b2f-ef0c4a39be76 SCHROOT_UID=1003 SCHROOT_USER=helmut SHELL=/bin/sh USER=helmut 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-architecture: warning: specified GNU system type mips64el-linux-gnuabi64 does not match CC system type x86_64-linux-gnu, try setting a correct CC environment variable dpkg-source --before-build . dpkg-buildpackage: info: host architecture mips64el 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... no checking for yywrap in -ll... no checking lex output file root... lex.yy checking whether yytext is a pointer... no 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: return type defaults to 'int' [-Wimplicit-int] thash4k(word, len) ^~~~~~~ hash.c:522:1: warning: return type defaults to 'int' [-Wimplicit-int] pad_hash_file(filename, FILEBLOCKSIZE) ^~~~~~~~~~~~~ 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:213:1: warning: return type defaults to 'int' [-Wimplicit-int] pad_string_file(filename, FILEBLOCKSIZE) ^~~~~~~~~~~~~~~ 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: return type defaults to 'int' [-Wimplicit-int] set_usemalloc() ^~~~~~~~~~~~~ misc.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] unset_usemalloc() ^~~~~~~~~~~~~~~ misc.c: In function 'mygetc': misc.c:45:1: warning: type of 'maxlen' defaults to 'int' [-Wimplicit-int] mygetc(fp, buf, maxlen, lenp) ^~~~~~ misc.c: At top level: misc.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] myfpcopy(fp, src) ^~~~~~~~ misc.c:75:1: warning: return type defaults to 'int' [-Wimplicit-int] mystrcpy(dest, src) ^~~~~~~~ misc.c:203:1: warning: return type defaults to 'int' [-Wimplicit-int] build_freq(freq_words_table, freq_words_strings, freq_words_lens, freq_file, flags) ^~~~~~~~~~ misc.c: In function 'build_freq': misc.c:203:1: warning: type of 'flags' defaults to 'int' [-Wimplicit-int] misc.c: At top level: misc.c:274:1: warning: return type defaults to 'int' [-Wimplicit-int] initialize_common(freq_file, flags) ^~~~~~~~~~~~~~~~~ misc.c:291:1: warning: return type defaults to 'int' [-Wimplicit-int] uninitialize_common() ^~~~~~~~~~~~~~~~~~~ misc.c: In function 'uninitialize_common': misc.c:294:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ misc.c:291:1: note: declared here uninitialize_common() ^~~~~~~~~~~~~~~~~~~ misc.c: In function 'exists_tcompressed_word': misc.c:303:1: warning: type of 'flags' defaults to 'int' [-Wimplicit-int] exists_tcompressed_word(word, wordlen, line, linelen, flags) ^~~~~~~~~~~~~~~~~~~~~~~ gcc -I../index -I../agrep -I../libtemplate/include -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o quick.o quick.c quick.c: In function 'quick_tcompress': quick.c:63:4: warning: implicit declaration of function 'uninitialize_tcompress'; did you mean 'quick_tcompress'? [-Wimplicit-function-declaration] uninitialize_tcompress(); ^~~~~~~~~~~~~~~~~~~~~~ quick_tcompress quick.c:68:8: warning: implicit declaration of function 'initialize_common' [-Wimplicit-function-declaration] if (!initialize_common(freq_file, flags)) return 0; /* don't call initialize_tcompress since that will load the FULL hash table */ ^~~~~~~~~~~~~~~~~ quick.c:127:2: warning: implicit declaration of function 'build_partial_hash'; did you mean 'build_hash'? [-Wimplicit-function-declaration] build_partial_hash(compress_hash_table, hashfp, hashindexbuf, hashindexsize, pattern, len, blocksize, loaded_hash_table); ^~~~~~~~~~~~~~~~~~ build_hash quick.c:128:11: warning: implicit declaration of function 'tcompress' [-Wimplicit-function-declaration] newlen = tcompress(pattern, len, newpattern, maxnewlen, flags); ^~~~~~~~~ quick.c: In function 'quick_tuncompress': quick.c:165:4: warning: implicit declaration of function 'uninitialize_tuncompress'; did you mean 'quick_tuncompress'? [-Wimplicit-function-declaration] uninitialize_tuncompress(); ^~~~~~~~~~~~~~~~~~~~~~~~ quick_tuncompress quick.c:223:2: warning: implicit declaration of function 'build_partial_string'; did you mean 'build_string'? [-Wimplicit-function-declaration] build_partial_string(compress_string_table, stringfp, stringindexbuf, stringindexsize, pattern, len, blocksize, loaded_string_table); ^~~~~~~~~~~~~~~~~~~~ build_string quick.c:224:11: warning: implicit declaration of function 'tuncompress'; did you mean 'quick_tuncompress'? [-Wimplicit-function-declaration] newlen = tuncompress(pattern, len, newpattern, maxnewlen, flags); ^~~~~~~~~~~ quick_tuncompress gcc -I../index -I../agrep -I../libtemplate/include -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o cast.o cast.c cast.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int] initialize_tcompress(hash_file, freq_file, flags) ^~~~~~~~~~~~~~~~~~~~ cast.c: In function 'initialize_tcompress': cast.c:48:7: warning: implicit declaration of function 'initialize_common'; did you mean 'initialize_tcompress'? [-Wimplicit-function-declaration] if (!initialize_common(freq_file, flags)) return 0; ^~~~~~~~~~~~~~~~~ initialize_tcompress cast.c:61:7: warning: implicit declaration of function 'tbuild_hash'; did you mean 'build_hash'? [-Wimplicit-function-declaration] if (!tbuild_hash(compress_hash_table, hashfp, -1)) { /* read all bytes until end */ ^~~~~~~~~~~ build_hash cast.c: At top level: cast.c:69:1: warning: return type defaults to 'int' [-Wimplicit-int] uninitialize_tcompress() ^~~~~~~~~~~~~~~~~~~~~~ cast.c: In function 'uninitialize_tcompress': cast.c:74:2: warning: implicit declaration of function 'uninitialize_common'; did you mean 'uninitialize_tcompress'? [-Wimplicit-function-declaration] uninitialize_common(); ^~~~~~~~~~~~~~~~~~~ uninitialize_tcompress cast.c: In function 'tcompressible': cast.c:121:12: warning: implicit declaration of function 'ttest_binary' [-Wimplicit-function-declaration] if(ttest_binary(buffer, num_read)) { ^~~~~~~~~~~~ cast.c:126:12: warning: implicit declaration of function 'ttest_uuencode' [-Wimplicit-function-declaration] if(ttest_uuencode(buffer, num_read)) { ^~~~~~~~~~~~~~ cast.c:131:12: warning: implicit declaration of function 'ttest_postscript' [-Wimplicit-function-declaration] if(ttest_postscript(buffer, num_read)) { ^~~~~~~~~~~~~~~~ cast.c: At top level: cast.c:140:1: warning: return type defaults to 'int' [-Wimplicit-int] tcompressible_file(name, flags) ^~~~~~~~~~~~~~~~~~ cast.c:160:1: warning: return type defaults to 'int' [-Wimplicit-int] tcompressible_fp(fp, flags) ^~~~~~~~~~~~~~~~ trecursive.c: In function 'tcompress_directory': cast.c:730:18: warning: implicit declaration of function 'tcompress_file'; did you mean 'tcompressible'? [-Wimplicit-function-declaration] #define FUNCTION tcompress_file ^~~~~~~~~~~~~~ trecursive.c:109:3: note: in expansion of macro 'FUNCTION' FUNCTION(name, outname, flags); ^~~~~~~~ cast.c: At top level: cast.c:735:1: warning: return type defaults to 'int' [-Wimplicit-int] tcompress_file(name, outname, flags) ^~~~~~~~~~~~~~ gcc -I../index -I../agrep -I../libtemplate/include -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o uncast.o uncast.c uncast.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] initialize_tuncompress(string_file, freq_file, flags) ^~~~~~~~~~~~~~~~~~~~~~ uncast.c: In function 'initialize_tuncompress': uncast.c:45:7: warning: implicit declaration of function 'initialize_common'; did you mean 'initialize_tuncompress'? [-Wimplicit-function-declaration] if (!initialize_common(freq_file, flags)) return 0; ^~~~~~~~~~~~~~~~~ initialize_tuncompress uncast.c: At top level: uncast.c:66:1: warning: return type defaults to 'int' [-Wimplicit-int] uninitialize_tuncompress() ^~~~~~~~~~~~~~~~~~~~~~~~ uncast.c: In function 'uninitialize_tuncompress': uncast.c:70:2: warning: implicit declaration of function 'uninitialize_common'; did you mean 'uninitialize_tuncompress'? [-Wimplicit-function-declaration] uninitialize_common(); ^~~~~~~~~~~~~~~~~~~ uninitialize_tuncompress uncast.c: At top level: uncast.c:128:1: warning: return type defaults to 'int' [-Wimplicit-int] tuncompressible_fp(fp) ^~~~~~~~~~~~~~~~~~ uncast.c: In function 'tuncompress': uncast.c:371:36: warning: implicit declaration of function 'myfpcopy'; did you mean 'stpcpy'? [-Wimplicit-function-declaration] if (outfp != NULL) outlen += myfpcopy(outfp, compress_string_table[dindex]); ^~~~~~~~ stpcpy uncast.c:373:18: warning: implicit declaration of function 'mystrcpy'; did you mean 'strcpy'? [-Wimplicit-function-declaration] outlen += mystrcpy(outbuf+outlen, compress_string_table[dindex]); ^~~~~~~~ strcpy trecursive.c: In function 'tuncompress_directory': uncast.c:520:18: warning: implicit declaration of function 'tuncompress_file'; did you mean 'tuncompressible'? [-Wimplicit-function-declaration] #define FUNCTION tuncompress_file ^~~~~~~~~~~~~~~~ trecursive.c:109:3: note: in expansion of macro 'FUNCTION' FUNCTION(name, outname, flags); ^~~~~~~~ gcc -I../index -I../agrep -I../libtemplate/include -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o tsimpletest.o tsimpletest.c tsimpletest.c:32:1: warning: return type defaults to 'int' [-Wimplicit-int] ttest_binary(buffer, length) ^~~~~~~~~~~~ tsimpletest.c: In function 'ttest_binary': tsimpletest.c:42:8: warning: implicit declaration of function 'isgraph' [-Wimplicit-function-declaration] if (!(isgraph(*buffer) || isspace(*buffer))) --permitted_errors; ^~~~~~~ tsimpletest.c:42:28: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] if (!(isgraph(*buffer) || isspace(*buffer))) --permitted_errors; ^~~~~~~ tsimpletest.c: At top level: tsimpletest.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] ttest_uuencode(buffer, length) ^~~~~~~~~~~~~~ tsimpletest.c: In function 'ttest_uuencode': tsimpletest.c:64:13: warning: implicit declaration of function 'tmemlook'; did you mean 'memmove'? [-Wimplicit-function-declaration] i = tmemlook("\nbegin", buffer, length); ^~~~~~~~ memmove gcc -I../index -I../agrep -I../libtemplate/include -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o tmemlook.o tmemlook.c gcc -I../index -I../agrep -I../libtemplate/include -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o tbuild.o tbuild.c tbuild.c: In function 'compute_dictionary': tbuild.c:30:1: warning: type of 'SPECIAL_WORDS' defaults to 'int' [-Wimplicit-int] compute_dictionary(THRESHOLD, FILEBLOCKSIZE, SPECIAL_WORDS, comp_dir) ^~~~~~~~~~~~~~~~~~ tbuild.c:229:7: warning: implicit declaration of function 'dump_small_hash'; did you mean 'get_small_hash'? [-Wimplicit-function-declaration] if (!dump_small_hash(dict_hash_table, hash_file)) return -1; ^~~~~~~~~~~~~~~ get_small_hash tbuild.c:304:2: warning: implicit declaration of function 'pad_hash_file' [-Wimplicit-function-declaration] pad_hash_file(hash_file, FILEBLOCKSIZE); ^~~~~~~~~~~~~ tbuild.c:305:2: warning: implicit declaration of function 'pad_string_file' [-Wimplicit-function-declaration] pad_string_file(string_file, FILEBLOCKSIZE); ^~~~~~~~~~~~~~~ /usr/bin/ar rcv ../lib/libcast.a hash.o string.o misc.o quick.o cast.o uncast.o tsimpletest.o tmemlook.o tbuild.o a - hash.o a - string.o a - misc.o a - quick.o a - cast.o a - uncast.o a - tsimpletest.o a - tmemlook.o a - tbuild.o ranlib ../lib/libcast.a gcc -I../index -I../agrep -I../libtemplate/include -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o main_tbuild.o main_tbuild.c main_tbuild.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int] usage(progname) ^~~~~ gcc -Wl,-z,relro -o tbuild hash.o string.o misc.o tbuild.o main_tbuild.o gcc -I../index -I../agrep -I../libtemplate/include -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o main_cast.o main_cast.c main_cast.c:15:1: warning: return type defaults to 'int' [-Wimplicit-int] usage(progname) ^~~~~ main_cast.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ main_cast.c: In function 'main': main_cast.c:125:7: warning: implicit declaration of function 'initialize_tcompress' [-Wimplicit-function-declaration] if (!initialize_tcompress(hash_file, freq_file, FLAGS)) exit(2); ^~~~~~~~~~~~~~~~~~~~ main_cast.c:133:5: warning: implicit declaration of function 'tcompress_file'; did you mean 'tmpfile'? [-Wimplicit-function-declaration] tcompress_file(name, outname, FLAGS); ^~~~~~~~~~~~~~ tmpfile main_cast.c:136:8: warning: implicit declaration of function 'tcompress' [-Wimplicit-function-declaration] else tcompress(stdin, -1, stdout, -1, FLAGS); ^~~~~~~~~ gcc -Wl,-z,relro -o cast main_cast.o hash.o string.o misc.o quick.o cast.o uncast.o tsimpletest.o tmemlook.o tbuild.o gcc -I../index -I../agrep -I../libtemplate/include -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o main_uncast.o main_uncast.c main_uncast.c:15:1: warning: return type defaults to 'int' [-Wimplicit-int] usage(progname) ^~~~~ main_uncast.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ main_uncast.c: In function 'main': main_uncast.c:129:7: warning: implicit declaration of function 'initialize_tuncompress' [-Wimplicit-function-declaration] if (!initialize_tuncompress(string_file, freq_file, FLAGS)) exit(2); ^~~~~~~~~~~~~~~~~~~~~~ main_uncast.c:137:5: warning: implicit declaration of function 'tuncompress_file' [-Wimplicit-function-declaration] tuncompress_file(name, outname, FLAGS); ^~~~~~~~~~~~~~~~ main_uncast.c:142:9: warning: implicit declaration of function 'tuncompressible' [-Wimplicit-function-declaration] if (!tuncompressible(buffer, num_read)) { ^~~~~~~~~~~~~~~ main_uncast.c:146:4: warning: implicit declaration of function 'tuncompress' [-Wimplicit-function-declaration] tuncompress(stdin, -1, stdout, -1, FLAGS); ^~~~~~~~~~~ gcc -Wl,-z,relro -o uncast main_uncast.o hash.o string.o misc.o quick.o cast.o uncast.o tsimpletest.o tmemlook.o tbuild.o 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: In function 'asearch': asearch.c:47:10: warning: implicit declaration of function 'asearch0'; did you mean 'asearch'? [-Wimplicit-function-declaration] return asearch0(old_D_pat, text, D); ^~~~~~~~ asearch asearch.c:69:15: warning: implicit declaration of function 'fill_buf'; did you mean 'free_buf'? [-Wimplicit-function-declaration] while ((l = fill_buf(text, buffer + Max_record, BlockSize)) > 0) ^~~~~~~~ free_buf asearch.c:184:18: warning: implicit declaration of function 'output' [-Wimplicit-function-declaration] if (-1 == output(buffer, lasti, printout_end, j)) {free_buf(text, buffer); return -1;} ^~~~~~ 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: In function 'asearch1': asearch1.c:62:22: warning: implicit declaration of function 'fill_buf'; did you mean 'free_buf'? [-Wimplicit-function-declaration] while ((num_read = fill_buf(Text, buffer + Max_record, BlockSize)) > 0) ^~~~~~~~ free_buf asearch1.c:158:18: warning: implicit declaration of function 'output' [-Wimplicit-function-declaration] if (-1 == output(buffer, lasti, i-D_length-1, j)) {free_buf(Text, buffer); return -1;} ^~~~~~ 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: In function 'reinit_value': agrep.c:177:24: warning: implicit declaration of function 'destroy_tree' [-Wimplicit-function-declaration] if (AComplexBoolean) destroy_tree(AParse); ^~~~~~~~~~~~ agrep.c: In function 'compute_next': agrep.c:329:7: warning: implicit declaration of function 'exponen'; did you mean 'popen'? [-Wimplicit-function-declaration] k = exponen(M); ^~~~~~~ popen agrep.c: In function 're1': agrep.c:425:22: warning: implicit declaration of function 'fill_buf'; did you mean 'free_buf'? [-Wimplicit-function-declaration] while ((num_read = fill_buf(Text, buffer + Maxline, BlockSize)) > 0) ^~~~~~~~ free_buf agrep.c:516:17: warning: implicit declaration of function 'r_output' [-Wimplicit-function-declaration] if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} ^~~~~~~~ agrep.c: In function 'agrep_init': agrep.c:2465:23: warning: implicit declaration of function 'agrep_usage'; did you mean 'agrep_init'? [-Wimplicit-function-declaration] if (argc < 2) return agrep_usage(); ^~~~~~~~~~~ agrep_init agrep.c:2466:16: warning: zero-length gnu_printf format string [-Wformat-zero-length] printf(""); /* dummy statement which avoids program crash with ^~ agrep.c:2801:9: warning: implicit declaration of function 'prepf'; did you mean 'pread'? [-Wimplicit-function-declaration] if (prepf(multifd, NULL, 0) <= -1) { ^~~~~ pread agrep.c:3028:2: warning: implicit declaration of function 'initialize_common' [-Wimplicit-function-declaration] initialize_common(FREQ_FILE, 0); /* no error msgs */ ^~~~~~~~~~~~~~~~~ agrep.c:3082:38: warning: implicit declaration of function 'check_file'; did you mean 'flockfile'? [-Wimplicit-function-declaration] if (!glimpse_call && ((filetype = check_file(*argv)) == NOSUCHFILE) && !PRINTNONEXISTENTFILE) { ^~~~~~~~~~ flockfile agrep.c: In function 'agrep_search': agrep.c:3290:13: warning: implicit declaration of function 'checksg' [-Wimplicit-function-declaration] if (-1 == checksg(Pattern, D, 1)) return -1; /* check if the pattern is simple */ ^~~~~~~ agrep.c:3294:14: warning: implicit declaration of function 'preprocess' [-Wimplicit-function-declaration] if (-1 == preprocess(D_pattern, Pattern)) return -1; ^~~~~~~~~~ agrep.c:3297:25: warning: implicit declaration of function 'maskgen' [-Wimplicit-function-declaration] if(!AParse && ((M = maskgen(Pattern, D)) == -1)) return -1; ^~~~~~~ agrep.c:3304:24: warning: implicit declaration of function 'quick_tcompress' [-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:3333:35: warning: implicit declaration of function 'exec'; did you mean 'execl'? [-Wimplicit-function-declaration] if (agrep_initialfd == -1) ret = exec(execfd, NULL); ^~~~ execl agrep.c:3334:28: warning: implicit declaration of function 'recursive' [-Wimplicit-function-declaration] else if(RECURSIVE) ret = (recursive(Numfiles, Textfiles)); ^~~~~~~~~ agrep.c: In function 'exec': agrep.c:3443:13: warning: implicit declaration of function 'compat'; did you mean 'crypt'? [-Wimplicit-function-declaration] if ((-1 == compat())) return -1; /* check compatibility between options */ ^~~~~~ crypt agrep.c:3456:30: warning: implicit declaration of function 'mgrep'; did you mean 'memagrep'? [-Wimplicit-function-declaration] if(PAT_FILE || PAT_BUFFER) mgrep(fd, AParse); ^~~~~ memagrep agrep.c:3458:20: warning: implicit declaration of function 'sgrep'; did you mean 'strsep'? [-Wimplicit-function-declaration] if(SGREP) ret = sgrep(OldPattern, strlen(OldPattern), fd, D, 0); ^~~~~ strsep agrep.c:3459:20: warning: implicit declaration of function 'bitap' [-Wimplicit-function-declaration] else ret = bitap(old_D_pat, Pattern, fd, M, D); ^~~~~ agrep.c:3519:9: warning: implicit declaration of function 'tuncompressible_filename' [-Wimplicit-function-declaration] if (!tuncompressible_filename(file_list[i], strlen(file_list[i]))) TCOMPRESSED = OFF; ^~~~~~~~~~~~~~~~~~~~~~~~ agrep.c:3700:16: warning: implicit declaration of function 'file_out'; did you mean 'fileno'? [-Wimplicit-function-declaration] if (-1 == file_out(file_list[i])) { ^~~~~~~~ fileno 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: In function 'bitap': bitap.c:70:11: warning: implicit declaration of function 're' [-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'; did you mean 'read'? [-Wimplicit-function-declaration] return re1(fd, M, D); ^~~ read bitap.c:78:10: warning: implicit declaration of function 'asearch1'; did you mean 'bsearch'? [-Wimplicit-function-declaration] return asearch1(old_D_pat, fd, D); ^~~~~~~~ bsearch bitap.c:82:10: warning: implicit declaration of function 'asearch'; did you mean 'bsearch'? [-Wimplicit-function-declaration] return asearch(old_D_pat, fd, D); ^~~~~~~ bsearch bitap.c:104:22: warning: implicit declaration of function 'fill_buf'; did you mean 'free_buf'? [-Wimplicit-function-declaration] while ((num_read = fill_buf(fd, buffer + Max_record, BlockSize)) > 0) ^~~~~~~~ free_buf bitap.c:195:18: warning: implicit declaration of function 'output' [-Wimplicit-function-declaration] if (-1 == output(buffer, lasti, print_end, j - (NumBufferFills - 1))) { free_buf(fd, buffer); return -1;} ^~~~~~ bitap.c: At top level: bitap.c:498:1: warning: return type defaults to 'int' [-Wimplicit-int] fill_buf(fd, buf, record_size) ^~~~~~~~ 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: In function 'check_file': checkfile.c:47:6: warning: implicit declaration of function 'my_stat'; did you mean 'lstat'? [-Wimplicit-function-declaration] if (my_stat(fname, &buf) != 0) { ^~~~~~~ lstat 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 defaults to 'int' in declaration of 'FILEOUT' [-Wimplicit-int] extern FILEOUT; ^~~~~~~ compat.c:10:8: warning: type defaults to 'int' in declaration of 'REGEX' [-Wimplicit-int] extern REGEX; ^~~~~ compat.c:11:8: warning: type defaults to 'int' in declaration of 'DELIMITER' [-Wimplicit-int] extern DELIMITER; ^~~~~~~~~ compat.c:12:8: warning: type defaults to 'int' in declaration of 'WHOLELINE' [-Wimplicit-int] extern WHOLELINE; ^~~~~~~~~ compat.c:13:8: warning: type defaults to 'int' in declaration of 'LINENUM' [-Wimplicit-int] extern LINENUM; ^~~~~~~ compat.c:14:8: warning: type defaults to 'int' in declaration of 'I' [-Wimplicit-int] extern I, S, DD; ^ compat.c:14:11: warning: type defaults to 'int' in declaration of 'S' [-Wimplicit-int] extern I, S, DD; ^ compat.c:14:14: warning: type defaults to 'int' in declaration of 'DD' [-Wimplicit-int] extern I, S, DD; ^~ compat.c:15:8: warning: type defaults to 'int' in declaration of 'JUMP' [-Wimplicit-int] extern JUMP; ^~~~ 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 defaults to 'int' in declaration of 'Mask' [-Wimplicit-int] extern Mask[], Bit[], Init[], NO_ERR_MASK; ^~~~ maskgen.c:6:16: warning: type defaults to 'int' in declaration of 'Bit' [-Wimplicit-int] extern Mask[], Bit[], Init[], NO_ERR_MASK; ^~~ maskgen.c:6:23: warning: type defaults to 'int' in declaration of 'Init' [-Wimplicit-int] extern Mask[], Bit[], Init[], NO_ERR_MASK; ^~~~ maskgen.c:6:31: warning: type defaults to 'int' in declaration of 'NO_ERR_MASK' [-Wimplicit-int] extern Mask[], Bit[], Init[], NO_ERR_MASK; ^~~~~~~~~~~ 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 In file included from parse.c:7: parse.c: In function 'mk_leaf': re.h:75:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(2);\ ^~~~ parse.c:45:2: note: in expansion of macro 'new_node' new_node(Re_Lit, l, l); ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2);\ ^~~~ parse.c:45:2: note: in expansion of macro 'new_node' new_node(Re_Lit, l, l); ^~~~~~~~ re.h:75:3: note: include '' or provide a declaration of 'exit' exit(2);\ ^~~~ parse.c:45:2: note: in expansion of macro 'new_node' new_node(Re_Lit, l, l); ^~~~~~~~ re.h:77:2: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:45:2: note: in expansion of macro 'new_node' new_node(Re_Lit, l, l); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:45:2: note: in expansion of macro 'new_node' new_node(Re_Lit, l, l); ^~~~~~~~ re.h:77:2: note: include '' or provide a declaration of 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:45:2: note: in expansion of macro 'new_node' new_node(Re_Lit, l, l); ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2);\ ^~~~ parse.c:46:2: note: in expansion of macro 'new_node' new_node(Re_node, node, node); ^~~~~~~~ re.h:75:3: note: include '' or provide a declaration of 'exit' exit(2);\ ^~~~ parse.c:46:2: note: in expansion of macro 'new_node' new_node(Re_node, node, node); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:46:2: note: in expansion of macro 'new_node' new_node(Re_node, node, node); ^~~~~~~~ re.h:77:2: note: include '' or provide a declaration of 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:46:2: note: in expansion of macro 'new_node' new_node(Re_node, node, node); ^~~~~~~~ parse.c:48:18: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] if (l != NULL) free(l); ^~~~ parse.c:48:18: warning: incompatible implicit declaration of built-in function 'free' parse.c:48:18: note: include '' or provide a declaration of 'free' parse.c:49:21: warning: incompatible implicit declaration of built-in function 'free' if (node != NULL) free(node); ^~~~ parse.c:49:21: note: include '' or provide a declaration of 'free' In file included from parse.c:7: parse.c: In function 'parse_cset': re.h:75:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2);\ ^~~~ parse.c:76:2: note: in expansion of macro 'new_node' new_node(Ch_Set, curr_ptr, curr_ptr); ^~~~~~~~ re.h:75:3: note: include '' or provide a declaration of 'exit' exit(2);\ ^~~~ parse.c:76:2: note: in expansion of macro 'new_node' new_node(Ch_Set, curr_ptr, curr_ptr); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:76:2: note: in expansion of macro 'new_node' new_node(Ch_Set, curr_ptr, curr_ptr); ^~~~~~~~ re.h:77:2: note: include '' or provide a declaration of 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:76:2: note: in expansion of macro 'new_node' new_node(Ch_Set, curr_ptr, curr_ptr); ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2);\ ^~~~ parse.c:79:3: note: in expansion of macro 'new_node' new_node(Ch_Range, range, range); ^~~~~~~~ re.h:75:3: note: include '' or provide a declaration of 'exit' exit(2);\ ^~~~ parse.c:79:3: note: in expansion of macro 'new_node' new_node(Ch_Range, range, range); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:79:3: note: in expansion of macro 'new_node' new_node(Ch_Range, range, range); ^~~~~~~~ re.h:77:2: note: include '' or provide a declaration of 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:79:3: note: in expansion of macro 'new_node' new_node(Ch_Range, range, range); ^~~~~~~~ parse.c:83:4: warning: incompatible implicit declaration of built-in function 'free' free(range); ^~~~ parse.c:83:4: note: include '' or provide a declaration of 'free' parse.c:89:4: warning: incompatible implicit declaration of built-in function 'free' free(range); ^~~~ parse.c:89:4: note: include '' or provide a declaration of 'free' parse.c:96:5: warning: incompatible implicit declaration of built-in function 'free' free(range); ^~~~ parse.c:96:5: note: include '' or provide a declaration of 'free' In file included from parse.c:7: re.h:75:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2);\ ^~~~ parse.c:104:3: note: in expansion of macro 'new_node' new_node(Ch_Set, curr_ptr, curr_ptr); ^~~~~~~~ re.h:75:3: note: include '' or provide a declaration of 'exit' exit(2);\ ^~~~ parse.c:104:3: note: in expansion of macro 'new_node' new_node(Ch_Set, curr_ptr, curr_ptr); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:104:3: note: in expansion of macro 'new_node' new_node(Ch_Set, curr_ptr, curr_ptr); ^~~~~~~~ re.h:77:2: note: include '' or provide a declaration of 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:104:3: note: in expansion of macro 'new_node' new_node(Ch_Set, curr_ptr, curr_ptr); ^~~~~~~~ parse.c:112:22: warning: incompatible implicit declaration of built-in function 'free' if (range != NULL) free(range); ^~~~ parse.c:112:22: note: include '' or provide a declaration of 'free' parse.c:113:3: warning: incompatible implicit declaration of built-in function 'free' free(curr_ptr); ^~~~ parse.c:113:3: note: include '' or provide a declaration of 'free' In file included from parse.c:7: parse.c: In function 'parse_wildcard': re.h:75:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2);\ ^~~~ parse.c:128:2: note: in expansion of macro 'new_node' new_node(Ch_Range, r, r); ^~~~~~~~ re.h:75:3: note: include '' or provide a declaration of 'exit' exit(2);\ ^~~~ parse.c:128:2: note: in expansion of macro 'new_node' new_node(Ch_Range, r, r); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:128:2: note: in expansion of macro 'new_node' new_node(Ch_Range, r, r); ^~~~~~~~ re.h:77:2: note: include '' or provide a declaration of 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:128:2: note: in expansion of macro 'new_node' new_node(Ch_Range, r, r); ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2);\ ^~~~ parse.c:131:2: note: in expansion of macro 'new_node' new_node(Ch_Set, s, s); ^~~~~~~~ re.h:75:3: note: include '' or provide a declaration of 'exit' exit(2);\ ^~~~ parse.c:131:2: note: in expansion of macro 'new_node' new_node(Ch_Set, s, s); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:131:2: note: in expansion of macro 'new_node' new_node(Ch_Set, s, s); ^~~~~~~~ re.h:77:2: note: include '' or provide a declaration of 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:131:2: note: in expansion of macro 'new_node' new_node(Ch_Set, s, s); ^~~~~~~~ parse.c: In function 'free_tok': parse.c:163:3: warning: incompatible implicit declaration of built-in function 'free' free(next_token); ^~~~ parse.c:163:3: note: include '' or provide a declaration of 'free' In file included from parse.c:7: parse.c: In function 'get_token': re.h:75:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2);\ ^~~~ parse.c:181:2: note: in expansion of macro 'new_node' new_node(Tok_node, rn, rn); ^~~~~~~~ re.h:75:3: note: include '' or provide a declaration of 'exit' exit(2);\ ^~~~ parse.c:181:2: note: in expansion of macro 'new_node' new_node(Tok_node, rn, rn); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:181:2: note: in expansion of macro 'new_node' new_node(Tok_node, rn, rn); ^~~~~~~~ re.h:77:2: note: include '' or provide a declaration of 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:181:2: note: in expansion of macro 'new_node' new_node(Tok_node, rn, rn); ^~~~~~~~ parse.c: In function 'cat2': re.h:75:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2);\ ^~~~ parse.c:245:2: note: in expansion of macro 'new_node' new_node(Re_node, r, r); ^~~~~~~~ re.h:75:3: note: include '' or provide a declaration of 'exit' exit(2);\ ^~~~ parse.c:245:2: note: in expansion of macro 'new_node' new_node(Re_node, r, r); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:245:2: note: in expansion of macro 'new_node' new_node(Re_node, r, r); ^~~~~~~~ re.h:77:2: note: include '' or provide a declaration of 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:245:2: note: in expansion of macro 'new_node' new_node(Re_node, r, r); ^~~~~~~~ parse.c:253:3: warning: incompatible implicit declaration of built-in function 'free' free(r); ^~~~ parse.c:253:3: note: include '' or provide a declaration of 'free' In file included from parse.c:7: parse.c: In function 'wrap': re.h:75:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2);\ ^~~~ parse.c:277:2: note: in expansion of macro 'new_node' new_node(Re_node, r, r); ^~~~~~~~ re.h:75:3: note: include '' or provide a declaration of 'exit' exit(2);\ ^~~~ parse.c:277:2: note: in expansion of macro 'new_node' new_node(Re_node, r, r); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:277:2: note: in expansion of macro 'new_node' new_node(Re_node, r, r); ^~~~~~~~ re.h:77:2: note: include '' or provide a declaration of 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:277:2: note: in expansion of macro 'new_node' new_node(Re_node, r, r); ^~~~~~~~ parse.c:283:3: warning: incompatible implicit declaration of built-in function 'free' free(r); ^~~~ parse.c:283:3: note: include '' or provide a declaration of 'free' In file included from parse.c:7: parse.c: In function 'mk_alt': re.h:75:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2);\ ^~~~ parse.c:303:2: note: in expansion of macro 'new_node' new_node(Re_node, node, node); ^~~~~~~~ re.h:75:3: note: include '' or provide a declaration of 'exit' exit(2);\ ^~~~ parse.c:303:2: note: in expansion of macro 'new_node' new_node(Re_node, node, node); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:303:2: note: in expansion of macro 'new_node' new_node(Re_node, node, node); ^~~~~~~~ re.h:77:2: note: include '' or provide a declaration of 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:303:2: note: in expansion of macro 'new_node' new_node(Re_node, node, node); ^~~~~~~~ parse.c: In function 'parse_re': parse.c:339:5: warning: incompatible implicit declaration of built-in function 'free' free(top); ^~~~ parse.c:339:5: note: include '' or provide a declaration of 'free' parse.c:355:5: warning: incompatible implicit declaration of built-in function 'free' free(ret); ^~~~ parse.c:355:5: note: include '' or provide a declaration of 'free' parse.c:360:5: warning: incompatible implicit declaration of built-in function 'free' free(ret); ^~~~ parse.c:360:5: note: include '' or provide a declaration of 'free' parse.c:370:6: warning: incompatible implicit declaration of built-in function 'free' free(ret); ^~~~ parse.c:370:6: note: include '' or provide a declaration of 'free' parse.c:397:5: warning: incompatible implicit declaration of built-in function 'free' free(ret); ^~~~ parse.c:397:5: note: include '' or provide a declaration of 'free' parse.c:402:5: warning: incompatible implicit declaration of built-in function 'free' free(ret); ^~~~ parse.c:402:5: note: include '' or provide a declaration of 'free' parse.c:413:4: warning: incompatible implicit declaration of built-in function 'free' free(next_token); ^~~~ parse.c:413:4: note: include '' or provide a declaration of 'free' parse.c: In function 'parse': parse.c:451:2: warning: incompatible implicit declaration of built-in function 'free' free(top); ^~~~ parse.c:451:2: note: include '' or provide a declaration of 'free' 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 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: In function 'preprocess': preprocess.c:67:15: warning: implicit declaration of function 'asplit_pattern' [-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' [-Wimplicit-function-declaration] ((ret2 = asplit_terminal(0, anum_terminals, multibuf, &multilen)) <= 0) || ^~~~~~~~~~~~~~~ preprocess.c:70:44: warning: implicit declaration of function 'destroy_tree' [-Wimplicit-function-declaration] if (AComplexBoolean && (AParse != NULL)) destroy_tree(AParse); /* so that direct exec invocations don't use AParse by mistake! */ ^~~~~~~~~~~~ preprocess.c:97:23: warning: implicit declaration of function 'quick_tcompress' [-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:322:13: warning: implicit declaration of function 'init'; did you mean 'rint'? [-Wimplicit-function-declaration] num_pos = init(r_pat, table); ^~~~ rint 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 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 In file included from asplit.c:5: putils.c: In function 'print_tree': putils.c:69:1: warning: type of 'level' defaults to 'int' [-Wimplicit-int] print_tree(t, level) ^~~~~~~~~~ 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: In function 'recursive': recursive.c:67:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(name_buf, argv[i]); ^~~~~~ recursive.c:67:3: warning: incompatible implicit declaration of built-in function 'strcpy' recursive.c:67:3: note: include '' or provide a declaration of 'strcpy' recursive.c:37:1: +#include #define BUFSIZE 256 recursive.c:67:3: strcpy(name_buf, argv[i]); ^~~~~~ recursive.c:71:15: warning: implicit declaration of function 'exec' [-Wimplicit-function-declaration] if ((ret = exec(3, file_list)) == -1) return -1; ^~~~ recursive.c:74:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(file_list[j]); ^~~~ recursive.c:74:5: warning: incompatible implicit declaration of built-in function 'free' recursive.c:74:5: note: include '' or provide a declaration of 'free' recursive.c:37:1: +#include #define BUFSIZE 256 recursive.c:74:5: free(file_list[j]); ^~~~ recursive.c: In function 'treewalk': recursive.c:114:5: warning: implicit declaration of function 'my_lstat'; did you mean 'lstat'? [-Wimplicit-function-declaration] if(my_lstat(name, &stbuf) == -1) { ^~~~~~~~ lstat recursive.c:125:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(file_list[fdx++], name); ^~~~~~ recursive.c:125:3: note: include '' or provide a declaration of 'strcpy' recursive.c:130:30: warning: incompatible implicit declaration of built-in function 'free' for(i=0; i' or provide a declaration of 'free' recursive.c: In function 'directory': recursive.c:147:15: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] nbp = name + strlen(name); ^~~~~~ recursive.c:147:15: warning: incompatible implicit declaration of built-in function 'strlen' recursive.c:147:15: note: include '' or provide a declaration of 'strlen' recursive.c:160:32: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (dp->d_name[0] == '\0' || strcmp(dp->d_name, ".") == 0 || strcmp(dp->d_name, "..")==0) ^~~~~~ recursive.c:165:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(nbp, dp->d_name); ^~~~~~ recursive.c:165:3: note: include '' or provide a declaration of 'strcpy' 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 defaults to 'int' in declaration of 'WORDBOUND' [-Wimplicit-int] extern WORDBOUND, WHOLELINE, NOUPPER; ^~~~~~~~~ sgrep.c:52:19: warning: type defaults to 'int' in declaration of 'WHOLELINE' [-Wimplicit-int] extern WORDBOUND, WHOLELINE, NOUPPER; ^~~~~~~~~ sgrep.c:52:30: warning: type defaults to 'int' in declaration of 'NOUPPER' [-Wimplicit-int] extern WORDBOUND, WHOLELINE, NOUPPER; ^~~~~~~ sgrep.c: In function 'sgrep': sgrep.c:172:1: warning: type of 'samepattern' defaults to 'int' [-Wimplicit-int] sgrep(in_pat, in_m, fd, D, samepattern) ^~~~~ sgrep.c:241:22: warning: implicit declaration of function 'fill_buf'; did you mean 'free_buf'? [-Wimplicit-function-declaration] while( (num_read = fill_buf(fd, text+offset, 2*BlockSize)) > 0) ^~~~~~~~ free_buf sgrep.c:294:16: warning: implicit declaration of function 'monkey' [-Wimplicit-function-declaration] if (-1 == monkey(pat, m, text+start, text+end, oldpat, oldm)) { ^~~~~~ sgrep.c:300:16: warning: implicit declaration of function 'bm'; did you mean 'bcmp'? [-Wimplicit-function-declaration] if (-1 == bm(pat, m, text+start, text+end, oldpat, oldm)) { ^~ bcmp sgrep.c:308:16: warning: implicit declaration of function 'monkey4' [-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' [-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'; did you mean 'sgrep'? [-Wimplicit-function-declaration] if (-1 == agrep(pat, m, text+start, text+end, D, oldpat, oldm)) { ^~~~~ sgrep sgrep.c: In function 'bm': sgrep.c:835:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:835:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:839:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:839:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c: In function 'agrep': sgrep.c:1155:16: warning: implicit declaration of function 's_output' [-Wimplicit-function-declaration] if (-1 == s_output(text, ¤tpos, textbegin, textend, &lastout, pat, M, oldpat, oldM)) return -1; ^~~~~~~~ sgrep.c: In function 's_output': sgrep.c:1411:30: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1411:33: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1415:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1415:21: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c: In function 'prep_bm': sgrep.c:1476:10: warning: type defaults to 'int' in declaration of 'm' [-Wimplicit-int] register m; ^ sgrep.c: In function 'monkey': sgrep.c:1692:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1692:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1696:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1696:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c: In function 'a_monkey': sgrep.c:1869:14: warning: implicit declaration of function 'verify'; did you mean 'erfl'? [-Wimplicit-function-declaration] if((pos = verify(m, 2*m+D, D, pat, oldtext)) > 0) { ^~~~~~ erfl sgrep.c:1986:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1986:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1990:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1990:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c: In function 'monkey4': sgrep.c:2394:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:2394:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:2398:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:2398:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c: In function 'prep4': sgrep.c:2550:10: warning: implicit declaration of function 'blog'; did you mean 'log'? [-Wimplicit-function-declaration] BSize = blog(4, m); ^~~~ log 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 defaults to 'int' in declaration of 'COUNT' [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ^~~~~ newmgrep.c:52:15: warning: type defaults to 'int' in declaration of 'FNAME' [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ^~~~~ newmgrep.c:52:22: warning: type defaults to 'int' in declaration of 'SILENT' [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ^~~~~~ newmgrep.c:52:30: warning: type defaults to 'int' in declaration of 'FILENAMEONLY' [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ^~~~~~~~~~~~ newmgrep.c:52:44: warning: type defaults to 'int' in declaration of 'prev_num_of_matched' [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ^~~~~~~~~~~~~~~~~~~ newmgrep.c:52:65: warning: type defaults to 'int' in declaration of 'num_of_matched' [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ^~~~~~~~~~~~~~ newmgrep.c:52:81: warning: type defaults to 'int' in declaration of 'PRINTFILETIME' [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ^~~~~~~~~~~~~ newmgrep.c:53:8: warning: type defaults to 'int' in declaration of 'INVERSE' [-Wimplicit-int] extern INVERSE, OUTTAIL; ^~~~~~~ newmgrep.c:53:17: warning: type defaults to 'int' in declaration of 'OUTTAIL' [-Wimplicit-int] extern INVERSE, OUTTAIL; ^~~~~~~ newmgrep.c:54:8: warning: type defaults to 'int' in declaration of 'WORDBOUND' [-Wimplicit-int] extern WORDBOUND, WHOLELINE, NOUPPER; ^~~~~~~~~ newmgrep.c:54:19: warning: type defaults to 'int' in declaration of 'WHOLELINE' [-Wimplicit-int] extern WORDBOUND, WHOLELINE, NOUPPER; ^~~~~~~~~ newmgrep.c:54:30: warning: type defaults to 'int' in declaration of 'NOUPPER' [-Wimplicit-int] extern WORDBOUND, WHOLELINE, NOUPPER; ^~~~~~~ newmgrep.c:59:8: warning: type defaults to 'int' in declaration of 'total_line' [-Wimplicit-int] extern total_line; ^~~~~~~~~~ newmgrep.c:60:8: warning: type defaults to 'int' in declaration of 'agrep_initialfd' [-Wimplicit-int] extern agrep_initialfd; ^~~~~~~~~~~~~~~ newmgrep.c: In function 'prepf': newmgrep.c:195:21: warning: implicit declaration of function 'fill_buf'; did you mean 'free_buf'? [-Wimplicit-function-declaration] while((num_read = fill_buf(mfp, buf+length, 2*BlockSize)) > 0) { ^~~~~~~~ free_buf newmgrep.c: In function 'mgrep': newmgrep.c:485:27: warning: implicit declaration of function 'm_short'; did you mean 'qsort'? [-Wimplicit-function-declaration] if(SHORT) { if (-1 == m_short(text, start, end)) {free_buf(fd, text); return -1;}} ^~~~~~~ qsort newmgrep.c:486:27: warning: implicit declaration of function 'monkey1' [-Wimplicit-function-declaration] else { if (-1 == monkey1(text, start, end)) {free_buf(fd, text); return -1;}} ^~~~~~~ newmgrep.c: In function 'print_options': newmgrep.c:845:30: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld newmgrep.c:845:33: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld newmgrep.c:849:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld newmgrep.c:849:21: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld newmgrep.c: In function 'monkey1': newmgrep.c:1053:61: warning: implicit declaration of function 'eval_tree' [-Wimplicit-function-declaration] if (AComplexBoolean && dd(curtextbegin, curtextend) && eval_tree(AParse, amatched_terminals)) { ^~~~~~~~~ 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 In file included from utilities.c:7: utilities.c: In function 'Push': re.h:75:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(2);\ ^~~~ utilities.c:21:2: note: in expansion of macro 'new_node' new_node(Stack, node, node); ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2);\ ^~~~ utilities.c:21:2: note: in expansion of macro 'new_node' new_node(Stack, node, node); ^~~~~~~~ re.h:75:3: note: include '' or provide a declaration of 'exit' exit(2);\ ^~~~ utilities.c:21:2: note: in expansion of macro 'new_node' new_node(Stack, node, node); ^~~~~~~~ re.h:77:2: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:21:2: note: in expansion of macro 'new_node' new_node(Stack, node, node); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:21:2: note: in expansion of macro 'new_node' new_node(Stack, node, node); ^~~~~~~~ re.h:77:2: note: include '' or provide a declaration of 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:21:2: note: in expansion of macro 'new_node' new_node(Stack, node, node); ^~~~~~~~ utilities.c: In function 'Pop': utilities.c:42:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(temp); ^~~~ utilities.c:42:3: warning: incompatible implicit declaration of built-in function 'free' utilities.c:42:3: note: include '' or provide a declaration of 'free' In file included from utilities.c:7: utilities.c: In function 'pset_union': re.h:75:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2);\ ^~~~ utilities.c:89:3: note: in expansion of macro 'new_node' new_node(Pset, new, new); ^~~~~~~~ re.h:75:3: note: include '' or provide a declaration of 'exit' exit(2);\ ^~~~ utilities.c:89:3: note: in expansion of macro 'new_node' new_node(Pset, new, new); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:89:3: note: in expansion of macro 'new_node' new_node(Pset, new, new); ^~~~~~~~ re.h:77:2: note: include '' or provide a declaration of 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:89:3: note: in expansion of macro 'new_node' new_node(Pset, new, new); ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2);\ ^~~~ utilities.c:102:4: note: in expansion of macro 'new_node' new_node(Pset, new, new); ^~~~~~~~ re.h:75:3: note: include '' or provide a declaration of 'exit' exit(2);\ ^~~~ utilities.c:102:4: note: in expansion of macro 'new_node' new_node(Pset, new, new); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:102:4: note: in expansion of macro 'new_node' new_node(Pset, new, new); ^~~~~~~~ re.h:77:2: note: include '' or provide a declaration of 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:102:4: note: in expansion of macro 'new_node' new_node(Pset, new, new); ^~~~~~~~ utilities.c: In function 'create_pos': re.h:75:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2);\ ^~~~ utilities.c:124:2: note: in expansion of macro 'new_node' new_node(Pset, x, x); ^~~~~~~~ re.h:75:3: note: include '' or provide a declaration of 'exit' exit(2);\ ^~~~ utilities.c:124:2: note: in expansion of macro 'new_node' new_node(Pset, x, x); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:124:2: note: in expansion of macro 'new_node' new_node(Pset, x, x); ^~~~~~~~ re.h:77:2: note: include '' or provide a declaration of 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:124:2: note: in expansion of macro 'new_node' new_node(Pset, x, x); ^~~~~~~~ utilities.c: In function 'word_exists': utilities.c:168:9: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (!strncmp(line, word, wordlen)) { ^~~~~~~ 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: dummysyscalls.c: In function 'my_lstat': dummysyscalls.c:25:9: warning: implicit declaration of function 'lstat'; did you mean 'my_lstat'? [-Wimplicit-function-declaration] return lstat(name, buf); ^~~~~ my_lstat dummysyscalls.c: In function 'my_stat': dummysyscalls.c:33:9: warning: implicit declaration of function 'stat'; did you mean 'strcat'? [-Wimplicit-function-declaration] return stat(name, buf); ^~~~ strcat main.c: In function 'main': main.c:29:8: warning: implicit declaration of function 'fileagrep' [-Wimplicit-function-declaration] ret = fileagrep(argc, argv, 0, stdout); ^~~~~~~~~ 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: In function 'fatal': log.c:135:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ log.c:135:3: warning: incompatible implicit declaration of built-in function 'exit' log.c:135:3: note: include '' or provide a declaration of 'exit' log.c:24:1: +#include log.c:135:3: exit(1); ^~~~ log.c:140:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ log.c:140:3: note: include '' or provide a declaration of 'exit' log.c:149:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ log.c:149:2: note: include '' or provide a declaration of 'exit' 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: In function 'run_cmd': system.c:70:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(argv, '\0', sizeof(char *) * 64); ^~~~~~ system.c:70:3: warning: incompatible implicit declaration of built-in function 'memset' system.c:70:3: note: include '' or provide a declaration of 'memset' system.c:23:1: +#include #ifdef HAVE_SETRLIMIT system.c:70:3: memset(argv, '\0', sizeof(char *) * 64); ^~~~~~ system.c:85:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (void) waitpid(pid, &status, (int) NULL); ^ system.c: In function 'do_system_lifetime': system.c:140:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (void) waitpid(dsl_pid, (int *) NULL, (int) NULL); ^ system.c:148:3: warning: incompatible implicit declaration of built-in function 'memset' memset(argv, '\0', sizeof(char *) * 64); ^~~~~~ system.c:148:3: note: include '' or provide a declaration of 'memset' 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 defaults to 'int' in declaration of 'set_usemalloc' [-Wimplicit-int] extern set_usemalloc(); /* compress/misc.c */ ^~~~~~~~~~~~~ buildcast.c:98:1: warning: return type defaults to 'int' [-Wimplicit-int] cross_boundary(oldnum, newnum) ^~~~~~~~~~~~~~ buildcast.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int] determine_sync() ^~~~~~~~~~~~~~ buildcast.c:158:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ buildcast.c: In function 'main': buildcast.c:193:5: warning: implicit declaration of function 'build_filename_hashtable' [-Wimplicit-function-declaration] build_filename_hashtable((char *)NULL, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:201:13: warning: implicit declaration of function 'usage'; did you mean 'usleep'? [-Wimplicit-function-declaration] return usage(1); ^~~~~ usleep buildcast.c:536:2: warning: implicit declaration of function 'partition' [-Wimplicit-function-declaration] partition(argc, argv); ^~~~~~~~~ buildcast.c:573:5: warning: implicit declaration of function 'read_filters' [-Wimplicit-function-declaration] read_filters(INDEX_DIR, UseFilters); ^~~~~~~~~~~~ buildcast.c:585:5: warning: implicit declaration of function 'initialize_tuncompress' [-Wimplicit-function-declaration] initialize_tuncompress(string_file, freq_file, 0); ^~~~~~~~~~~~~~~~~~~~~~ buildcast.c:626:5: warning: implicit declaration of function 'set_indexable_char' [-Wimplicit-function-declaration] set_indexable_char(indexable_char); ^~~~~~~~~~~~~~~~~~ buildcast.c:745:5: warning: implicit declaration of function 'initialize_data_structures' [-Wimplicit-function-declaration] initialize_data_structures(file_num); ^~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:747:5: warning: implicit declaration of function 'build_index'; did you mean 'block2index'? [-Wimplicit-function-declaration] build_index(); ^~~~~~~~~~~ block2index buildcast.c:749:5: warning: implicit declaration of function 'cleanup' [-Wimplicit-function-declaration] cleanup(); ^~~~~~~ buildcast.c:750:5: warning: implicit declaration of function 'save_data_structures' [-Wimplicit-function-declaration] save_data_structures(); ^~~~~~~~~~~~~~~~~~~~ buildcast.c:751:5: warning: implicit declaration of function 'destroy_filename_hashtable' [-Wimplicit-function-declaration] destroy_filename_hashtable(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:752:5: warning: implicit declaration of function 'uninitialize_common' [-Wimplicit-function-declaration] uninitialize_common(); ^~~~~~~~~~~~~~~~~~~ buildcast.c:753:5: warning: implicit declaration of function 'uninitialize_tcompress' [-Wimplicit-function-declaration] uninitialize_tcompress(); ^~~~~~~~~~~~~~~~~~~~~~ buildcast.c:754:5: warning: implicit declaration of function 'uninitialize_tuncompress' [-Wimplicit-function-declaration] uninitialize_tuncompress(); ^~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:755:5: warning: implicit declaration of function 'compute_dictionary' [-Wimplicit-function-declaration] compute_dictionary(threshold, DISKBLOCKSIZE, specialwords, INDEX_DIR); ^~~~~~~~~~~~~~~~~~ buildcast.c:759:7: warning: implicit declaration of function 'initialize_tcompress' [-Wimplicit-function-declaration] if (!initialize_tcompress(hash_file, freq_file, TC_ERRORMSGS)) goto docleanup; ^~~~~~~~~~~~~~~~~~~~ buildcast.c:764:6: warning: null argument where non-null required (argument 2) [-Wnonnull] strcpy(name, LIST_GET(name_list, i)); ^~~~~~ buildcast.c:765:6: warning: implicit declaration of function 'tcompress_file'; did you mean 'tmpfile'? [-Wimplicit-function-declaration] tcompress_file(name, outname, TC_REMOVE | TC_EASYSEARCH | TC_OVERWRITE | TC_NOPROMPT); ^~~~~~~~~~~~~~ tmpfile buildcast.c: At top level: buildcast.c:1063:1: warning: return type defaults to 'int' [-Wimplicit-int] cleanup() ^~~~~~~ buildcast.c:1125:1: warning: return type defaults to 'int' [-Wimplicit-int] usage(flag) ^~~~~ buildcast.c: In function 'cleanup': buildcast.c:1067:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, I1); ^~ buildcast.c:1067:5: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, I1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:1069:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, I2); ^~ buildcast.c:1069:5: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, I2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:1071:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, I3); ^~ buildcast.c:1071:5: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, I3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:1073:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, O1); ^~ buildcast.c:1073:5: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, O1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:1075:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, O2); ^~ buildcast.c:1075:5: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, O2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:1077:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, O3); ^~ buildcast.c:1077:5: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, O3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:1079:19: warning: '/.glimpse_apply.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_apply.%d", INDEX_DIR, getpid()); ^~~~~~~~~~~~~~~~ buildcast.c:1079:5: note: 'sprintf' output between 18 and 1051 bytes into a destination of size 1024 sprintf(s, "%s/.glimpse_apply.%d", INDEX_DIR, getpid()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c: In function 'main': buildcast.c:587:20: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, DEF_TIME_FILE); ^~ buildcast.c:587:5: note: 'sprintf' output between 20 and 1043 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, DEF_TIME_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:601:20: warning: '%s' directive writing 17 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, DEF_MESSAGE_FILE); ^~ buildcast.c:601:5: note: 'sprintf' output between 19 and 1042 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, DEF_MESSAGE_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:607:20: warning: '%s' directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, DEF_STAT_FILE); ^~ buildcast.c:607:5: note: 'sprintf' output between 21 and 1044 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, DEF_STAT_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:636:19: warning: '/.glimpse_index' directive writing 15 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_index", INDEX_DIR); ^~~~~~~~~~~~~~~ buildcast.c:636:5: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/.glimpse_index", INDEX_DIR); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:638:16: warning: '/.glimpse_tempdir.' directive writing 18 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_tempdir.%d", INDEX_DIR, pid); ^~~~~~~~~~~~~~~~~~ buildcast.c:638:2: note: 'sprintf' output between 20 and 1053 bytes into a destination of size 1024 sprintf(s, "%s/.glimpse_tempdir.%d", INDEX_DIR, pid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:708:16: warning: '/.glimpse_attributes' directive writing 20 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_attributes", INDEX_DIR); ^~~~~~~~~~~~~~~~~~~~ buildcast.c:708:2: note: 'sprintf' output between 21 and 1044 bytes into a destination of size 1024 sprintf(s, "%s/.glimpse_attributes", INDEX_DIR); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:722:19: warning: '/.glimpse_quick' directive writing 15 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_quick", INDEX_DIR); ^~~~~~~~~~~~~~~ buildcast.c:722:5: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/.glimpse_quick", INDEX_DIR); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:725:16: warning: '/.glimpse_backup.' directive writing 17 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_backup.%x", INDEX_DIR, backup); ^~~~~~~~~~~~~~~~~ buildcast.c:725:13: note: using the range [0, 4294967295] for directive argument sprintf(s, "%s/.glimpse_backup.%x", INDEX_DIR, backup); ^~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:725:2: note: 'sprintf' output between 19 and 1049 bytes into a destination of size 1024 sprintf(s, "%s/.glimpse_backup.%x", INDEX_DIR, backup); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:771:19: warning: '/.glimpse_tempdir.' directive writing 18 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_tempdir.%d/.glimpse_index", INDEX_DIR, pid); ^~~~~~~~~~~~~~~~~~ buildcast.c:771:5: note: 'sprintf' output between 35 and 1068 bytes into a destination of size 1024 sprintf(s, "%s/.glimpse_tempdir.%d/.glimpse_index", INDEX_DIR, pid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:803:54: warning: '%s' directive writing up to 1023 bytes into a region of size 989 [-Wformat-overflow=] sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, escapesinglequote(INDEX_FILE, es2), INDEX_DIR); ^~ ~~~~~~~~~ buildcast.c:803:2: note: 'sprintf' output 38 or more bytes (assuming 1061) into a destination of size 1024 sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, escapesinglequote(INDEX_FILE, es2), INDEX_DIR); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:822:16: warning: '/.glimpse_tempdir.' directive writing 18 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_tempdir.%d", INDEX_DIR, pid); ^~~~~~~~~~~~~~~~~~ buildcast.c:822:2: note: 'sprintf' output between 20 and 1053 bytes into a destination of size 1024 sprintf(s, "%s/.glimpse_tempdir.%d", INDEX_DIR, pid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:454:22: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(buffer, "%s/%s", INDEX_DIR, NAME_LIST); ^~ buildcast.c:454:2: note: 'sprintf' output between 20 and 1043 bytes into a destination of size 1024 sprintf(buffer, "%s/%s", INDEX_DIR, NAME_LIST); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:459:22: warning: '%s' directive writing 24 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(buffer, "%s/%s.tmp", INDEX_DIR, NAME_LIST_INDEX); ^~ buildcast.c:459:2: note: 'sprintf' output between 30 and 1053 bytes into a destination of size 1024 sprintf(buffer, "%s/%s.tmp", INDEX_DIR, NAME_LIST_INDEX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:482:22: warning: '%s' directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=] sprintf(buffer, "mv %s/%s.tmp %s/%s", INDEX_DIR, NAME_LIST_INDEX, INDEX_DIR, NAME_LIST_INDEX); ^~ ~~~~~~~~~ buildcast.c:482:2: note: 'sprintf' output between 59 and 2105 bytes into a destination of size 1024 sprintf(buffer, "mv %s/%s.tmp %s/%s", INDEX_DIR, NAME_LIST_INDEX, INDEX_DIR, NAME_LIST_INDEX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: return type defaults to 'int' [-Wimplicit-int] fsize(name, pat, pat_len, num_pat, inc, inc_len, num_inc, toplevel) ^~~~~ dir.c: In function 'fsize': dir.c:153:71: warning: implicit declaration of function 'get_filename_index' [-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:170:4: warning: implicit declaration of function 'remove_filename' [-Wimplicit-function-declaration] remove_filename(fileindex, new_partition);\ ^~~~~~~~~~~~~~~ dir.c:268:3: note: in expansion of macro 'PROCESS_EXIT' PROCESS_EXIT; ^~~~~~~~~~~~ dir.c:222:9: warning: implicit declaration of function 'memagrep_search' [-Wimplicit-function-declaration] (memagrep_search(-inc_len[i], inc[i], len_current_dir_buf, current_dir_buf, 0, dummyout) > 0))\ ^~~~~~~~~~~~~~~ dir.c:280:3: note: in expansion of macro 'PROCESS_INCLUDE' PROCESS_INCLUDE; ^~~~~~~~~~~~~~~ dir.c:332:13: warning: implicit declaration of function 'fsize_directory' [-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'; did you mean 'lit_type'? [-Wimplicit-function-declaration] if (!filetype(name, IndexEverything?2:1, NULL, NULL)) printf("%s\n", name); ^~~~~~~~ lit_type dir.c:353:14: warning: implicit declaration of function 'tuncompress_file' [-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' [-Wimplicit-function-declaration] change_filename(name, name_len, fileindex, t1); ^~~~~~~~~~~~~~~ dir.c:427:7: warning: implicit declaration of function 'insert_filename'; did you mean 'aprint_file_time'? [-Wimplicit-function-declaration] insert_filename(LIST_GET(name_list, file_num), file_num); ^~~~~~~~~~~~~~~ aprint_file_time dir.c: At top level: dir.c:492:1: warning: return type defaults to 'int' [-Wimplicit-int] fsize_directory(name, pat, pat_len, num_pat, inc, inc_len, num_inc) ^~~~~~~~~~~~~~~ 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: utils.c:449:1: warning: return type defaults to 'int' [-Wimplicit-int] hashNk(name, len) ^~~~~~ io.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] get_array_of_lines(inputfile, table, max_entry, overflow_ok) ^~~~~~~~~~~~~~~~~~ io.c:169:1: warning: return type defaults to 'int' [-Wimplicit-int] get_index_type(s, dashn, num, attr, delim) ^~~~~~~~~~~~~~ io.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int] get_block_numbers(srcbuf, destbuf, partfp) ^~~~~~~~~~~~~~~~~ io.c:369:1: warning: return type defaults to 'int' [-Wimplicit-int] read_filters(index_dir, dofilter) ^~~~~~~~~~~~ io.c: In function 'read_filters': io.c:387:20: warning: 'return' with no value, in function returning non-void if (!dofilter) return; ^~~~~~ io.c:369:1: note: declared here read_filters(index_dir, dofilter) ^~~~~~~~~~~~ io.c: At top level: io.c:449:1: warning: return type defaults to 'int' [-Wimplicit-int] apply_filter(inname, outname) ^~~~~~~~~~~~ io.c: In function 'apply_filter': io.c:526:9: warning: implicit declaration of function 'memagrep_search' [-Wimplicit-function-declaration] (memagrep_search(-filter_len[i], filter[i], name_len + 2, name, 0, dummyout) > 0)) { ^~~~~~~~~~~~~~~ io.c: At top level: io.c:566:1: warning: return type defaults to 'int' [-Wimplicit-int] static_stop_list(word) ^~~~~~~~~~~~~~~~ io.c:662:1: warning: return type defaults to 'int' [-Wimplicit-int] my_free(ptr, size) ^~~~~~~ io.c:709:1: warning: return type defaults to 'int' [-Wimplicit-int] tokenallfree() ^~~~~~~~~~~~ io.c:714:1: warning: return type defaults to 'int' [-Wimplicit-int] tokenfree(e, len) ^~~~~~~~~ io.c:736:1: warning: return type defaults to 'int' [-Wimplicit-int] indicesallfree() ^~~~~~~~~~~~~~ io.c:741:1: warning: return type defaults to 'int' [-Wimplicit-int] indicesfree(e, len) ^~~~~~~~~~~ io.c:764:1: warning: return type defaults to 'int' [-Wimplicit-int] wordallfree() ^~~~~~~~~~~ io.c:769:1: warning: return type defaults to 'int' [-Wimplicit-int] wordfree(s, len) ^~~~~~~~ io.c:1049:1: warning: return type defaults to 'int' [-Wimplicit-int] dump_mini(indexfile) ^~~~~~~~~ io.c:1236:1: warning: return type defaults to 'int' [-Wimplicit-int] initialize_data_structures(files) ^~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1261:1: warning: return type defaults to 'int' [-Wimplicit-int] destroy_data_structures() ^~~~~~~~~~~~~~~~~~~~~~~ io.c:1463:1: warning: return type defaults to 'int' [-Wimplicit-int] insert_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c: In function 'insert_filename': io.c:1474:20: warning: 'return' with no value, in function returning non-void if (name == NULL) return; ^~~~~~ io.c:1463:1: note: declared here insert_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c:1476:57: warning: 'return' with no value, in function returning non-void if (special_parse_name(name, len, &begin, &end) == -1) return; ^~~~~~ io.c:1463:1: note: declared here insert_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c:1479:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ io.c:1463:1: note: declared here insert_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c:1496:21: warning: 'return' with no value, in function returning non-void if ((*pe) != NULL) return; ^~~~~~ io.c:1463:1: note: declared here insert_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c: At top level: io.c:1515:1: warning: return type defaults to 'int' [-Wimplicit-int] change_filename(name, len, index, newname) ^~~~~~~~~~~~~~~ io.c: In function 'change_filename': io.c:1525:47: warning: 'return' with no value, in function returning non-void if (special_get_name(name, len, temp) == -1) return; ^~~~~~ io.c:1515:1: note: declared here change_filename(name, len, index, newname) ^~~~~~~~~~~~~~~ io.c:1529:21: warning: 'return' with no value, in function returning non-void if ((*pe) == NULL) return; ^~~~~~ io.c:1515:1: note: declared here change_filename(name, len, index, newname) ^~~~~~~~~~~~~~~ io.c:1534:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ io.c:1515:1: note: declared here change_filename(name, len, index, newname) ^~~~~~~~~~~~~~~ io.c: At top level: io.c:1537:1: warning: return type defaults to 'int' [-Wimplicit-int] delete_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c: In function 'delete_filename': io.c:1548:20: warning: 'return' with no value, in function returning non-void if (name == NULL) return; ^~~~~~ io.c:1537:1: note: declared here delete_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c:1550:57: warning: 'return' with no value, in function returning non-void if (special_parse_name(name, len, &begin, &end) == -1) return; ^~~~~~ io.c:1537:1: note: declared here delete_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c:1553:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ io.c:1537:1: note: declared here delete_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c:1570:21: warning: 'return' with no value, in function returning non-void if ((*pe) == NULL) return; ^~~~~~ io.c:1537:1: note: declared here delete_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c:1577:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ io.c:1537:1: note: declared here delete_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c: At top level: io.c:1580:1: warning: return type defaults to 'int' [-Wimplicit-int] init_filename_hashtable() ^~~~~~~~~~~~~~~~~~~~~~~ io.c:1587:1: warning: return type defaults to 'int' [-Wimplicit-int] build_filename_hashtable(names, num) ^~~~~~~~~~~~~~~~~~~~~~~~ io.c:1598:1: warning: return type defaults to 'int' [-Wimplicit-int] destroy_filename_hashtable() ^~~~~~~~~~~~~~~~~~~~~~~~~~ io.c: In function 'apply_one_filter': io.c:328:36: warning: '%s' directive writing up to 1023 bytes into a region of size between 1013 and 2036 [-Wformat-overflow=] sprintf(command, "exec %s '%s' > '%s'", filter_command[filter_number], ^~ escaped_in, escaped_out); ~~~~~~~~~~~ io.c:328:2: note: 'sprintf' output 14 or more bytes (assuming 2060) into a destination of size 2048 sprintf(command, "exec %s '%s' > '%s'", filter_command[filter_number], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ escaped_in, escaped_out); ~~~~~~~~~~~~~~~~~~~~~~~~ io.c: In function 'dump_mini': io.c:1110:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=] sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1110:2: note: 'sprintf' output between 11 and 1034 bytes into a destination of size 1024 sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1117:29: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] sprintf(s, "exec %s -n -T '%s' '%s.tmp' > '%s'\n", SYSTEM_SORT, escapesinglequote(INDEX_DIR, es1), escapesinglequote(indexfile, es2), escapesinglequote(indexfile, es3)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1117:2: note: 'sprintf' output between 32 and 3101 bytes into a destination of size 1024 sprintf(s, "exec %s -n -T '%s' '%s.tmp' > '%s'\n", SYSTEM_SORT, escapesinglequote(INDEX_DIR, es1), escapesinglequote(indexfile, es2), escapesinglequote(indexfile, es3)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1130:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=] sprintf(s, "exec %s '%s.tmp'", SYSTEM_RM, escapesinglequote(indexfile, es1)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1130:2: note: 'sprintf' output between 15 and 1038 bytes into a destination of size 1024 sprintf(s, "exec %s '%s.tmp'", SYSTEM_RM, escapesinglequote(indexfile, es1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1151:17: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, MINI_FILE); ^~ io.c:1151:2: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, MINI_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1210:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=] sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1210:2: note: 'sprintf' output between 11 and 1034 bytes into a destination of size 1024 sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1217:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=] sprintf(s, "exec %s '%s.tmp' '%s'\n", SYSTEM_MV, escapesinglequote(indexfile, es1), escapesinglequote(indexfile, es2)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1217:2: note: 'sprintf' output between 19 and 2065 bytes into a destination of size 1024 sprintf(s, "exec %s '%s.tmp' '%s'\n", SYSTEM_MV, escapesinglequote(indexfile, es1), escapesinglequote(indexfile, es2)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c: In function 'apply_filter': io.c:548:29: warning: '.o' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(newoutname, "%s.o", prevoutname); ^~ io.c:548:6: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 1024 sprintf(newoutname, "%s.o", prevoutname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:503:29: warning: '.o' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(newoutname, "%s.o", prevoutname); ^~ io.c:503:6: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 1024 sprintf(newoutname, "%s.o", prevoutname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 build_in.c build_in.c:128:1: warning: return type defaults to 'int' [-Wimplicit-int] build_index() ^~~~~~~~~~~ build_in.c: In function 'build_index': build_in.c:143:9: warning: implicit declaration of function 'build_hash'; did you mean 'build_index'? [-Wimplicit-function-declaration] build_hash(); ^~~~~~~~~~ build_index build_in.c:145:9: warning: 'return' with no value, in function returning non-void return; ^~~~~~ build_in.c:128:1: note: declared here build_index() ^~~~~~~~~~~ build_in.c: At top level: build_in.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int] traverse() ^~~~~~~~ build_in.c: In function 'traverse': build_in.c:215:19: warning: implicit declaration of function 'encode16b' [-Wimplicit-function-declaration] attribute = encode16b(tp->attribute); ^~~~~~~~~ build_in.c:350:16: warning: implicit declaration of function 'encode8b' [-Wimplicit-function-declaration] temp = encode8b(0); ^~~~~~~~ build_in.c:379:13: warning: implicit declaration of function 'encode24b' [-Wimplicit-function-declaration] x = encode24b(ip->index[j]); ^~~~~~~~~ build_in.c:482:12: warning: implicit declaration of function 'encode12b' [-Wimplicit-function-declaration] x = encode12b(ip->index[j]); ^~~~~~~~~ build_in.c:588:5: warning: implicit declaration of function 'tokenallfree'; did you mean 'tokenfree'? [-Wimplicit-function-declaration] tokenallfree(); ^~~~~~~~~~~~ tokenfree build_in.c:589:5: warning: implicit declaration of function 'indicesallfree'; did you mean 'indicesfree'? [-Wimplicit-function-declaration] indicesallfree(); ^~~~~~~~~~~~~~ indicesfree build_in.c:590:5: warning: implicit declaration of function 'wordallfree'; did you mean 'wordfree'? [-Wimplicit-function-declaration] wordallfree(); ^~~~~~~~~~~ wordfree build_in.c: At top level: build_in.c:602:1: warning: return type defaults to 'int' [-Wimplicit-int] traverse1() ^~~~~~~~~ build_in.c: In function 'traverse1': build_in.c:713:9: warning: 'return' with no value, in function returning non-void return; ^~~~~~ build_in.c:602:1: note: declared here traverse1() ^~~~~~~~~ build_in.c:744:5: warning: implicit declaration of function 'merge_in' [-Wimplicit-function-declaration] merge_in(i2, i1, i3); ^~~~~~~~ build_in.c: At top level: build_in.c:784:1: warning: return type defaults to 'int' [-Wimplicit-int] build_hash() ^~~~~~~~~~ build_in.c: In function 'build_hash': build_in.c:807:26: warning: implicit declaration of function 'region_initialize' [-Wimplicit-function-declaration] if (StructuredIndex) region_initialize(); ^~~~~~~~~~~~~~~~~ build_in.c:808:5: warning: implicit declaration of function 'init_hash_table'; did you mean 'initstate'? [-Wimplicit-function-declaration] init_hash_table(); ^~~~~~~~~~~~~~~ initstate build_in.c:818:18: warning: 'return' with no value, in function returning non-void if (tried_once) return; ^~~~~~ build_in.c:784:1: note: declared here build_hash() ^~~~~~~~~~ build_in.c:831:17: warning: implicit declaration of function 'tuncompress_file' [-Wimplicit-function-declaration] if ((ret = tuncompress_file(LIST_GET(name_list, i), outname, TC_EASYSEARCH | TC_OVERWRITE | TC_NOPROMPT)) > 0) { /* do not remove old .TZ file */ ^~~~~~~~~~~~~~~~ build_in.c:832:33: warning: implicit declaration of function 'region_create'; did you mean 'timer_create'? [-Wimplicit-function-declaration] if (StructuredIndex && (-1 == region_create(outname))) { ^~~~~~~~~~~~~ timer_create build_in.c:834:7: warning: implicit declaration of function 'remove_filename' [-Wimplicit-function-declaration] remove_filename(i, -1); ^~~~~~~~~~~~~~~ build_in.c:840:28: warning: implicit declaration of function 'region_destroy' [-Wimplicit-function-declaration] if (StructuredIndex) region_destroy(); /* cannot happen! */ ^~~~~~~~~~~~~~ build_in.c:850:17: warning: implicit declaration of function 'apply_filter' [-Wimplicit-function-declaration] if ((ret = apply_filter(LIST_GET(name_list, i), outname)) == 1) { ^~~~~~~~~~~~ build_in.c:869:7: warning: implicit declaration of function 'filetype'; did you mean 'lit_type'? [-Wimplicit-function-declaration] if (filetype(LIST_GET(name_list, i), 0, NULL, NULL)) { /* try to index input file if it satisfies filetype */ ^~~~~~~~ lit_type build_in.c:1021:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ build_in.c:784:1: note: declared here build_hash() ^~~~~~~~~~ build_in.c:1053:46: warning: null argument where non-null required (argument 1) [-Wnonnull] if (BuildDictionary && CompressAfterBuild) strcpy(LIST_GET(name_list, i), outname); /* name of clear file will be smaller, so enough space */ ^~~~~~ build_in.c: At top level: build_in.c:1233:1: warning: return type defaults to 'int' [-Wimplicit-int] init_hash_table() ^~~~~~~~~~~~~~~ build_in.c: In function 'init_hash_table': build_in.c:1238:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ build_in.c:1233:1: note: declared here init_hash_table() ^~~~~~~~~~~~~~~ In file included from build_in.c:26: build_in.c: In function 'insert_h': glimpse.h:233:96: warning: implicit declaration of function 'hash64k' [-Wimplicit-function-declaration] #define hashword(word, wordlen) (((total_size < LIMIT_64K_HASH*1024*1024) || !BigHashTable) ? (hash64k(word, wordlen)) : (hash256k(word, wordlen))); ^~~~~~~ build_in.c:1267:18: note: in expansion of macro 'hashword' hash_value = hashword(word, wordlen); ^~~~~~~~ glimpse.h:233:123: warning: implicit declaration of function 'hash256k'; did you mean 'hashword'? [-Wimplicit-function-declaration] #define hashword(word, wordlen) (((total_size < LIMIT_64K_HASH*1024*1024) || !BigHashTable) ? (hash64k(word, wordlen)) : (hash256k(word, wordlen))); ^~~~~~~~ build_in.c:1267:18: note: in expansion of macro 'hashword' hash_value = hashword(word, wordlen); ^~~~~~~~ build_in.c: At top level: build_in.c:1459:1: warning: return type defaults to 'int' [-Wimplicit-int] scanword(word, buffer, buffer_end, attr) ^~~~~~~~ build_in.c:1484:1: warning: return type defaults to 'int' [-Wimplicit-int] merge_in(f1, f2, f3) ^~~~~~~~ build_in.c: In function 'merge_in': build_in.c:1571:12: warning: implicit declaration of function 'decode8b' [-Wimplicit-function-declaration] x = decode8b(src_index_buf[bdx1]); ^~~~~~~~ build_in.c:1577:9: warning: implicit declaration of function 'decode12b' [-Wimplicit-function-declaration] x = decode12b(x); ^~~~~~~~~ build_in.c:1590:12: warning: implicit declaration of function 'decode16b' [-Wimplicit-function-declaration] x = decode16b(x); ^~~~~~~~~ build_in.c:1595:12: warning: implicit declaration of function 'decode24b' [-Wimplicit-function-declaration] x = decode24b(x); ^~~~~~~~~ build_in.c:1756:64: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned char *' [-Wformat=] fprintf(stderr,"Had to Realloc merge buffer (#3), new size is %d\n",merge_index_buf); ~^ ~~~~~~~~~~~~~~~ %hhn build_in.c:1771:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned char *' [-Wformat=] fprintf(stderr,"Realloc #4, new size is %d\n",merge_index_buf); ~^ ~~~~~~~~~~~~~~~ %hhn build_in.c:1895:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ build_in.c:1484:1: note: declared here merge_in(f1, f2, f3) ^~~~~~~~ build_in.c: At top level: build_in.c:1898:1: warning: return type defaults to 'int' [-Wimplicit-int] remove_filename(fileindex, new_partition) ^~~~~~~~~~~~~~~ build_in.c: In function 'remove_filename': build_in.c:1901:60: warning: 'return' with no value, in function returning non-void if ((fileindex < 0) || (fileindex >= MaxNum24bPartition)) return; ^~~~~~ build_in.c:1898:1: note: declared here remove_filename(fileindex, new_partition) ^~~~~~~~~~~~~~~ build_in.c: At top level: build_in.c:1946:1: warning: return type defaults to 'int' [-Wimplicit-int] get_new_index(deletedlist, oldfileindex) ^~~~~~~~~~~~~ build_in.c:1965:1: warning: return type defaults to 'int' [-Wimplicit-int] delete_removed_indices(deletedlist) ^~~~~~~~~~~~~~~~~~~~~~ build_in.c:2239:1: warning: return type defaults to 'int' [-Wimplicit-int] initialize_disable_list(files) ^~~~~~~~~~~~~~~~~~~~~~~ build_in.c: In function 'traverse': build_in.c:180:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, I2); ^~ build_in.c:180:5: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, I2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c: In function 'traverse1': build_in.c:717:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~ build_in.c:717:5: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:722:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, I2); ^~ build_in.c:722:5: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, I2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:727:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, I3); ^~ build_in.c:727:5: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, I3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:683:54: warning: '%s' directive writing up to 1023 bytes into a region of size 1010 [-Wformat-overflow=] else if (RecordLevelIndex) sprintf(s, "exec %s %%-2 %s >> '%s/%s'\n", SYSTEM_ECHO, old_rdelim, escapesinglequote(INDEX_DIR, es1), INDEX_FILE); ^~ ~~~~~~~~~~ build_in.c:683:29: note: 'sprintf' output 37 or more bytes (assuming 1060) into a destination of size 1024 else if (RecordLevelIndex) sprintf(s, "exec %s %%-2 %s >> '%s/%s'\n", SYSTEM_ECHO, old_rdelim, escapesinglequote(INDEX_DIR, es1), INDEX_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:640:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1016 [-Wformat-overflow=] sprintf(s1, "system('%s') failed at:\n\t File=%s, Line=%d, Errno=%d", s, __FILE__, __LINE__, errno); ^~ ~ build_in.c:640:2: note: 'sprintf' output between 59 and 1092 bytes into a destination of size 1024 sprintf(s1, "system('%s') failed at:\n\t File=%s, Line=%d, Errno=%d", s, __FILE__, __LINE__, errno); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c: In function 'build_hash': build_in.c:1059:26: warning: '/.glimpse_apply.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(outname, "%s/.glimpse_apply.%d", INDEX_DIR, pid); ^~~~~~~~~~~~~~~~ build_in.c:1059:6: note: 'sprintf' output between 18 and 1051 bytes into a destination of size 1024 sprintf(outname, "%s/.glimpse_apply.%d", INDEX_DIR, pid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:849:26: warning: '/.glimpse_apply.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(outname, "%s/.glimpse_apply.%d", INDEX_DIR, pid); ^~~~~~~~~~~~~~~~ build_in.c:849:6: note: 'sprintf' output between 18 and 1051 bytes into a destination of size 1024 sprintf(outname, "%s/.glimpse_apply.%d", INDEX_DIR, pid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c: In function 'purge_index': build_in.c:2011:17: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~ build_in.c:2011:2: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:2016:23: warning: '/.glimpse_merge.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_merge.%d", INDEX_DIR, getpid()); ^~~~~~~~~~~~~~~~ build_in.c:2016:9: note: 'sprintf' output between 18 and 1051 bytes into a destination of size 1024 sprintf(s, "%s/.glimpse_merge.%d", INDEX_DIR, getpid()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 filetype.c filetype.c: In function 'filetype': filetype.c:71:6: warning: implicit declaration of function 'test_special_suffix' [-Wimplicit-function-declaration] if (test_special_suffix(tempname)) { ^~~~~~~~~~~~~~~~~~~ filetype.c:100:6: warning: implicit declaration of function 'test_postscript' [-Wimplicit-function-declaration] if (test_postscript(buffer, num_read)) { ^~~~~~~~~~~~~~~ filetype.c:109:18: warning: implicit declaration of function 'test_binary' [-Wimplicit-function-declaration] BINARY = test_binary(buffer, num_read); ^~~~~~~~~~~ filetype.c:120:21: warning: implicit declaration of function 'test_uuencode' [-Wimplicit-function-declaration] UUENCODED = test_uuencode(buffer, num_read); ^~~~~~~~~~~~~ filetype.c:129:5: warning: implicit declaration of function 'heavy_index' [-Wimplicit-function-declaration] if(heavy_index(tempname, buffer, num_read)) { ^~~~~~~~~~~ filetype.c:137:5: warning: implicit declaration of function 'hqx' [-Wimplicit-function-declaration] if(hqx(tempname, buffer, num_read)) { ^~~ filetype.c:154:17: warning: implicit declaration of function 'extract_info' [-Wimplicit-function-declaration] *xinfo_len = extract_info(tempname, buffer, num_read, i, xinfo, MAX_LINE_LEN); ^~~~~~~~~~~~ filetype.c: At top level: filetype.c:276:1: warning: return type defaults to 'int' [-Wimplicit-int] heavy_index(name, buffer, num_read) ^~~~~~~~~~~ filetype.c: In function 'heavy_index': filetype.c:291:16: warning: implicit declaration of function 'hash4k' [-Wimplicit-function-declaration] hash_value = hash4k(word, strlen(word)); ^~~~~~ filetype.c: At top level: filetype.c:312:1: warning: return type defaults to 'int' [-Wimplicit-int] hqx(name, buffer, num_read) ^~~ gcc -c -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 simpletest.c simpletest.c:10:8: warning: type defaults to 'int' in declaration of 'UseFilters' [-Wimplicit-int] extern UseFilters; ^~~~~~~~~~ simpletest.c:33:1: warning: return type defaults to 'int' [-Wimplicit-int] test_binary(buffer, length) ^~~~~~~~~~~ simpletest.c:54:1: warning: return type defaults to 'int' [-Wimplicit-int] test_uuencode(buffer, length) ^~~~~~~~~~~~~ simpletest.c: In function 'test_uuencode': simpletest.c:67:13: warning: implicit declaration of function 'memlook'; did you mean 'memmove'? [-Wimplicit-function-declaration] i = memlook("\nbegin", buffer, length); ^~~~~~~ memmove gcc -c -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 getword.c getword.c: In function 'getword': getword.c:245:11: warning: implicit declaration of function 'region_identify' [-Wimplicit-function-declaration] *pattr = region_identify(ICurrentFileOffset, 0); ^~~~~~~~~~~~~~~ getword.c: At top level: getword.c:259:1: warning: return type defaults to 'int' [-Wimplicit-int] set_indexable_char(indexable_char) ^~~~~~~~~~~~~~~~~~ getword.c:273:1: warning: return type defaults to 'int' [-Wimplicit-int] set_special_char(special_char) ^~~~~~~~~~~~~~~~ gcc -c -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 memlook.c gcc -c -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 lib.c lib.c:5:16: warning: conflicting types for built-in function 'strdup' [-Wbuiltin-declaration-mismatch] unsigned char *strdup(str) ^~~~~~ lib.c: In function 'strdup': lib.c:12:8: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] len = strlen(str); ^~~~~~ lib.c:12:8: warning: incompatible implicit declaration of built-in function 'strlen' lib.c:12:8: note: include '' or provide a declaration of 'strlen' lib.c:4:1: +#include lib.c:12:8: len = strlen(str); ^~~~~~ lib.c:16:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(2); ^~~~ lib.c:16:3: warning: incompatible implicit declaration of built-in function 'exit' lib.c:16:3: note: include '' or provide a declaration of 'exit' lib.c:4:1: +#include lib.c:16:3: exit(2); ^~~~ gcc -c -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 partition.c partition.c:70:1: warning: return type defaults to 'int' [-Wimplicit-int] partition(dir_num, dir_name) ^~~~~~~~~ partition.c: In function 'partition': partition.c:116:21: warning: implicit declaration of function 'memagrep_init' [-Wimplicit-function-declaration] if ((dummylen = memagrep_init(exin_argc, exin_argv, MAX_PAT, dummypat)) <= 0) return -1; /* exclude/include pattern search */ ^~~~~~~~~~~~~ partition.c:128:27: warning: implicit declaration of function 'convert2agrepregexp' [-Wimplicit-function-declaration] if ((pat_len[num_pat] = convert2agrepregexp(patbuf, len-1)) == 0) continue; ^~~~~~~~~~~~~~~~~~~ partition.c:182:6: warning: implicit declaration of function 'fsize'; did you mean 'dysize'? [-Wimplicit-function-declaration] fsize(current_dir, pat, pat_len, num_pat, inc, inc_len, num_inc, 0); /* the file names will be in name_list[]: NOT TOP LEVEL!!! Mar/11/96 */ ^~~~~ dysize partition.c: At top level: partition.c:420:1: warning: return type defaults to 'int' [-Wimplicit-int] oldpartition(dir_num, dir_name) ^~~~~~~~~~~~ partition.c:602:1: warning: return type defaults to 'int' [-Wimplicit-int] save_data_structures() ^~~~~~~~~~~~~~~~~~~~ partition.c: In function 'save_data_structures': partition.c:700:9: warning: implicit declaration of function 'decode16b' [-Wimplicit-function-declaration] index=decode16b((src_index_buf[j+1] << 8) | (src_index_buf[j+2])); ^~~~~~~~~ partition.c:702:12: warning: implicit declaration of function 'encode8b' [-Wimplicit-function-declaration] putc(encode8b(index), i_out); ^~~~~~~~ partition.c:784:15: warning: implicit declaration of function 'encode32b' [-Wimplicit-function-declaration] offset = encode32b(part_size); ^~~~~~~~~ partition.c:818:18: warning: implicit declaration of function 'dump_mini' [-Wimplicit-function-declaration] if (BuildTurbo) dump_mini(s); ^~~~~~~~~ partition.c:842:56: warning: comparison between pointer and zero character constant [-Wpointer-compare] if ((LIST_GET(name_list, i) != NULL) && (name_list[0] != '\0')) { ^~ partition.c:842:43: note: did you mean to dereference the pointer? if ((LIST_GET(name_list, i) != NULL) && (name_list[0] != '\0')) { ^ partition.c:848:3: warning: null argument where non-null required (argument 1) [-Wnonnull] fputs(LIST_GET(name_list, i), f_out); ^~~~~ partition.c:850:13: warning: null argument where non-null required (argument 1) [-Wnonnull] offset += strlen(LIST_GET(name_list, i)) + 1; ^~~~~~ partition.c:890:36: warning: implicit declaration of function 'build_filename_hashtable' [-Wimplicit-function-declaration] if (!built_filename_hashtable) build_filename_hashtable(name_list, file_num); ^~~~~~~~~~~~~~~~~~~~~~~~ partition.c:899:16: warning: implicit declaration of function 'get_new_index' [-Wimplicit-function-declaration] if ((index = get_new_index(deletedlist, e->index)) < 0) { ^~~~~~~~~~~~~ partition.c: At top level: partition.c:934:1: warning: return type defaults to 'int' [-Wimplicit-int] merge_splits() ^~~~~~~~~~~~ partition.c: In function 'merge_splits': partition.c:1034:15: warning: implicit declaration of function 'encode16b' [-Wimplicit-function-declaration] index = encode16b(decode8b(src_index_buf[j+1])); ^~~~~~~~~ partition.c:1034:25: warning: implicit declaration of function 'decode8b' [-Wimplicit-function-declaration] index = encode16b(decode8b(src_index_buf[j+1])); ^~~~~~~~ partition.c:1052:6: warning: implicit declaration of function 'get_block_numbers' [-Wimplicit-function-declaration] get_block_numbers(&src_index_buf[j+1], &dest_index_buf[0], p_in); ^~~~~~~~~~~~~~~~~ partition.c: In function 'partition': partition.c:118:20: warning: '%s' directive writing 16 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, PROHIBIT_LIST); ^~ partition.c:118:5: note: 'sprintf' output between 18 and 1041 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, PROHIBIT_LIST); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:139:20: warning: '%s' directive writing 16 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INCLUDE_LIST); ^~ partition.c:139:5: note: 'sprintf' output between 18 and 1041 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, INCLUDE_LIST); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:243:17: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(S, "%s/%s.tmp", INDEX_DIR, DEF_TIME_FILE); ^~ partition.c:243:2: note: 'sprintf' output between 24 and 1047 bytes into a destination of size 1024 sprintf(S, "%s/%s.tmp", INDEX_DIR, DEF_TIME_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:250:17: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(S, "%s/%s", INDEX_DIR, DEF_TIME_FILE); ^~ partition.c:250:2: note: 'sprintf' output between 20 and 1043 bytes into a destination of size 1024 sprintf(S, "%s/%s", INDEX_DIR, DEF_TIME_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:257:17: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(S, "%s/%s.index", INDEX_DIR, DEF_TIME_FILE); ^~ partition.c:257:2: note: 'sprintf' output between 26 and 1049 bytes into a destination of size 1024 sprintf(S, "%s/%s.index", INDEX_DIR, DEF_TIME_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:314:17: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(S, "%s/%s.tmp", INDEX_DIR, DEF_TIME_FILE); ^~ partition.c:314:2: note: 'sprintf' output between 24 and 1047 bytes into a destination of size 1024 sprintf(S, "%s/%s.tmp", INDEX_DIR, DEF_TIME_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:235:27: warning: '%s' directive writing up to 1023 bytes into a region of size 1016 [-Wformat-overflow=] sprintf(S1, "system('%s') failed at:\n\t File=%s, Line=%d, Errno=%d", S, __FILE__, __LINE__, errno); ^~ ~ partition.c:235:6: note: 'sprintf' output between 60 and 1093 bytes into a destination of size 1024 sprintf(S1, "system('%s') failed at:\n\t File=%s, Line=%d, Errno=%d", S, __FILE__, __LINE__, errno); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:238:21: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(S, "%s/%s", INDEX_DIR, DEF_TIME_FILE); ^~ partition.c:238:6: note: 'sprintf' output between 20 and 1043 bytes into a destination of size 1024 sprintf(S, "%s/%s", INDEX_DIR, DEF_TIME_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c: In function 'oldpartition': partition.c:451:20: warning: '%s' directive writing 16 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, PROHIBIT_LIST); ^~ partition.c:451:5: note: 'sprintf' output between 18 and 1041 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, PROHIBIT_LIST); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:472:20: warning: '%s' directive writing 16 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INCLUDE_LIST); ^~ partition.c:472:5: note: 'sprintf' output between 18 and 1041 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, INCLUDE_LIST); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c: In function 'save_data_structures': partition.c:633:17: warning: '%s' directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, ATTRIBUTE_FILE); ^~ partition.c:633:2: note: 'sprintf' output between 21 and 1044 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, ATTRIBUTE_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:641:20: warning: '%s' directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, P_TABLE); ^~ partition.c:641:5: note: 'sprintf' output between 21 and 1044 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, P_TABLE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:730:16: warning: '/.glimpse_split.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_split.%d", INDEX_DIR, getpid()); ^~~~~~~~~~~~~~~~ partition.c:730:2: note: 'sprintf' output between 18 and 1051 bytes into a destination of size 1024 sprintf(s, "%s/.glimpse_split.%d", INDEX_DIR, getpid()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:735:17: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~ partition.c:735:2: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:817:17: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~ partition.c:817:2: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:669:20: warning: '/.glimpse_split.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_split.%d", INDEX_DIR, getpid()); ^~~~~~~~~~~~~~~~ partition.c:669:6: note: 'sprintf' output between 18 and 1051 bytes into a destination of size 1024 sprintf(s, "%s/.glimpse_split.%d", INDEX_DIR, getpid()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:674:21: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~ partition.c:674:6: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:830:20: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, NAME_LIST); ^~ partition.c:830:5: note: 'sprintf' output between 20 and 1043 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, NAME_LIST); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:835:20: warning: '%s' directive writing 24 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, NAME_LIST_INDEX); ^~ partition.c:835:5: note: 'sprintf' output between 26 and 1049 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, NAME_LIST_INDEX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:880:20: warning: '%s' directive writing 17 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, NAME_HASH); ^~ partition.c:880:5: note: 'sprintf' output between 19 and 1042 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, NAME_HASH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:885:20: warning: '%s' directive writing 23 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, NAME_HASH_INDEX); ^~ partition.c:885:5: note: 'sprintf' output between 25 and 1048 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, NAME_HASH_INDEX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c: In function 'merge_splits': partition.c:957:17: warning: '%s' directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, P_TABLE); ^~ partition.c:957:2: note: 'sprintf' output between 21 and 1044 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, P_TABLE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:964:17: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~ partition.c:964:2: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:969:16: warning: '/.glimpse_merge.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_merge.%d", INDEX_DIR, getpid()); ^~~~~~~~~~~~~~~~ partition.c:969:2: note: 'sprintf' output between 18 and 1051 bytes into a destination of size 1024 sprintf(s, "%s/.glimpse_merge.%d", INDEX_DIR, getpid()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:991:18: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, MINI_FILE); ^~ partition.c:991:3: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, MINI_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:1010:18: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~ partition.c:1010:3: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -L../lib -o ../bin/buildcast buildcast.o region.o dir.o io.o build_in.o filetype.o simpletest.o getword.o memlook.o lib.o partition.o -lagrep -lm -ldl gcc -c -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DBUILDCAST=0 glimpse.c glimpse.c:89:8: warning: type defaults to 'int' in declaration of 'set_usemalloc' [-Wimplicit-int] extern set_usemalloc(); /* compress/misc.c */ ^~~~~~~~~~~~~ glimpse.c:98:1: warning: return type defaults to 'int' [-Wimplicit-int] cross_boundary(oldnum, newnum) ^~~~~~~~~~~~~~ glimpse.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int] determine_sync() ^~~~~~~~~~~~~~ glimpse.c:158:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ glimpse.c: In function 'main': glimpse.c:193:5: warning: implicit declaration of function 'build_filename_hashtable' [-Wimplicit-function-declaration] build_filename_hashtable((char *)NULL, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:201:13: warning: implicit declaration of function 'usage'; did you mean 'usleep'? [-Wimplicit-function-declaration] return usage(1); ^~~~~ usleep glimpse.c:536:2: warning: implicit declaration of function 'partition' [-Wimplicit-function-declaration] partition(argc, argv); ^~~~~~~~~ glimpse.c:573:5: warning: implicit declaration of function 'read_filters' [-Wimplicit-function-declaration] read_filters(INDEX_DIR, UseFilters); ^~~~~~~~~~~~ glimpse.c:585:5: warning: implicit declaration of function 'initialize_tuncompress' [-Wimplicit-function-declaration] initialize_tuncompress(string_file, freq_file, 0); ^~~~~~~~~~~~~~~~~~~~~~ glimpse.c:626:5: warning: implicit declaration of function 'set_indexable_char' [-Wimplicit-function-declaration] set_indexable_char(indexable_char); ^~~~~~~~~~~~~~~~~~ glimpse.c:847:19: warning: implicit declaration of function 'get_index_type' [-Wimplicit-function-declaration] if ((indextype = get_index_type(s, &indexnumber, &indextype, &structuredindex, temp_rdelim)) < 0) { ^~~~~~~~~~~~~~ glimpse.c:865:13: warning: implicit declaration of function 'get_array_of_lines' [-Wimplicit-function-declaration] file_num = get_array_of_lines(s, name_list, MaxNum24bPartition, 1); ^~~~~~~~~~~~~~~~~~ glimpse.c:866:2: warning: implicit declaration of function 'initialize_disable_list' [-Wimplicit-function-declaration] initialize_disable_list(file_num); ^~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:867:2: warning: implicit declaration of function 'initialize_data_structures' [-Wimplicit-function-declaration] initialize_data_structures(file_num); ^~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:871:14: warning: implicit declaration of function 'get_table'; did you mean 'setstate'? [-Wimplicit-function-declaration] part_num = get_table(s, p_table, MAX_PARTITION, 1) - 1; /* part_num INCLUDES last partition */ ^~~~~~~~~ setstate glimpse.c:873:7: warning: implicit declaration of function 'merge_splits' [-Wimplicit-function-declaration] else merge_splits(); ^~~~~~~~~~~~ glimpse.c:939:4: warning: implicit declaration of function 'remove_filename' [-Wimplicit-function-declaration] remove_filename(i, -1); ^~~~~~~~~~~~~~~ glimpse.c:969:2: warning: implicit declaration of function 'destroy_data_structures' [-Wimplicit-function-declaration] destroy_data_structures(); ^~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:972:12: warning: implicit declaration of function 'oldpartition'; did you mean 'MaxNumPartition'? [-Wimplicit-function-declaration] if (-1 == oldpartition(argc, argv)) { ^~~~~~~~~~~~ MaxNumPartition glimpse.c:1000:37: warning: implicit declaration of function 'build_index'; did you mean 'block2index'? [-Wimplicit-function-declaration] if (!DeleteFromIndex || FastIndex) build_index(); ^~~~~~~~~~~ block2index glimpse.c:1002:38: warning: implicit declaration of function 'purge_index'; did you mean 'rindex'? [-Wimplicit-function-declaration] else if (PurgeIndex) new_file_num = purge_index(); ^~~~~~~~~~~ rindex glimpse.c:1021:5: warning: implicit declaration of function 'destroy_filename_hashtable' [-Wimplicit-function-declaration] destroy_filename_hashtable(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:1030:5: warning: implicit declaration of function 'cleanup' [-Wimplicit-function-declaration] cleanup(); ^~~~~~~ glimpse.c:1031:5: warning: implicit declaration of function 'save_data_structures' [-Wimplicit-function-declaration] save_data_structures(); ^~~~~~~~~~~~~~~~~~~~ glimpse.c: At top level: glimpse.c:1063:1: warning: return type defaults to 'int' [-Wimplicit-int] cleanup() ^~~~~~~ glimpse.c:1085:1: warning: return type defaults to 'int' [-Wimplicit-int] usage(flag) ^~~~~ glimpse.c: In function 'cleanup': glimpse.c:1067:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, I1); ^~ glimpse.c:1067:5: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, I1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:1069:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, I2); ^~ glimpse.c:1069:5: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, I2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:1071:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, I3); ^~ glimpse.c:1071:5: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, I3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:1073:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, O1); ^~ glimpse.c:1073:5: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, O1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:1075:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, O2); ^~ glimpse.c:1075:5: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, O2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:1077:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, O3); ^~ glimpse.c:1077:5: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, O3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:1079:19: warning: '/.glimpse_apply.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_apply.%d", INDEX_DIR, getpid()); ^~~~~~~~~~~~~~~~ glimpse.c:1079:5: note: 'sprintf' output between 18 and 1051 bytes into a destination of size 1024 sprintf(s, "%s/.glimpse_apply.%d", INDEX_DIR, getpid()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c: In function 'main': glimpse.c:587:20: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, DEF_TIME_FILE); ^~ glimpse.c:587:5: note: 'sprintf' output between 20 and 1043 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, DEF_TIME_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:601:20: warning: '%s' directive writing 17 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, DEF_MESSAGE_FILE); ^~ glimpse.c:601:5: note: 'sprintf' output between 19 and 1042 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, DEF_MESSAGE_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:607:20: warning: '%s' directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, DEF_STAT_FILE); ^~ glimpse.c:607:5: note: 'sprintf' output between 21 and 1044 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, DEF_STAT_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:834:17: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~ glimpse.c:834:2: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:864:17: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, NAME_LIST); ^~ glimpse.c:864:2: note: 'sprintf' output between 20 and 1043 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, NAME_LIST); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:870:18: warning: '%s' directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, P_TABLE); ^~ glimpse.c:870:3: note: 'sprintf' output between 21 and 1044 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, P_TABLE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:1012:20: warning: '%s' directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, P_TABLE); ^~ glimpse.c:1012:5: note: 'sprintf' output between 21 and 1044 bytes into a destination of size 1024 sprintf(s, "%s/%s", INDEX_DIR, P_TABLE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:454:22: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(buffer, "%s/%s", INDEX_DIR, NAME_LIST); ^~ glimpse.c:454:2: note: 'sprintf' output between 20 and 1043 bytes into a destination of size 1024 sprintf(buffer, "%s/%s", INDEX_DIR, NAME_LIST); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:459:22: warning: '%s' directive writing 24 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(buffer, "%s/%s.tmp", INDEX_DIR, NAME_LIST_INDEX); ^~ glimpse.c:459:2: note: 'sprintf' output between 30 and 1053 bytes into a destination of size 1024 sprintf(buffer, "%s/%s.tmp", INDEX_DIR, NAME_LIST_INDEX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:482:22: warning: '%s' directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=] sprintf(buffer, "mv %s/%s.tmp %s/%s", INDEX_DIR, NAME_LIST_INDEX, INDEX_DIR, NAME_LIST_INDEX); ^~ ~~~~~~~~~ glimpse.c:482:2: note: 'sprintf' output between 59 and 2105 bytes into a destination of size 1024 sprintf(buffer, "mv %s/%s.tmp %s/%s", INDEX_DIR, NAME_LIST_INDEX, INDEX_DIR, NAME_LIST_INDEX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -L../lib -o ../bin/glimpseindex glimpse.o region.o dir.o io.o build_in.o filetype.o simpletest.o getword.o memlook.o lib.o partition.o -lagrep -lm -ldl gcc -I../index -I../agrep -I../libtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o convert.o convert.c convert.c:319:1: warning: return type defaults to 'int' [-Wimplicit-int] mem_name2element(pelement, file, len, filehash_buffer, filehash_index_buffer, files_used) ^~~~~~~~~~~~~~~~ convert.c: In function 'change_format': convert.c:581:10: warning: implicit declaration of function 'usage'; did you mean 'usleep'? [-Wimplicit-function-declaration] return usage(); ^~~~~ usleep convert.c:794:22: warning: '%s' directive writing up to 1023 bytes into a region of size 1018 [-Wformat-overflow=] sprintf(s, "mv -f %s %s", outname, realname); ^~ ~~~~~~~ convert.c:794:4: note: 'sprintf' output between 8 and 2054 bytes into a destination of size 1024 sprintf(s, "mv -f %s %s", outname, realname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -L../lib -o ../bin/wgconvert convert.o io.o simpletest.o filetype.o region.o memlook.o getword.o -lagrep -lm -ldl 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 gcc -o htuml2txt lex.yy.o -lfl /usr/bin/ld: cannot find -lfl collect2: error: ld returned 1 exit status make[2]: *** [Makefile:66: htuml2txt] Error 1 make[2]: Leaving directory '/<>/dynfilters' make[1]: *** [Makefile:91: build-sub] Error 2 make[1]: Leaving directory '/<>' make: *** [debian/rules:26: build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2019-04-21T18:18:53Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Profiles: cross nocheck Build Type: any Build-Space: 11892 Build-Time: 24 Distribution: unstable Fail-Stage: build Foreign Architectures: mips64el Host Architecture: mips64el Install-Time: 24 Job: glimpse_4.18.7-3 Machine Architecture: amd64 Package: glimpse Package-Time: 59 Source-Version: 4.18.7-3 Space: 11892 Status: attempted Version: 4.18.7-3 -------------------------------------------------------------------------------- Finished at 2019-04-21T18:18:53Z Build needed 00:00:59, 11892k disk space