https://launchpad.net/ubuntu/+source/glimpse/4.18.7-5/+build/18488732 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux bos02-arm64-032 4.4.0-170-generic #199-Ubuntu SMP Thu Nov 14 01:46:18 UTC 2019 aarch64 Buildd toolchain package versions: launchpad-buildd_183 python-lpbuildd_183 sbuild_0.67.0-2ubuntu7.1 bzr-builder_0.7.3+bzr174~ppa13~ubuntu14.10.1 bzr_2.7.0-2ubuntu3.1 git-build-recipe_0.3.6~git201906051340.ff11471~ubuntu16.04.1 git_1:2.7.4-0ubuntu1.7 dpkg-dev_1.18.4ubuntu1.6 python-debian_0.1.27ubuntu2. Syncing the system clock with the buildd NTP service... 29 Dec 05:37:21 ntpdate[1875]: adjust time server 10.211.37.1 offset 0.101780 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=focal --arch=armhf PACKAGEBUILD-18488732 --image-type chroot /home/buildd/filecache-default/f005b6164729459c78307140747b338a2f357aa2 Creating target for build PACKAGEBUILD-18488732 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=focal --arch=armhf PACKAGEBUILD-18488732 Starting target for build PACKAGEBUILD-18488732 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=focal --arch=armhf PACKAGEBUILD-18488732 'deb http://ftpmaster.internal/ubuntu focal main universe' 'deb http://ftpmaster.internal/ubuntu focal-security main universe' 'deb http://ftpmaster.internal/ubuntu focal-updates main universe' 'deb http://ftpmaster.internal/ubuntu focal-proposed main universe' Overriding sources.list in build-PACKAGEBUILD-18488732 RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=focal --arch=armhf PACKAGEBUILD-18488732 Updating target for build PACKAGEBUILD-18488732 Get:1 http://ftpmaster.internal/ubuntu focal InRelease [255 kB] Get:2 http://ftpmaster.internal/ubuntu focal-security InRelease [79.7 kB] Get:3 http://ftpmaster.internal/ubuntu focal-updates InRelease [79.7 kB] Get:4 http://ftpmaster.internal/ubuntu focal-proposed InRelease [107 kB] Get:5 http://ftpmaster.internal/ubuntu focal/main armhf Packages [931 kB] Get:6 http://ftpmaster.internal/ubuntu focal/main Translation-en [499 kB] Get:7 http://ftpmaster.internal/ubuntu focal/universe armhf Packages [8421 kB] Get:8 http://ftpmaster.internal/ubuntu focal/universe Translation-en [5198 kB] Get:9 http://ftpmaster.internal/ubuntu focal-proposed/main armhf Packages [73.1 kB] Get:10 http://ftpmaster.internal/ubuntu focal-proposed/main Translation-en [44.9 kB] Get:11 http://ftpmaster.internal/ubuntu focal-proposed/universe armhf Packages [416 kB] Get:12 http://ftpmaster.internal/ubuntu focal-proposed/universe Translation-en [279 kB] Fetched 16.4 MB in 6s (2736 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages were automatically installed and are no longer required: libhogweed4 libisl21 libnettle6 libperl5.28 perl-modules-5.28 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libhogweed5 libisl22 libnettle7 libperl5.30 perl-modules-5.30 The following packages will be upgraded: apt base-files base-passwd bash binutils binutils-arm-linux-gnueabihf binutils-common bsdutils bzip2 cpp-9 debianutils fdisk g++-9 gcc-9 gcc-9-base gpg gpg-agent gpgconf gpgv gzip hostname libacl1 libapparmor1 libapt-pkg5.90 libasan5 libatomic1 libattr1 libaudit-common libaudit1 libbinutils libblkid1 libbz2-1.0 libc-bin libc-dev-bin libc6 libc6-dev libcap-ng0 libcap2 libcc1-0 libcryptsetup12 libdebconfclient0 libdevmapper1.02.1 libfdisk1 libgcc-9-dev libgcc1 libgcrypt20 libgnutls30 libgomp1 libjson-c4 libkmod2 liblockfile-bin liblockfile1 liblz4-1 libmount1 libncurses6 libncursesw6 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcre2-8-0 libseccomp2 libselinux1 libsemanage-common libsemanage1 libsepol1 libsmartcols1 libsqlite3-0 libstdc++-9-dev libstdc++6 libsystemd0 libtasn1-6 libtinfo6 libubsan1 libudev1 libuuid1 libzstd1 linux-libc-dev lsb-base mount ncurses-base ncurses-bin perl perl-base sensible-utils systemd systemd-sysv sysvinit-utils util-linux 90 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 57.7 MB of archives. After this operation, 41.0 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu focal/main armhf libc6-dev armhf 2.30-0ubuntu3 [1943 kB] Get:2 http://ftpmaster.internal/ubuntu focal/main armhf libc-dev-bin armhf 2.30-0ubuntu3 [63.6 kB] Get:3 http://ftpmaster.internal/ubuntu focal-proposed/main armhf linux-libc-dev armhf 5.4.0-9.12 [1064 kB] Get:4 http://ftpmaster.internal/ubuntu focal/main armhf libisl22 armhf 0.22-2 [460 kB] Get:5 http://ftpmaster.internal/ubuntu focal-proposed/main armhf libcc1-0 armhf 9.2.1-22ubuntu1 [41.8 kB] Get:6 http://ftpmaster.internal/ubuntu focal/main armhf binutils-arm-linux-gnueabihf armhf 2.33.1-6ubuntu3 [2102 kB] Get:7 http://ftpmaster.internal/ubuntu focal/main armhf libbinutils armhf 2.33.1-6ubuntu3 [315 kB] Get:8 http://ftpmaster.internal/ubuntu focal/main armhf binutils-common armhf 2.33.1-6ubuntu3 [203 kB] Get:9 http://ftpmaster.internal/ubuntu focal/main armhf binutils armhf 2.33.1-6ubuntu3 [3352 B] Get:10 http://ftpmaster.internal/ubuntu focal-proposed/main armhf gcc-9-base armhf 9.2.1-22ubuntu1 [19.1 kB] Get:11 http://ftpmaster.internal/ubuntu focal-proposed/main armhf libgcc1 armhf 1:9.2.1-22ubuntu1 [37.4 kB] Get:12 http://ftpmaster.internal/ubuntu focal-proposed/main armhf libgomp1 armhf 9.2.1-22ubuntu1 [77.4 kB] Get:13 http://ftpmaster.internal/ubuntu focal-proposed/main armhf libatomic1 armhf 9.2.1-22ubuntu1 [7088 B] Get:14 http://ftpmaster.internal/ubuntu focal-proposed/main armhf libasan5 armhf 9.2.1-22ubuntu1 [387 kB] Get:15 http://ftpmaster.internal/ubuntu focal-proposed/main armhf libubsan1 armhf 9.2.1-22ubuntu1 [118 kB] Get:16 http://ftpmaster.internal/ubuntu focal-proposed/main armhf g++-9 armhf 9.2.1-22ubuntu1 [8537 kB] Get:17 http://ftpmaster.internal/ubuntu focal-proposed/main armhf libstdc++-9-dev armhf 9.2.1-22ubuntu1 [1777 kB] Get:18 http://ftpmaster.internal/ubuntu focal-proposed/main armhf libgcc-9-dev armhf 9.2.1-22ubuntu1 [686 kB] Get:19 http://ftpmaster.internal/ubuntu focal-proposed/main armhf gcc-9 armhf 9.2.1-22ubuntu1 [8072 kB] Get:20 http://ftpmaster.internal/ubuntu focal-proposed/main armhf cpp-9 armhf 9.2.1-22ubuntu1 [7473 kB] Get:21 http://ftpmaster.internal/ubuntu focal-proposed/main armhf libstdc++6 armhf 9.2.1-22ubuntu1 [451 kB] Get:22 http://ftpmaster.internal/ubuntu focal/main armhf libc6 armhf 2.30-0ubuntu3 [2144 kB] Get:23 http://ftpmaster.internal/ubuntu focal/main armhf base-files armhf 11ubuntu2 [59.8 kB] Get:24 http://ftpmaster.internal/ubuntu focal/main armhf debianutils armhf 4.9.1 [84.6 kB] Get:25 http://ftpmaster.internal/ubuntu focal/main armhf bash armhf 5.0-5ubuntu1 [576 kB] Get:26 http://ftpmaster.internal/ubuntu focal/main armhf bsdutils armhf 1:2.34-0.1ubuntu4 [58.4 kB] Get:27 http://ftpmaster.internal/ubuntu focal/main armhf gzip armhf 1.10-0ubuntu4 [91.1 kB] Get:28 http://ftpmaster.internal/ubuntu focal/main armhf hostname armhf 3.23 [10.4 kB] Get:29 http://ftpmaster.internal/ubuntu focal/main armhf ncurses-bin armhf 6.1+20191019-1ubuntu1 [163 kB] Get:30 http://ftpmaster.internal/ubuntu focal/main armhf perl-modules-5.30 all 5.30.0-9 [2739 kB] Get:31 http://ftpmaster.internal/ubuntu focal/main armhf libperl5.30 armhf 5.30.0-9 [3286 kB] Get:32 http://ftpmaster.internal/ubuntu focal/main armhf perl armhf 5.30.0-9 [224 kB] Get:33 http://ftpmaster.internal/ubuntu focal/main armhf perl-base armhf 5.30.0-9 [1408 kB] Get:34 http://ftpmaster.internal/ubuntu focal/main armhf bzip2 armhf 1.0.8-2 [32.4 kB] Get:35 http://ftpmaster.internal/ubuntu focal/main armhf libbz2-1.0 armhf 1.0.8-2 [31.0 kB] Get:36 http://ftpmaster.internal/ubuntu focal/main armhf libblkid1 armhf 2.34-0.1ubuntu4 [124 kB] Get:37 http://ftpmaster.internal/ubuntu focal/main armhf libuuid1 armhf 2.34-0.1ubuntu4 [19.8 kB] Get:38 http://ftpmaster.internal/ubuntu focal/main armhf libfdisk1 armhf 2.34-0.1ubuntu4 [163 kB] Get:39 http://ftpmaster.internal/ubuntu focal/main armhf libpcre2-8-0 armhf 10.34-7 [172 kB] Get:40 http://ftpmaster.internal/ubuntu focal/main armhf libselinux1 armhf 3.0-1 [60.1 kB] Get:41 http://ftpmaster.internal/ubuntu focal/main armhf libmount1 armhf 2.34-0.1ubuntu4 [135 kB] Get:42 http://ftpmaster.internal/ubuntu focal/main armhf libncurses6 armhf 6.1+20191019-1ubuntu1 [79.7 kB] Get:43 http://ftpmaster.internal/ubuntu focal/main armhf libtinfo6 armhf 6.1+20191019-1ubuntu1 [72.8 kB] Get:44 http://ftpmaster.internal/ubuntu focal/main armhf libncursesw6 armhf 6.1+20191019-1ubuntu1 [106 kB] Get:45 http://ftpmaster.internal/ubuntu focal/main armhf libsmartcols1 armhf 2.34-0.1ubuntu4 [89.1 kB] Get:46 http://ftpmaster.internal/ubuntu focal/main armhf fdisk armhf 2.34-0.1ubuntu4 [109 kB] Get:47 http://ftpmaster.internal/ubuntu focal/main armhf util-linux armhf 2.34-0.1ubuntu4 [959 kB] Get:48 http://ftpmaster.internal/ubuntu focal-proposed/main armhf libdebconfclient0 armhf 0.250ubuntu2 [5776 B] Get:49 http://ftpmaster.internal/ubuntu focal/main armhf base-passwd armhf 3.5.47 [46.4 kB] Get:50 http://ftpmaster.internal/ubuntu focal/main armhf libc-bin armhf 2.30-0ubuntu3 [496 kB] Get:51 http://ftpmaster.internal/ubuntu focal/main armhf ncurses-base all 6.1+20191019-1ubuntu1 [17.9 kB] Get:52 http://ftpmaster.internal/ubuntu focal-proposed/main armhf lsb-base all 11.1.0ubuntu2 [12.1 kB] Get:53 http://ftpmaster.internal/ubuntu focal/main armhf sysvinit-utils armhf 2.96-1ubuntu1 [19.2 kB] Get:54 http://ftpmaster.internal/ubuntu focal/main armhf liblz4-1 armhf 1.9.2-2 [51.7 kB] Get:55 http://ftpmaster.internal/ubuntu focal/main armhf systemd-sysv armhf 244-3ubuntu1 [9364 B] Get:56 http://ftpmaster.internal/ubuntu focal/main armhf libacl1 armhf 2.2.53-5ubuntu1 [15.8 kB] Get:57 http://ftpmaster.internal/ubuntu focal/main armhf libapparmor1 armhf 2.13.3-7ubuntu1 [29.4 kB] Get:58 http://ftpmaster.internal/ubuntu focal/main armhf libaudit-common all 1:2.8.5-2ubuntu5 [4076 B] Get:59 http://ftpmaster.internal/ubuntu focal/main armhf libcap-ng0 armhf 0.7.9-2.1 [9692 B] Get:60 http://ftpmaster.internal/ubuntu focal/main armhf libaudit1 armhf 1:2.8.5-2ubuntu5 [35.9 kB] Get:61 http://ftpmaster.internal/ubuntu focal/main armhf libcap2 armhf 1:2.27-1 [12.7 kB] Get:62 http://ftpmaster.internal/ubuntu focal/main armhf libudev1 armhf 244-3ubuntu1 [68.8 kB] Get:63 http://ftpmaster.internal/ubuntu focal/main armhf libdevmapper1.02.1 armhf 2:1.02.155-2ubuntu7 [118 kB] Get:64 http://ftpmaster.internal/ubuntu focal/main armhf libjson-c4 armhf 0.13.1+dfsg-6 [25.6 kB] Get:65 http://ftpmaster.internal/ubuntu focal/main armhf libcryptsetup12 armhf 2:2.2.2-1ubuntu1 [163 kB] Get:66 http://ftpmaster.internal/ubuntu focal/main armhf libnettle7 armhf 3.5.1+really3.5.1-2 [126 kB] Get:67 http://ftpmaster.internal/ubuntu focal/main armhf libhogweed5 armhf 3.5.1+really3.5.1-2 [127 kB] Get:68 http://ftpmaster.internal/ubuntu focal/main armhf libp11-kit0 armhf 0.23.18.1-2 [166 kB] Get:69 http://ftpmaster.internal/ubuntu focal/main armhf libtasn1-6 armhf 4.15.0-2 [33.0 kB] Get:70 http://ftpmaster.internal/ubuntu focal/main armhf libgnutls30 armhf 3.6.11.1-2 [732 kB] Get:71 http://ftpmaster.internal/ubuntu focal/main armhf libkmod2 armhf 26-3ubuntu1 [37.0 kB] Get:72 http://ftpmaster.internal/ubuntu focal/main armhf libpam0g armhf 1.3.1-5ubuntu4 [49.6 kB] Get:73 http://ftpmaster.internal/ubuntu focal-proposed/main armhf libseccomp2 armhf 2.4.2-2ubuntu2 [32.5 kB] Get:74 http://ftpmaster.internal/ubuntu focal/main armhf mount armhf 2.34-0.1ubuntu4 [108 kB] Get:75 http://ftpmaster.internal/ubuntu focal/main armhf systemd armhf 244-3ubuntu1 [3526 kB] Get:76 http://ftpmaster.internal/ubuntu focal/main armhf libsystemd0 armhf 244-3ubuntu1 [239 kB] Get:77 http://ftpmaster.internal/ubuntu focal/main armhf libzstd1 armhf 1.4.4+dfsg-1 [207 kB] Get:78 http://ftpmaster.internal/ubuntu focal/main armhf libapt-pkg5.90 armhf 1.9.5 [772 kB] Get:79 http://ftpmaster.internal/ubuntu focal/main armhf libgcrypt20 armhf 1.8.5-3ubuntu1 [364 kB] Get:80 http://ftpmaster.internal/ubuntu focal/main armhf gpgv armhf 2.2.17-3ubuntu1 [170 kB] Get:81 http://ftpmaster.internal/ubuntu focal/main armhf apt armhf 1.9.5 [1237 kB] Get:82 http://ftpmaster.internal/ubuntu focal/main armhf libpam-modules-bin armhf 1.3.1-5ubuntu4 [33.8 kB] Get:83 http://ftpmaster.internal/ubuntu focal/main armhf libpam-modules armhf 1.3.1-5ubuntu4 [232 kB] Get:84 http://ftpmaster.internal/ubuntu focal/main armhf libattr1 armhf 1:2.4.48-5 [11.5 kB] Get:85 http://ftpmaster.internal/ubuntu focal/main armhf libpam-runtime all 1.3.1-5ubuntu4 [37.3 kB] Get:86 http://ftpmaster.internal/ubuntu focal/main armhf libsepol1 armhf 3.0-1 [220 kB] Get:87 http://ftpmaster.internal/ubuntu focal-proposed/main armhf libsemanage-common all 3.0-1 [9880 B] Get:88 http://ftpmaster.internal/ubuntu focal-proposed/main armhf libsemanage1 armhf 3.0-1 [73.9 kB] Get:89 http://ftpmaster.internal/ubuntu focal/main armhf sensible-utils all 0.0.12+nmu1 [15.0 kB] Get:90 http://ftpmaster.internal/ubuntu focal/main armhf libsqlite3-0 armhf 3.30.1-1ubuntu1 [460 kB] Get:91 http://ftpmaster.internal/ubuntu focal/main armhf gpg armhf 2.2.17-3ubuntu1 [421 kB] Get:92 http://ftpmaster.internal/ubuntu focal/main armhf gpgconf armhf 2.2.17-3ubuntu1 [107 kB] Get:93 http://ftpmaster.internal/ubuntu focal/main armhf gpg-agent armhf 2.2.17-3ubuntu1 [195 kB] Get:94 http://ftpmaster.internal/ubuntu focal/main armhf liblockfile-bin armhf 1.16-1.1 [10.5 kB] Get:95 http://ftpmaster.internal/ubuntu focal/main armhf liblockfile1 armhf 1.16-1.1 [5620 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 57.7 MB in 2s (28.5 MB/s) (Reading database ... 12487 files and directories currently installed.) Preparing to unpack .../0-libc6-dev_2.30-0ubuntu3_armhf.deb ... Unpacking libc6-dev:armhf (2.30-0ubuntu3) over (2.30-0ubuntu2) ... Preparing to unpack .../1-libc-dev-bin_2.30-0ubuntu3_armhf.deb ... Unpacking libc-dev-bin (2.30-0ubuntu3) over (2.30-0ubuntu2) ... Preparing to unpack .../2-linux-libc-dev_5.4.0-9.12_armhf.deb ... Unpacking linux-libc-dev:armhf (5.4.0-9.12) over (5.3.0-18.19) ... Selecting previously unselected package libisl22:armhf. Preparing to unpack .../3-libisl22_0.22-2_armhf.deb ... Unpacking libisl22:armhf (0.22-2) ... Preparing to unpack .../4-libcc1-0_9.2.1-22ubuntu1_armhf.deb ... Unpacking libcc1-0:armhf (9.2.1-22ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../5-binutils-arm-linux-gnueabihf_2.33.1-6ubuntu3_armhf.deb ... Unpacking binutils-arm-linux-gnueabihf (2.33.1-6ubuntu3) over (2.33-2ubuntu1) ... Preparing to unpack .../6-libbinutils_2.33.1-6ubuntu3_armhf.deb ... Unpacking libbinutils:armhf (2.33.1-6ubuntu3) over (2.33-2ubuntu1) ... Preparing to unpack .../7-binutils-common_2.33.1-6ubuntu3_armhf.deb ... Unpacking binutils-common:armhf (2.33.1-6ubuntu3) over (2.33-2ubuntu1) ... Preparing to unpack .../8-binutils_2.33.1-6ubuntu3_armhf.deb ... Unpacking binutils (2.33.1-6ubuntu3) over (2.33-2ubuntu1) ... Preparing to unpack .../9-gcc-9-base_9.2.1-22ubuntu1_armhf.deb ... Unpacking gcc-9-base:armhf (9.2.1-22ubuntu1) over (9.2.1-9ubuntu2) ... Setting up gcc-9-base:armhf (9.2.1-22ubuntu1) ... (Reading database ... 12498 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a9.2.1-22ubuntu1_armhf.deb ... Unpacking libgcc1:armhf (1:9.2.1-22ubuntu1) over (1:9.2.1-9ubuntu2) ... Setting up libgcc1:armhf (1:9.2.1-22ubuntu1) ... (Reading database ... 12498 files and directories currently installed.) Preparing to unpack .../0-libgomp1_9.2.1-22ubuntu1_armhf.deb ... Unpacking libgomp1:armhf (9.2.1-22ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../1-libatomic1_9.2.1-22ubuntu1_armhf.deb ... Unpacking libatomic1:armhf (9.2.1-22ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../2-libasan5_9.2.1-22ubuntu1_armhf.deb ... Unpacking libasan5:armhf (9.2.1-22ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../3-libubsan1_9.2.1-22ubuntu1_armhf.deb ... Unpacking libubsan1:armhf (9.2.1-22ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../4-g++-9_9.2.1-22ubuntu1_armhf.deb ... Unpacking g++-9 (9.2.1-22ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../5-libstdc++-9-dev_9.2.1-22ubuntu1_armhf.deb ... Unpacking libstdc++-9-dev:armhf (9.2.1-22ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../6-libgcc-9-dev_9.2.1-22ubuntu1_armhf.deb ... Unpacking libgcc-9-dev:armhf (9.2.1-22ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../7-gcc-9_9.2.1-22ubuntu1_armhf.deb ... Unpacking gcc-9 (9.2.1-22ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../8-cpp-9_9.2.1-22ubuntu1_armhf.deb ... Unpacking cpp-9 (9.2.1-22ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../9-libstdc++6_9.2.1-22ubuntu1_armhf.deb ... Unpacking libstdc++6:armhf (9.2.1-22ubuntu1) over (9.2.1-9ubuntu2) ... Setting up libstdc++6:armhf (9.2.1-22ubuntu1) ... (Reading database ... 12498 files and directories currently installed.) Preparing to unpack .../libc6_2.30-0ubuntu3_armhf.deb ... Unpacking libc6:armhf (2.30-0ubuntu3) over (2.30-0ubuntu2) ... Setting up libc6:armhf (2.30-0ubuntu3) ... (Reading database ... 12498 files and directories currently installed.) Preparing to unpack .../base-files_11ubuntu2_armhf.deb ... Unpacking base-files (11ubuntu2) over (10.2ubuntu7) ... Setting up base-files (11ubuntu2) ... Installing new version of config file /etc/debian_version ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... Installing new version of config file /etc/update-motd.d/50-motd-news ... Updating /root/.profile to current default. (Reading database ... 12498 files and directories currently installed.) Preparing to unpack .../debianutils_4.9.1_armhf.deb ... Unpacking debianutils (4.9.1) over (4.8.6.3) ... Setting up debianutils (4.9.1) ... (Reading database ... 12498 files and directories currently installed.) Preparing to unpack .../bash_5.0-5ubuntu1_armhf.deb ... Unpacking bash (5.0-5ubuntu1) over (5.0-4ubuntu1) ... Setting up bash (5.0-5ubuntu1) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... 12498 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.34-0.1ubuntu4_armhf.deb ... Unpacking bsdutils (1:2.34-0.1ubuntu4) over (1:2.34-0.1ubuntu2) ... Setting up bsdutils (1:2.34-0.1ubuntu4) ... (Reading database ... 12498 files and directories currently installed.) Preparing to unpack .../gzip_1.10-0ubuntu4_armhf.deb ... Unpacking gzip (1.10-0ubuntu4) over (1.10-0ubuntu3) ... Setting up gzip (1.10-0ubuntu4) ... (Reading database ... 12498 files and directories currently installed.) Preparing to unpack .../hostname_3.23_armhf.deb ... Unpacking hostname (3.23) over (3.22) ... Setting up hostname (3.23) ... (Reading database ... 12498 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.1+20191019-1ubuntu1_armhf.deb ... Unpacking ncurses-bin (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up ncurses-bin (6.1+20191019-1ubuntu1) ... (Reading database ... 12498 files and directories currently installed.) Preparing to unpack .../perl_5.30.0-9_armhf.deb ... Unpacking perl (5.30.0-9) over (5.28.1-6build1) ... Replacing files in old package perl-base (5.28.1-6build1) ... Selecting previously unselected package perl-modules-5.30. Preparing to unpack .../perl-modules-5.30_5.30.0-9_all.deb ... Unpacking perl-modules-5.30 (5.30.0-9) ... Selecting previously unselected package libperl5.30:armhf. Preparing to unpack .../libperl5.30_5.30.0-9_armhf.deb ... Unpacking libperl5.30:armhf (5.30.0-9) ... Preparing to unpack .../perl-base_5.30.0-9_armhf.deb ... Unpacking perl-base (5.30.0-9) over (5.28.1-6build1) ... Setting up perl-base (5.30.0-9) ... (Reading database ... 14399 files and directories currently installed.) Preparing to unpack .../bzip2_1.0.8-2_armhf.deb ... Unpacking bzip2 (1.0.8-2) over (1.0.6-9.2) ... Preparing to unpack .../libbz2-1.0_1.0.8-2_armhf.deb ... Unpacking libbz2-1.0:armhf (1.0.8-2) over (1.0.6-9.2) ... Setting up libbz2-1.0:armhf (1.0.8-2) ... (Reading database ... 14399 files and directories currently installed.) Preparing to unpack .../libblkid1_2.34-0.1ubuntu4_armhf.deb ... Unpacking libblkid1:armhf (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up libblkid1:armhf (2.34-0.1ubuntu4) ... (Reading database ... 14399 files and directories currently installed.) Preparing to unpack .../libuuid1_2.34-0.1ubuntu4_armhf.deb ... Unpacking libuuid1:armhf (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up libuuid1:armhf (2.34-0.1ubuntu4) ... (Reading database ... 14399 files and directories currently installed.) Preparing to unpack .../libfdisk1_2.34-0.1ubuntu4_armhf.deb ... Unpacking libfdisk1:armhf (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up libfdisk1:armhf (2.34-0.1ubuntu4) ... (Reading database ... 14399 files and directories currently installed.) Preparing to unpack .../libpcre2-8-0_10.34-7_armhf.deb ... Unpacking libpcre2-8-0:armhf (10.34-7) over (10.32-5) ... Setting up libpcre2-8-0:armhf (10.34-7) ... (Reading database ... 14399 files and directories currently installed.) Preparing to unpack .../libselinux1_3.0-1_armhf.deb ... Unpacking libselinux1:armhf (3.0-1) over (2.9-2) ... Setting up libselinux1:armhf (3.0-1) ... (Reading database ... 14399 files and directories currently installed.) Preparing to unpack .../libmount1_2.34-0.1ubuntu4_armhf.deb ... Unpacking libmount1:armhf (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up libmount1:armhf (2.34-0.1ubuntu4) ... (Reading database ... 14399 files and directories currently installed.) Preparing to unpack .../libncurses6_6.1+20191019-1ubuntu1_armhf.deb ... Unpacking libncurses6:armhf (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Preparing to unpack .../libtinfo6_6.1+20191019-1ubuntu1_armhf.deb ... Unpacking libtinfo6:armhf (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up libtinfo6:armhf (6.1+20191019-1ubuntu1) ... (Reading database ... 14399 files and directories currently installed.) Preparing to unpack .../libncursesw6_6.1+20191019-1ubuntu1_armhf.deb ... Unpacking libncursesw6:armhf (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up libncursesw6:armhf (6.1+20191019-1ubuntu1) ... (Reading database ... 14399 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.34-0.1ubuntu4_armhf.deb ... Unpacking libsmartcols1:armhf (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up libsmartcols1:armhf (2.34-0.1ubuntu4) ... (Reading database ... 14399 files and directories currently installed.) Preparing to unpack .../fdisk_2.34-0.1ubuntu4_armhf.deb ... Unpacking fdisk (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up fdisk (2.34-0.1ubuntu4) ... (Reading database ... 14399 files and directories currently installed.) Preparing to unpack .../util-linux_2.34-0.1ubuntu4_armhf.deb ... Unpacking util-linux (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up util-linux (2.34-0.1ubuntu4) ... (Reading database ... 14399 files and directories currently installed.) Preparing to unpack .../libdebconfclient0_0.250ubuntu2_armhf.deb ... Unpacking libdebconfclient0:armhf (0.250ubuntu2) over (0.249ubuntu1) ... Setting up libdebconfclient0:armhf (0.250ubuntu2) ... (Reading database ... 14399 files and directories currently installed.) Preparing to unpack .../base-passwd_3.5.47_armhf.deb ... Unpacking base-passwd (3.5.47) over (3.5.46) ... Setting up base-passwd (3.5.47) ... (Reading database ... 14399 files and directories currently installed.) Preparing to unpack .../libc-bin_2.30-0ubuntu3_armhf.deb ... Unpacking libc-bin (2.30-0ubuntu3) over (2.30-0ubuntu2) ... Setting up libc-bin (2.30-0ubuntu3) ... (Reading database ... 14399 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.1+20191019-1ubuntu1_all.deb ... Unpacking ncurses-base (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up ncurses-base (6.1+20191019-1ubuntu1) ... (Reading database ... 14399 files and directories currently installed.) Preparing to unpack .../lsb-base_11.1.0ubuntu2_all.deb ... Unpacking lsb-base (11.1.0ubuntu2) over (11.0.1ubuntu1) ... Setting up lsb-base (11.1.0ubuntu2) ... (Reading database ... 14398 files and directories currently installed.) Preparing to unpack .../sysvinit-utils_2.96-1ubuntu1_armhf.deb ... Unpacking sysvinit-utils (2.96-1ubuntu1) over (2.95-5ubuntu2) ... Setting up sysvinit-utils (2.96-1ubuntu1) ... (Reading database ... 14398 files and directories currently installed.) Preparing to unpack .../liblz4-1_1.9.2-2_armhf.deb ... Unpacking liblz4-1:armhf (1.9.2-2) over (1.9.1-1) ... Setting up liblz4-1:armhf (1.9.2-2) ... (Reading database ... 14398 files and directories currently installed.) Preparing to unpack .../systemd-sysv_244-3ubuntu1_armhf.deb ... Unpacking systemd-sysv (244-3ubuntu1) over (242-7ubuntu3) ... Preparing to unpack .../libacl1_2.2.53-5ubuntu1_armhf.deb ... Unpacking libacl1:armhf (2.2.53-5ubuntu1) over (2.2.53-4) ... Setting up libacl1:armhf (2.2.53-5ubuntu1) ... (Reading database ... 14398 files and directories currently installed.) Preparing to unpack .../libapparmor1_2.13.3-7ubuntu1_armhf.deb ... Unpacking libapparmor1:armhf (2.13.3-7ubuntu1) over (2.13.3-5ubuntu1) ... Preparing to unpack .../libaudit-common_1%3a2.8.5-2ubuntu5_all.deb ... Unpacking libaudit-common (1:2.8.5-2ubuntu5) over (1:2.8.5-2ubuntu1) ... Setting up libaudit-common (1:2.8.5-2ubuntu5) ... (Reading database ... 14398 files and directories currently installed.) Preparing to unpack .../libcap-ng0_0.7.9-2.1_armhf.deb ... Unpacking libcap-ng0:armhf (0.7.9-2.1) over (0.7.9-2) ... Setting up libcap-ng0:armhf (0.7.9-2.1) ... (Reading database ... 14398 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a2.8.5-2ubuntu5_armhf.deb ... Unpacking libaudit1:armhf (1:2.8.5-2ubuntu5) over (1:2.8.5-2ubuntu1) ... Setting up libaudit1:armhf (1:2.8.5-2ubuntu5) ... (Reading database ... 14398 files and directories currently installed.) Preparing to unpack .../libcap2_1%3a2.27-1_armhf.deb ... Unpacking libcap2:armhf (1:2.27-1) over (1:2.25-2) ... Preparing to unpack .../libudev1_244-3ubuntu1_armhf.deb ... Unpacking libudev1:armhf (244-3ubuntu1) over (242-7ubuntu3) ... Setting up libudev1:armhf (244-3ubuntu1) ... (Reading database ... 14398 files and directories currently installed.) Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.155-2ubuntu7_armhf.deb ... Unpacking libdevmapper1.02.1:armhf (2:1.02.155-2ubuntu7) over (2:1.02.155-2ubuntu6) ... Preparing to unpack .../libjson-c4_0.13.1+dfsg-6_armhf.deb ... Unpacking libjson-c4:armhf (0.13.1+dfsg-6) over (0.13.1+dfsg-4) ... Preparing to unpack .../libcryptsetup12_2%3a2.2.2-1ubuntu1_armhf.deb ... Unpacking libcryptsetup12:armhf (2:2.2.2-1ubuntu1) over (2:2.2.0-3ubuntu1) ... Selecting previously unselected package libnettle7:armhf. Preparing to unpack .../libnettle7_3.5.1+really3.5.1-2_armhf.deb ... Unpacking libnettle7:armhf (3.5.1+really3.5.1-2) ... Setting up libnettle7:armhf (3.5.1+really3.5.1-2) ... Selecting previously unselected package libhogweed5:armhf. (Reading database ... 14405 files and directories currently installed.) Preparing to unpack .../libhogweed5_3.5.1+really3.5.1-2_armhf.deb ... Unpacking libhogweed5:armhf (3.5.1+really3.5.1-2) ... Setting up libhogweed5:armhf (3.5.1+really3.5.1-2) ... (Reading database ... 14408 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.23.18.1-2_armhf.deb ... Unpacking libp11-kit0:armhf (0.23.18.1-2) over (0.23.17-2) ... Setting up libp11-kit0:armhf (0.23.18.1-2) ... (Reading database ... 14408 files and directories currently installed.) Preparing to unpack .../libtasn1-6_4.15.0-2_armhf.deb ... Unpacking libtasn1-6:armhf (4.15.0-2) over (4.14-3) ... Setting up libtasn1-6:armhf (4.15.0-2) ... (Reading database ... 14408 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.6.11.1-2_armhf.deb ... Unpacking libgnutls30:armhf (3.6.11.1-2) over (3.6.9-5ubuntu1) ... Setting up libgnutls30:armhf (3.6.11.1-2) ... (Reading database ... 14407 files and directories currently installed.) Preparing to unpack .../libkmod2_26-3ubuntu1_armhf.deb ... Unpacking libkmod2:armhf (26-3ubuntu1) over (26-1ubuntu1) ... Preparing to unpack .../libpam0g_1.3.1-5ubuntu4_armhf.deb ... Unpacking libpam0g:armhf (1.3.1-5ubuntu4) over (1.3.1-5ubuntu1) ... Setting up libpam0g:armhf (1.3.1-5ubuntu4) ... (Reading database ... 14407 files and directories currently installed.) Preparing to unpack .../libseccomp2_2.4.2-2ubuntu2_armhf.deb ... Unpacking libseccomp2:armhf (2.4.2-2ubuntu2) over (2.4.1-0ubuntu0.19.10.3) ... Setting up libseccomp2:armhf (2.4.2-2ubuntu2) ... (Reading database ... 14407 files and directories currently installed.) Preparing to unpack .../mount_2.34-0.1ubuntu4_armhf.deb ... Unpacking mount (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Preparing to unpack .../systemd_244-3ubuntu1_armhf.deb ... Unpacking systemd (244-3ubuntu1) over (242-7ubuntu3) ... Preparing to unpack .../libsystemd0_244-3ubuntu1_armhf.deb ... Unpacking libsystemd0:armhf (244-3ubuntu1) over (242-7ubuntu3) ... Setting up libsystemd0:armhf (244-3ubuntu1) ... (Reading database ... 14400 files and directories currently installed.) Preparing to unpack .../libzstd1_1.4.4+dfsg-1_armhf.deb ... Unpacking libzstd1:armhf (1.4.4+dfsg-1) over (1.4.3+dfsg-1) ... Setting up libzstd1:armhf (1.4.4+dfsg-1) ... (Reading database ... 14400 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.90_1.9.5_armhf.deb ... Unpacking libapt-pkg5.90:armhf (1.9.5) over (1.9.4) ... Setting up libapt-pkg5.90:armhf (1.9.5) ... (Reading database ... 14400 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.8.5-3ubuntu1_armhf.deb ... Unpacking libgcrypt20:armhf (1.8.5-3ubuntu1) over (1.8.4-5ubuntu2) ... Setting up libgcrypt20:armhf (1.8.5-3ubuntu1) ... (Reading database ... 14400 files and directories currently installed.) Preparing to unpack .../gpgv_2.2.17-3ubuntu1_armhf.deb ... Unpacking gpgv (2.2.17-3ubuntu1) over (2.2.12-1ubuntu3) ... Setting up gpgv (2.2.17-3ubuntu1) ... (Reading database ... 14400 files and directories currently installed.) Preparing to unpack .../archives/apt_1.9.5_armhf.deb ... Unpacking apt (1.9.5) over (1.9.4) ... Setting up apt (1.9.5) ... (Reading database ... 14400 files and directories currently installed.) Preparing to unpack .../libpam-modules-bin_1.3.1-5ubuntu4_armhf.deb ... Unpacking libpam-modules-bin (1.3.1-5ubuntu4) over (1.3.1-5ubuntu1) ... Setting up libpam-modules-bin (1.3.1-5ubuntu4) ... (Reading database ... 14400 files and directories currently installed.) Preparing to unpack .../libpam-modules_1.3.1-5ubuntu4_armhf.deb ... Unpacking libpam-modules:armhf (1.3.1-5ubuntu4) over (1.3.1-5ubuntu1) ... Setting up libpam-modules:armhf (1.3.1-5ubuntu4) ... (Reading database ... 14400 files and directories currently installed.) Preparing to unpack .../libattr1_1%3a2.4.48-5_armhf.deb ... Unpacking libattr1:armhf (1:2.4.48-5) over (1:2.4.48-4) ... Setting up libattr1:armhf (1:2.4.48-5) ... (Reading database ... 14400 files and directories currently installed.) Preparing to unpack .../libpam-runtime_1.3.1-5ubuntu4_all.deb ... Unpacking libpam-runtime (1.3.1-5ubuntu4) over (1.3.1-5ubuntu1) ... Setting up libpam-runtime (1.3.1-5ubuntu4) ... (Reading database ... 14400 files and directories currently installed.) Preparing to unpack .../libsepol1_3.0-1_armhf.deb ... Unpacking libsepol1:armhf (3.0-1) over (2.9-2) ... Setting up libsepol1:armhf (3.0-1) ... (Reading database ... 14400 files and directories currently installed.) Preparing to unpack .../libsemanage-common_3.0-1_all.deb ... Unpacking libsemanage-common (3.0-1) over (2.9-3) ... Setting up libsemanage-common (3.0-1) ... (Reading database ... 14400 files and directories currently installed.) Preparing to unpack .../libsemanage1_3.0-1_armhf.deb ... Unpacking libsemanage1:armhf (3.0-1) over (2.9-3) ... Setting up libsemanage1:armhf (3.0-1) ... (Reading database ... 14400 files and directories currently installed.) Preparing to unpack .../0-sensible-utils_0.0.12+nmu1_all.deb ... Unpacking sensible-utils (0.0.12+nmu1) over (0.0.12) ... Preparing to unpack .../1-libsqlite3-0_3.30.1-1ubuntu1_armhf.deb ... Unpacking libsqlite3-0:armhf (3.30.1-1ubuntu1) over (3.29.0-2) ... Preparing to unpack .../2-gpg_2.2.17-3ubuntu1_armhf.deb ... Unpacking gpg (2.2.17-3ubuntu1) over (2.2.12-1ubuntu3) ... Preparing to unpack .../3-gpgconf_2.2.17-3ubuntu1_armhf.deb ... Unpacking gpgconf (2.2.17-3ubuntu1) over (2.2.12-1ubuntu3) ... Preparing to unpack .../4-gpg-agent_2.2.17-3ubuntu1_armhf.deb ... Unpacking gpg-agent (2.2.17-3ubuntu1) over (2.2.12-1ubuntu3) ... Preparing to unpack .../5-liblockfile-bin_1.16-1.1_armhf.deb ... Unpacking liblockfile-bin (1.16-1.1) over (1.15-1) ... Preparing to unpack .../6-liblockfile1_1.16-1.1_armhf.deb ... Unpacking liblockfile1:armhf (1.16-1.1) over (1.15-1) ... Setting up libapparmor1:armhf (2.13.3-7ubuntu1) ... Setting up liblockfile-bin (1.16-1.1) ... Setting up perl-modules-5.30 (5.30.0-9) ... Setting up libsqlite3-0:armhf (3.30.1-1ubuntu1) ... Setting up binutils-common:armhf (2.33.1-6ubuntu3) ... Setting up linux-libc-dev:armhf (5.4.0-9.12) ... Setting up libgomp1:armhf (9.2.1-22ubuntu1) ... Setting up bzip2 (1.0.8-2) ... Setting up libcap2:armhf (1:2.27-1) ... Setting up libasan5:armhf (9.2.1-22ubuntu1) ... Setting up libncurses6:armhf (6.1+20191019-1ubuntu1) ... Setting up libatomic1:armhf (9.2.1-22ubuntu1) ... Setting up libubsan1:armhf (9.2.1-22ubuntu1) ... Setting up libdevmapper1.02.1:armhf (2:1.02.155-2ubuntu7) ... Setting up mount (2.34-0.1ubuntu4) ... Setting up sensible-utils (0.0.12+nmu1) ... Setting up gpgconf (2.2.17-3ubuntu1) ... Setting up libperl5.30:armhf (5.30.0-9) ... Setting up libisl22:armhf (0.22-2) ... Setting up liblockfile1:armhf (1.16-1.1) ... Setting up libjson-c4:armhf (0.13.1+dfsg-6) ... Setting up libbinutils:armhf (2.33.1-6ubuntu3) ... Setting up libc-dev-bin (2.30-0ubuntu3) ... Setting up binutils-arm-linux-gnueabihf (2.33.1-6ubuntu3) ... Setting up libcc1-0:armhf (9.2.1-22ubuntu1) ... Setting up gpg (2.2.17-3ubuntu1) ... Setting up libkmod2:armhf (26-3ubuntu1) ... Setting up gpg-agent (2.2.17-3ubuntu1) ... Installing new version of config file /etc/logcheck/ignore.d.server/gpg-agent ... Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket -> /usr/lib/systemd/user/gpg-agent-browser.socket. Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket -> /usr/lib/systemd/user/gpg-agent-extra.socket. Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket -> /usr/lib/systemd/user/gpg-agent-ssh.socket. Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent.socket -> /usr/lib/systemd/user/gpg-agent.socket. Setting up binutils (2.33.1-6ubuntu3) ... Setting up libgcc-9-dev:armhf (9.2.1-22ubuntu1) ... Setting up perl (5.30.0-9) ... Setting up cpp-9 (9.2.1-22ubuntu1) ... Setting up libc6-dev:armhf (2.30-0ubuntu3) ... Setting up libcryptsetup12:armhf (2:2.2.2-1ubuntu1) ... Setting up gcc-9 (9.2.1-22ubuntu1) ... Setting up libstdc++-9-dev:armhf (9.2.1-22ubuntu1) ... Setting up systemd (244-3ubuntu1) ... Installing new version of config file /etc/dhcp/dhclient-enter-hooks.d/resolved ... Installing new version of config file /etc/systemd/networkd.conf ... Installing new version of config file /etc/systemd/system.conf ... Installing new version of config file /etc/systemd/user.conf ... Initializing machine ID from KVM UUID. Setting up g++-9 (9.2.1-22ubuntu1) ... Setting up systemd-sysv (244-3ubuntu1) ... Processing triggers for libc-bin (2.30-0ubuntu3) ... RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-18488732 armhf focal-proposed -c chroot:build-PACKAGEBUILD-18488732 --arch=armhf --dist=focal-proposed --nolog glimpse_4.18.7-5.dsc Initiating build PACKAGEBUILD-18488732 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 4.4.0-170-generic #199-Ubuntu SMP Thu Nov 14 01:46:18 UTC 2019 armv7l sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on bos02-arm64-032.buildd +==============================================================================+ | glimpse 4.18.7-5 (armhf) 29 Dec 2019 05:38 | +==============================================================================+ Package: glimpse Version: 4.18.7-5 Source Version: 4.18.7-5 Distribution: focal-proposed Machine Architecture: arm64 Host Architecture: armhf Build Architecture: armhf I: NOTICE: Log filtering will replace 'build/glimpse-grziOS/glimpse-4.18.7' with '<>' I: NOTICE: Log filtering will replace 'build/glimpse-grziOS' with '<>' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-18488732/chroot-autobuild' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- glimpse_4.18.7-5.dsc exists in .; copying to chroot Check architectures ------------------- Check dependencies ------------------ Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-_up6yb/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/<>/resolver-_up6yb/apt_archive ./ InRelease Get:2 copy:/<>/resolver-_up6yb/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-_up6yb/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-_up6yb/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-_up6yb/apt_archive ./ Packages [524 B] Fetched 2857 B in 0s (128 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 packages were automatically installed and are no longer required: libhogweed4 libisl21 libnettle6 libperl5.28 perl-modules-5.28 Use 'apt autoremove' to remove them. The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 852 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-_up6yb/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [852 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 852 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 14400 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: flex, libfl-dev, debhelper (>= 9) Filtered Build-Depends: flex, libfl-dev, debhelper (>= 9) dpkg-deb: building package 'sbuild-build-depends-glimpse-dummy' in '/<>/resolver-DLL7tH/apt_archive/sbuild-build-depends-glimpse-dummy.deb'. Ign:1 copy:/<>/resolver-DLL7tH/apt_archive ./ InRelease Get:2 copy:/<>/resolver-DLL7tH/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-DLL7tH/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-DLL7tH/apt_archive ./ Sources [219 B] Get:5 copy:/<>/resolver-DLL7tH/apt_archive ./ Packages [538 B] Fetched 2876 B in 0s (130 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 packages were automatically installed and are no longer required: libhogweed4 libisl21 libnettle6 libperl5.28 perl-modules-5.28 Use 'apt autoremove' to remove them. The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism dwz file flex gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libdebhelper-perl libelf1 libfile-stripnondeterminism-perl libfl-dev libfl2 libglib2.0-0 libicu63 libmagic-mgc libmagic1 libpipeline1 libsigsegv2 libsub-override-perl libtool libuchardet0 libxml2 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 libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl Recommended packages: curl | wget | lynx libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs 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 file flex gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libdebhelper-perl libelf1 libfile-stripnondeterminism-perl libfl-dev libfl2 libglib2.0-0 libicu63 libmagic-mgc libmagic1 libpipeline1 libsigsegv2 libsub-override-perl libtool libuchardet0 libxml2 m4 man-db po-debconf sbuild-build-depends-glimpse-dummy 0 upgraded, 37 newly installed, 0 to remove and 0 not upgraded. Need to get 16.6 MB of archives. After this operation, 60.9 MB of additional disk space will be used. Get:1 copy:/<>/resolver-DLL7tH/apt_archive ./ sbuild-build-depends-glimpse-dummy 0.invalid.0 [868 B] Get:2 http://ftpmaster.internal/ubuntu focal/main armhf libbsd0 armhf 0.10.0-1 [49.8 kB] Get:3 http://ftpmaster.internal/ubuntu focal/main armhf bsdmainutils armhf 11.1.2ubuntu2 [176 kB] Get:4 http://ftpmaster.internal/ubuntu focal/main armhf libuchardet0 armhf 0.0.6-3 [62.1 kB] Get:5 http://ftpmaster.internal/ubuntu focal/main armhf groff-base armhf 1.22.4-4 [777 kB] Get:6 http://ftpmaster.internal/ubuntu focal/main armhf libpipeline1 armhf 1.5.1-3 [23.2 kB] Get:7 http://ftpmaster.internal/ubuntu focal/main armhf man-db armhf 2.9.0-2 [1079 kB] Get:8 http://ftpmaster.internal/ubuntu focal/main armhf libsigsegv2 armhf 2.12-2 [13.1 kB] Get:9 http://ftpmaster.internal/ubuntu focal/main armhf m4 armhf 1.4.18-4 [187 kB] Get:10 http://ftpmaster.internal/ubuntu focal/main armhf flex armhf 2.6.4-6.2 [298 kB] Get:11 http://ftpmaster.internal/ubuntu focal/main armhf libmagic-mgc armhf 1:5.37-6 [209 kB] Get:12 http://ftpmaster.internal/ubuntu focal/main armhf libmagic1 armhf 1:5.37-6 [67.7 kB] Get:13 http://ftpmaster.internal/ubuntu focal/main armhf file armhf 1:5.37-6 [22.2 kB] Get:14 http://ftpmaster.internal/ubuntu focal/main armhf libelf1 armhf 0.176-1.1 [40.9 kB] Get:15 http://ftpmaster.internal/ubuntu focal/main armhf libglib2.0-0 armhf 2.63.3-1 [1118 kB] Get:16 http://ftpmaster.internal/ubuntu focal/main armhf libicu63 armhf 63.2-2 [8002 kB] Get:17 http://ftpmaster.internal/ubuntu focal/main armhf libxml2 armhf 2.9.4+dfsg1-8ubuntu1 [554 kB] Get:18 http://ftpmaster.internal/ubuntu focal/main armhf gettext-base armhf 0.19.8.1-10 [46.2 kB] Get:19 http://ftpmaster.internal/ubuntu focal/main armhf autoconf all 2.69-11ubuntu1 [321 kB] Get:20 http://ftpmaster.internal/ubuntu focal/main armhf autotools-dev all 20180224.1 [39.6 kB] Get:21 http://ftpmaster.internal/ubuntu focal-proposed/main armhf automake all 1:1.16.1-4ubuntu4 [522 kB] Get:22 http://ftpmaster.internal/ubuntu focal/main armhf autopoint all 0.19.8.1-10 [412 kB] Get:23 http://ftpmaster.internal/ubuntu focal/main armhf libtool all 2.4.6-11 [194 kB] Get:24 http://ftpmaster.internal/ubuntu focal/main armhf dh-autoreconf all 19 [16.1 kB] Get:25 http://ftpmaster.internal/ubuntu focal/main armhf libdebhelper-perl all 12.7.1ubuntu1 [52.0 kB] Get:26 http://ftpmaster.internal/ubuntu focal/main armhf libarchive-zip-perl all 1.67-1 [90.4 kB] Get:27 http://ftpmaster.internal/ubuntu focal/main armhf libsub-override-perl all 0.09-2 [9532 B] Get:28 http://ftpmaster.internal/ubuntu focal/main armhf libfile-stripnondeterminism-perl all 1.6.3-1 [16.0 kB] Get:29 http://ftpmaster.internal/ubuntu focal/main armhf dh-strip-nondeterminism all 1.6.3-1 [5224 B] Get:30 http://ftpmaster.internal/ubuntu focal/main armhf dwz armhf 0.13-5 [153 kB] Get:31 http://ftpmaster.internal/ubuntu focal/main armhf libcroco3 armhf 0.6.13-1 [70.5 kB] Get:32 http://ftpmaster.internal/ubuntu focal/main armhf gettext armhf 0.19.8.1-10 [836 kB] Get:33 http://ftpmaster.internal/ubuntu focal/main armhf intltool-debian all 0.35.0+20060710.5 [24.9 kB] Get:34 http://ftpmaster.internal/ubuntu focal/main armhf po-debconf all 1.0.21 [233 kB] Get:35 http://ftpmaster.internal/ubuntu focal/main armhf debhelper all 12.7.1ubuntu1 [875 kB] Get:36 http://ftpmaster.internal/ubuntu focal/main armhf libfl2 armhf 2.6.4-6.2 [11.3 kB] Get:37 http://ftpmaster.internal/ubuntu focal/main armhf libfl-dev armhf 2.6.4-6.2 [6268 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 16.6 MB in 1s (28.6 MB/s) Selecting previously unselected package libbsd0:armhf. (Reading database ... 14400 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.10.0-1_armhf.deb ... Unpacking libbsd0:armhf (0.10.0-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2ubuntu2_armhf.deb ... Unpacking bsdmainutils (11.1.2ubuntu2) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../02-libuchardet0_0.0.6-3_armhf.deb ... Unpacking libuchardet0:armhf (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-4_armhf.deb ... Unpacking groff-base (1.22.4-4) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../04-libpipeline1_1.5.1-3_armhf.deb ... Unpacking libpipeline1:armhf (1.5.1-3) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.9.0-2_armhf.deb ... Unpacking man-db (2.9.0-2) ... Selecting previously unselected package libsigsegv2:armhf. Preparing to unpack .../06-libsigsegv2_2.12-2_armhf.deb ... Unpacking libsigsegv2:armhf (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../07-m4_1.4.18-4_armhf.deb ... Unpacking m4 (1.4.18-4) ... Selecting previously unselected package flex. Preparing to unpack .../08-flex_2.6.4-6.2_armhf.deb ... Unpacking flex (2.6.4-6.2) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../09-libmagic-mgc_1%3a5.37-6_armhf.deb ... Unpacking libmagic-mgc (1:5.37-6) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../10-libmagic1_1%3a5.37-6_armhf.deb ... Unpacking libmagic1:armhf (1:5.37-6) ... Selecting previously unselected package file. Preparing to unpack .../11-file_1%3a5.37-6_armhf.deb ... Unpacking file (1:5.37-6) ... Selecting previously unselected package libelf1:armhf. Preparing to unpack .../12-libelf1_0.176-1.1_armhf.deb ... Unpacking libelf1:armhf (0.176-1.1) ... Selecting previously unselected package libglib2.0-0:armhf. Preparing to unpack .../13-libglib2.0-0_2.63.3-1_armhf.deb ... Unpacking libglib2.0-0:armhf (2.63.3-1) ... Selecting previously unselected package libicu63:armhf. Preparing to unpack .../14-libicu63_63.2-2_armhf.deb ... Unpacking libicu63:armhf (63.2-2) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../15-libxml2_2.9.4+dfsg1-8ubuntu1_armhf.deb ... Unpacking libxml2:armhf (2.9.4+dfsg1-8ubuntu1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../16-gettext-base_0.19.8.1-10_armhf.deb ... Unpacking gettext-base (0.19.8.1-10) ... Selecting previously unselected package autoconf. Preparing to unpack .../17-autoconf_2.69-11ubuntu1_all.deb ... Unpacking autoconf (2.69-11ubuntu1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../18-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../19-automake_1%3a1.16.1-4ubuntu4_all.deb ... Unpacking automake (1:1.16.1-4ubuntu4) ... Selecting previously unselected package autopoint. Preparing to unpack .../20-autopoint_0.19.8.1-10_all.deb ... Unpacking autopoint (0.19.8.1-10) ... Selecting previously unselected package libtool. Preparing to unpack .../21-libtool_2.4.6-11_all.deb ... Unpacking libtool (2.4.6-11) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../22-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../23-libdebhelper-perl_12.7.1ubuntu1_all.deb ... Unpacking libdebhelper-perl (12.7.1ubuntu1) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../24-libarchive-zip-perl_1.67-1_all.deb ... Unpacking libarchive-zip-perl (1.67-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../25-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../26-libfile-stripnondeterminism-perl_1.6.3-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.6.3-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../27-dh-strip-nondeterminism_1.6.3-1_all.deb ... Unpacking dh-strip-nondeterminism (1.6.3-1) ... Selecting previously unselected package dwz. Preparing to unpack .../28-dwz_0.13-5_armhf.deb ... Unpacking dwz (0.13-5) ... Selecting previously unselected package libcroco3:armhf. Preparing to unpack .../29-libcroco3_0.6.13-1_armhf.deb ... Unpacking libcroco3:armhf (0.6.13-1) ... Selecting previously unselected package gettext. Preparing to unpack .../30-gettext_0.19.8.1-10_armhf.deb ... Unpacking gettext (0.19.8.1-10) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../31-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 .../32-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../33-debhelper_12.7.1ubuntu1_all.deb ... Unpacking debhelper (12.7.1ubuntu1) ... Selecting previously unselected package libfl2:armhf. Preparing to unpack .../34-libfl2_2.6.4-6.2_armhf.deb ... Unpacking libfl2:armhf (2.6.4-6.2) ... Selecting previously unselected package libfl-dev:armhf. Preparing to unpack .../35-libfl-dev_2.6.4-6.2_armhf.deb ... Unpacking libfl-dev:armhf (2.6.4-6.2) ... Selecting previously unselected package sbuild-build-depends-glimpse-dummy. Preparing to unpack .../36-sbuild-build-depends-glimpse-dummy_0.invalid.0_armhf.deb ... Unpacking sbuild-build-depends-glimpse-dummy (0.invalid.0) ... Setting up libpipeline1:armhf (1.5.1-3) ... Setting up libmagic-mgc (1:5.37-6) ... Setting up libarchive-zip-perl (1.67-1) ... Setting up libglib2.0-0:armhf (2.63.3-1) ... No schema files found: doing nothing. Setting up libdebhelper-perl (12.7.1ubuntu1) ... Setting up libmagic1:armhf (1:5.37-6) ... Setting up gettext-base (0.19.8.1-10) ... Setting up file (1:5.37-6) ... Setting up libicu63:armhf (63.2-2) ... Setting up autotools-dev (20180224.1) ... Setting up libsigsegv2:armhf (2.12-2) ... Setting up autopoint (0.19.8.1-10) ... Setting up libfl2:armhf (2.6.4-6.2) ... Setting up libuchardet0:armhf (0.0.6-3) ... Setting up libsub-override-perl (0.09-2) ... Setting up libbsd0:armhf (0.10.0-1) ... Setting up libelf1:armhf (0.176-1.1) ... Setting up libxml2:armhf (2.9.4+dfsg1-8ubuntu1) ... Setting up libfile-stripnondeterminism-perl (1.6.3-1) ... Setting up libtool (2.4.6-11) ... Setting up m4 (1.4.18-4) ... Setting up bsdmainutils (11.1.2ubuntu2) ... 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 libcroco3:armhf (0.6.13-1) ... Setting up autoconf (2.69-11ubuntu1) ... Setting up dh-strip-nondeterminism (1.6.3-1) ... Setting up dwz (0.13-5) ... Setting up groff-base (1.22.4-4) ... Setting up automake (1:1.16.1-4ubuntu4) ... 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 gettext (0.19.8.1-10) ... Setting up man-db (2.9.0-2) ... Not building database; man-db/auto-update is not 'true'. Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /lib/systemd/system/man-db.timer. Setting up libfl-dev:armhf (2.6.4-6.2) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up po-debconf (1.0.21) ... Setting up dh-autoreconf (19) ... Setting up debhelper (12.7.1ubuntu1) ... Setting up sbuild-build-depends-glimpse-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.30-0ubuntu3) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.4.0-170-generic arm64 (armv7l) Toolchain package versions: binutils_2.33.1-6ubuntu3 dpkg-dev_1.19.7ubuntu2 g++-9_9.2.1-22ubuntu1 gcc-9_9.2.1-22ubuntu1 libc6-dev_2.30-0ubuntu3 libstdc++-9-dev_9.2.1-22ubuntu1 libstdc++6_9.2.1-22ubuntu1 linux-libc-dev_5.4.0-9.12 Package versions: adduser_3.118ubuntu1 advancecomp_2.1-2.1 apt_1.9.5 autoconf_2.69-11ubuntu1 automake_1:1.16.1-4ubuntu4 autopoint_0.19.8.1-10 autotools-dev_20180224.1 base-files_11ubuntu2 base-passwd_3.5.47 bash_5.0-5ubuntu1 binutils_2.33.1-6ubuntu3 binutils-arm-linux-gnueabihf_2.33.1-6ubuntu3 binutils-common_2.33.1-6ubuntu3 bsdmainutils_11.1.2ubuntu2 bsdutils_1:2.34-0.1ubuntu4 build-essential_12.8ubuntu1 bzip2_1.0.8-2 ca-certificates_20190110 coreutils_8.30-3ubuntu2 cpp_4:9.2.1-3.1ubuntu1 cpp-9_9.2.1-22ubuntu1 dash_0.5.10.2-6 debconf_1.5.73 debhelper_12.7.1ubuntu1 debianutils_4.9.1 dh-autoreconf_19 dh-strip-nondeterminism_1.6.3-1 diffutils_1:3.7-3 dpkg_1.19.7ubuntu2 dpkg-dev_1.19.7ubuntu2 dwz_0.13-5 e2fsprogs_1.45.3-4ubuntu2 fakeroot_1.24-1 fdisk_2.34-0.1ubuntu4 file_1:5.37-6 findutils_4.6.0+git+20190209-2ubuntu1 flex_2.6.4-6.2 g++_4:9.2.1-3.1ubuntu1 g++-9_9.2.1-22ubuntu1 gcc_4:9.2.1-3.1ubuntu1 gcc-9_9.2.1-22ubuntu1 gcc-9-base_9.2.1-22ubuntu1 gettext_0.19.8.1-10 gettext-base_0.19.8.1-10 gpg_2.2.17-3ubuntu1 gpg-agent_2.2.17-3ubuntu1 gpgconf_2.2.17-3ubuntu1 gpgv_2.2.17-3ubuntu1 grep_3.3-1build1 groff-base_1.22.4-4 gzip_1.10-0ubuntu4 hostname_3.23 init_1.57 init-system-helpers_1.57 intltool-debian_0.35.0+20060710.5 libacl1_2.2.53-5ubuntu1 libapparmor1_2.13.3-7ubuntu1 libapt-pkg5.90_1.9.5 libarchive-zip-perl_1.67-1 libargon2-1_0~20171227-0.2 libasan5_9.2.1-22ubuntu1 libassuan0_2.5.3-7ubuntu1 libatomic1_9.2.1-22ubuntu1 libattr1_1:2.4.48-5 libaudit-common_1:2.8.5-2ubuntu5 libaudit1_1:2.8.5-2ubuntu5 libbinutils_2.33.1-6ubuntu3 libblkid1_2.34-0.1ubuntu4 libbsd0_0.10.0-1 libbz2-1.0_1.0.8-2 libc-bin_2.30-0ubuntu3 libc-dev-bin_2.30-0ubuntu3 libc6_2.30-0ubuntu3 libc6-dev_2.30-0ubuntu3 libcap-ng0_0.7.9-2.1 libcap2_1:2.27-1 libcc1-0_9.2.1-22ubuntu1 libcom-err2_1.45.3-4ubuntu2 libcroco3_0.6.13-1 libcryptsetup12_2:2.2.2-1ubuntu1 libdb5.3_5.3.28+dfsg1-0.6ubuntu1 libdebconfclient0_0.250ubuntu2 libdebhelper-perl_12.7.1ubuntu1 libdevmapper1.02.1_2:1.02.155-2ubuntu7 libdpkg-perl_1.19.7ubuntu2 libelf1_0.176-1.1 libext2fs2_1.45.3-4ubuntu2 libfakeroot_1.24-1 libfdisk1_2.34-0.1ubuntu4 libffi6_3.2.1-9 libfile-stripnondeterminism-perl_1.6.3-1 libfl-dev_2.6.4-6.2 libfl2_2.6.4-6.2 libgcc-9-dev_9.2.1-22ubuntu1 libgcc1_1:9.2.1-22ubuntu1 libgcrypt20_1.8.5-3ubuntu1 libgdbm-compat4_1.18.1-5 libgdbm6_1.18.1-5 libglib2.0-0_2.63.3-1 libgmp10_2:6.1.2+dfsg-4 libgnutls30_3.6.11.1-2 libgomp1_9.2.1-22ubuntu1 libgpg-error0_1.36-7 libhogweed4_3.4.1-1 libhogweed5_3.5.1+really3.5.1-2 libicu63_63.2-2 libidn2-0_2.2.0-2 libip4tc2_1.8.3-2ubuntu5 libisl21_0.21-2 libisl22_0.22-2 libjson-c4_0.13.1+dfsg-6 libkmod2_26-3ubuntu1 liblockfile-bin_1.16-1.1 liblockfile1_1.16-1.1 liblz4-1_1.9.2-2 liblzma5_5.2.4-1 libmagic-mgc_1:5.37-6 libmagic1_1:5.37-6 libmount1_2.34-0.1ubuntu4 libmpc3_1.1.0-1 libmpfr6_4.0.2-1 libncurses6_6.1+20191019-1ubuntu1 libncursesw6_6.1+20191019-1ubuntu1 libnettle6_3.4.1-1 libnettle7_3.5.1+really3.5.1-2 libnpth0_1.6-1 libp11-kit0_0.23.18.1-2 libpam-modules_1.3.1-5ubuntu4 libpam-modules-bin_1.3.1-5ubuntu4 libpam-runtime_1.3.1-5ubuntu4 libpam0g_1.3.1-5ubuntu4 libpcre2-8-0_10.34-7 libpcre3_2:8.39-12 libperl5.28_5.28.1-6build1 libperl5.30_5.30.0-9 libpipeline1_1.5.1-3 libpng16-16_1.6.37-1 libprocps7_2:3.3.15-2ubuntu3 libreadline8_8.0-3 libseccomp2_2.4.2-2ubuntu2 libselinux1_3.0-1 libsemanage-common_3.0-1 libsemanage1_3.0-1 libsepol1_3.0-1 libsigsegv2_2.12-2 libsmartcols1_2.34-0.1ubuntu4 libsqlite3-0_3.30.1-1ubuntu1 libss2_1.45.3-4ubuntu2 libssl1.1_1.1.1c-1ubuntu4 libstdc++-9-dev_9.2.1-22ubuntu1 libstdc++6_9.2.1-22ubuntu1 libsub-override-perl_0.09-2 libsystemd0_244-3ubuntu1 libtasn1-6_4.15.0-2 libtinfo6_6.1+20191019-1ubuntu1 libtool_2.4.6-11 libubsan1_9.2.1-22ubuntu1 libuchardet0_0.0.6-3 libudev1_244-3ubuntu1 libunistring2_0.9.10-2 libuuid1_2.34-0.1ubuntu4 libxml2_2.9.4+dfsg1-8ubuntu1 libzstd1_1.4.4+dfsg-1 linux-libc-dev_5.4.0-9.12 lockfile-progs_0.1.18 login_1:4.5-1.1ubuntu4 logsave_1.45.3-4ubuntu2 lsb-base_11.1.0ubuntu2 m4_1.4.18-4 make_4.2.1-1.2 man-db_2.9.0-2 mawk_1.3.3-17ubuntu3 mount_2.34-0.1ubuntu4 ncurses-base_6.1+20191019-1ubuntu1 ncurses-bin_6.1+20191019-1ubuntu1 openssl_1.1.1c-1ubuntu4 optipng_0.7.7-1 passwd_1:4.5-1.1ubuntu4 patch_2.7.6-6 perl_5.30.0-9 perl-base_5.30.0-9 perl-modules-5.28_5.28.1-6build1 perl-modules-5.30_5.30.0-9 pinentry-curses_1.1.0-3 pkgbinarymangler_144 po-debconf_1.0.21 policyrcd-script-zg2_0.1-3 procps_2:3.3.15-2ubuntu3 readline-common_8.0-3 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-glimpse-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12+nmu1 systemd_244-3ubuntu1 systemd-sysv_244-3ubuntu1 sysvinit-utils_2.96-1ubuntu1 tar_1.30+dfsg-6 tzdata_2019c-3 ubuntu-keyring_2018.09.18.1 util-linux_2.34-0.1ubuntu4 xz-utils_5.2.4-1 zlib1g_1:1.2.11.dfsg-1ubuntu3 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: Signature made Sun Dec 29 01:23:35 2019 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-5.dsc dpkg-source: info: extracting glimpse in glimpse-4.18.7 dpkg-source: info: unpacking glimpse_4.18.7.orig.tar.gz dpkg-source: info: unpacking glimpse_4.18.7-5.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 dpkg-source: info: applying 01-cross Check disc space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-18488732 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-18488732 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-18488732 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package glimpse dpkg-buildpackage: info: source version 4.18.7-5 dpkg-buildpackage: info: source distribution unstable dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || /usr/bin/make distclean dh_clean 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,-Bsymbolic-functions -Wl,-z,relro" INSTALL_OPTS="-s" dh_auto_configure ./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --libexecdir=\${prefix}/lib/arm-linux-gnueabihf --disable-maintainer-mode --disable-dependency-tracking 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... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for strip... /usr/bin/strip checking for cp... /bin/cp checking for a BSD-compatible install... /usr/bin/install -c checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/dir.h usability... yes checking sys/dir.h presence... yes checking for sys/dir.h... yes checking sys/ndir.h usability... no checking sys/ndir.h presence... no checking for sys/ndir.h... no checking strerr.h usability... no checking strerr.h presence... no checking for strerr.h... no checking whether time.h and sys/time.h may both be included... yes checking for an ANSI C-conforming const... yes checking return type of signal handlers... void checking whether utime accepts a null argument... yes checking for strdup... yes checking for strerror... yes checking for sqrt in -lm... yes checking for dlopen in -lc... no checking for dlopen in -ldl... yes checking for connect... yes checking for gethostbyname... yes configure: creating ./config.status config.status: creating Makefile config.status: creating index/Makefile config.status: creating compress/Makefile config.status: creating agrep/Makefile config.status: creating dynfilters/Makefile config.status: creating libtemplate/Makefile config.status: creating libtemplate/util/Makefile config.status: creating libtemplate/template/Makefile config.status: creating libtemplate/lib/Makefile config.status: creating libtemplate/include/autoconf.h config.status: libtemplate/include/autoconf.h is unchanged /usr/bin/make make[1]: Entering directory '/<>' [ -d bin ] || mkdir bin [ -d lib ] || mkdir lib for d in compress agrep libtemplate index dynfilters ; do \ ( cd $d; /usr/bin/make ); \ done make[2]: Entering directory '/<>/compress' gcc -I../index -I../agrep -I../libtemplate/include -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o hash.o hash.c hash.c:168:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 168 | thash4k(word, len) | ^~~~~~~ hash.c:522:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 522 | pad_hash_file(filename, FILEBLOCKSIZE) | ^~~~~~~~~~~~~ hash.c: In function ‘pad_hash_file’: hash.c:636:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 636 | system((const char *)buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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] 213 | pad_string_file(filename, FILEBLOCKSIZE) | ^~~~~~~~~~~~~~~ string.c: In function ‘pad_string_file’: string.c:278:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 278 | system(buf); | ^~~~~~~~~~~ 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] 34 | set_usemalloc() | ^~~~~~~~~~~~~ misc.c:39:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 39 | unset_usemalloc() | ^~~~~~~~~~~~~~~ misc.c: In function ‘mygetc’: misc.c:45:1: warning: type of ‘maxlen’ defaults to ‘int’ [-Wimplicit-int] 45 | mygetc(fp, buf, maxlen, lenp) | ^~~~~~ misc.c: At top level: misc.c:61:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 61 | myfpcopy(fp, src) | ^~~~~~~~ misc.c:75:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 75 | mystrcpy(dest, src) | ^~~~~~~~ misc.c:203:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 203 | 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] 274 | initialize_common(freq_file, flags) | ^~~~~~~~~~~~~~~~~ misc.c:291:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 291 | uninitialize_common() | ^~~~~~~~~~~~~~~~~~~ misc.c: In function ‘uninitialize_common’: misc.c:294:2: warning: ‘return’ with no value, in function returning non-void 294 | return; | ^~~~~~ misc.c:291:1: note: declared here 291 | uninitialize_common() | ^~~~~~~~~~~~~~~~~~~ misc.c: In function ‘exists_tcompressed_word’: misc.c:303:1: warning: type of ‘flags’ defaults to ‘int’ [-Wimplicit-int] 303 | exists_tcompressed_word(word, wordlen, line, linelen, flags) | ^~~~~~~~~~~~~~~~~~~~~~~ misc.c: In function ‘build_freq’: misc.c:231:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 231 | fscanf(fp, "%d\n", &freq_words); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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’ [-Wimplicit-function-declaration] 63 | uninitialize_tcompress(); | ^~~~~~~~~~~~~~~~~~~~~~ quick.c:68:8: warning: implicit declaration of function ‘initialize_common’ [-Wimplicit-function-declaration] 68 | 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’ [-Wimplicit-function-declaration] 127 | build_partial_hash(compress_hash_table, hashfp, hashindexbuf, hashindexsize, pattern, len, blocksize, loaded_hash_table); | ^~~~~~~~~~~~~~~~~~ quick.c:128:11: warning: implicit declaration of function ‘tcompress’ [-Wimplicit-function-declaration] 128 | newlen = tcompress(pattern, len, newpattern, maxnewlen, flags); | ^~~~~~~~~ quick.c: In function ‘quick_tuncompress’: quick.c:165:4: warning: implicit declaration of function ‘uninitialize_tuncompress’ [-Wimplicit-function-declaration] 165 | uninitialize_tuncompress(); | ^~~~~~~~~~~~~~~~~~~~~~~~ quick.c:223:2: warning: implicit declaration of function ‘build_partial_string’ [-Wimplicit-function-declaration] 223 | build_partial_string(compress_string_table, stringfp, stringindexbuf, stringindexsize, pattern, len, blocksize, loaded_string_table); | ^~~~~~~~~~~~~~~~~~~~ quick.c:224:11: warning: implicit declaration of function ‘tuncompress’; did you mean ‘quick_tuncompress’? [-Wimplicit-function-declaration] 224 | newlen = tuncompress(pattern, len, newpattern, maxnewlen, flags); | ^~~~~~~~~~~ | quick_tuncompress quick.c: In function ‘quick_tcompress’: quick.c:87:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 87 | fscanf(hashindexfp, "%d\n", &blocksize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quick.c: In function ‘quick_tuncompress’: quick.c:189:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 189 | fscanf(stringindexfp, "%d\n", &blocksize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] 42 | 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] 48 | 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] 61 | 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] 69 | 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] 74 | uninitialize_common(); | ^~~~~~~~~~~~~~~~~~~ | uninitialize_tcompress cast.c: In function ‘tcompressible’: cast.c:121:12: warning: implicit declaration of function ‘ttest_binary’ [-Wimplicit-function-declaration] 121 | if(ttest_binary(buffer, num_read)) { | ^~~~~~~~~~~~ cast.c:126:12: warning: implicit declaration of function ‘ttest_uuencode’ [-Wimplicit-function-declaration] 126 | if(ttest_uuencode(buffer, num_read)) { | ^~~~~~~~~~~~~~ cast.c:131:12: warning: implicit declaration of function ‘ttest_postscript’ [-Wimplicit-function-declaration] 131 | if(ttest_postscript(buffer, num_read)) { | ^~~~~~~~~~~~~~~~ cast.c: At top level: cast.c:140:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 140 | tcompressible_file(name, flags) | ^~~~~~~~~~~~~~~~~~ cast.c:160:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 160 | 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] 730 | #define FUNCTION tcompress_file | ^~~~~~~~~~~~~~ trecursive.c:109:3: note: in expansion of macro ‘FUNCTION’ 109 | FUNCTION(name, outname, flags); | ^~~~~~~~ cast.c: At top level: cast.c:735:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 735 | tcompress_file(name, outname, flags) | ^~~~~~~~~~~~~~ cast.c: In function ‘tcompress_file’: cast.c:799:4: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 799 | scanf("%c", s); | ^~~~~~~~~~~~~~ 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] 39 | 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] 45 | 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] 66 | 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] 70 | uninitialize_common(); | ^~~~~~~~~~~~~~~~~~~ | uninitialize_tuncompress uncast.c: At top level: uncast.c:128:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 128 | tuncompressible_fp(fp) | ^~~~~~~~~~~~~~~~~~ uncast.c: In function ‘tuncompress’: uncast.c:371:36: warning: implicit declaration of function ‘myfpcopy’ [-Wimplicit-function-declaration] 371 | if (outfp != NULL) outlen += myfpcopy(outfp, compress_string_table[dindex]); | ^~~~~~~~ uncast.c:373:18: warning: implicit declaration of function ‘mystrcpy’; did you mean ‘strcpy’? [-Wimplicit-function-declaration] 373 | 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] 520 | #define FUNCTION tuncompress_file | ^~~~~~~~~~~~~~~~ trecursive.c:109:3: note: in expansion of macro ‘FUNCTION’ 109 | FUNCTION(name, outname, flags); | ^~~~~~~~ uncast.c: In function ‘tuncompress_file’: uncast.c:593:4: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 593 | scanf("%c", s); | ^~~~~~~~~~~~~~ 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] 32 | ttest_binary(buffer, length) | ^~~~~~~~~~~~ tsimpletest.c: In function ‘ttest_binary’: tsimpletest.c:42:8: warning: implicit declaration of function ‘isgraph’ [-Wimplicit-function-declaration] 42 | if (!(isgraph(*buffer) || isspace(*buffer))) --permitted_errors; | ^~~~~~~ tsimpletest.c:42:28: warning: implicit declaration of function ‘isspace’ [-Wimplicit-function-declaration] 42 | if (!(isgraph(*buffer) || isspace(*buffer))) --permitted_errors; | ^~~~~~~ tsimpletest.c: At top level: tsimpletest.c:51:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 51 | ttest_uuencode(buffer, length) | ^~~~~~~~~~~~~~ tsimpletest.c: In function ‘ttest_uuencode’: tsimpletest.c:64:13: warning: implicit declaration of function ‘tmemlook’ [-Wimplicit-function-declaration] 64 | i = tmemlook("\nbegin", buffer, length); | ^~~~~~~~ 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] 30 | 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] 229 | 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] 304 | pad_hash_file(hash_file, FILEBLOCKSIZE); | ^~~~~~~~~~~~~ tbuild.c:305:2: warning: implicit declaration of function ‘pad_string_file’ [-Wimplicit-function-declaration] 305 | pad_string_file(string_file, FILEBLOCKSIZE); | ^~~~~~~~~~~~~~~ tbuild.c:153:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 153 | system(s); | ^~~~~~~~~ tbuild.c:155:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 155 | system(s); | ^~~~~~~~~ tbuild.c:157:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 157 | system(s); | ^~~~~~~~~ tbuild.c:255:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 255 | system(s); | ^~~~~~~~~ tbuild.c:257:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 257 | system(s); | ^~~~~~~~~ tbuild.c:270:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 270 | system(s); | ^~~~~~~~~ tbuild.c:291:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 291 | system(s); | ^~~~~~~~~ /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] 17 | usage(progname) | ^~~~~ main_tbuild.c: In function ‘main’: main_tbuild.c:56:25: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 56 | getcwd(comp_dir, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-Bsymbolic-functions -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] 15 | usage(progname) | ^~~~~ main_cast.c:34:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 34 | main(argc, argv) | ^~~~ main_cast.c: In function ‘main’: main_cast.c:125:7: warning: implicit declaration of function ‘initialize_tcompress’ [-Wimplicit-function-declaration] 125 | if (!initialize_tcompress(hash_file, freq_file, FLAGS)) exit(2); | ^~~~~~~~~~~~~~~~~~~~ main_cast.c:133:5: warning: implicit declaration of function ‘tcompress_file’ [-Wimplicit-function-declaration] 133 | tcompress_file(name, outname, FLAGS); | ^~~~~~~~~~~~~~ main_cast.c:136:8: warning: implicit declaration of function ‘tcompress’ [-Wimplicit-function-declaration] 136 | else tcompress(stdin, -1, stdout, -1, FLAGS); | ^~~~~~~~~ main_cast.c:114:4: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 114 | getcwd(comp_dir, MAXNAME-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-Bsymbolic-functions -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] 15 | usage(progname) | ^~~~~ main_uncast.c:34:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 34 | main(argc, argv) | ^~~~ main_uncast.c: In function ‘main’: main_uncast.c:129:7: warning: implicit declaration of function ‘initialize_tuncompress’ [-Wimplicit-function-declaration] 129 | 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] 137 | tuncompress_file(name, outname, FLAGS); | ^~~~~~~~~~~~~~~~ main_uncast.c:142:9: warning: implicit declaration of function ‘tuncompressible’ [-Wimplicit-function-declaration] 142 | if (!tuncompressible(buffer, num_read)) { | ^~~~~~~~~~~~~~~ main_uncast.c:146:4: warning: implicit declaration of function ‘tuncompress’ [-Wimplicit-function-declaration] 146 | tuncompress(stdin, -1, stdout, -1, FLAGS); | ^~~~~~~~~~~ main_uncast.c:118:4: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 118 | getcwd(comp_dir, MAXNAME-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-Bsymbolic-functions -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] 47 | return asearch0(old_D_pat, text, D); | ^~~~~~~~ | asearch asearch.c:69:15: warning: implicit declaration of function ‘fill_buf’ [-Wimplicit-function-declaration] 69 | while ((l = fill_buf(text, buffer + Max_record, BlockSize)) > 0) | ^~~~~~~~ asearch.c:184:18: warning: implicit declaration of function ‘output’ [-Wimplicit-function-declaration] 184 | 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’ [-Wimplicit-function-declaration] 62 | while ((num_read = fill_buf(Text, buffer + Max_record, BlockSize)) > 0) | ^~~~~~~~ asearch1.c:158:18: warning: implicit declaration of function ‘output’ [-Wimplicit-function-declaration] 158 | 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] 177 | 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] 329 | k = exponen(M); | ^~~~~~~ | popen agrep.c: In function ‘re1’: agrep.c:425:22: warning: implicit declaration of function ‘fill_buf’ [-Wimplicit-function-declaration] 425 | while ((num_read = fill_buf(Text, buffer + Maxline, BlockSize)) > 0) | ^~~~~~~~ agrep.c:516:17: warning: implicit declaration of function ‘r_output’ [-Wimplicit-function-declaration] 516 | 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’ [-Wimplicit-function-declaration] 2465 | if (argc < 2) return agrep_usage(); | ^~~~~~~~~~~ agrep.c:2466:16: warning: zero-length gnu_printf format string [-Wformat-zero-length] 2466 | printf(""); /* dummy statement which avoids program crash with | ^~ agrep.c:2801:9: warning: implicit declaration of function ‘prepf’ [-Wimplicit-function-declaration] 2801 | if (prepf(multifd, NULL, 0) <= -1) { | ^~~~~ agrep.c:3028:2: warning: implicit declaration of function ‘initialize_common’ [-Wimplicit-function-declaration] 3028 | initialize_common(FREQ_FILE, 0); /* no error msgs */ | ^~~~~~~~~~~~~~~~~ agrep.c:3082:38: warning: implicit declaration of function ‘check_file’ [-Wimplicit-function-declaration] 3082 | if (!glimpse_call && ((filetype = check_file(*argv)) == NOSUCHFILE) && !PRINTNONEXISTENTFILE) { | ^~~~~~~~~~ agrep.c: In function ‘agrep_search’: agrep.c:3290:13: warning: implicit declaration of function ‘checksg’ [-Wimplicit-function-declaration] 3290 | 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] 3294 | if (-1 == preprocess(D_pattern, Pattern)) return -1; | ^~~~~~~~~~ agrep.c:3297:25: warning: implicit declaration of function ‘maskgen’ [-Wimplicit-function-declaration] 3297 | if(!AParse && ((M = maskgen(Pattern, D)) == -1)) return -1; | ^~~~~~~ agrep.c:3304:24: warning: implicit declaration of function ‘quick_tcompress’ [-Wimplicit-function-declaration] 3304 | 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] 3333 | if (agrep_initialfd == -1) ret = exec(execfd, NULL); | ^~~~ | execl agrep.c:3334:28: warning: implicit declaration of function ‘recursive’ [-Wimplicit-function-declaration] 3334 | else if(RECURSIVE) ret = (recursive(Numfiles, Textfiles)); | ^~~~~~~~~ agrep.c: In function ‘exec’: agrep.c:3443:13: warning: implicit declaration of function ‘compat’ [-Wimplicit-function-declaration] 3443 | if ((-1 == compat())) return -1; /* check compatibility between options */ | ^~~~~~ agrep.c:3456:30: warning: implicit declaration of function ‘mgrep’; did you mean ‘memagrep’? [-Wimplicit-function-declaration] 3456 | 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] 3458 | if(SGREP) ret = sgrep(OldPattern, strlen(OldPattern), fd, D, 0); | ^~~~~ | strsep agrep.c:3459:20: warning: implicit declaration of function ‘bitap’ [-Wimplicit-function-declaration] 3459 | else ret = bitap(old_D_pat, Pattern, fd, M, D); | ^~~~~ agrep.c:3519:9: warning: implicit declaration of function ‘tuncompressible_filename’ [-Wimplicit-function-declaration] 3519 | 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] 3700 | if (-1 == file_out(file_list[i])) { | ^~~~~~~~ | fileno agrep.c: In function ‘agrep_init’: agrep.c:3013:4: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 3013 | getcwd(COMP_DIR, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agrep.c: In function ‘file_out’: agrep.c:3869:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 3869 | write(1, buf, num_read); | ^~~~~~~~~~~~~~~~~~~~~~~ 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] 70 | return re(fd, M, D); /* SUN: need to find a even point */ | ^~ bitap.c:73:11: warning: implicit declaration of function ‘re1’ [-Wimplicit-function-declaration] 73 | return re1(fd, M, D); | ^~~ bitap.c:78:10: warning: implicit declaration of function ‘asearch1’; did you mean ‘bsearch’? [-Wimplicit-function-declaration] 78 | 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] 82 | return asearch(old_D_pat, fd, D); | ^~~~~~~ | bsearch bitap.c:104:22: warning: implicit declaration of function ‘fill_buf’ [-Wimplicit-function-declaration] 104 | while ((num_read = fill_buf(fd, buffer + Max_record, BlockSize)) > 0) | ^~~~~~~~ bitap.c:195:18: warning: implicit declaration of function ‘output’ [-Wimplicit-function-declaration] 195 | 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] 498 | 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] 47 | 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] 9 | extern FILEOUT; | ^~~~~~~ compat.c:10:8: warning: type defaults to ‘int’ in declaration of ‘REGEX’ [-Wimplicit-int] 10 | extern REGEX; | ^~~~~ compat.c:11:8: warning: type defaults to ‘int’ in declaration of ‘DELIMITER’ [-Wimplicit-int] 11 | extern DELIMITER; | ^~~~~~~~~ compat.c:12:8: warning: type defaults to ‘int’ in declaration of ‘WHOLELINE’ [-Wimplicit-int] 12 | extern WHOLELINE; | ^~~~~~~~~ compat.c:13:8: warning: type defaults to ‘int’ in declaration of ‘LINENUM’ [-Wimplicit-int] 13 | extern LINENUM; | ^~~~~~~ compat.c:14:8: warning: type defaults to ‘int’ in declaration of ‘I’ [-Wimplicit-int] 14 | extern I, S, DD; | ^ compat.c:14:11: warning: type defaults to ‘int’ in declaration of ‘S’ [-Wimplicit-int] 14 | extern I, S, DD; | ^ compat.c:14:14: warning: type defaults to ‘int’ in declaration of ‘DD’ [-Wimplicit-int] 14 | extern I, S, DD; | ^~ compat.c:15:8: warning: type defaults to ‘int’ in declaration of ‘JUMP’ [-Wimplicit-int] 15 | 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] 6 | extern Mask[], Bit[], Init[], NO_ERR_MASK; | ^~~~ maskgen.c:6:16: warning: type defaults to ‘int’ in declaration of ‘Bit’ [-Wimplicit-int] 6 | extern Mask[], Bit[], Init[], NO_ERR_MASK; | ^~~ maskgen.c:6:23: warning: type defaults to ‘int’ in declaration of ‘Init’ [-Wimplicit-int] 6 | extern Mask[], Bit[], Init[], NO_ERR_MASK; | ^~~~ maskgen.c:6:31: warning: type defaults to ‘int’ in declaration of ‘NO_ERR_MASK’ [-Wimplicit-int] 6 | 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] 75 | exit(2);\ | ^~~~ parse.c:45:2: note: in expansion of macro ‘new_node’ 45 | new_node(Re_Lit, l, l); | ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:45:2: note: in expansion of macro ‘new_node’ 45 | new_node(Re_Lit, l, l); | ^~~~~~~~ parse.c:8:1: note: include ‘’ or provide a declaration of ‘exit’ 7 | #include "re.h" +++ |+#include 8 | In file included from parse.c:7: re.h:77:2: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:45:2: note: in expansion of macro ‘new_node’ 45 | new_node(Re_Lit, l, l); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:45:2: note: in expansion of macro ‘new_node’ 45 | new_node(Re_Lit, l, l); | ^~~~~~~~ parse.c:8:1: note: include ‘’ or provide a declaration of ‘memset’ 7 | #include "re.h" +++ |+#include 8 | In file included from parse.c:7: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:46:2: note: in expansion of macro ‘new_node’ 46 | new_node(Re_node, node, node); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:46:2: note: in expansion of macro ‘new_node’ 46 | new_node(Re_node, node, node); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:46:2: note: in expansion of macro ‘new_node’ 46 | new_node(Re_node, node, node); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:46:2: note: in expansion of macro ‘new_node’ 46 | new_node(Re_node, node, node); | ^~~~~~~~ parse.c:48:18: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 48 | 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’ 49 | 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’ 75 | exit(2);\ | ^~~~ parse.c:76:2: note: in expansion of macro ‘new_node’ 76 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:76:2: note: in expansion of macro ‘new_node’ 76 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:76:2: note: in expansion of macro ‘new_node’ 76 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:76:2: note: in expansion of macro ‘new_node’ 76 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:79:3: note: in expansion of macro ‘new_node’ 79 | new_node(Ch_Range, range, range); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:79:3: note: in expansion of macro ‘new_node’ 79 | new_node(Ch_Range, range, range); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:79:3: note: in expansion of macro ‘new_node’ 79 | new_node(Ch_Range, range, range); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:79:3: note: in expansion of macro ‘new_node’ 79 | new_node(Ch_Range, range, range); | ^~~~~~~~ parse.c:83:4: warning: incompatible implicit declaration of built-in function ‘free’ 83 | 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’ 89 | 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’ 96 | 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’ 75 | exit(2);\ | ^~~~ parse.c:104:3: note: in expansion of macro ‘new_node’ 104 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:104:3: note: in expansion of macro ‘new_node’ 104 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:104:3: note: in expansion of macro ‘new_node’ 104 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:104:3: note: in expansion of macro ‘new_node’ 104 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ parse.c:112:22: warning: incompatible implicit declaration of built-in function ‘free’ 112 | 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’ 113 | 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’ 75 | exit(2);\ | ^~~~ parse.c:128:2: note: in expansion of macro ‘new_node’ 128 | new_node(Ch_Range, r, r); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:128:2: note: in expansion of macro ‘new_node’ 128 | new_node(Ch_Range, r, r); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:128:2: note: in expansion of macro ‘new_node’ 128 | new_node(Ch_Range, r, r); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:128:2: note: in expansion of macro ‘new_node’ 128 | new_node(Ch_Range, r, r); | ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:131:2: note: in expansion of macro ‘new_node’ 131 | new_node(Ch_Set, s, s); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:131:2: note: in expansion of macro ‘new_node’ 131 | new_node(Ch_Set, s, s); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:131:2: note: in expansion of macro ‘new_node’ 131 | new_node(Ch_Set, s, s); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:131:2: note: in expansion of macro ‘new_node’ 131 | 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’ 163 | 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’ 75 | exit(2);\ | ^~~~ parse.c:181:2: note: in expansion of macro ‘new_node’ 181 | new_node(Tok_node, rn, rn); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:181:2: note: in expansion of macro ‘new_node’ 181 | new_node(Tok_node, rn, rn); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:181:2: note: in expansion of macro ‘new_node’ 181 | new_node(Tok_node, rn, rn); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:181:2: note: in expansion of macro ‘new_node’ 181 | new_node(Tok_node, rn, rn); | ^~~~~~~~ parse.c: In function ‘cat2’: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:245:2: note: in expansion of macro ‘new_node’ 245 | new_node(Re_node, r, r); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:245:2: note: in expansion of macro ‘new_node’ 245 | new_node(Re_node, r, r); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:245:2: note: in expansion of macro ‘new_node’ 245 | new_node(Re_node, r, r); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:245:2: note: in expansion of macro ‘new_node’ 245 | new_node(Re_node, r, r); | ^~~~~~~~ parse.c:253:3: warning: incompatible implicit declaration of built-in function ‘free’ 253 | 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’ 75 | exit(2);\ | ^~~~ parse.c:277:2: note: in expansion of macro ‘new_node’ 277 | new_node(Re_node, r, r); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:277:2: note: in expansion of macro ‘new_node’ 277 | new_node(Re_node, r, r); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:277:2: note: in expansion of macro ‘new_node’ 277 | new_node(Re_node, r, r); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:277:2: note: in expansion of macro ‘new_node’ 277 | new_node(Re_node, r, r); | ^~~~~~~~ parse.c:283:3: warning: incompatible implicit declaration of built-in function ‘free’ 283 | 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’ 75 | exit(2);\ | ^~~~ parse.c:303:2: note: in expansion of macro ‘new_node’ 303 | new_node(Re_node, node, node); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:303:2: note: in expansion of macro ‘new_node’ 303 | new_node(Re_node, node, node); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:303:2: note: in expansion of macro ‘new_node’ 303 | new_node(Re_node, node, node); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:303:2: note: in expansion of macro ‘new_node’ 303 | 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’ 339 | 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’ 355 | 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’ 360 | 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’ 370 | 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’ 397 | 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’ 402 | 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’ 413 | 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’ 451 | 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] 67 | 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] 68 | ((ret2 = asplit_terminal(0, anum_terminals, multibuf, &multilen)) <= 0) || | ^~~~~~~~~~~~~~~ preprocess.c:70:44: warning: implicit declaration of function ‘destroy_tree’ [-Wimplicit-function-declaration] 70 | 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] 97 | 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’ [-Wimplicit-function-declaration] 322 | num_pos = init(r_pat, table); | ^~~~ 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] 69 | 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] 67 | strcpy(name_buf, argv[i]); | ^~~~~~ recursive.c:67:3: warning: incompatible implicit declaration of built-in function ‘strcpy’ recursive.c:37:1: note: include ‘’ or provide a declaration of ‘strcpy’ 36 | #include +++ |+#include 37 | #define BUFSIZE 256 recursive.c:71:15: warning: implicit declaration of function ‘exec’ [-Wimplicit-function-declaration] 71 | if ((ret = exec(3, file_list)) == -1) return -1; | ^~~~ recursive.c:74:5: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 74 | free(file_list[j]); | ^~~~ recursive.c:74:5: warning: incompatible implicit declaration of built-in function ‘free’ recursive.c:37:1: note: include ‘’ or provide a declaration of ‘free’ 36 | #include +++ |+#include 37 | #define BUFSIZE 256 recursive.c: In function ‘treewalk’: recursive.c:114:5: warning: implicit declaration of function ‘my_lstat’; did you mean ‘lstat’? [-Wimplicit-function-declaration] 114 | if(my_lstat(name, &stbuf) == -1) { | ^~~~~~~~ | lstat recursive.c:37:17: warning: ‘malloc’ argument 1 type is ‘int’ where ‘unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 37 | #define BUFSIZE 256 | ^~~ recursive.c:124:35: note: in expansion of macro ‘BUFSIZE’ 124 | file_list[fdx] = (char *)malloc(BUFSIZE); | ^~~~~~~ recursive.c:111:15: note: built-in ‘malloc’ declared here 111 | extern void *malloc(); | ^~~~~~ recursive.c:125:3: warning: incompatible implicit declaration of built-in function ‘strcpy’ 125 | 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’ 130 | 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] 147 | 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] 160 | 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’ 165 | 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] 52 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~~~ sgrep.c:52:19: warning: type defaults to ‘int’ in declaration of ‘WHOLELINE’ [-Wimplicit-int] 52 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~~~ sgrep.c:52:30: warning: type defaults to ‘int’ in declaration of ‘NOUPPER’ [-Wimplicit-int] 52 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~ sgrep.c: In function ‘sgrep’: sgrep.c:172:1: warning: type of ‘samepattern’ defaults to ‘int’ [-Wimplicit-int] 172 | sgrep(in_pat, in_m, fd, D, samepattern) | ^~~~~ sgrep.c:241:22: warning: implicit declaration of function ‘fill_buf’ [-Wimplicit-function-declaration] 241 | while( (num_read = fill_buf(fd, text+offset, 2*BlockSize)) > 0) | ^~~~~~~~ sgrep.c:294:16: warning: implicit declaration of function ‘monkey’ [-Wimplicit-function-declaration] 294 | 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] 300 | 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] 308 | 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] 315 | 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] 321 | if (-1 == agrep(pat, m, text+start, text+end, D, oldpat, oldm)) { | ^~~~~ | sgrep sgrep.c: In function ‘agrep’: sgrep.c:1155:16: warning: implicit declaration of function ‘s_output’ [-Wimplicit-function-declaration] 1155 | if (-1 == s_output(text, ¤tpos, textbegin, textend, &lastout, pat, M, oldpat, oldM)) return -1; | ^~~~~~~~ sgrep.c: In function ‘prep_bm’: sgrep.c:1476:10: warning: type defaults to ‘int’ in declaration of ‘m’ [-Wimplicit-int] 1476 | register m; | ^ sgrep.c: In function ‘a_monkey’: sgrep.c:1869:14: warning: implicit declaration of function ‘verify’ [-Wimplicit-function-declaration] 1869 | if((pos = verify(m, 2*m+D, D, pat, oldtext)) > 0) { | ^~~~~~ sgrep.c: In function ‘prep4’: sgrep.c:2550:10: warning: implicit declaration of function ‘blog’; did you mean ‘log’? [-Wimplicit-function-declaration] 2550 | 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] 52 | 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] 52 | 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] 52 | 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] 52 | 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] 52 | 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] 52 | 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] 52 | 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] 53 | extern INVERSE, OUTTAIL; | ^~~~~~~ newmgrep.c:53:17: warning: type defaults to ‘int’ in declaration of ‘OUTTAIL’ [-Wimplicit-int] 53 | extern INVERSE, OUTTAIL; | ^~~~~~~ newmgrep.c:54:8: warning: type defaults to ‘int’ in declaration of ‘WORDBOUND’ [-Wimplicit-int] 54 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~~~ newmgrep.c:54:19: warning: type defaults to ‘int’ in declaration of ‘WHOLELINE’ [-Wimplicit-int] 54 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~~~ newmgrep.c:54:30: warning: type defaults to ‘int’ in declaration of ‘NOUPPER’ [-Wimplicit-int] 54 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~ newmgrep.c:59:8: warning: type defaults to ‘int’ in declaration of ‘total_line’ [-Wimplicit-int] 59 | extern total_line; | ^~~~~~~~~~ newmgrep.c:60:8: warning: type defaults to ‘int’ in declaration of ‘agrep_initialfd’ [-Wimplicit-int] 60 | extern agrep_initialfd; | ^~~~~~~~~~~~~~~ newmgrep.c: In function ‘prepf’: newmgrep.c:195:21: warning: implicit declaration of function ‘fill_buf’ [-Wimplicit-function-declaration] 195 | while((num_read = fill_buf(mfp, buf+length, 2*BlockSize)) > 0) { | ^~~~~~~~ newmgrep.c: In function ‘mgrep’: newmgrep.c:485:27: warning: implicit declaration of function ‘m_short’; did you mean ‘qsort’? [-Wimplicit-function-declaration] 485 | 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] 486 | else { if (-1 == monkey1(text, start, end)) {free_buf(fd, text); return -1;}} | ^~~~~~~ newmgrep.c: In function ‘monkey1’: newmgrep.c:1053:61: warning: implicit declaration of function ‘eval_tree’ [-Wimplicit-function-declaration] 1053 | 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] 75 | exit(2);\ | ^~~~ utilities.c:21:2: note: in expansion of macro ‘new_node’ 21 | new_node(Stack, node, node); | ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ utilities.c:21:2: note: in expansion of macro ‘new_node’ 21 | new_node(Stack, node, node); | ^~~~~~~~ utilities.c:8:1: note: include ‘’ or provide a declaration of ‘exit’ 7 | #include "re.h" +++ |+#include 8 | In file included from utilities.c:7: re.h:77:2: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:21:2: note: in expansion of macro ‘new_node’ 21 | new_node(Stack, node, node); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:21:2: note: in expansion of macro ‘new_node’ 21 | new_node(Stack, node, node); | ^~~~~~~~ utilities.c:8:1: note: include ‘’ or provide a declaration of ‘memset’ 7 | #include "re.h" +++ |+#include 8 | utilities.c: In function ‘Pop’: utilities.c:42:3: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 42 | 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’ 75 | exit(2);\ | ^~~~ utilities.c:89:3: note: in expansion of macro ‘new_node’ 89 | new_node(Pset, new, new); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ utilities.c:89:3: note: in expansion of macro ‘new_node’ 89 | new_node(Pset, new, new); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:89:3: note: in expansion of macro ‘new_node’ 89 | new_node(Pset, new, new); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:89:3: note: in expansion of macro ‘new_node’ 89 | new_node(Pset, new, new); | ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ utilities.c:102:4: note: in expansion of macro ‘new_node’ 102 | new_node(Pset, new, new); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ utilities.c:102:4: note: in expansion of macro ‘new_node’ 102 | new_node(Pset, new, new); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:102:4: note: in expansion of macro ‘new_node’ 102 | new_node(Pset, new, new); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:102:4: note: in expansion of macro ‘new_node’ 102 | new_node(Pset, new, new); | ^~~~~~~~ utilities.c: In function ‘create_pos’: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ utilities.c:124:2: note: in expansion of macro ‘new_node’ 124 | new_node(Pset, x, x); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ utilities.c:124:2: note: in expansion of macro ‘new_node’ 124 | new_node(Pset, x, x); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:124:2: note: in expansion of macro ‘new_node’ 124 | new_node(Pset, x, x); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:124:2: note: in expansion of macro ‘new_node’ 124 | new_node(Pset, x, x); | ^~~~~~~~ utilities.c: In function ‘word_exists’: utilities.c:168:9: warning: implicit declaration of function ‘strncmp’ [-Wimplicit-function-declaration] 168 | if (!strncmp(line, word, wordlen)) { | ^~~~~~~ utilities.c:168:29: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 168 | if (!strncmp(line, word, wordlen)) { | ^~~~~~~ : note: built-in ‘strncmp’ declared here 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] 25 | 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] 33 | return stat(name, buf); | ^~~~ | strcat main.c: In function ‘main’: main.c:29:8: warning: implicit declaration of function ‘fileagrep’ [-Wimplicit-function-declaration] 29 | ret = fileagrep(argc, argv, 0, stdout); | ^~~~~~~~~ gcc -Wl,-Bsymbolic-functions -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] 135 | exit(1); | ^~~~ log.c:135:3: warning: incompatible implicit declaration of built-in function ‘exit’ log.c:24:1: note: include ‘’ or provide a declaration of ‘exit’ 23 | #include "util.h" +++ |+#include 24 | log.c:140:3: warning: incompatible implicit declaration of built-in function ‘exit’ 140 | 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’ 149 | 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] 70 | memset(argv, '\0', sizeof(char *) * 64); | ^~~~~~ system.c:70:3: warning: incompatible implicit declaration of built-in function ‘memset’ system.c:23:1: note: include ‘’ or provide a declaration of ‘memset’ 22 | #include "util.h" +++ |+#include 23 | #ifdef HAVE_SETRLIMIT system.c: In function ‘do_system_lifetime’: system.c:148:3: warning: incompatible implicit declaration of built-in function ‘memset’ 148 | 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] 89 | extern set_usemalloc(); /* compress/misc.c */ | ^~~~~~~~~~~~~ buildcast.c:98:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 98 | cross_boundary(oldnum, newnum) | ^~~~~~~~~~~~~~ buildcast.c:111:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 111 | determine_sync() | ^~~~~~~~~~~~~~ buildcast.c:158:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 158 | main(argc, argv) | ^~~~ buildcast.c: In function ‘main’: buildcast.c:193:5: warning: implicit declaration of function ‘build_filename_hashtable’ [-Wimplicit-function-declaration] 193 | build_filename_hashtable((char *)NULL, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:201:13: warning: implicit declaration of function ‘usage’ [-Wimplicit-function-declaration] 201 | return usage(1); | ^~~~~ buildcast.c:536:2: warning: implicit declaration of function ‘partition’ [-Wimplicit-function-declaration] 536 | partition(argc, argv); | ^~~~~~~~~ buildcast.c:573:5: warning: implicit declaration of function ‘read_filters’ [-Wimplicit-function-declaration] 573 | read_filters(INDEX_DIR, UseFilters); | ^~~~~~~~~~~~ buildcast.c:585:5: warning: implicit declaration of function ‘initialize_tuncompress’ [-Wimplicit-function-declaration] 585 | initialize_tuncompress(string_file, freq_file, 0); | ^~~~~~~~~~~~~~~~~~~~~~ buildcast.c:626:5: warning: implicit declaration of function ‘set_indexable_char’ [-Wimplicit-function-declaration] 626 | set_indexable_char(indexable_char); | ^~~~~~~~~~~~~~~~~~ buildcast.c:745:5: warning: implicit declaration of function ‘initialize_data_structures’ [-Wimplicit-function-declaration] 745 | initialize_data_structures(file_num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:747:5: warning: implicit declaration of function ‘build_index’ [-Wimplicit-function-declaration] 747 | build_index(); | ^~~~~~~~~~~ buildcast.c:749:5: warning: implicit declaration of function ‘cleanup’ [-Wimplicit-function-declaration] 749 | cleanup(); | ^~~~~~~ buildcast.c:750:5: warning: implicit declaration of function ‘save_data_structures’ [-Wimplicit-function-declaration] 750 | save_data_structures(); | ^~~~~~~~~~~~~~~~~~~~ buildcast.c:751:5: warning: implicit declaration of function ‘destroy_filename_hashtable’ [-Wimplicit-function-declaration] 751 | destroy_filename_hashtable(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:752:5: warning: implicit declaration of function ‘uninitialize_common’ [-Wimplicit-function-declaration] 752 | uninitialize_common(); | ^~~~~~~~~~~~~~~~~~~ buildcast.c:753:5: warning: implicit declaration of function ‘uninitialize_tcompress’ [-Wimplicit-function-declaration] 753 | uninitialize_tcompress(); | ^~~~~~~~~~~~~~~~~~~~~~ buildcast.c:754:5: warning: implicit declaration of function ‘uninitialize_tuncompress’ [-Wimplicit-function-declaration] 754 | uninitialize_tuncompress(); | ^~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:755:5: warning: implicit declaration of function ‘compute_dictionary’ [-Wimplicit-function-declaration] 755 | compute_dictionary(threshold, DISKBLOCKSIZE, specialwords, INDEX_DIR); | ^~~~~~~~~~~~~~~~~~ buildcast.c:759:7: warning: implicit declaration of function ‘initialize_tcompress’ [-Wimplicit-function-declaration] 759 | 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] 764 | strcpy(name, LIST_GET(name_list, i)); | ^~~~~~ buildcast.c:765:6: warning: implicit declaration of function ‘tcompress_file’ [-Wimplicit-function-declaration] 765 | tcompress_file(name, outname, TC_REMOVE | TC_EASYSEARCH | TC_OVERWRITE | TC_NOPROMPT); | ^~~~~~~~~~~~~~ buildcast.c: At top level: buildcast.c:1063:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1063 | cleanup() | ^~~~~~~ buildcast.c:1125:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1125 | usage(flag) | ^~~~~ buildcast.c: In function ‘determine_sync’: buildcast.c:120:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 120 | system(S); | ^~~~~~~~~ buildcast.c: In function ‘main’: buildcast.c:464:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 464 | fgets(buffer, 1024, filefp); /* skip over num. of file names */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:521:6: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 521 | getcwd(INDEX_DIR, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:526:5: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 526 | getcwd(working_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:531:5: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 531 | getcwd(INDEX_DIR, MAX_LINE_LEN - 1); /* must be absolute path name */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:532:5: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 532 | chdir(working_dir); /* get back to where you were */ | ^~~~~~~~~~~~~~~~~~ buildcast.c:649:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 649 | system(s); | ^~~~~~~~~ buildcast.c:657:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 657 | system(s); | ^~~~~~~~~ buildcast.c:665:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 665 | system(s); | ^~~~~~~~~ buildcast.c:673:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 673 | system(s); | ^~~~~~~~~ buildcast.c:681:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 681 | system(s); | ^~~~~~~~~ buildcast.c:689:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 689 | system(s); | ^~~~~~~~~ buildcast.c:697:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 697 | system(s); | ^~~~~~~~~ buildcast.c:705:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 705 | system(s); | ^~~~~~~~~ buildcast.c:716:6: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 716 | system(s); | ^~~~~~~~~ buildcast.c:731:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 731 | system(s); | ^~~~~~~~~ buildcast.c:733:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 733 | system(s); | ^~~~~~~~~ buildcast.c:735:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 735 | system(s); | ^~~~~~~~~ buildcast.c:737:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 737 | system(s); | ^~~~~~~~~ buildcast.c:739:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 739 | system(s); | ^~~~~~~~~ buildcast.c:804:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 804 | system(s); | ^~~~~~~~~ buildcast.c:806:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 806 | system(s); | ^~~~~~~~~ buildcast.c:808:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 808 | system(s); | ^~~~~~~~~ buildcast.c:810:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 810 | system(s); | ^~~~~~~~~ buildcast.c:812:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 812 | system(s); | ^~~~~~~~~ buildcast.c:814:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 814 | system(s); | ^~~~~~~~~ buildcast.c:816:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 816 | system(s); | ^~~~~~~~~ buildcast.c:818:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 818 | system(s); | ^~~~~~~~~ buildcast.c:820:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 820 | system(s); | ^~~~~~~~~ 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=] 1067 | sprintf(s, "%s/%s", INDEX_DIR, I1); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:1069:20: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1069 | sprintf(s, "%s/%s", INDEX_DIR, I2); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:1071:20: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1071 | sprintf(s, "%s/%s", INDEX_DIR, I3); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:1073:20: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1073 | sprintf(s, "%s/%s", INDEX_DIR, O1); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:1075:20: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1075 | sprintf(s, "%s/%s", INDEX_DIR, O2); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:1077:20: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1077 | sprintf(s, "%s/%s", INDEX_DIR, O3); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:1079:19: warning: ‘/.glimpse_apply.’ directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 1079 | sprintf(s, "%s/.glimpse_apply.%d", INDEX_DIR, getpid()); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 18 and 1051 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 587 | sprintf(s, "%s/%s", INDEX_DIR, DEF_TIME_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 20 and 1043 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:601:20: warning: ‘%s’ directive writing 17 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 601 | sprintf(s, "%s/%s", INDEX_DIR, DEF_MESSAGE_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 19 and 1042 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:607:20: warning: ‘%s’ directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 607 | sprintf(s, "%s/%s", INDEX_DIR, DEF_STAT_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:636:19: warning: ‘/.glimpse_index’ directive writing 15 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 636 | sprintf(s, "%s/.glimpse_index", INDEX_DIR); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:638:16: warning: ‘/.glimpse_tempdir.’ directive writing 18 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 638 | sprintf(s, "%s/.glimpse_tempdir.%d", INDEX_DIR, pid); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 20 and 1053 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:708:16: warning: ‘/.glimpse_attributes’ directive writing 20 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 708 | sprintf(s, "%s/.glimpse_attributes", INDEX_DIR); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:722:19: warning: ‘/.glimpse_quick’ directive writing 15 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 722 | sprintf(s, "%s/.glimpse_quick", INDEX_DIR); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:725:16: warning: ‘/.glimpse_backup.’ directive writing 17 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 725 | sprintf(s, "%s/.glimpse_backup.%x", INDEX_DIR, backup); | ^~~~~~~~~~~~~~~~~ buildcast.c:725:13: note: using the range [0, 4294967295] for directive argument 725 | sprintf(s, "%s/.glimpse_backup.%x", INDEX_DIR, backup); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 19 and 1049 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:771:19: warning: ‘/.glimpse_tempdir.’ directive writing 18 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 771 | sprintf(s, "%s/.glimpse_tempdir.%d/.glimpse_index", INDEX_DIR, pid); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 35 and 1068 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:803:54: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 989 [-Wformat-overflow=] 803 | 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); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 38 or more bytes (assuming 1061) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:822:16: warning: ‘/.glimpse_tempdir.’ directive writing 18 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 822 | sprintf(s, "%s/.glimpse_tempdir.%d", INDEX_DIR, pid); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 20 and 1053 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:454:22: warning: ‘%s’ directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 454 | sprintf(buffer, "%s/%s", INDEX_DIR, NAME_LIST); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 20 and 1043 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:459:22: warning: ‘%s’ directive writing 24 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 459 | sprintf(buffer, "%s/%s.tmp", INDEX_DIR, NAME_LIST_INDEX); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 30 and 1053 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:482:22: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=] 482 | sprintf(buffer, "mv %s/%s.tmp %s/%s", INDEX_DIR, NAME_LIST_INDEX, INDEX_DIR, NAME_LIST_INDEX); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from buildcast.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 59 and 2105 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] 117 | 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] 153 | 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] 170 | remove_filename(fileindex, new_partition);\ | ^~~~~~~~~~~~~~~ dir.c:268:3: note: in expansion of macro ‘PROCESS_EXIT’ 268 | PROCESS_EXIT; | ^~~~~~~~~~~~ dir.c:222:9: warning: implicit declaration of function ‘memagrep_search’ [-Wimplicit-function-declaration] 222 | (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’ 280 | PROCESS_INCLUDE; | ^~~~~~~~~~~~~~~ dir.c:332:13: warning: implicit declaration of function ‘fsize_directory’ [-Wimplicit-function-declaration] 332 | 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’ [-Wimplicit-function-declaration] 336 | if (!filetype(name, IndexEverything?2:1, NULL, NULL)) printf("%s\n", name); | ^~~~~~~~ dir.c:353:14: warning: implicit declaration of function ‘tuncompress_file’ [-Wimplicit-function-declaration] 353 | 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] 393 | change_filename(name, name_len, fileindex, t1); | ^~~~~~~~~~~~~~~ dir.c:427:7: warning: implicit declaration of function ‘insert_filename’ [-Wimplicit-function-declaration] 427 | insert_filename(LIST_GET(name_list, file_num), file_num); | ^~~~~~~~~~~~~~~ dir.c: At top level: dir.c:492:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 492 | 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] 449 | hashNk(name, len) | ^~~~~~ io.c:48:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 48 | get_array_of_lines(inputfile, table, max_entry, overflow_ok) | ^~~~~~~~~~~~~~~~~~ io.c:169:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 169 | get_index_type(s, dashn, num, attr, delim) | ^~~~~~~~~~~~~~ io.c:188:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 188 | get_block_numbers(srcbuf, destbuf, partfp) | ^~~~~~~~~~~~~~~~~ io.c:369:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 369 | 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 387 | if (!dofilter) return; | ^~~~~~ io.c:369:1: note: declared here 369 | read_filters(index_dir, dofilter) | ^~~~~~~~~~~~ io.c: At top level: io.c:449:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 449 | apply_filter(inname, outname) | ^~~~~~~~~~~~ io.c: In function ‘apply_filter’: io.c:526:9: warning: implicit declaration of function ‘memagrep_search’ [-Wimplicit-function-declaration] 526 | (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] 566 | static_stop_list(word) | ^~~~~~~~~~~~~~~~ io.c:662:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 662 | my_free(ptr, size) | ^~~~~~~ io.c:709:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 709 | tokenallfree() | ^~~~~~~~~~~~ io.c:714:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 714 | tokenfree(e, len) | ^~~~~~~~~ io.c:736:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 736 | indicesallfree() | ^~~~~~~~~~~~~~ io.c:741:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 741 | indicesfree(e, len) | ^~~~~~~~~~~ io.c:764:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 764 | wordallfree() | ^~~~~~~~~~~ io.c:769:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 769 | wordfree(s, len) | ^~~~~~~~ io.c:1049:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1049 | dump_mini(indexfile) | ^~~~~~~~~ io.c:1236:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1236 | initialize_data_structures(files) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1261:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1261 | destroy_data_structures() | ^~~~~~~~~~~~~~~~~~~~~~~ io.c:1463:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1463 | 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 1474 | if (name == NULL) return; | ^~~~~~ io.c:1463:1: note: declared here 1463 | insert_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c:1476:57: warning: ‘return’ with no value, in function returning non-void 1476 | if (special_parse_name(name, len, &begin, &end) == -1) return; | ^~~~~~ io.c:1463:1: note: declared here 1463 | insert_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c:1479:3: warning: ‘return’ with no value, in function returning non-void 1479 | return; | ^~~~~~ io.c:1463:1: note: declared here 1463 | insert_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c:1496:21: warning: ‘return’ with no value, in function returning non-void 1496 | if ((*pe) != NULL) return; | ^~~~~~ io.c:1463:1: note: declared here 1463 | insert_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c: At top level: io.c:1515:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1515 | 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 1525 | if (special_get_name(name, len, temp) == -1) return; | ^~~~~~ io.c:1515:1: note: declared here 1515 | change_filename(name, len, index, newname) | ^~~~~~~~~~~~~~~ io.c:1529:21: warning: ‘return’ with no value, in function returning non-void 1529 | if ((*pe) == NULL) return; | ^~~~~~ io.c:1515:1: note: declared here 1515 | change_filename(name, len, index, newname) | ^~~~~~~~~~~~~~~ io.c:1534:2: warning: ‘return’ with no value, in function returning non-void 1534 | return; | ^~~~~~ io.c:1515:1: note: declared here 1515 | change_filename(name, len, index, newname) | ^~~~~~~~~~~~~~~ io.c: At top level: io.c:1537:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1537 | 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 1548 | if (name == NULL) return; | ^~~~~~ io.c:1537:1: note: declared here 1537 | delete_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c:1550:57: warning: ‘return’ with no value, in function returning non-void 1550 | if (special_parse_name(name, len, &begin, &end) == -1) return; | ^~~~~~ io.c:1537:1: note: declared here 1537 | delete_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c:1553:3: warning: ‘return’ with no value, in function returning non-void 1553 | return; | ^~~~~~ io.c:1537:1: note: declared here 1537 | delete_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c:1570:21: warning: ‘return’ with no value, in function returning non-void 1570 | if ((*pe) == NULL) return; | ^~~~~~ io.c:1537:1: note: declared here 1537 | delete_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c:1577:2: warning: ‘return’ with no value, in function returning non-void 1577 | return; | ^~~~~~ io.c:1537:1: note: declared here 1537 | delete_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c: At top level: io.c:1580:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1580 | init_filename_hashtable() | ^~~~~~~~~~~~~~~~~~~~~~~ io.c:1587:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1587 | build_filename_hashtable(names, num) | ^~~~~~~~~~~~~~~~~~~~~~~~ io.c:1598:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1598 | destroy_filename_hashtable() | ^~~~~~~~~~~~~~~~~~~~~~~~~~ io.c: In function ‘get_array_of_lines’: io.c:66:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 66 | fgets(buffer, MAX_NAME_BUF, file_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c: In function ‘get_index_type’: io.c:180:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 180 | fscanf(fp, "%s\n%%%d\n%%%d%s\n", buf, num, attr, delim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c: In function ‘dump_mini’: io.c:1081:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 1081 | fgets(indexnumber, 256, indexfp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1082:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 1082 | fgets(onefileperblock, 256, indexfp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1084:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 1084 | fscanf(indexfp, "%%%d\n", &attr_num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1111:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 1111 | system(s); | ^~~~~~~~~ io.c:1131:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 1131 | system(s); | ^~~~~~~~~ io.c:1133:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 1133 | system(sync_path); /* sync() has a BUG */ | ^~~~~~~~~~~~~~~~~ io.c:1211:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 1211 | system(s); | ^~~~~~~~~ io.c:1218:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 1218 | system(s); | ^~~~~~~~~ io.c:1220:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 1220 | system(sync_path); /* sync() has a BUG */ | ^~~~~~~~~~~~~~~~~ io.c: In function ‘get_file_time’: io.c:1631:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 1631 | fread(array, sizeof(long), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 328 | sprintf(command, "exec %s '%s' > '%s'", filter_command[filter_number], | ^~ 329 | escaped_in, escaped_out); | ~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from io.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 14 or more bytes (assuming 2060) into a destination of size 2048 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 1110 | sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from io.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 11 and 1034 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1117:29: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] 1117 | sprintf(s, "exec %s -n -T '%s' '%s.tmp' > '%s'\n", SYSTEM_SORT, escapesinglequote(INDEX_DIR, es1), escapesinglequote(indexfile, es2), escapesinglequote(indexfile, es3)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from io.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 32 and 3101 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1130:23: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=] 1130 | sprintf(s, "exec %s '%s.tmp'", SYSTEM_RM, escapesinglequote(indexfile, es1)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from io.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 15 and 1038 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1151:17: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1151 | sprintf(s, "%s/%s", INDEX_DIR, MINI_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from io.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1210:23: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=] 1210 | sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from io.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 11 and 1034 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1217:23: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=] 1217 | sprintf(s, "exec %s '%s.tmp' '%s'\n", SYSTEM_MV, escapesinglequote(indexfile, es1), escapesinglequote(indexfile, es2)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from io.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 19 and 2065 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 548 | sprintf(newoutname, "%s.o", prevoutname); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from io.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 3 and 1026 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:503:29: warning: ‘.o’ directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 503 | sprintf(newoutname, "%s.o", prevoutname); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from io.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 3 and 1026 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] 128 | build_index() | ^~~~~~~~~~~ build_in.c: In function ‘build_index’: build_in.c:143:9: warning: implicit declaration of function ‘build_hash’ [-Wimplicit-function-declaration] 143 | build_hash(); | ^~~~~~~~~~ build_in.c:145:9: warning: ‘return’ with no value, in function returning non-void 145 | return; | ^~~~~~ build_in.c:128:1: note: declared here 128 | build_index() | ^~~~~~~~~~~ build_in.c: At top level: build_in.c:157:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 157 | traverse() | ^~~~~~~~ build_in.c: In function ‘traverse’: build_in.c:215:19: warning: implicit declaration of function ‘encode16b’ [-Wimplicit-function-declaration] 215 | attribute = encode16b(tp->attribute); | ^~~~~~~~~ build_in.c:350:16: warning: implicit declaration of function ‘encode8b’ [-Wimplicit-function-declaration] 350 | temp = encode8b(0); | ^~~~~~~~ build_in.c:379:13: warning: implicit declaration of function ‘encode24b’ [-Wimplicit-function-declaration] 379 | x = encode24b(ip->index[j]); | ^~~~~~~~~ build_in.c:482:12: warning: implicit declaration of function ‘encode12b’ [-Wimplicit-function-declaration] 482 | x = encode12b(ip->index[j]); | ^~~~~~~~~ build_in.c:588:5: warning: implicit declaration of function ‘tokenallfree’; did you mean ‘tokenfree’? [-Wimplicit-function-declaration] 588 | tokenallfree(); | ^~~~~~~~~~~~ | tokenfree build_in.c:589:5: warning: implicit declaration of function ‘indicesallfree’; did you mean ‘indicesfree’? [-Wimplicit-function-declaration] 589 | indicesallfree(); | ^~~~~~~~~~~~~~ | indicesfree build_in.c:590:5: warning: implicit declaration of function ‘wordallfree’; did you mean ‘wordfree’? [-Wimplicit-function-declaration] 590 | wordallfree(); | ^~~~~~~~~~~ | wordfree build_in.c: At top level: build_in.c:602:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 602 | traverse1() | ^~~~~~~~~ build_in.c: In function ‘traverse1’: build_in.c:713:9: warning: ‘return’ with no value, in function returning non-void 713 | return; | ^~~~~~ build_in.c:602:1: note: declared here 602 | traverse1() | ^~~~~~~~~ build_in.c:744:5: warning: implicit declaration of function ‘merge_in’ [-Wimplicit-function-declaration] 744 | merge_in(i2, i1, i3); | ^~~~~~~~ build_in.c: At top level: build_in.c:784:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 784 | build_hash() | ^~~~~~~~~~ build_in.c: In function ‘build_hash’: build_in.c:807:26: warning: implicit declaration of function ‘region_initialize’ [-Wimplicit-function-declaration] 807 | if (StructuredIndex) region_initialize(); | ^~~~~~~~~~~~~~~~~ build_in.c:808:5: warning: implicit declaration of function ‘init_hash_table’ [-Wimplicit-function-declaration] 808 | init_hash_table(); | ^~~~~~~~~~~~~~~ build_in.c:818:18: warning: ‘return’ with no value, in function returning non-void 818 | if (tried_once) return; | ^~~~~~ build_in.c:784:1: note: declared here 784 | build_hash() | ^~~~~~~~~~ build_in.c:831:17: warning: implicit declaration of function ‘tuncompress_file’ [-Wimplicit-function-declaration] 831 | 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’ [-Wimplicit-function-declaration] 832 | if (StructuredIndex && (-1 == region_create(outname))) { | ^~~~~~~~~~~~~ build_in.c:834:7: warning: implicit declaration of function ‘remove_filename’ [-Wimplicit-function-declaration] 834 | remove_filename(i, -1); | ^~~~~~~~~~~~~~~ build_in.c:840:28: warning: implicit declaration of function ‘region_destroy’ [-Wimplicit-function-declaration] 840 | if (StructuredIndex) region_destroy(); /* cannot happen! */ | ^~~~~~~~~~~~~~ build_in.c:850:17: warning: implicit declaration of function ‘apply_filter’ [-Wimplicit-function-declaration] 850 | if ((ret = apply_filter(LIST_GET(name_list, i), outname)) == 1) { | ^~~~~~~~~~~~ build_in.c:869:7: warning: implicit declaration of function ‘filetype’ [-Wimplicit-function-declaration] 869 | if (filetype(LIST_GET(name_list, i), 0, NULL, NULL)) { /* try to index input file if it satisfies filetype */ | ^~~~~~~~ build_in.c:1021:2: warning: ‘return’ with no value, in function returning non-void 1021 | return; | ^~~~~~ build_in.c:784:1: note: declared here 784 | build_hash() | ^~~~~~~~~~ build_in.c:1053:46: warning: null argument where non-null required (argument 1) [-Wnonnull] 1053 | 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] 1233 | 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 1238 | return; | ^~~~~~ build_in.c:1233:1: note: declared here 1233 | 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] 233 | #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’ 1267 | hash_value = hashword(word, wordlen); | ^~~~~~~~ glimpse.h:233:123: warning: implicit declaration of function ‘hash256k’ [-Wimplicit-function-declaration] 233 | #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’ 1267 | hash_value = hashword(word, wordlen); | ^~~~~~~~ build_in.c: At top level: build_in.c:1459:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1459 | scanword(word, buffer, buffer_end, attr) | ^~~~~~~~ build_in.c:1484:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1484 | 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] 1571 | x = decode8b(src_index_buf[bdx1]); | ^~~~~~~~ build_in.c:1577:9: warning: implicit declaration of function ‘decode12b’ [-Wimplicit-function-declaration] 1577 | x = decode12b(x); | ^~~~~~~~~ build_in.c:1590:12: warning: implicit declaration of function ‘decode16b’ [-Wimplicit-function-declaration] 1590 | x = decode16b(x); | ^~~~~~~~~ build_in.c:1595:12: warning: implicit declaration of function ‘decode24b’ [-Wimplicit-function-declaration] 1595 | x = decode24b(x); | ^~~~~~~~~ build_in.c:1756:64: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘unsigned char *’ [-Wformat=] 1756 | fprintf(stderr,"Had to Realloc merge buffer (#3), new size is %d\n",merge_index_buf); | ~^ ~~~~~~~~~~~~~~~ | | | | int unsigned char * | %hhn build_in.c:1771:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘unsigned char *’ [-Wformat=] 1771 | fprintf(stderr,"Realloc #4, new size is %d\n",merge_index_buf); | ~^ ~~~~~~~~~~~~~~~ | | | | int unsigned char * | %hhn build_in.c:1895:5: warning: ‘return’ with no value, in function returning non-void 1895 | return; | ^~~~~~ build_in.c:1484:1: note: declared here 1484 | merge_in(f1, f2, f3) | ^~~~~~~~ build_in.c: At top level: build_in.c:1898:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1898 | 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 1901 | if ((fileindex < 0) || (fileindex >= MaxNum24bPartition)) return; | ^~~~~~ build_in.c:1898:1: note: declared here 1898 | remove_filename(fileindex, new_partition) | ^~~~~~~~~~~~~~~ build_in.c: At top level: build_in.c:1946:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1946 | get_new_index(deletedlist, oldfileindex) | ^~~~~~~~~~~~~ build_in.c:1965:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1965 | delete_removed_indices(deletedlist) | ^~~~~~~~~~~~~~~~~~~~~~ build_in.c:2239:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 2239 | initialize_disable_list(files) | ^~~~~~~~~~~~~~~~~~~~~~~ build_in.c: In function ‘traverse1’: build_in.c:655:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 655 | system(s); | ^~~~~~~~~ build_in.c:657:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 657 | system(sync_path); /* sync() has a bug */ | ^~~~~~~~~~~~~~~~~ build_in.c:671:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 671 | system(s); | ^~~~~~~~~ build_in.c:679:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 679 | system(s); | ^~~~~~~~~ build_in.c:685:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 685 | system(s); | ^~~~~~~~~ build_in.c:692:9: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 692 | system(s); | ^~~~~~~~~ build_in.c:699:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 699 | system(s); | ^~~~~~~~~ build_in.c:712:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 712 | system(sync_path); /* sync() has a bug */ | ^~~~~~~~~~~~~~~~~ build_in.c:734:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 734 | fgets(s, 256, i1); | ^~~~~~~~~~~~~~~~~ build_in.c:737:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 737 | fgets(s, 256, i1); | ^~~~~~~~~~~~~~~~~ build_in.c:740:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 740 | fgets(s, 256, i1); | ^~~~~~~~~~~~~~~~~ build_in.c:754:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 754 | system(sync_path); /* sync() has a bug */ | ^~~~~~~~~~~~~~~~~ build_in.c:764:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 764 | system(s); | ^~~~~~~~~ build_in.c: In function ‘purge_index’: build_in.c:2023:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 2023 | fgets(indexnumberbuf, 256, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:2025:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 2025 | fscanf(i_in, "%%%d\n", &onefileperblock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:2029:14: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 2029 | fscanf(i_in, "%%%d%s\n", &structuredindex, temp_rdelim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:2232:9: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 2232 | system(s); | ^~~~~~~~~ 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=] 180 | sprintf(s, "%s/%s", INDEX_DIR, I2); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from build_in.c:26: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 717 | sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from build_in.c:26: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:722:20: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 722 | sprintf(s, "%s/%s", INDEX_DIR, I2); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from build_in.c:26: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:727:20: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 727 | sprintf(s, "%s/%s", INDEX_DIR, I3); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from build_in.c:26: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:683:54: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1010 [-Wformat-overflow=] 683 | else if (RecordLevelIndex) sprintf(s, "exec %s %%-2 %s >> '%s/%s'\n", SYSTEM_ECHO, old_rdelim, escapesinglequote(INDEX_DIR, es1), INDEX_FILE); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from build_in.c:26: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 37 or more bytes (assuming 1060) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:640:23: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1016 [-Wformat-overflow=] 640 | sprintf(s1, "system('%s') failed at:\n\t File=%s, Line=%d, Errno=%d", s, __FILE__, __LINE__, errno); | ^~ ~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from build_in.c:26: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 59 and 1092 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 1059 | sprintf(outname, "%s/.glimpse_apply.%d", INDEX_DIR, pid); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from build_in.c:26: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 18 and 1051 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:849:26: warning: ‘/.glimpse_apply.’ directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 849 | sprintf(outname, "%s/.glimpse_apply.%d", INDEX_DIR, pid); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from build_in.c:26: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 18 and 1051 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 2011 | sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from build_in.c:26: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:2016:23: warning: ‘/.glimpse_merge.’ directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 2016 | sprintf(s, "%s/.glimpse_merge.%d", INDEX_DIR, getpid()); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from build_in.c:26: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 18 and 1051 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] 71 | if (test_special_suffix(tempname)) { | ^~~~~~~~~~~~~~~~~~~ filetype.c:100:6: warning: implicit declaration of function ‘test_postscript’ [-Wimplicit-function-declaration] 100 | if (test_postscript(buffer, num_read)) { | ^~~~~~~~~~~~~~~ filetype.c:109:18: warning: implicit declaration of function ‘test_binary’ [-Wimplicit-function-declaration] 109 | BINARY = test_binary(buffer, num_read); | ^~~~~~~~~~~ filetype.c:120:21: warning: implicit declaration of function ‘test_uuencode’ [-Wimplicit-function-declaration] 120 | UUENCODED = test_uuencode(buffer, num_read); | ^~~~~~~~~~~~~ filetype.c:129:5: warning: implicit declaration of function ‘heavy_index’ [-Wimplicit-function-declaration] 129 | if(heavy_index(tempname, buffer, num_read)) { | ^~~~~~~~~~~ filetype.c:137:5: warning: implicit declaration of function ‘hqx’ [-Wimplicit-function-declaration] 137 | if(hqx(tempname, buffer, num_read)) { | ^~~ filetype.c:154:17: warning: implicit declaration of function ‘extract_info’ [-Wimplicit-function-declaration] 154 | *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] 276 | 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] 291 | hash_value = hash4k(word, strlen(word)); | ^~~~~~ filetype.c: At top level: filetype.c:312:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 312 | 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] 10 | extern UseFilters; | ^~~~~~~~~~ simpletest.c:33:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 33 | test_binary(buffer, length) | ^~~~~~~~~~~ simpletest.c:54:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 54 | test_uuencode(buffer, length) | ^~~~~~~~~~~~~ simpletest.c: In function ‘test_uuencode’: simpletest.c:67:13: warning: implicit declaration of function ‘memlook’ [-Wimplicit-function-declaration] 67 | i = memlook("\nbegin", buffer, length); | ^~~~~~~ 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] 245 | *pattr = region_identify(ICurrentFileOffset, 0); | ^~~~~~~~~~~~~~~ getword.c: At top level: getword.c:259:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 259 | set_indexable_char(indexable_char) | ^~~~~~~~~~~~~~~~~~ getword.c:273:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 273 | 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’; expected ‘char *(const char *)’ [-Wbuiltin-declaration-mismatch] 5 | unsigned char *strdup(str) | ^~~~~~ lib.c: In function ‘strdup’: lib.c:12:8: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] 12 | len = strlen(str); | ^~~~~~ lib.c:12:8: warning: incompatible implicit declaration of built-in function ‘strlen’ lib.c:4:1: note: include ‘’ or provide a declaration of ‘strlen’ 3 | #include +++ |+#include 4 | lib.c:16:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 16 | exit(2); | ^~~~ lib.c:16:3: warning: incompatible implicit declaration of built-in function ‘exit’ lib.c:4:1: note: include ‘’ or provide a declaration of ‘exit’ 3 | #include +++ |+#include 4 | 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] 70 | partition(dir_num, dir_name) | ^~~~~~~~~ partition.c: In function ‘partition’: partition.c:116:21: warning: implicit declaration of function ‘memagrep_init’ [-Wimplicit-function-declaration] 116 | 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] 128 | 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] 182 | 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] 420 | oldpartition(dir_num, dir_name) | ^~~~~~~~~~~~ partition.c:602:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 602 | save_data_structures() | ^~~~~~~~~~~~~~~~~~~~ partition.c: In function ‘save_data_structures’: partition.c:700:9: warning: implicit declaration of function ‘decode16b’ [-Wimplicit-function-declaration] 700 | 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] 702 | putc(encode8b(index), i_out); | ^~~~~~~~ partition.c:784:15: warning: implicit declaration of function ‘encode32b’ [-Wimplicit-function-declaration] 784 | offset = encode32b(part_size); | ^~~~~~~~~ partition.c:818:18: warning: implicit declaration of function ‘dump_mini’ [-Wimplicit-function-declaration] 818 | if (BuildTurbo) dump_mini(s); | ^~~~~~~~~ partition.c:842:56: warning: comparison between pointer and zero character constant [-Wpointer-compare] 842 | if ((LIST_GET(name_list, i) != NULL) && (name_list[0] != '\0')) { | ^~ partition.c:842:43: note: did you mean to dereference the pointer? 842 | 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] 848 | fputs(LIST_GET(name_list, i), f_out); | ^~~~~ partition.c:850:13: warning: null argument where non-null required (argument 1) [-Wnonnull] 850 | offset += strlen(LIST_GET(name_list, i)) + 1; | ^~~~~~ partition.c:890:36: warning: implicit declaration of function ‘build_filename_hashtable’ [-Wimplicit-function-declaration] 890 | 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] 899 | 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] 934 | merge_splits() | ^~~~~~~~~~~~ partition.c: In function ‘merge_splits’: partition.c:1034:15: warning: implicit declaration of function ‘encode16b’ [-Wimplicit-function-declaration] 1034 | index = encode16b(decode8b(src_index_buf[j+1])); | ^~~~~~~~~ partition.c:1034:25: warning: implicit declaration of function ‘decode8b’ [-Wimplicit-function-declaration] 1034 | index = encode16b(decode8b(src_index_buf[j+1])); | ^~~~~~~~ partition.c:1052:6: warning: implicit declaration of function ‘get_block_numbers’ [-Wimplicit-function-declaration] 1052 | get_block_numbers(&src_index_buf[j+1], &dest_index_buf[0], p_in); | ^~~~~~~~~~~~~~~~~ partition.c: In function ‘partition’: partition.c:172:6: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 172 | getcwd(working_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:177:6: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 177 | getcwd(current_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:178:6: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 178 | chdir(working_dir); | ^~~~~~~~~~~~~~~~~~ partition.c:193:6: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 193 | getcwd(working_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:198:6: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 198 | getcwd(current_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:199:6: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 199 | chdir(working_dir); | ^~~~~~~~~~~~~~~~~~ partition.c: In function ‘oldpartition’: partition.c:523:6: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 523 | getcwd(working_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:528:6: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 528 | getcwd(current_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:529:6: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 529 | chdir(working_dir); | ^~~~~~~~~~~~~~~~~~ partition.c:544:6: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 544 | getcwd(working_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:549:6: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 549 | getcwd(current_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:550:6: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 550 | chdir(working_dir); | ^~~~~~~~~~~~~~~~~~ partition.c: In function ‘save_data_structures’: partition.c:681:6: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 681 | fgets(indexnumberbuf, 256, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:683:6: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 683 | fscanf(i_in, "%%%d\n", &onefileperblock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:686:18: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 686 | fscanf(i_in, "%%%d%s\n", &structuredindex, temp_rdelim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:724:6: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 724 | system(s); | ^~~~~~~~~ partition.c:742:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 742 | fgets(indexnumberbuf, 256, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:744:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 744 | fscanf(i_in, "%%%d\n", &onefileperblock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:748:16: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 748 | fscanf(i_in, "%%%d%s\n", &structuredindex, temp_rdelim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:814:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 814 | system(s); | ^~~~~~~~~ partition.c:816:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 816 | system(sync_path); /* sync() has a BUG */ | ^~~~~~~~~~~~~~~~~ partition.c:826:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 826 | system(s); | ^~~~~~~~~ partition.c:828:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 828 | system(s); | ^~~~~~~~~ partition.c:876:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 876 | system(s); | ^~~~~~~~~ partition.c:878:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 878 | system(s); | ^~~~~~~~~ partition.c: In function ‘merge_splits’: partition.c:976:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 976 | fgets(indexnumberbuf, 256, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:978:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 978 | fscanf(i_in, "%%%d\n", &onefileperblock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:981:14: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 981 | fscanf(i_in, "%%%d%s\n", &structuredindex, temp_rdelim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:998:4: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 998 | system(s); | ^~~~~~~~~ partition.c:1005:4: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 1005 | system(s); | ^~~~~~~~~ partition.c:1007:4: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 1007 | system(sync_path); /* sync() has a BUG */ | ^~~~~~~~~~~~~~~~~ partition.c:1016:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 1016 | fgets(s, MAX_LINE_LEN, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:1017:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 1017 | fgets(s, MAX_LINE_LEN, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:1018:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 1018 | fgets(s, MAX_LINE_LEN, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:1075:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 1075 | system(s); | ^~~~~~~~~ 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=] 118 | sprintf(s, "%s/%s", INDEX_DIR, PROHIBIT_LIST); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 18 and 1041 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:139:20: warning: ‘%s’ directive writing 16 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 139 | sprintf(s, "%s/%s", INDEX_DIR, INCLUDE_LIST); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 18 and 1041 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:243:17: warning: ‘%s’ directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 243 | sprintf(S, "%s/%s.tmp", INDEX_DIR, DEF_TIME_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 24 and 1047 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:250:17: warning: ‘%s’ directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 250 | sprintf(S, "%s/%s", INDEX_DIR, DEF_TIME_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 20 and 1043 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:257:17: warning: ‘%s’ directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 257 | sprintf(S, "%s/%s.index", INDEX_DIR, DEF_TIME_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 26 and 1049 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:314:17: warning: ‘%s’ directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 314 | sprintf(S, "%s/%s.tmp", INDEX_DIR, DEF_TIME_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 24 and 1047 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:235:27: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1016 [-Wformat-overflow=] 235 | sprintf(S1, "system('%s') failed at:\n\t File=%s, Line=%d, Errno=%d", S, __FILE__, __LINE__, errno); | ^~ ~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 60 and 1093 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:238:21: warning: ‘%s’ directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 238 | sprintf(S, "%s/%s", INDEX_DIR, DEF_TIME_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 20 and 1043 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 451 | sprintf(s, "%s/%s", INDEX_DIR, PROHIBIT_LIST); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 18 and 1041 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:472:20: warning: ‘%s’ directive writing 16 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 472 | sprintf(s, "%s/%s", INDEX_DIR, INCLUDE_LIST); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 18 and 1041 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 633 | sprintf(s, "%s/%s", INDEX_DIR, ATTRIBUTE_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:641:20: warning: ‘%s’ directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 641 | sprintf(s, "%s/%s", INDEX_DIR, P_TABLE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:730:16: warning: ‘/.glimpse_split.’ directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 730 | sprintf(s, "%s/.glimpse_split.%d", INDEX_DIR, getpid()); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 18 and 1051 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:735:17: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 735 | sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:817:17: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 817 | sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:669:20: warning: ‘/.glimpse_split.’ directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 669 | sprintf(s, "%s/.glimpse_split.%d", INDEX_DIR, getpid()); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 18 and 1051 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:674:21: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 674 | sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:830:20: warning: ‘%s’ directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 830 | sprintf(s, "%s/%s", INDEX_DIR, NAME_LIST); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 20 and 1043 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:835:20: warning: ‘%s’ directive writing 24 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 835 | sprintf(s, "%s/%s", INDEX_DIR, NAME_LIST_INDEX); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 26 and 1049 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:880:20: warning: ‘%s’ directive writing 17 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 880 | sprintf(s, "%s/%s", INDEX_DIR, NAME_HASH); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 19 and 1042 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:885:20: warning: ‘%s’ directive writing 23 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 885 | sprintf(s, "%s/%s", INDEX_DIR, NAME_HASH_INDEX); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 25 and 1048 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 957 | sprintf(s, "%s/%s", INDEX_DIR, P_TABLE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:964:17: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 964 | sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:969:16: warning: ‘/.glimpse_merge.’ directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 969 | sprintf(s, "%s/.glimpse_merge.%d", INDEX_DIR, getpid()); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 18 and 1051 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:991:18: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 991 | sprintf(s, "%s/%s", INDEX_DIR, MINI_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:1010:18: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1010 | sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from partition.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-Bsymbolic-functions -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] 89 | extern set_usemalloc(); /* compress/misc.c */ | ^~~~~~~~~~~~~ glimpse.c:98:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 98 | cross_boundary(oldnum, newnum) | ^~~~~~~~~~~~~~ glimpse.c:111:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 111 | determine_sync() | ^~~~~~~~~~~~~~ glimpse.c:158:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 158 | main(argc, argv) | ^~~~ glimpse.c: In function ‘main’: glimpse.c:193:5: warning: implicit declaration of function ‘build_filename_hashtable’ [-Wimplicit-function-declaration] 193 | build_filename_hashtable((char *)NULL, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:201:13: warning: implicit declaration of function ‘usage’ [-Wimplicit-function-declaration] 201 | return usage(1); | ^~~~~ glimpse.c:536:2: warning: implicit declaration of function ‘partition’ [-Wimplicit-function-declaration] 536 | partition(argc, argv); | ^~~~~~~~~ glimpse.c:573:5: warning: implicit declaration of function ‘read_filters’ [-Wimplicit-function-declaration] 573 | read_filters(INDEX_DIR, UseFilters); | ^~~~~~~~~~~~ glimpse.c:585:5: warning: implicit declaration of function ‘initialize_tuncompress’ [-Wimplicit-function-declaration] 585 | initialize_tuncompress(string_file, freq_file, 0); | ^~~~~~~~~~~~~~~~~~~~~~ glimpse.c:626:5: warning: implicit declaration of function ‘set_indexable_char’ [-Wimplicit-function-declaration] 626 | set_indexable_char(indexable_char); | ^~~~~~~~~~~~~~~~~~ glimpse.c:847:19: warning: implicit declaration of function ‘get_index_type’ [-Wimplicit-function-declaration] 847 | 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] 865 | 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] 866 | initialize_disable_list(file_num); | ^~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:867:2: warning: implicit declaration of function ‘initialize_data_structures’ [-Wimplicit-function-declaration] 867 | initialize_data_structures(file_num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:871:14: warning: implicit declaration of function ‘get_table’ [-Wimplicit-function-declaration] 871 | part_num = get_table(s, p_table, MAX_PARTITION, 1) - 1; /* part_num INCLUDES last partition */ | ^~~~~~~~~ glimpse.c:873:7: warning: implicit declaration of function ‘merge_splits’ [-Wimplicit-function-declaration] 873 | else merge_splits(); | ^~~~~~~~~~~~ glimpse.c:939:4: warning: implicit declaration of function ‘remove_filename’ [-Wimplicit-function-declaration] 939 | remove_filename(i, -1); | ^~~~~~~~~~~~~~~ glimpse.c:969:2: warning: implicit declaration of function ‘destroy_data_structures’ [-Wimplicit-function-declaration] 969 | destroy_data_structures(); | ^~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:972:12: warning: implicit declaration of function ‘oldpartition’ [-Wimplicit-function-declaration] 972 | if (-1 == oldpartition(argc, argv)) { | ^~~~~~~~~~~~ glimpse.c:1000:37: warning: implicit declaration of function ‘build_index’ [-Wimplicit-function-declaration] 1000 | if (!DeleteFromIndex || FastIndex) build_index(); | ^~~~~~~~~~~ glimpse.c:1002:38: warning: implicit declaration of function ‘purge_index’ [-Wimplicit-function-declaration] 1002 | else if (PurgeIndex) new_file_num = purge_index(); | ^~~~~~~~~~~ glimpse.c:1021:5: warning: implicit declaration of function ‘destroy_filename_hashtable’ [-Wimplicit-function-declaration] 1021 | destroy_filename_hashtable(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:1030:5: warning: implicit declaration of function ‘cleanup’ [-Wimplicit-function-declaration] 1030 | cleanup(); | ^~~~~~~ glimpse.c:1031:5: warning: implicit declaration of function ‘save_data_structures’ [-Wimplicit-function-declaration] 1031 | save_data_structures(); | ^~~~~~~~~~~~~~~~~~~~ glimpse.c: At top level: glimpse.c:1063:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1063 | cleanup() | ^~~~~~~ glimpse.c:1085:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1085 | usage(flag) | ^~~~~ glimpse.c: In function ‘determine_sync’: glimpse.c:120:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 120 | system(S); | ^~~~~~~~~ glimpse.c: In function ‘main’: glimpse.c:464:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 464 | fgets(buffer, 1024, filefp); /* skip over num. of file names */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:521:6: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 521 | getcwd(INDEX_DIR, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:526:5: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 526 | getcwd(working_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:531:5: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 531 | getcwd(INDEX_DIR, MAX_LINE_LEN - 1); /* must be absolute path name */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:532:5: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 532 | chdir(working_dir); /* get back to where you were */ | ^~~~~~~~~~~~~~~~~~ glimpse.c:1045:5: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 1045 | chdir(INDEX_DIR); | ^~~~~~~~~~~~~~~~ glimpse.c:1047:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 1047 | system(s); | ^~~~~~~~~ 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=] 1067 | sprintf(s, "%s/%s", INDEX_DIR, I1); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from glimpse.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:1069:20: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1069 | sprintf(s, "%s/%s", INDEX_DIR, I2); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from glimpse.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:1071:20: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1071 | sprintf(s, "%s/%s", INDEX_DIR, I3); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from glimpse.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:1073:20: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1073 | sprintf(s, "%s/%s", INDEX_DIR, O1); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from glimpse.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:1075:20: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1075 | sprintf(s, "%s/%s", INDEX_DIR, O2); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from glimpse.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:1077:20: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1077 | sprintf(s, "%s/%s", INDEX_DIR, O3); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from glimpse.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:1079:19: warning: ‘/.glimpse_apply.’ directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 1079 | sprintf(s, "%s/.glimpse_apply.%d", INDEX_DIR, getpid()); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from glimpse.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 18 and 1051 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 587 | sprintf(s, "%s/%s", INDEX_DIR, DEF_TIME_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from glimpse.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 20 and 1043 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:601:20: warning: ‘%s’ directive writing 17 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 601 | sprintf(s, "%s/%s", INDEX_DIR, DEF_MESSAGE_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from glimpse.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 19 and 1042 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:607:20: warning: ‘%s’ directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 607 | sprintf(s, "%s/%s", INDEX_DIR, DEF_STAT_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from glimpse.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:834:17: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 834 | sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from glimpse.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:864:17: warning: ‘%s’ directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 864 | sprintf(s, "%s/%s", INDEX_DIR, NAME_LIST); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from glimpse.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 20 and 1043 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:870:18: warning: ‘%s’ directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 870 | sprintf(s, "%s/%s", INDEX_DIR, P_TABLE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from glimpse.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:1012:20: warning: ‘%s’ directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1012 | sprintf(s, "%s/%s", INDEX_DIR, P_TABLE); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from glimpse.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:454:22: warning: ‘%s’ directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 454 | sprintf(buffer, "%s/%s", INDEX_DIR, NAME_LIST); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from glimpse.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 20 and 1043 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:459:22: warning: ‘%s’ directive writing 24 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 459 | sprintf(buffer, "%s/%s.tmp", INDEX_DIR, NAME_LIST_INDEX); | ^~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from glimpse.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 30 and 1053 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:482:22: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=] 482 | sprintf(buffer, "mv %s/%s.tmp %s/%s", INDEX_DIR, NAME_LIST_INDEX, INDEX_DIR, NAME_LIST_INDEX); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from glimpse.c:3: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 59 and 2105 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-Bsymbolic-functions -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] 319 | 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’ [-Wimplicit-function-declaration] 581 | return usage(); | ^~~~~ convert.c:794:22: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1018 [-Wformat-overflow=] 794 | sprintf(s, "mv -f %s %s", outname, realname); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:867, from glimpse.h:8, from convert.c:10: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 8 and 2054 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-Bsymbolic-functions -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 make[2]: Leaving directory '/<>/dynfilters' gcc -c -Iindex -Iagrep -Ilibtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DISSERVER=0 -o main.o main.c main.c:204:8: warning: type defaults to ‘int’ in declaration of ‘free_list’ [-Wimplicit-int] 204 | extern free_list(); | ^~~~~~~~~ main.c: In function ‘glimpse_search’: main.c:400:15: warning: implicit declaration of function ‘memagrep_search’ [-Wimplicit-function-declaration] 400 | if ((ret = memagrep_search(AM, APattern, curtextend-curtextbegin, curtextbegin, 0, outfp)) > 0) | ^~~~~~~~~~~~~~~ main.c:417:15: warning: implicit declaration of function ‘exec’; did you mean ‘rexec’? [-Wimplicit-function-declaration] 417 | if ((ret = exec(-1, NULL)) > 0) | ^~~~ | rexec main.c:438:4: warning: implicit declaration of function ‘file_out’; did you mean ‘fileno’? [-Wimplicit-function-declaration] 438 | file_out(realfilename); | ^~~~~~~~ | fileno main.c: At top level: main.c:466:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 466 | read_index(indexdir) | ^~~~~~~~~~ main.c: In function ‘read_index’: main.c:536:20: warning: implicit declaration of function ‘get_table’ [-Wimplicit-function-declaration] 536 | GNumpartitions = get_table(P_TABLE, p_table, MAX_PARTITION, 0); | ^~~~~~~~~ main.c:562:63: warning: implicit declaration of function ‘read_mini’; did you mean ‘readline’? [-Wimplicit-function-declaration] 562 | if (OneFilePerBlock && glimpse_isserver && (minifp != NULL)) read_mini(indexfp, minifp); | ^~~~~~~~~ | readline main.c:563:2: warning: implicit declaration of function ‘read_filenames’ [-Wimplicit-function-declaration] 563 | read_filenames(); | ^~~~~~~~~~~~~~ main.c:566:2: warning: implicit declaration of function ‘set_indexable_char’ [-Wimplicit-function-declaration] 566 | set_indexable_char(indexable_char); | ^~~~~~~~~~~~~~~~~~ main.c:568:2: warning: implicit declaration of function ‘set_special_char’ [-Wimplicit-function-declaration] 568 | set_special_char(indexable_char); | ^~~~~~~~~~~~~~~~ main.c: At top level: main.c:600:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 600 | reinitialize_server(argc, argv) | ^~~~~~~~~~~~~~~~~~~ main.c: In function ‘reinitialize_server’: main.c:593:3: warning: implicit declaration of function ‘attr_free_table’ [-Wimplicit-function-declaration] 593 | attr_free_table();\ | ^~~~~~~~~~~~~~~ main.c:605:2: note: in expansion of macro ‘CLEANUP’ 605 | CLEANUP; | ^~~~~~~ main.c:595:2: warning: implicit declaration of function ‘destroy_filename_hashtable’ [-Wimplicit-function-declaration] 595 | destroy_filename_hashtable();\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:605:2: note: in expansion of macro ‘CLEANUP’ 605 | CLEANUP; | ^~~~~~~ main.c: At top level: main.c:693:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 693 | main(argc, argv) | ^~~~ main.c: In function ‘main’: main.c:727:3: warning: implicit declaration of function ‘usage’ [-Wimplicit-function-declaration] 727 | usage(); /* Client nees at least 1 argument */ | ^~~~~ main.c:743:2: warning: implicit declaration of function ‘init_filename_hashtable’ [-Wimplicit-function-declaration] 743 | init_filename_hashtable(); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:753:2: warning: implicit declaration of function ‘region_initialize’; did you mean ‘reinitialize’? [-Wimplicit-function-declaration] 753 | region_initialize(); | ^~~~~~~~~~~~~~~~~ | reinitialize main.c:800:18: warning: implicit declaration of function ‘usageS’ [-Wimplicit-function-declaration] 800 | RETURNMAIN(usageS()); | ^~~~~~ main.c:735:13: note: in definition of macro ‘RETURNMAIN’ 735 | if (val < 0) exit (2);\ | ^~~ main.c:1284:8: warning: implicit declaration of function ‘process_query’ [-Wimplicit-function-declaration] 1284 | ret = process_query(oldargc, oldargv, fileno(stdin)); | ^~~~~~~~~~~~~ main.c: At top level: main.c:1289:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1289 | process_query(argc, argv, newsockfd) | ^~~~~~~~~~~~~ main.c: In function ‘process_query’: main.c:1462:7: warning: implicit declaration of function ‘fileagrep’ [-Wimplicit-function-declaration] 1462 | i = fileagrep(oldargc, oldargv, 0, stdout); | ^~~~~~~~~ main.c:1375:22: warning: implicit declaration of function ‘destroy_tree’ [-Wimplicit-function-declaration] 1375 | if (ComplexBoolean) destroy_tree(&GParse);\ | ^~~~~~~~~~~~ main.c:1463:3: note: in expansion of macro ‘RETURN’ 1463 | RETURN(i); | ^~~~~~ main.c:2091:3: warning: implicit declaration of function ‘read_filters’ [-Wimplicit-function-declaration] 2091 | read_filters(INDEX_DIR, UseFilters); | ^~~~~~~~~~~~ main.c:2095:13: warning: implicit declaration of function ‘fileagrep_init’ [-Wimplicit-function-declaration] 2095 | if ((GM = fileagrep_init(agrep_argc, agrep_argv, MAXPAT, GPattern)) <= 0) { | ^~~~~~~~~~~~~~ main.c:2130:12: warning: implicit declaration of function ‘split_pattern’ [-Wimplicit-function-declaration] 2130 | else if (split_pattern(GPattern, GM, APattern, terminals, &num_terminals, &GParse, StructuredIndex) <= 0) RETURN(-1); | ^~~~~~~~~~~~~ main.c:2273:9: warning: implicit declaration of function ‘search_index’; did you mean ‘read_index’? [-Wimplicit-function-declaration] 2273 | ret = search_index(GParse); | ^~~~~~~~~~~~ | read_index main.c:2429:24: warning: implicit declaration of function ‘mask_filenames’ [-Wimplicit-function-declaration] 2429 | if (FILENAMESINFILE) mask_filenames(src_index_set, filenames_file, file_num, num_blocks); /* keep only those files that are in filenames_file */ | ^~~~~~~~~~~~~~ main.c:2457:4: warning: implicit declaration of function ‘get_filenames’; did you mean ‘get_file_time’? [-Wimplicit-function-declaration] 2457 | get_filenames(src_index_set, 0, NULL, dummylen, dummypat, file_num); | ^~~~~~~~~~~~~ | get_file_time main.c:2698:18: warning: implicit declaration of function ‘fileagrep_search’ [-Wimplicit-function-declaration] 2698 | if ((ret = fileagrep_search(AM, APattern, 1, >extfiles[i], 0, stdout)) > 0) { | ^~~~~~~~~~~~~~~~ main.c:2764:10: warning: implicit declaration of function ‘apply_filter’ [-Wimplicit-function-declaration] 2764 | if (apply_filter(GTextfiles[i], outname[0]) == 1) { | ^~~~~~~~~~~~ main.c:2928:54: warning: implicit declaration of function ‘filter_output’ [-Wimplicit-function-declaration] 2928 | ret = filter_output(GTextfiles[i], tempfile, GParse, GD_pattern, GD_length, GOUTTAIL, nullfp, StructuredIndex); | ^~~~~~~~~~~~~ main.c: In function ‘filter_output’: main.c:3182:32: warning: implicit declaration of function ‘region_create’ [-Wimplicit-function-declaration] 3182 | if (StructuredIndex && (-1 == region_create(infile))) { | ^~~~~~~~~~~~~ main.c:3189:25: warning: implicit declaration of function ‘region_destroy’ [-Wimplicit-function-declaration] 3189 | if (StructuredIndex) region_destroy(); | ^~~~~~~~~~~~~~ main.c:3262:48: warning: implicit declaration of function ‘region_identify’ [-Wimplicit-function-declaration] 3262 | else if ( (num_attr <= 0) || (((attribute = region_identify(byteoff, 0)) < num_attr) && (attribute >= 0)) ) { | ^~~~~~~~~~~~~~~ main.c:3341:17: warning: implicit declaration of function ‘eval_tree’ [-Wimplicit-function-declaration] 3341 | success = eval_tree(GParse, matched_terminals); | ^~~~~~~~~ main.c: At top level: main.c:3481:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 3481 | usage() | ^~~~~ main.c:3561:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 3561 | usageS() | ^~~~~~ main.c: In function ‘glimpse_search’: main.c:338:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 338 | fread(beginregionptr, 1, num, infp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function ‘process_Y_option’: main.c:457:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 457 | fread(arrayend, 1, 4, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function ‘read_index’: main.c:475:4: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 475 | getcwd(indexdir, MAXNAME-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:527:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 527 | fgets(indexnumberbuf, 256, indexfp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:530:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 530 | fscanf(indexfp, "%%%d\n", &OneFilePerBlock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:538:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 538 | fscanf(indexfp, "%%%d%s\n", &StructuredIndex, old_rdelim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function ‘cleanup’: main.c:646:3: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 646 | dup(svstderr); | ^~~~~~~~~~~~~ main.c: In function ‘quitrequest’: main.c:678:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 678 | write(svstderr, QUITREQUESTMSG, strlen(QUITREQUESTMSG)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:1267:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 1267 | write(fileno(stdout), tmpbuf, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function ‘process_query’: main.c:1822:6: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 1822 | getcwd(temp_bitfield_file, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1846:6: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 1846 | getcwd(temp_filenames_file, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:2467:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 2467 | fgets(cc, 4, stdin); | ^~~~~~~~~~~~~~~~~~~ main.c:2524:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 2524 | fgets(cc, 4, stdin); | ^~~~~~~~~~~~~~~~~~~ main.c:2595:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 2595 | fgets(cc, 4, stdin); | ^~~~~~~~~~~~~~~~~~~ main.c:2652:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 2652 | fgets(cc, 4, stdin); | ^~~~~~~~~~~~~~~~~~~ gcc -c -Iindex -Iagrep -Ilibtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -o get_filename.o get_filename.c get_filename.c:43:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 43 | read_filenames() | ^~~~~~~~~~~~~~ get_filename.c: In function ‘read_filenames’: get_filename.c:77:3: warning: implicit declaration of function ‘initialize_data_structures’ [-Wimplicit-function-declaration] 77 | initialize_data_structures(file_num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ get_filename.c: In function ‘mask_filenames’: get_filename.c:126:103: warning: implicit declaration of function ‘slow_mask_filenames’; did you mean ‘mask_filenames’? [-Wimplicit-function-declaration] 126 | if ((num_blocks*100/num_files > DEF_MAX_INDEX_PERCENT/2) && (num_blocks > MaxNum8bPartition)) return slow_mask_filenames(index_vect, infile); | ^~~~~~~~~~~~~~~~~~~ | mask_filenames get_filename.c:173:15: warning: implicit declaration of function ‘memagrep’ [-Wimplicit-function-declaration] 173 | if ((((ret = memagrep(5, argv, name_list_size, name_list_buffer, outputbuffer_len, outputbuffer)) <= 0) || (agrep_outpointer <= 0)) && (errno != ERANGE)) { | ^~~~~~~~ get_filename.c: At top level: get_filename.c:484:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 484 | get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) | ^~~~~~~~~~~~~ get_filename.c: In function ‘get_filenames’: get_filename.c:539:6: warning: ‘return’ with no value, in function returning non-void 539 | return; | ^~~~~~ get_filename.c:484:1: note: declared here 484 | get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) | ^~~~~~~~~~~~~ get_filename.c:581:6: warning: ‘return’ with no value, in function returning non-void 581 | return; | ^~~~~~ get_filename.c:484:1: note: declared here 484 | get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) | ^~~~~~~~~~~~~ get_filename.c:598:22: warning: implicit declaration of function ‘memagrep_init’ [-Wimplicit-function-declaration] 598 | if ((dummylen = memagrep_init(argc, argv, MAX_PAT, dummypat)) <= 0) goto end_files; | ^~~~~~~~~~~~~ get_filename.c:600:12: warning: implicit declaration of function ‘memagrep_search’ [-Wimplicit-function-declaration] 600 | ret = memagrep_search(dummylen, dummypat, dummylen*2, beginptr, outputbuffer_len, outputbuffer); | ^~~~~~~~~~~~~~~ get_filename.c:673:7: warning: ‘return’ with no value, in function returning non-void 673 | return; | ^~~~~~ get_filename.c:484:1: note: declared here 484 | get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) | ^~~~~~~~~~~~~ get_filename.c:752:7: warning: ‘return’ with no value, in function returning non-void 752 | return; | ^~~~~~ get_filename.c:484:1: note: declared here 484 | get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) | ^~~~~~~~~~~~~ get_filename.c:778:2: warning: ‘return’ with no value, in function returning non-void 778 | return; | ^~~~~~ get_filename.c:484:1: note: declared here 484 | get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) | ^~~~~~~~~~~~~ get_filename.c: In function ‘read_filenames’: get_filename.c:63:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 63 | fgets(buffer, MAX_NAME_SIZE, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -Iindex -Iagrep -Ilibtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -o get_index.o get_index.c get_index.c:43:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 43 | free_list(p1) | ^~~~~~~~~ get_index.c:56:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 56 | sorted_union(list1, list2, f, pf, cf) | ^~~~~~~~~~~~ get_index.c: In function ‘sorted_union’: get_index.c:66:3: warning: ‘return’ with no value, in function returning non-void 66 | return; | ^~~~~~ get_index.c:56:1: note: declared here 56 | sorted_union(list1, list2, f, pf, cf) | ^~~~~~~~~~~~ get_index.c:97:4: warning: ‘return’ with no value, in function returning non-void 97 | return; | ^~~~~~ get_index.c:56:1: note: declared here 56 | sorted_union(list1, list2, f, pf, cf) | ^~~~~~~~~~~~ get_index.c: At top level: get_index.c:118:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 118 | sorted_intersection(filenum, list1, list2, f) | ^~~~~~~~~~~~~~~~~~~ get_index.c: In function ‘sorted_intersection’: get_index.c:118:1: warning: type of ‘filenum’ defaults to ‘int’ [-Wimplicit-int] get_index.c:129:3: warning: ‘return’ with no value, in function returning non-void 129 | return; | ^~~~~~ get_index.c:118:1: note: declared here 118 | sorted_intersection(filenum, list1, list2, f) | ^~~~~~~~~~~~~~~~~~~ get_index.c: At top level: get_index.c:225:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 225 | purge_offsets(p1) | ^~~~~~~~~~~~~ get_index.c:241:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 241 | get_set(buffer, set, offset_table, patlen, pattern, patattr, outfile, partfp, frequency, prevfreq) | ^~~~~~~ get_index.c: In function ‘get_set’: get_index.c:257:14: warning: implicit declaration of function ‘encode8b’ [-Wimplicit-function-declaration] 257 | int delim = encode8b(0); | ^~~~~~~~ get_index.c:269:16: warning: implicit declaration of function ‘decode8b’ [-Wimplicit-function-declaration] 269 | indexattr = decode8b(buffer[bdx2+1]); | ^~~~~~~~ get_index.c:272:16: warning: implicit declaration of function ‘decode16b’ [-Wimplicit-function-declaration] 272 | indexattr = decode16b((buffer[bdx2+1] << 8) | (buffer[bdx2 + 2])); | ^~~~~~~~~ get_index.c:318:14: warning: implicit declaration of function ‘memagrep_search’ [-Wimplicit-function-declaration] 318 | if ((ret = memagrep_search(patlen, pattern, bdx2+1, buffer, 0, outfile)) <= 0) return 0; | ^~~~~~~~~~~~~~~ get_index.c:328:6: warning: implicit declaration of function ‘get_block_numbers’ [-Wimplicit-function-declaration] 328 | get_block_numbers(&buffer[bdx2], &buffer[bdx2], partfp); | ^~~~~~~~~~~~~~~~~ get_index.c:344:8: warning: implicit declaration of function ‘decode24b’ [-Wimplicit-function-declaration] 344 | x = decode24b(x); | ^~~~~~~~~ get_index.c:355:8: warning: implicit declaration of function ‘decode12b’ [-Wimplicit-function-declaration] 355 | x = decode12b(x); | ^~~~~~~~~ get_index.c: At top level: get_index.c:489:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 489 | get_index(infile, index_tab, offset_tab, pattern, patlen, patattr, index_argv, index_argc, outfile, partfp, parse, first_time) | ^~~~~~~~~ get_index.c:697:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 697 | mgrep_get_index(infile, index_tab, offset_tab, pat_list, pat_lens, pat_attr, mgrep_pat_index, num_mgrep_pat, patbufpos, index_argv, index_argc, outfile, partfp, parse, first_time) | ^~~~~~~~~~~~~~~ get_index.c: In function ‘mgrep_get_index’: get_index.c:734:13: warning: implicit declaration of function ‘fileagrep’ [-Wimplicit-function-declaration] 734 | if ((ret = fileagrep(index_argc, index_argv, 0, f_in)) < 0) { | ^~~~~~~~~ get_index.c:746:18: warning: implicit declaration of function ‘memagrep_init’ [-Wimplicit-function-declaration] 746 | if ((dummylen = memagrep_init(index_argc, index_argv, MAX_PAT, dummypat)) <= 0) { | ^~~~~~~~~~~~~ get_index.c: In function ‘mini_agrep’: get_index.c:1084:7: warning: implicit declaration of function ‘get_mini’ [-Wimplicit-function-declaration] 1084 | if (!get_mini(word, len, &beginoffset, &endoffset, 0, mini_array_len, minifp)) return 0; | ^~~~~~~~ get_index.c: At top level: get_index.c:1120:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1120 | fillup_target(result_index_set, result_offset_table, parse) | ^~~~~~~~~~~~~ get_index.c: In function ‘search_index’: get_index.c:1239:8: warning: implicit declaration of function ‘split_terminal’ [-Wimplicit-function-declaration] 1239 | if (split_terminal(tree->terminalindex, tree->terminalindex+1) <= 0) return -1; | ^~~~~~~~~~~~~~ get_index.c: In function ‘mini_agrep’: get_index.c:1062:25: warning: ‘%s’ directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1062 | sprintf((char*)s, "%s/%s", INDEX_DIR, INDEX_FILE); | ^~ In file included from /usr/include/stdio.h:867, from index/glimpse.h:8, from get_index.c:2: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 1039 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -Iindex -Iagrep -Ilibtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -o split.o split.c split.c: In function ‘get_attribute_value’: split.c:180:1: warning: type of ‘num_attr’ defaults to ‘int’ [-Wimplicit-int] 180 | get_attribute_value(pattr, pval, tokenbuf, tokenlen, num_attr) | ^~~~~~~~~~~~~~~~~~~ split.c: At top level: split.c:225:8: warning: type defaults to ‘int’ in declaration of ‘destroy_tree’ [-Wimplicit-int] 225 | extern destroy_tree(); /* use the one in agrep/asplit.c */ | ^~~~~~~~~~~~ split.c:496:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 496 | split_terminal(first, last) | ^~~~~~~~~~~~~~ gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Llib -o bin/glimpse main.o get_filename.o get_index.o split.o index/region.o index/getword.o index/filetype.o index/simpletest.o index/memlook.o index/lib.o index/io.o -lagrep -lm -ldl cp main.c main_server.c gcc -c -Iindex -Iagrep -Ilibtemplate/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DISSERVER=1 -o main_server.o main_server.c main_server.c:204:8: warning: type defaults to ‘int’ in declaration of ‘free_list’ [-Wimplicit-int] 204 | extern free_list(); | ^~~~~~~~~ main_server.c: In function ‘glimpse_search’: main_server.c:400:15: warning: implicit declaration of function ‘memagrep_search’ [-Wimplicit-function-declaration] 400 | if ((ret = memagrep_search(AM, APattern, curtextend-curtextbegin, curtextbegin, 0, outfp)) > 0) | ^~~~~~~~~~~~~~~ main_server.c:417:15: warning: implicit declaration of function ‘exec’; did you mean ‘rexec’? [-Wimplicit-function-declaration] 417 | if ((ret = exec(-1, NULL)) > 0) | ^~~~ | rexec main_server.c:438:4: warning: implicit declaration of function ‘file_out’; did you mean ‘fileno’? [-Wimplicit-function-declaration] 438 | file_out(realfilename); | ^~~~~~~~ | fileno main_server.c: At top level: main_server.c:466:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 466 | read_index(indexdir) | ^~~~~~~~~~ main_server.c: In function ‘read_index’: main_server.c:536:20: warning: implicit declaration of function ‘get_table’ [-Wimplicit-function-declaration] 536 | GNumpartitions = get_table(P_TABLE, p_table, MAX_PARTITION, 0); | ^~~~~~~~~ main_server.c:562:63: warning: implicit declaration of function ‘read_mini’; did you mean ‘readline’? [-Wimplicit-function-declaration] 562 | if (OneFilePerBlock && glimpse_isserver && (minifp != NULL)) read_mini(indexfp, minifp); | ^~~~~~~~~ | readline main_server.c:563:2: warning: implicit declaration of function ‘read_filenames’ [-Wimplicit-function-declaration] 563 | read_filenames(); | ^~~~~~~~~~~~~~ main_server.c:566:2: warning: implicit declaration of function ‘set_indexable_char’ [-Wimplicit-function-declaration] 566 | set_indexable_char(indexable_char); | ^~~~~~~~~~~~~~~~~~ main_server.c:568:2: warning: implicit declaration of function ‘set_special_char’ [-Wimplicit-function-declaration] 568 | set_special_char(indexable_char); | ^~~~~~~~~~~~~~~~ main_server.c: At top level: main_server.c:600:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 600 | reinitialize_server(argc, argv) | ^~~~~~~~~~~~~~~~~~~ main_server.c: In function ‘reinitialize_server’: main_server.c:593:3: warning: implicit declaration of function ‘attr_free_table’ [-Wimplicit-function-declaration] 593 | attr_free_table();\ | ^~~~~~~~~~~~~~~ main_server.c:605:2: note: in expansion of macro ‘CLEANUP’ 605 | CLEANUP; | ^~~~~~~ main_server.c:595:2: warning: implicit declaration of function ‘destroy_filename_hashtable’ [-Wimplicit-function-declaration] 595 | destroy_filename_hashtable();\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c:605:2: note: in expansion of macro ‘CLEANUP’ 605 | CLEANUP; | ^~~~~~~ main_server.c: At top level: main_server.c:693:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 693 | main(argc, argv) | ^~~~ main_server.c: In function ‘main’: main_server.c:743:2: warning: implicit declaration of function ‘init_filename_hashtable’ [-Wimplicit-function-declaration] 743 | init_filename_hashtable(); | ^~~~~~~~~~~~~~~~~~~~~~~ main_server.c:753:2: warning: implicit declaration of function ‘region_initialize’; did you mean ‘reinitialize’? [-Wimplicit-function-declaration] 753 | region_initialize(); | ^~~~~~~~~~~~~~~~~ | reinitialize main_server.c:800:18: warning: implicit declaration of function ‘usageS’ [-Wimplicit-function-declaration] 800 | RETURNMAIN(usageS()); | ^~~~~~ main_server.c:735:13: note: in definition of macro ‘RETURNMAIN’ 735 | if (val < 0) exit (2);\ | ^~~ main_server.c:1066:14: warning: implicit declaration of function ‘do_select’; did you mean ‘pselect’? [-Wimplicit-function-declaration] 1066 | if ((ret = do_select(sockfd, 15)) == 0) { | ^~~~~~~~~ | pselect main_server.c:1135:10: warning: implicit declaration of function ‘process_query’ [-Wimplicit-function-declaration] 1135 | ret = process_query(clargc, clargv, newsockfd); | ^~~~~~~~~~~~~ main_server.c: At top level: main_server.c:1289:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1289 | process_query(argc, argv, newsockfd) | ^~~~~~~~~~~~~ main_server.c: In function ‘process_query’: main_server.c:1388:24: warning: implicit declaration of function ‘usage’ [-Wimplicit-function-declaration] 1388 | if (argc <= 1) return(usage()); | ^~~~~ main_server.c:1462:7: warning: implicit declaration of function ‘fileagrep’ [-Wimplicit-function-declaration] 1462 | i = fileagrep(oldargc, oldargv, 0, stdout); | ^~~~~~~~~ main_server.c:1375:22: warning: implicit declaration of function ‘destroy_tree’ [-Wimplicit-function-declaration] 1375 | if (ComplexBoolean) destroy_tree(&GParse);\ | ^~~~~~~~~~~~ main_server.c:1463:3: note: in expansion of macro ‘RETURN’ 1463 | RETURN(i); | ^~~~~~ main_server.c:2091:3: warning: implicit declaration of function ‘read_filters’ [-Wimplicit-function-declaration] 2091 | read_filters(INDEX_DIR, UseFilters); | ^~~~~~~~~~~~ main_server.c:2095:13: warning: implicit declaration of function ‘fileagrep_init’ [-Wimplicit-function-declaration] 2095 | if ((GM = fileagrep_init(agrep_argc, agrep_argv, MAXPAT, GPattern)) <= 0) { | ^~~~~~~~~~~~~~ main_server.c:2130:12: warning: implicit declaration of function ‘split_pattern’ [-Wimplicit-function-declaration] 2130 | else if (split_pattern(GPattern, GM, APattern, terminals, &num_terminals, &GParse, StructuredIndex) <= 0) RETURN(-1); | ^~~~~~~~~~~~~ main_server.c:2273:9: warning: implicit declaration of function ‘search_index’; did you mean ‘read_index’? [-Wimplicit-function-declaration] 2273 | ret = search_index(GParse); | ^~~~~~~~~~~~ | read_index main_server.c:2429:24: warning: implicit declaration of function ‘mask_filenames’ [-Wimplicit-function-declaration] 2429 | if (FILENAMESINFILE) mask_filenames(src_index_set, filenames_file, file_num, num_blocks); /* keep only those files that are in filenames_file */ | ^~~~~~~~~~~~~~ main_server.c:2457:4: warning: implicit declaration of function ‘get_filenames’; did you mean ‘get_file_time’? [-Wimplicit-function-declaration] 2457 | get_filenames(src_index_set, 0, NULL, dummylen, dummypat, file_num); | ^~~~~~~~~~~~~ | get_file_time main_server.c:2698:18: warning: implicit declaration of function ‘fileagrep_search’ [-Wimplicit-function-declaration] 2698 | if ((ret = fileagrep_search(AM, APattern, 1, >extfiles[i], 0, stdout)) > 0) { | ^~~~~~~~~~~~~~~~ main_server.c:2764:10: warning: implicit declaration of function ‘apply_filter’ [-Wimplicit-function-declaration] 2764 | if (apply_filter(GTextfiles[i], outname[0]) == 1) { | ^~~~~~~~~~~~ main_server.c:2928:54: warning: implicit declaration of function ‘filter_output’ [-Wimplicit-function-declaration] 2928 | ret = filter_output(GTextfiles[i], tempfile, GParse, GD_pattern, GD_length, GOUTTAIL, nullfp, StructuredIndex); | ^~~~~~~~~~~~~ main_server.c: In function ‘filter_output’: main_server.c:3182:32: warning: implicit declaration of function ‘region_create’ [-Wimplicit-function-declaration] 3182 | if (StructuredIndex && (-1 == region_create(infile))) { | ^~~~~~~~~~~~~ main_server.c:3189:25: warning: implicit declaration of function ‘region_destroy’ [-Wimplicit-function-declaration] 3189 | if (StructuredIndex) region_destroy(); | ^~~~~~~~~~~~~~ main_server.c:3262:48: warning: implicit declaration of function ‘region_identify’ [-Wimplicit-function-declaration] 3262 | else if ( (num_attr <= 0) || (((attribute = region_identify(byteoff, 0)) < num_attr) && (attribute >= 0)) ) { | ^~~~~~~~~~~~~~~ main_server.c:3341:17: warning: implicit declaration of function ‘eval_tree’ [-Wimplicit-function-declaration] 3341 | success = eval_tree(GParse, matched_terminals); | ^~~~~~~~~ main_server.c: At top level: main_server.c:3481:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 3481 | usage() | ^~~~~ main_server.c:3561:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 3561 | usageS() | ^~~~~~ main_server.c: In function ‘glimpse_search’: main_server.c:338:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 338 | fread(beginregionptr, 1, num, infp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c: In function ‘process_Y_option’: main_server.c:457:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 457 | fread(arrayend, 1, 4, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c: In function ‘read_index’: main_server.c:475:4: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 475 | getcwd(indexdir, MAXNAME-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c:527:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 527 | fgets(indexnumberbuf, 256, indexfp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c:530:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 530 | fscanf(indexfp, "%%%d\n", &OneFilePerBlock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c:538:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 538 | fscanf(indexfp, "%%%d%s\n", &StructuredIndex, old_rdelim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c: In function ‘cleanup’: main_server.c:646:3: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 646 | dup(svstderr); | ^~~~~~~~~~~~~ main_server.c: In function ‘quitrequest’: main_server.c:678:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 678 | write(svstderr, QUITREQUESTMSG, strlen(QUITREQUESTMSG)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c: In function ‘main’: main_server.c:1117:3: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 1117 | dup(clstdout); | ^~~~~~~~~~~~~ main_server.c:1118:3: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 1118 | dup(clstderr); | ^~~~~~~~~~~~~ main_server.c:1155:4: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 1155 | dup(clout); | ^~~~~~~~~~ main_server.c:1162:3: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 1162 | dup(svstdout); | ^~~~~~~~~~~~~ main_server.c:1166:3: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 1166 | dup(svstderr); | ^~~~~~~~~~~~~ main_server.c: In function ‘process_query’: main_server.c:1822:6: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 1822 | getcwd(temp_bitfield_file, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c:1846:6: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 1846 | getcwd(temp_filenames_file, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Llib -o bin/glimpseserver main_server.o get_filename.o get_index.o split.o index/region.o index/getword.o index/filetype.o index/simpletest.o index/memlook.o index/lib.o index/io.o -lagrep -lm -ldl make[1]: Leaving directory '/<>' touch build-stamp fakeroot debian/rules binary-arch dh_prep /usr/bin/make install prefix=/<>/debian/glimpse/usr 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' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/<>/compress' make[2]: Entering directory '/<>/agrep' gcc -Wl,-Bsymbolic-functions -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' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/<>/libtemplate/util' Making all in template make[3]: Entering directory '/<>/libtemplate/template' make[3]: Nothing to be done for 'all'. 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' gcc -Wl,-Bsymbolic-functions -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 -Wl,-Bsymbolic-functions -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 -Wl,-Bsymbolic-functions -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' make[2]: 'htuml2txt' is up to date. make[2]: Leaving directory '/<>/dynfilters' gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Llib -o bin/glimpse main.o get_filename.o get_index.o split.o index/region.o index/getword.o index/filetype.o index/simpletest.o index/memlook.o index/lib.o index/io.o -lagrep -lm -ldl gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Llib -o bin/glimpseserver main_server.o get_filename.o get_index.o split.o index/region.o index/getword.o index/filetype.o index/simpletest.o index/memlook.o index/lib.o index/io.o -lagrep -lm -ldl ./mkinstalldirs /<>/debian/glimpse/usr/bin /<>/debian/glimpse/usr/share/man/man1 mkdir /<>/debian/glimpse mkdir /<>/debian/glimpse/usr mkdir /<>/debian/glimpse/usr/bin mkdir /<>/debian/glimpse/usr/share mkdir /<>/debian/glimpse/usr/share/man mkdir /<>/debian/glimpse/usr/share/man/man1 for d in glimpse.1 glimpseindex.1 glimpseserver.1 ; do \ /usr/bin/install -c -m 444 $d /<>/debian/glimpse/usr/share/man/man1 ; \ done for d in compress agrep libtemplate index dynfilters ; do \ ( cd $d; /usr/bin/make install ); \ done make[2]: Entering directory '/<>/compress' for i in tbuild cast uncast ; do \ /usr/bin/install -c $i /<>/debian/glimpse/usr/bin ; \ done make[2]: Leaving directory '/<>/compress' make[2]: Entering directory '/<>/agrep' gcc -Wl,-Bsymbolic-functions -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 /usr/bin/install -c -m 444 agrep.1 /<>/debian/glimpse/usr/share/man/man1 /usr/bin/install -c agrep /<>/debian/glimpse/usr/bin make[2]: Leaving directory '/<>/agrep' make[2]: Entering directory '/<>/libtemplate' Making install in util make[3]: Entering directory '/<>/libtemplate/util' make[3]: Nothing to be done for 'install'. make[3]: Leaving directory '/<>/libtemplate/util' Making install in template make[3]: Entering directory '/<>/libtemplate/template' make[3]: Nothing to be done for 'install'. make[3]: Leaving directory '/<>/libtemplate/template' Making install in lib make[3]: Entering directory '/<>/libtemplate/lib' make[3]: Nothing to be done for 'install'. make[3]: Leaving directory '/<>/libtemplate/lib' make[2]: Leaving directory '/<>/libtemplate' make[2]: Entering directory '/<>/index' gcc -Wl,-Bsymbolic-functions -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 -Wl,-Bsymbolic-functions -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 -Wl,-Bsymbolic-functions -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 for i in ../bin/buildcast ../bin/glimpseindex ../bin/wgconvert ; do \ /usr/bin/install -c $i /<>/debian/glimpse/usr/bin ; \ done make[2]: Leaving directory '/<>/index' make[2]: Entering directory '/<>/dynfilters' gcc -O3 -fomit-frame-pointer -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -fPIC -DSHARED_OBJECT -c lex.yy.c gcc -shared -o htuml2txt.so lex.yy.o -lfl make[2]: Leaving directory '/<>/dynfilters' for d in bin/glimpse bin/glimpseserver ; do \ /usr/bin/install -c $d /<>/debian/glimpse/usr/bin ; \ done make[1]: Leaving directory '/<>' # move the internal, optional and undocumented programs into /usr/lib/glimpse install -g root -o root -m 0755 -d /<>/debian/glimpse/usr/lib/glimpse mv /<>/debian/glimpse/usr/bin/buildcast /<>/debian/glimpse/usr/bin/cast /<>/debian/glimpse/usr/bin/uncast \ /<>/debian/glimpse/usr/bin/tbuild /<>/debian/glimpse/usr/bin/wgconvert /<>/debian/glimpse/usr/lib/glimpse dh_testdir dh_testroot dh_installdocs dh_installexamples dh_installchangelogs ChangeLog dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb INFO: pkgstriptranslations version 144 INFO: pkgstriptranslations version 144 pkgstriptranslations: processing glimpse (in debian/glimpse); do_strip: , oemstrip: pkgstriptranslations: processing glimpse-dbgsym (in debian/.debhelper/glimpse/dbgsym-root); do_strip: , oemstrip: pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/glimpse/DEBIAN/control, package glimpse, directory debian/glimpse .. removing usr/share/doc/glimpse/changelog.gz .. removing usr/share/doc/glimpse/CHANGES.gz pkgstripfiles: processing control file: debian/.debhelper/glimpse/dbgsym-root/DEBIAN/control, package glimpse-dbgsym, directory debian/.debhelper/glimpse/dbgsym-root dpkg-deb: building package 'glimpse-dbgsym' in 'debian/.debhelper/scratch-space/build-glimpse/glimpse-dbgsym_4.18.7-5_armhf.deb'. pkgstripfiles: Truncating usr/share/doc/glimpse/changelog.Debian.gz to topmost ten records pkgstripfiles: Running PNG optimization (using 4 cpus) for package glimpse ... pkgstripfiles: No PNG files. dpkg-deb: building package 'glimpse' in '../glimpse_4.18.7-5_armhf.deb'. Renaming glimpse-dbgsym_4.18.7-5_armhf.deb to glimpse-dbgsym_4.18.7-5_armhf.ddeb dpkg-genbuildinfo --build=any dpkg-genchanges --build=any -mLaunchpad Build Daemon >../glimpse_4.18.7-5_armhf.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 20191229-0539 Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Post Build Chroot | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ glimpse_4.18.7-5_armhf.changes: ------------------------------- Format: 1.8 Date: Sun, 29 Dec 2019 11:21:00 +1000 Source: glimpse Binary: glimpse Architecture: armhf Version: 4.18.7-5 Distribution: focal-proposed Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Alexander Zangerl Description: glimpse - search quickly through entire file systems Changes: glimpse (4.18.7-5) unstable; urgency=medium . * minor adjustments to control and changelog Checksums-Sha1: 902789b982400d1bc1293b17e9759e93e247822a 1789700 glimpse-dbgsym_4.18.7-5_armhf.ddeb 8ee29480fbb2826a8b0ff6f449db91c77c1362e2 4866 glimpse_4.18.7-5_armhf.buildinfo f979d8bcc0b1582f0422ed3c90404a30e6308b45 286488 glimpse_4.18.7-5_armhf.deb Checksums-Sha256: 7e99127ee679b9eb70a7216e423137d49a3c750cbf73110e1afeecfec87f9002 1789700 glimpse-dbgsym_4.18.7-5_armhf.ddeb 47500e7e0835ac1ce1c99bf574679aae4c201fd63742da006ddcc3b227e74922 4866 glimpse_4.18.7-5_armhf.buildinfo bf555bfdb7949a315066ae13638f495dc6e9ad2873dc39e06d8e95dd53a0cd83 286488 glimpse_4.18.7-5_armhf.deb Files: 0d2236af37a43a8df93de166553afeff 1789700 debug optional glimpse-dbgsym_4.18.7-5_armhf.ddeb 0f0e95b311d7dbdd77d6d26ebc79a904 4866 text optional glimpse_4.18.7-5_armhf.buildinfo cc5efb9a8e43f37a96e769ae93a267cf 286488 text optional glimpse_4.18.7-5_armhf.deb +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ glimpse_4.18.7-5_armhf.deb -------------------------- new debian package, version 2.0. size 286488 bytes: control archive=1248 bytes. 721 bytes, 17 lines control 1114 bytes, 18 lines md5sums Package: glimpse Version: 4.18.7-5 Architecture: armhf Maintainer: Ubuntu Developers Original-Maintainer: Alexander Zangerl Installed-Size: 1263 Depends: libc6 (>= 2.15) Conflicts: agrep Section: text Priority: optional Description: search quickly through entire file systems Glimpse, which stands for GLobal IMPlicit SEarch, is a very popular UNIX indexing and query system that allows you to search through a large set of files very quickly. Glimpse supports most of agrep's options (agrep is our powerful version of grep) including approximate matching (e.g., finding misspelled words), Boolean queries, and even some limited forms of regular expressions. drwxr-xr-x root/root 0 2019-12-29 01:21 ./ drwxr-xr-x root/root 0 2019-12-29 01:21 ./usr/ drwxr-xr-x root/root 0 2019-12-29 01:21 ./usr/bin/ -rwxr-xr-x root/root 120392 2019-12-29 01:21 ./usr/bin/agrep -rwxr-xr-x root/root 235492 2019-12-29 01:21 ./usr/bin/glimpse -rwxr-xr-x root/root 194384 2019-12-29 01:21 ./usr/bin/glimpseindex -rwxr-xr-x root/root 231400 2019-12-29 01:21 ./usr/bin/glimpseserver drwxr-xr-x root/root 0 2019-12-29 01:21 ./usr/lib/ drwxr-xr-x root/root 0 2019-12-29 01:21 ./usr/lib/glimpse/ -rwxr-xr-x root/root 190288 2019-12-29 01:21 ./usr/lib/glimpse/buildcast -rwxr-xr-x root/root 38332 2019-12-29 01:21 ./usr/lib/glimpse/cast -rwxr-xr-x root/root 21948 2019-12-29 01:21 ./usr/lib/glimpse/tbuild -rwxr-xr-x root/root 38332 2019-12-29 01:21 ./usr/lib/glimpse/uncast -rwxr-xr-x root/root 153420 2019-12-29 01:21 ./usr/lib/glimpse/wgconvert drwxr-xr-x root/root 0 2019-12-29 01:21 ./usr/share/ drwxr-xr-x root/root 0 2019-12-29 01:21 ./usr/share/doc/ drwxr-xr-x root/root 0 2019-12-29 01:21 ./usr/share/doc/glimpse/ -rw-r--r-- root/root 1020 2016-10-25 17:28 ./usr/share/doc/glimpse/KNOWN_BUGS -rw-r--r-- root/root 326 2019-12-29 01:03 ./usr/share/doc/glimpse/NEWS.Debian.gz -rw-r--r-- root/root 2422 2016-10-25 17:28 ./usr/share/doc/glimpse/README -rw-r--r-- root/root 1274 2019-12-29 01:21 ./usr/share/doc/glimpse/changelog.Debian.gz -rw-r--r-- root/root 2042 2019-12-29 01:03 ./usr/share/doc/glimpse/copyright drwxr-xr-x root/root 0 2019-12-29 01:21 ./usr/share/man/ drwxr-xr-x root/root 0 2019-12-29 01:21 ./usr/share/man/man1/ -rw-r--r-- root/root 5105 2019-12-29 01:21 ./usr/share/man/man1/agrep.1.gz -rw-r--r-- root/root 13703 2019-12-29 01:21 ./usr/share/man/man1/glimpse.1.gz -rw-r--r-- root/root 9464 2019-12-29 01:21 ./usr/share/man/man1/glimpseindex.1.gz -rw-r--r-- root/root 1518 2019-12-29 01:21 ./usr/share/man/man1/glimpseserver.1.gz +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: armhf Build-Space: 19668 Build-Time: 91 Distribution: focal-proposed Host Architecture: armhf Install-Time: 17 Job: glimpse_4.18.7-5.dsc Machine Architecture: arm64 Package: glimpse Package-Time: 109 Source-Version: 4.18.7-5 Space: 19668 Status: successful Version: 4.18.7-5 -------------------------------------------------------------------------------- Finished at 20191229-0539 Build needed 00:01:49, 19668k disc space RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=focal --arch=armhf PACKAGEBUILD-18488732 Scanning for processes to kill in build PACKAGEBUILD-18488732