https://launchpad.net/ubuntu/+source/agrep/4.17-9.1/+build/15744960 RUN: /usr/share/launchpad-buildd/slavebin/slave-prep Forking launchpad-buildd slave process... Kernel version: Linux lgw01-amd64-022 4.4.0-140-generic #166-Ubuntu SMP Wed Nov 14 20:09:47 UTC 2018 x86_64 Buildd toolchain package versions: launchpad-buildd_165 python-lpbuildd_165 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.4~git201611291343.dcee459~ubuntu16.04.1 git_1:2.7.4-0ubuntu1.6 dpkg-dev_1.18.4ubuntu1.5 python-debian_0.1.27ubuntu2. Syncing the system clock with the buildd NTP service... 6 Dec 11:09:01 ntpdate[1835]: adjust time server 10.211.37.1 offset 0.010994 sec RUN: /usr/share/launchpad-buildd/slavebin/in-target unpack-chroot --backend=chroot --series=disco --arch=i386 PACKAGEBUILD-15744960 /home/buildd/filecache-default/727e394105280e93a16c79dcca0079cc298d61c4 Creating target for build PACKAGEBUILD-15744960 RUN: /usr/share/launchpad-buildd/slavebin/in-target mount-chroot --backend=chroot --series=disco --arch=i386 PACKAGEBUILD-15744960 Starting target for build PACKAGEBUILD-15744960 RUN: /usr/share/launchpad-buildd/slavebin/in-target override-sources-list --backend=chroot --series=disco --arch=i386 PACKAGEBUILD-15744960 'deb http://ftpmaster.internal/ubuntu disco main restricted universe multiverse' 'deb http://ftpmaster.internal/ubuntu disco-security main restricted universe multiverse' 'deb http://ftpmaster.internal/ubuntu disco-updates main restricted universe multiverse' 'deb http://ftpmaster.internal/ubuntu disco-proposed main restricted universe multiverse' Overriding sources.list in build-PACKAGEBUILD-15744960 RUN: /usr/share/launchpad-buildd/slavebin/in-target update-debian-chroot --backend=chroot --series=disco --arch=i386 PACKAGEBUILD-15744960 Updating target for build PACKAGEBUILD-15744960 Get:1 http://ftpmaster.internal/ubuntu disco InRelease [243 kB] Get:2 http://ftpmaster.internal/ubuntu disco-security InRelease [65.4 kB] Get:3 http://ftpmaster.internal/ubuntu disco-updates InRelease [65.4 kB] Get:4 http://ftpmaster.internal/ubuntu disco-proposed InRelease [93.2 kB] Get:5 http://ftpmaster.internal/ubuntu disco/main i386 Packages [991 kB] Get:6 http://ftpmaster.internal/ubuntu disco/main Translation-en [508 kB] Get:7 http://ftpmaster.internal/ubuntu disco/restricted i386 Packages [9704 B] Get:8 http://ftpmaster.internal/ubuntu disco/restricted Translation-en [3980 B] Get:9 http://ftpmaster.internal/ubuntu disco/universe i386 Packages [8880 kB] Get:10 http://ftpmaster.internal/ubuntu disco/universe Translation-en [5134 kB] Get:11 http://ftpmaster.internal/ubuntu disco/multiverse i386 Packages [148 kB] Get:12 http://ftpmaster.internal/ubuntu disco/multiverse Translation-en [114 kB] Get:13 http://ftpmaster.internal/ubuntu disco-proposed/main i386 Packages [81.8 kB] Get:14 http://ftpmaster.internal/ubuntu disco-proposed/main Translation-en [43.8 kB] Get:15 http://ftpmaster.internal/ubuntu disco-proposed/universe i386 Packages [308 kB] Get:16 http://ftpmaster.internal/ubuntu disco-proposed/universe Translation-en [167 kB] Get:17 http://ftpmaster.internal/ubuntu disco-proposed/multiverse i386 Packages [9312 B] Get:18 http://ftpmaster.internal/ubuntu disco-proposed/multiverse Translation-en [6200 B] Fetched 16.9 MB in 7s (2453 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: libgdbm5 libperl5.26 perl-modules-5.26 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libgdbm6 libperl5.28 perl-modules-5.28 The following packages will be upgraded: apt base-files binutils binutils-common binutils-i686-linux-gnu cpp cpp-8 dash dmsetup dpkg dpkg-dev fakeroot findutils g++ g++-8 gcc gcc-8 gcc-8-base grep hostname init init-system-helpers libapparmor1 libapt-pkg5.0 libasan5 libatomic1 libaudit-common libaudit1 libbinutils libcap-ng0 libcc1-0 libdb5.3 libdevmapper1.02.1 libdpkg-perl libfakeroot libffi6 libgcc-8-dev libgcc1 libgcrypt20 libgdbm-compat4 libgmp10 libgnutls30 libgomp1 libgpg-error0 libhogweed4 libitm1 libkmod2 libmpx2 libnettle6 libquadmath0 libseccomp2 libselinux1 libsemanage-common libsemanage1 libsqlite3-0 libssl1.1 libstdc++-8-dev libstdc++6 libsystemd0 libubsan1 libudev1 linux-libc-dev lockfile-progs openssl perl perl-base sed systemd systemd-sysv tar tzdata 71 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 55.8 MB of archives. After this operation, 43.1 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu disco/main i386 base-files i386 10.1ubuntu8 [60.2 kB] Get:2 http://ftpmaster.internal/ubuntu disco/main i386 tar i386 1.30+dfsg-3 [264 kB] Get:3 http://ftpmaster.internal/ubuntu disco/main i386 dpkg i386 1.19.2ubuntu1 [1123 kB] Get:4 http://ftpmaster.internal/ubuntu disco/main i386 dash i386 0.5.10.2-1 [94.4 kB] Get:5 http://ftpmaster.internal/ubuntu disco/main i386 findutils i386 4.6.0+git+20181018-1 [307 kB] Get:6 http://ftpmaster.internal/ubuntu disco/main i386 grep i386 3.1-3 [159 kB] Get:7 http://ftpmaster.internal/ubuntu disco/main i386 hostname i386 3.21 [11.6 kB] Get:8 http://ftpmaster.internal/ubuntu disco-proposed/main i386 perl-modules-5.28 all 5.28.1-2 [2812 kB] Get:9 http://ftpmaster.internal/ubuntu disco/main i386 libgdbm6 i386 1.18.1-2 [32.0 kB] Get:10 http://ftpmaster.internal/ubuntu disco/main i386 libgdbm-compat4 i386 1.18.1-2 [6700 B] Get:11 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libperl5.28 i386 5.28.1-2 [3440 kB] Get:12 http://ftpmaster.internal/ubuntu disco-proposed/main i386 perl i386 5.28.1-2 [204 kB] Get:13 http://ftpmaster.internal/ubuntu disco-proposed/main i386 perl-base i386 5.28.1-2 [1601 kB] Get:14 http://ftpmaster.internal/ubuntu disco/main i386 libdb5.3 i386 5.3.28+dfsg1-0.2 [737 kB] Get:15 http://ftpmaster.internal/ubuntu disco/main i386 sed i386 4.5-2 [189 kB] Get:16 http://ftpmaster.internal/ubuntu disco/main i386 init-system-helpers all 1.56 [38.8 kB] Get:17 http://ftpmaster.internal/ubuntu disco/main i386 libquadmath0 i386 8.2.0-10ubuntu1 [208 kB] Get:18 http://ftpmaster.internal/ubuntu disco/main i386 libubsan1 i386 8.2.0-10ubuntu1 [138 kB] Get:19 http://ftpmaster.internal/ubuntu disco/main i386 gcc-8-base i386 8.2.0-10ubuntu1 [18.7 kB] Get:20 http://ftpmaster.internal/ubuntu disco/main i386 libgcc1 i386 1:8.2.0-10ubuntu1 [48.1 kB] Get:21 http://ftpmaster.internal/ubuntu disco/main i386 libitm1 i386 8.2.0-10ubuntu1 [30.8 kB] Get:22 http://ftpmaster.internal/ubuntu disco/main i386 libasan5 i386 8.2.0-10ubuntu1 [376 kB] Get:23 http://ftpmaster.internal/ubuntu disco/main i386 libgomp1 i386 8.2.0-10ubuntu1 [80.7 kB] Get:24 http://ftpmaster.internal/ubuntu disco/main i386 libatomic1 i386 8.2.0-10ubuntu1 [9604 B] Get:25 http://ftpmaster.internal/ubuntu disco/main i386 libmpx2 i386 8.2.0-10ubuntu1 [13.0 kB] Get:26 http://ftpmaster.internal/ubuntu disco/main i386 cpp-8 i386 8.2.0-10ubuntu1 [7540 kB] Get:27 http://ftpmaster.internal/ubuntu disco/main i386 libcc1-0 i386 8.2.0-10ubuntu1 [41.9 kB] Get:28 http://ftpmaster.internal/ubuntu disco/main i386 gcc-8 i386 8.2.0-10ubuntu1 [8333 kB] Get:29 http://ftpmaster.internal/ubuntu disco/main i386 g++-8 i386 8.2.0-10ubuntu1 [8441 kB] Get:30 http://ftpmaster.internal/ubuntu disco/main i386 libstdc++-8-dev i386 8.2.0-10ubuntu1 [1587 kB] Get:31 http://ftpmaster.internal/ubuntu disco/main i386 libgcc-8-dev i386 8.2.0-10ubuntu1 [2298 kB] Get:32 http://ftpmaster.internal/ubuntu disco/main i386 libstdc++6 i386 8.2.0-10ubuntu1 [430 kB] Get:33 http://ftpmaster.internal/ubuntu disco/main i386 libgmp10 i386 2:6.1.2+dfsg-4 [250 kB] Get:34 http://ftpmaster.internal/ubuntu disco/main i386 libbinutils i386 2.31.1-10ubuntu1 [521 kB] Get:35 http://ftpmaster.internal/ubuntu disco/main i386 binutils-common i386 2.31.1-10ubuntu1 [194 kB] Get:36 http://ftpmaster.internal/ubuntu disco/main i386 binutils i386 2.31.1-10ubuntu1 [3392 B] Get:37 http://ftpmaster.internal/ubuntu disco/main i386 binutils-i686-linux-gnu i386 2.31.1-10ubuntu1 [1989 kB] Get:38 http://ftpmaster.internal/ubuntu disco/main i386 libudev1 i386 239-7ubuntu15 [58.4 kB] Get:39 http://ftpmaster.internal/ubuntu disco/main i386 libapt-pkg5.0 i386 1.8.0~alpha2ubuntu1 [889 kB] Get:40 http://ftpmaster.internal/ubuntu disco/main i386 libnettle6 i386 3.4.1~rc1-1 [128 kB] Get:41 http://ftpmaster.internal/ubuntu disco/main i386 libhogweed4 i386 3.4.1~rc1-1 [142 kB] Get:42 http://ftpmaster.internal/ubuntu disco/main i386 libgnutls30 i386 3.6.4-2ubuntu2 [758 kB] Get:43 http://ftpmaster.internal/ubuntu disco/main i386 libseccomp2 i386 2.3.3-3ubuntu2 [35.6 kB] Get:44 http://ftpmaster.internal/ubuntu disco/main i386 apt i386 1.8.0~alpha2ubuntu1 [1208 kB] Get:45 http://ftpmaster.internal/ubuntu disco/main i386 systemd-sysv i386 239-7ubuntu15 [9400 B] Get:46 http://ftpmaster.internal/ubuntu disco/main i386 libapparmor1 i386 2.12-4ubuntu10 [31.3 kB] Get:47 http://ftpmaster.internal/ubuntu disco/main i386 libaudit-common all 1:2.8.3-1ubuntu3 [4068 B] Get:48 http://ftpmaster.internal/ubuntu disco/main i386 libcap-ng0 i386 0.7.9-1build1 [11.1 kB] Get:49 http://ftpmaster.internal/ubuntu disco/main i386 libaudit1 i386 1:2.8.3-1ubuntu3 [40.0 kB] Get:50 http://ftpmaster.internal/ubuntu disco/main i386 libgpg-error0 i386 1.32-3 [60.5 kB] Get:51 http://ftpmaster.internal/ubuntu disco/main i386 libkmod2 i386 25-1ubuntu2 [47.6 kB] Get:52 http://ftpmaster.internal/ubuntu disco/main i386 systemd i386 239-7ubuntu15 [3072 kB] Get:53 http://ftpmaster.internal/ubuntu disco/main i386 libsystemd0 i386 239-7ubuntu15 [229 kB] Get:54 http://ftpmaster.internal/ubuntu disco/main i386 init i386 1.56 [6652 B] Get:55 http://ftpmaster.internal/ubuntu disco/main i386 libgcrypt20 i386 1.8.4-3ubuntu1 [401 kB] Get:56 http://ftpmaster.internal/ubuntu disco/main i386 libselinux1 i386 2.8-1build2 [73.5 kB] Get:57 http://ftpmaster.internal/ubuntu disco/main i386 libsemanage-common all 2.8-1build2 [6892 B] Get:58 http://ftpmaster.internal/ubuntu disco/main i386 libsemanage1 i386 2.8-1build2 [93.8 kB] Get:59 http://ftpmaster.internal/ubuntu disco/main i386 libffi6 i386 3.2.1-9 [17.3 kB] Get:60 http://ftpmaster.internal/ubuntu disco/main i386 libdevmapper1.02.1 i386 2:1.02.145-4.1ubuntu4 [125 kB] Get:61 http://ftpmaster.internal/ubuntu disco/main i386 dmsetup i386 2:1.02.145-4.1ubuntu4 [70.4 kB] Get:62 http://ftpmaster.internal/ubuntu disco/main i386 libsqlite3-0 i386 3.26.0-1 [565 kB] Get:63 http://ftpmaster.internal/ubuntu disco/main i386 libssl1.1 i386 1.1.1a-1ubuntu2 [1295 kB] Get:64 http://ftpmaster.internal/ubuntu disco/main i386 openssl i386 1.1.1a-1ubuntu2 [627 kB] Get:65 http://ftpmaster.internal/ubuntu disco/main i386 tzdata all 2018g-1 [188 kB] Get:66 http://ftpmaster.internal/ubuntu disco/main i386 g++ i386 4:8.2.0-2ubuntu2 [1616 B] Get:67 http://ftpmaster.internal/ubuntu disco/main i386 gcc i386 4:8.2.0-2ubuntu2 [5272 B] Get:68 http://ftpmaster.internal/ubuntu disco/main i386 cpp i386 4:8.2.0-2ubuntu2 [27.6 kB] Get:69 http://ftpmaster.internal/ubuntu disco/main i386 dpkg-dev all 1.19.2ubuntu1 [549 kB] Get:70 http://ftpmaster.internal/ubuntu disco/main i386 libdpkg-perl all 1.19.2ubuntu1 [227 kB] Get:71 http://ftpmaster.internal/ubuntu disco/main i386 libfakeroot i386 1.23-1 [26.2 kB] Get:72 http://ftpmaster.internal/ubuntu disco/main i386 fakeroot i386 1.23-1 [63.6 kB] Get:73 http://ftpmaster.internal/ubuntu disco-proposed/main i386 linux-libc-dev i386 4.19.0-7.8 [1043 kB] Get:74 http://ftpmaster.internal/ubuntu disco/main i386 lockfile-progs i386 0.1.18 [9856 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 55.8 MB in 5s (11.3 MB/s) (Reading database ... 12644 files and directories currently installed.) Preparing to unpack .../base-files_10.1ubuntu8_i386.deb ... Unpacking base-files (10.1ubuntu8) over (10.1ubuntu7) ... Setting up base-files (10.1ubuntu8) ... 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 ... (Reading database ... 12644 files and directories currently installed.) Preparing to unpack .../tar_1.30+dfsg-3_i386.deb ... Unpacking tar (1.30+dfsg-3) over (1.30+dfsg-2) ... Setting up tar (1.30+dfsg-3) ... (Reading database ... 12643 files and directories currently installed.) Preparing to unpack .../dpkg_1.19.2ubuntu1_i386.deb ... Unpacking dpkg (1.19.2ubuntu1) over (1.19.0.5ubuntu5) ... Setting up dpkg (1.19.2ubuntu1) ... (Reading database ... 12629 files and directories currently installed.) Preparing to unpack .../dash_0.5.10.2-1_i386.deb ... dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' Unpacking dash (0.5.10.2-1) over (0.5.8-2.10) ... Setting up dash (0.5.10.2-1) ... dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x Removing 'diversion of /bin/sh to /bin/sh.distrib by bash' dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x Adding 'diversion of /bin/sh to /bin/sh.distrib by dash' dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' (Reading database ... 12629 files and directories currently installed.) Preparing to unpack .../findutils_4.6.0+git+20181018-1_i386.deb ... Unpacking findutils (4.6.0+git+20181018-1) over (4.6.0+git+20180808-2) ... Setting up findutils (4.6.0+git+20181018-1) ... (Reading database ... 12629 files and directories currently installed.) Preparing to unpack .../archives/grep_3.1-3_i386.deb ... Unpacking grep (3.1-3) over (3.1-2ubuntu1) ... Setting up grep (3.1-3) ... (Reading database ... 12629 files and directories currently installed.) Preparing to unpack .../hostname_3.21_i386.deb ... Unpacking hostname (3.21) over (3.20) ... Setting up hostname (3.21) ... (Reading database ... 12629 files and directories currently installed.) Preparing to unpack .../0-perl_5.28.1-2_i386.deb ... Unpacking perl (5.28.1-2) over (5.26.2-7) ... Selecting previously unselected package perl-modules-5.28. Preparing to unpack .../1-perl-modules-5.28_5.28.1-2_all.deb ... Unpacking perl-modules-5.28 (5.28.1-2) ... Selecting previously unselected package libgdbm6:i386. Preparing to unpack .../2-libgdbm6_1.18.1-2_i386.deb ... Unpacking libgdbm6:i386 (1.18.1-2) ... Preparing to unpack .../3-libgdbm-compat4_1.18.1-2_i386.deb ... Unpacking libgdbm-compat4:i386 (1.18.1-2) over (1.14.1-6) ... Selecting previously unselected package libperl5.28:i386. Preparing to unpack .../4-libperl5.28_5.28.1-2_i386.deb ... Unpacking libperl5.28:i386 (5.28.1-2) ... Preparing to unpack .../5-perl-base_5.28.1-2_i386.deb ... Unpacking perl-base (5.28.1-2) over (5.26.2-7) ... Setting up perl-base (5.28.1-2) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../libdb5.3_5.3.28+dfsg1-0.2_i386.deb ... Unpacking libdb5.3:i386 (5.3.28+dfsg1-0.2) over (5.3.28+dfsg1-0.1) ... Setting up libdb5.3:i386 (5.3.28+dfsg1-0.2) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../archives/sed_4.5-2_i386.deb ... Unpacking sed (4.5-2) over (4.5-1) ... Setting up sed (4.5-2) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../init-system-helpers_1.56_all.deb ... Unpacking init-system-helpers (1.56) over (1.54) ... Setting up init-system-helpers (1.56) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../libquadmath0_8.2.0-10ubuntu1_i386.deb ... Unpacking libquadmath0:i386 (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../libubsan1_8.2.0-10ubuntu1_i386.deb ... Unpacking libubsan1:i386 (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../gcc-8-base_8.2.0-10ubuntu1_i386.deb ... Unpacking gcc-8-base:i386 (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Setting up gcc-8-base:i386 (8.2.0-10ubuntu1) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a8.2.0-10ubuntu1_i386.deb ... Unpacking libgcc1:i386 (1:8.2.0-10ubuntu1) over (1:8.2.0-7ubuntu1) ... Setting up libgcc1:i386 (1:8.2.0-10ubuntu1) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../00-libitm1_8.2.0-10ubuntu1_i386.deb ... Unpacking libitm1:i386 (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../01-libasan5_8.2.0-10ubuntu1_i386.deb ... Unpacking libasan5:i386 (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../02-libgomp1_8.2.0-10ubuntu1_i386.deb ... Unpacking libgomp1:i386 (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../03-libatomic1_8.2.0-10ubuntu1_i386.deb ... Unpacking libatomic1:i386 (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../04-libmpx2_8.2.0-10ubuntu1_i386.deb ... Unpacking libmpx2:i386 (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../05-cpp-8_8.2.0-10ubuntu1_i386.deb ... Unpacking cpp-8 (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../06-libcc1-0_8.2.0-10ubuntu1_i386.deb ... Unpacking libcc1-0:i386 (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../07-gcc-8_8.2.0-10ubuntu1_i386.deb ... Unpacking gcc-8 (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../08-g++-8_8.2.0-10ubuntu1_i386.deb ... Unpacking g++-8 (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../09-libstdc++-8-dev_8.2.0-10ubuntu1_i386.deb ... Unpacking libstdc++-8-dev:i386 (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../10-libgcc-8-dev_8.2.0-10ubuntu1_i386.deb ... Unpacking libgcc-8-dev:i386 (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../11-libstdc++6_8.2.0-10ubuntu1_i386.deb ... Unpacking libstdc++6:i386 (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Setting up libstdc++6:i386 (8.2.0-10ubuntu1) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../libgmp10_2%3a6.1.2+dfsg-4_i386.deb ... Unpacking libgmp10:i386 (2:6.1.2+dfsg-4) over (2:6.1.2+dfsg-3) ... Setting up libgmp10:i386 (2:6.1.2+dfsg-4) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../libbinutils_2.31.1-10ubuntu1_i386.deb ... Unpacking libbinutils:i386 (2.31.1-10ubuntu1) over (2.31.1-6ubuntu1) ... Preparing to unpack .../binutils-common_2.31.1-10ubuntu1_i386.deb ... Unpacking binutils-common:i386 (2.31.1-10ubuntu1) over (2.31.1-6ubuntu1) ... Preparing to unpack .../binutils_2.31.1-10ubuntu1_i386.deb ... Unpacking binutils (2.31.1-10ubuntu1) over (2.31.1-6ubuntu1) ... Preparing to unpack .../binutils-i686-linux-gnu_2.31.1-10ubuntu1_i386.deb ... Unpacking binutils-i686-linux-gnu (2.31.1-10ubuntu1) over (2.31.1-6ubuntu1) ... Preparing to unpack .../libudev1_239-7ubuntu15_i386.deb ... Unpacking libudev1:i386 (239-7ubuntu15) over (239-7ubuntu10) ... Setting up libudev1:i386 (239-7ubuntu15) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.0_1.8.0~alpha2ubuntu1_i386.deb ... Unpacking libapt-pkg5.0:i386 (1.8.0~alpha2ubuntu1) over (1.7.0) ... Setting up libapt-pkg5.0:i386 (1.8.0~alpha2ubuntu1) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../libnettle6_3.4.1~rc1-1_i386.deb ... Unpacking libnettle6:i386 (3.4.1~rc1-1) over (3.4-1) ... Setting up libnettle6:i386 (3.4.1~rc1-1) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../libhogweed4_3.4.1~rc1-1_i386.deb ... Unpacking libhogweed4:i386 (3.4.1~rc1-1) over (3.4-1) ... Setting up libhogweed4:i386 (3.4.1~rc1-1) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.6.4-2ubuntu2_i386.deb ... Unpacking libgnutls30:i386 (3.6.4-2ubuntu2) over (3.6.4-2ubuntu1) ... Setting up libgnutls30:i386 (3.6.4-2ubuntu2) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../libseccomp2_2.3.3-3ubuntu2_i386.deb ... Unpacking libseccomp2:i386 (2.3.3-3ubuntu2) over (2.3.3-3ubuntu1) ... Setting up libseccomp2:i386 (2.3.3-3ubuntu2) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../apt_1.8.0~alpha2ubuntu1_i386.deb ... Unpacking apt (1.8.0~alpha2ubuntu1) over (1.7.0) ... Setting up apt (1.8.0~alpha2ubuntu1) ... Installing new version of config file /etc/apt/apt.conf.d/01autoremove ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../systemd-sysv_239-7ubuntu15_i386.deb ... Unpacking systemd-sysv (239-7ubuntu15) over (239-7ubuntu10) ... Preparing to unpack .../libapparmor1_2.12-4ubuntu10_i386.deb ... Unpacking libapparmor1:i386 (2.12-4ubuntu10) over (2.12-4ubuntu8) ... Preparing to unpack .../libaudit-common_1%3a2.8.3-1ubuntu3_all.deb ... Unpacking libaudit-common (1:2.8.3-1ubuntu3) over (1:2.8.3-1ubuntu2) ... Setting up libaudit-common (1:2.8.3-1ubuntu3) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../libcap-ng0_0.7.9-1build1_i386.deb ... Unpacking libcap-ng0:i386 (0.7.9-1build1) over (0.7.9-1) ... Setting up libcap-ng0:i386 (0.7.9-1build1) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a2.8.3-1ubuntu3_i386.deb ... Unpacking libaudit1:i386 (1:2.8.3-1ubuntu3) over (1:2.8.3-1ubuntu2) ... Setting up libaudit1:i386 (1:2.8.3-1ubuntu3) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../libgpg-error0_1.32-3_i386.deb ... Unpacking libgpg-error0:i386 (1.32-3) over (1.32-1) ... Setting up libgpg-error0:i386 (1.32-3) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../libkmod2_25-1ubuntu2_i386.deb ... Unpacking libkmod2:i386 (25-1ubuntu2) over (25-1ubuntu1) ... Preparing to unpack .../systemd_239-7ubuntu15_i386.deb ... Unpacking systemd (239-7ubuntu15) over (239-7ubuntu10) ... Preparing to unpack .../libsystemd0_239-7ubuntu15_i386.deb ... Unpacking libsystemd0:i386 (239-7ubuntu15) over (239-7ubuntu10) ... Setting up libsystemd0:i386 (239-7ubuntu15) ... Setting up libapparmor1:i386 (2.12-4ubuntu10) ... Setting up libkmod2:i386 (25-1ubuntu2) ... Setting up systemd (239-7ubuntu15) ... Setting up systemd-sysv (239-7ubuntu15) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../archives/init_1.56_i386.deb ... Unpacking init (1.56) over (1.54) ... Preparing to unpack .../libgcrypt20_1.8.4-3ubuntu1_i386.deb ... Unpacking libgcrypt20:i386 (1.8.4-3ubuntu1) over (1.8.3-1ubuntu1) ... Setting up libgcrypt20:i386 (1.8.4-3ubuntu1) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../libselinux1_2.8-1build2_i386.deb ... Unpacking libselinux1:i386 (2.8-1build2) over (2.8-1build1) ... Setting up libselinux1:i386 (2.8-1build2) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../libsemanage-common_2.8-1build2_all.deb ... Unpacking libsemanage-common (2.8-1build2) over (2.8-1build1) ... Setting up libsemanage-common (2.8-1build2) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../libsemanage1_2.8-1build2_i386.deb ... Unpacking libsemanage1:i386 (2.8-1build2) over (2.8-1build1) ... Setting up libsemanage1:i386 (2.8-1build2) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../libffi6_3.2.1-9_i386.deb ... Unpacking libffi6:i386 (3.2.1-9) over (3.2.1-8) ... Setting up libffi6:i386 (3.2.1-9) ... (Reading database ... 14518 files and directories currently installed.) Preparing to unpack .../00-libdevmapper1.02.1_2%3a1.02.145-4.1ubuntu4_i386.deb ... Unpacking libdevmapper1.02.1:i386 (2:1.02.145-4.1ubuntu4) over (2:1.02.145-4.1ubuntu3) ... Preparing to unpack .../01-dmsetup_2%3a1.02.145-4.1ubuntu4_i386.deb ... Unpacking dmsetup (2:1.02.145-4.1ubuntu4) over (2:1.02.145-4.1ubuntu3) ... Preparing to unpack .../02-libsqlite3-0_3.26.0-1_i386.deb ... Unpacking libsqlite3-0:i386 (3.26.0-1) over (3.24.0-1) ... Preparing to unpack .../03-libssl1.1_1.1.1a-1ubuntu2_i386.deb ... Unpacking libssl1.1:i386 (1.1.1a-1ubuntu2) over (1.1.1-1ubuntu2) ... Preparing to unpack .../04-openssl_1.1.1a-1ubuntu2_i386.deb ... Unpacking openssl (1.1.1a-1ubuntu2) over (1.1.1-1ubuntu2) ... Preparing to unpack .../05-tzdata_2018g-1_all.deb ... Unpacking tzdata (2018g-1) over (2018e-1) ... Preparing to unpack .../06-g++_4%3a8.2.0-2ubuntu2_i386.deb ... Unpacking g++ (4:8.2.0-2ubuntu2) over (4:8.2.0-1ubuntu1) ... Preparing to unpack .../07-gcc_4%3a8.2.0-2ubuntu2_i386.deb ... Unpacking gcc (4:8.2.0-2ubuntu2) over (4:8.2.0-1ubuntu1) ... Preparing to unpack .../08-cpp_4%3a8.2.0-2ubuntu2_i386.deb ... Unpacking cpp (4:8.2.0-2ubuntu2) over (4:8.2.0-1ubuntu1) ... Preparing to unpack .../09-dpkg-dev_1.19.2ubuntu1_all.deb ... Unpacking dpkg-dev (1.19.2ubuntu1) over (1.19.0.5ubuntu5) ... Preparing to unpack .../10-libdpkg-perl_1.19.2ubuntu1_all.deb ... Unpacking libdpkg-perl (1.19.2ubuntu1) over (1.19.0.5ubuntu5) ... Preparing to unpack .../11-libfakeroot_1.23-1_i386.deb ... Unpacking libfakeroot:i386 (1.23-1) over (1.22-2ubuntu1) ... Preparing to unpack .../12-fakeroot_1.23-1_i386.deb ... Unpacking fakeroot (1.23-1) over (1.22-2ubuntu1) ... Preparing to unpack .../13-linux-libc-dev_4.19.0-7.8_i386.deb ... Unpacking linux-libc-dev:i386 (4.19.0-7.8) over (4.18.0-10.11) ... Preparing to unpack .../14-lockfile-progs_0.1.18_i386.deb ... Unpacking lockfile-progs (0.1.18) over (0.1.17build1) ... Setting up libquadmath0:i386 (8.2.0-10ubuntu1) ... Setting up cpp-8 (8.2.0-10ubuntu1) ... Setting up libgomp1:i386 (8.2.0-10ubuntu1) ... Setting up libatomic1:i386 (8.2.0-10ubuntu1) ... Setting up cpp (4:8.2.0-2ubuntu2) ... Setting up libcc1-0:i386 (8.2.0-10ubuntu1) ... Setting up tzdata (2018g-1) ... Current default time zone: 'Etc/UTC' Local time is now: Thu Dec 6 11:10:06 UTC 2018. Universal Time is now: Thu Dec 6 11:10:06 UTC 2018. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up init (1.56) ... Setting up linux-libc-dev:i386 (4.19.0-7.8) ... Setting up libdevmapper1.02.1:i386 (2:1.02.145-4.1ubuntu4) ... Setting up libgdbm6:i386 (1.18.1-2) ... Setting up binutils-common:i386 (2.31.1-10ubuntu1) ... Setting up libmpx2:i386 (8.2.0-10ubuntu1) ... Setting up perl-modules-5.28 (5.28.1-2) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Setting up libssl1.1:i386 (1.1.1a-1ubuntu2) ... Setting up libfakeroot:i386 (1.23-1) ... Setting up openssl (1.1.1a-1ubuntu2) ... Installing new version of config file /etc/ssl/openssl.cnf ... Setting up libsqlite3-0:i386 (3.26.0-1) ... Setting up dmsetup (2:1.02.145-4.1ubuntu4) ... Setting up libgdbm-compat4:i386 (1.18.1-2) ... Setting up lockfile-progs (0.1.18) ... Setting up libasan5:i386 (8.2.0-10ubuntu1) ... Setting up libitm1:i386 (8.2.0-10ubuntu1) ... Setting up libubsan1:i386 (8.2.0-10ubuntu1) ... Setting up libbinutils:i386 (2.31.1-10ubuntu1) ... Setting up libperl5.28:i386 (5.28.1-2) ... Setting up fakeroot (1.23-1) ... Setting up perl (5.28.1-2) ... Setting up binutils-i686-linux-gnu (2.31.1-10ubuntu1) ... Setting up libgcc-8-dev:i386 (8.2.0-10ubuntu1) ... Setting up binutils (2.31.1-10ubuntu1) ... Setting up libstdc++-8-dev:i386 (8.2.0-10ubuntu1) ... Setting up libdpkg-perl (1.19.2ubuntu1) ... Setting up gcc-8 (8.2.0-10ubuntu1) ... Setting up g++-8 (8.2.0-10ubuntu1) ... Setting up dpkg-dev (1.19.2ubuntu1) ... Setting up gcc (4:8.2.0-2ubuntu2) ... Setting up g++ (4:8.2.0-2ubuntu2) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package PACKAGEBUILD-15744960 i386 disco-proposed -c chroot:build-PACKAGEBUILD-15744960 --arch=i386 --dist=disco-proposed --nolog agrep_4.17-9.1.dsc Initiating build PACKAGEBUILD-15744960 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 4.4.0-140-generic #166-Ubuntu SMP Wed Nov 14 20:09:47 UTC 2018 i686 sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on lgw01-amd64-022.buildd +==============================================================================+ | agrep 4.17-9.1 (i386) 06 Dec 2018 11:10 | +==============================================================================+ Package: agrep Version: 4.17-9.1 Source Version: 4.17-9.1 Distribution: disco-proposed Machine Architecture: amd64 Host Architecture: i386 Build Architecture: i386 I: NOTICE: Log filtering will replace 'build/agrep-ED8gcc/agrep-4.17' with '<>' I: NOTICE: Log filtering will replace 'build/agrep-ED8gcc' with '<>' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-15744960/chroot-autobuild' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- agrep_4.17-9.1.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-d3Vkqd/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/<>/resolver-d3Vkqd/apt_archive ./ InRelease Get:2 copy:/<>/resolver-d3Vkqd/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-d3Vkqd/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-d3Vkqd/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-d3Vkqd/apt_archive ./ Packages [526 B] Fetched 2859 B in 0s (33.9 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: libgdbm5 libperl5.26 perl-modules-5.26 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-d3Vkqd/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 (82.6 kB/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 14501 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_i386.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: debhelper (>= 9) Filtered Build-Depends: debhelper (>= 9) dpkg-deb: building package 'sbuild-build-depends-agrep-dummy' in '/<>/resolver-4lUrN4/apt_archive/sbuild-build-depends-agrep-dummy.deb'. Ign:1 copy:/<>/resolver-4lUrN4/apt_archive ./ InRelease Get:2 copy:/<>/resolver-4lUrN4/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-4lUrN4/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-4lUrN4/apt_archive ./ Sources [206 B] Get:5 copy:/<>/resolver-4lUrN4/apt_archive ./ Packages [524 B] Fetched 2849 B in 0s (107 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install agrep 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: libgdbm5 libperl5.26 perl-modules-5.26 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 gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libelf1 libfile-stripnondeterminism-perl libglib2.0-0 libicu63 libmagic-mgc libmagic1 libpipeline1 libsigsegv2 libtool libxml2 m4 man-db po-debconf Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc 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 gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libelf1 libfile-stripnondeterminism-perl libglib2.0-0 libicu63 libmagic-mgc libmagic1 libpipeline1 libsigsegv2 libtool libxml2 m4 man-db po-debconf sbuild-build-depends-agrep-dummy 0 upgraded, 31 newly installed, 0 to remove and 0 not upgraded. Need to get 17.3 MB of archives. After this operation, 64.5 MB of additional disk space will be used. Get:1 copy:/<>/resolver-4lUrN4/apt_archive ./ sbuild-build-depends-agrep-dummy 0.invalid.0 [852 B] Get:2 http://ftpmaster.internal/ubuntu disco/main i386 libbsd0 i386 0.9.1-1 [48.8 kB] Get:3 http://ftpmaster.internal/ubuntu disco/main i386 bsdmainutils i386 11.1.2ubuntu2 [183 kB] Get:4 http://ftpmaster.internal/ubuntu disco/main i386 groff-base i386 1.22.3-10 [1169 kB] Get:5 http://ftpmaster.internal/ubuntu disco/main i386 libpipeline1 i386 1.5.0-2 [27.6 kB] Get:6 http://ftpmaster.internal/ubuntu disco/main i386 man-db i386 2.8.4-3 [1038 kB] Get:7 http://ftpmaster.internal/ubuntu disco/main i386 libmagic-mgc i386 1:5.34-2 [197 kB] Get:8 http://ftpmaster.internal/ubuntu disco/main i386 libmagic1 i386 1:5.34-2 [78.8 kB] Get:9 http://ftpmaster.internal/ubuntu disco/main i386 file i386 1:5.34-2 [22.8 kB] Get:10 http://ftpmaster.internal/ubuntu disco/main i386 libelf1 i386 0.175-1 [49.9 kB] Get:11 http://ftpmaster.internal/ubuntu disco/main i386 libglib2.0-0 i386 2.58.1-2 [1246 kB] Get:12 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libicu63 i386 63.1-5 [8437 kB] Get:13 http://ftpmaster.internal/ubuntu disco/main i386 libxml2 i386 2.9.4+dfsg1-7ubuntu3 [658 kB] Get:14 http://ftpmaster.internal/ubuntu disco/main i386 gettext-base i386 0.19.8.1-9 [51.2 kB] Get:15 http://ftpmaster.internal/ubuntu disco/main i386 libsigsegv2 i386 2.12-2 [14.2 kB] Get:16 http://ftpmaster.internal/ubuntu disco/main i386 m4 i386 1.4.18-2 [202 kB] Get:17 http://ftpmaster.internal/ubuntu disco/main i386 autoconf all 2.69-11 [322 kB] Get:18 http://ftpmaster.internal/ubuntu disco/main i386 autotools-dev all 20180224.1 [39.6 kB] Get:19 http://ftpmaster.internal/ubuntu disco/main i386 automake all 1:1.16.1-4 [522 kB] Get:20 http://ftpmaster.internal/ubuntu disco/main i386 autopoint all 0.19.8.1-9 [412 kB] Get:21 http://ftpmaster.internal/ubuntu disco/main i386 libtool all 2.4.6-6 [195 kB] Get:22 http://ftpmaster.internal/ubuntu disco/main i386 dh-autoreconf all 19 [16.1 kB] Get:23 http://ftpmaster.internal/ubuntu disco/main i386 libarchive-zip-perl all 1.64-1 [84.9 kB] Get:24 http://ftpmaster.internal/ubuntu disco/main i386 libfile-stripnondeterminism-perl all 0.45.0-1 [15.1 kB] Get:25 http://ftpmaster.internal/ubuntu disco/main i386 dh-strip-nondeterminism all 0.45.0-1 [5128 B] Get:26 http://ftpmaster.internal/ubuntu disco/main i386 dwz i386 0.12-2 [80.4 kB] Get:27 http://ftpmaster.internal/ubuntu disco/main i386 libcroco3 i386 0.6.12-2 [87.7 kB] Get:28 http://ftpmaster.internal/ubuntu disco/main i386 gettext i386 0.19.8.1-9 [905 kB] Get:29 http://ftpmaster.internal/ubuntu disco/main i386 intltool-debian all 0.35.0+20060710.4 [24.9 kB] Get:30 http://ftpmaster.internal/ubuntu disco/main i386 po-debconf all 1.0.21 [233 kB] Get:31 http://ftpmaster.internal/ubuntu disco-proposed/main i386 debhelper all 11.5.3ubuntu1 [888 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 17.3 MB in 1s (21.9 MB/s) Selecting previously unselected package libbsd0:i386. (Reading database ... 14501 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-1_i386.deb ... Unpacking libbsd0:i386 (0.9.1-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2ubuntu2_i386.deb ... Unpacking bsdmainutils (11.1.2ubuntu2) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.3-10_i386.deb ... Unpacking groff-base (1.22.3-10) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../03-libpipeline1_1.5.0-2_i386.deb ... Unpacking libpipeline1:i386 (1.5.0-2) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.8.4-3_i386.deb ... Unpacking man-db (2.8.4-3) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../05-libmagic-mgc_1%3a5.34-2_i386.deb ... Unpacking libmagic-mgc (1:5.34-2) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../06-libmagic1_1%3a5.34-2_i386.deb ... Unpacking libmagic1:i386 (1:5.34-2) ... Selecting previously unselected package file. Preparing to unpack .../07-file_1%3a5.34-2_i386.deb ... Unpacking file (1:5.34-2) ... Selecting previously unselected package libelf1:i386. Preparing to unpack .../08-libelf1_0.175-1_i386.deb ... Unpacking libelf1:i386 (0.175-1) ... Selecting previously unselected package libglib2.0-0:i386. Preparing to unpack .../09-libglib2.0-0_2.58.1-2_i386.deb ... Unpacking libglib2.0-0:i386 (2.58.1-2) ... Selecting previously unselected package libicu63:i386. Preparing to unpack .../10-libicu63_63.1-5_i386.deb ... Unpacking libicu63:i386 (63.1-5) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../11-libxml2_2.9.4+dfsg1-7ubuntu3_i386.deb ... Unpacking libxml2:i386 (2.9.4+dfsg1-7ubuntu3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../12-gettext-base_0.19.8.1-9_i386.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../13-libsigsegv2_2.12-2_i386.deb ... Unpacking libsigsegv2:i386 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../14-m4_1.4.18-2_i386.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../15-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../16-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../17-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../18-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libtool. Preparing to unpack .../19-libtool_2.4.6-6_all.deb ... Unpacking libtool (2.4.6-6) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../20-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../21-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../22-libfile-stripnondeterminism-perl_0.45.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.45.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../23-dh-strip-nondeterminism_0.45.0-1_all.deb ... Unpacking dh-strip-nondeterminism (0.45.0-1) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.12-2_i386.deb ... Unpacking dwz (0.12-2) ... Selecting previously unselected package libcroco3:i386. Preparing to unpack .../25-libcroco3_0.6.12-2_i386.deb ... Unpacking libcroco3:i386 (0.6.12-2) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.19.8.1-9_i386.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../27-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../28-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../29-debhelper_11.5.3ubuntu1_all.deb ... Unpacking debhelper (11.5.3ubuntu1) ... Selecting previously unselected package sbuild-build-depends-agrep-dummy. Preparing to unpack .../30-sbuild-build-depends-agrep-dummy_0.invalid.0_i386.deb ... Unpacking sbuild-build-depends-agrep-dummy (0.invalid.0) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libicu63:i386 (63.1-5) ... Setting up libsigsegv2:i386 (2.12-2) ... Setting up libelf1:i386 (0.175-1) ... Setting up groff-base (1.22.3-10) ... Setting up libglib2.0-0:i386 (2.58.1-2) ... No schema files found: doing nothing. Setting up gettext-base (0.19.8.1-9) ... Setting up libpipeline1:i386 (1.5.0-2) ... Setting up m4 (1.4.18-2) ... Setting up libbsd0:i386 (0.9.1-1) ... Setting up libxml2:i386 (2.9.4+dfsg1-7ubuntu3) ... Setting up libmagic-mgc (1:5.34-2) ... Setting up libmagic1:i386 (1:5.34-2) ... Setting up libcroco3:i386 (0.6.12-2) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Setting up dwz (0.12-2) ... Setting up autotools-dev (20180224.1) ... 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 autopoint (0.19.8.1-9) ... Setting up libfile-stripnondeterminism-perl (0.45.0-1) ... Setting up gettext (0.19.8.1-9) ... Setting up autoconf (2.69-11) ... Setting up file (1:5.34-2) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up man-db (2.8.4-3) ... Not building database; man-db/auto-update is not 'true'. Setting up libtool (2.4.6-6) ... Setting up po-debconf (1.0.21) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (0.45.0-1) ... Setting up debhelper (11.5.3ubuntu1) ... Setting up sbuild-build-depends-agrep-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.4.0-140-generic amd64 (i686) Toolchain package versions: binutils_2.31.1-10ubuntu1 dpkg-dev_1.19.2ubuntu1 g++-8_8.2.0-10ubuntu1 gcc-8_8.2.0-10ubuntu1 libc6-dev_2.28-0ubuntu1 libstdc++-8-dev_8.2.0-10ubuntu1 libstdc++6_8.2.0-10ubuntu1 linux-libc-dev_4.19.0-7.8 Package versions: adduser_3.117ubuntu1 advancecomp_2.1-1 apt_1.8.0~alpha2ubuntu1 autoconf_2.69-11 automake_1:1.16.1-4 autopoint_0.19.8.1-9 autotools-dev_20180224.1 base-files_10.1ubuntu8 base-passwd_3.5.45 bash_4.4.18-2ubuntu3 binutils_2.31.1-10ubuntu1 binutils-common_2.31.1-10ubuntu1 binutils-i686-linux-gnu_2.31.1-10ubuntu1 bsdmainutils_11.1.2ubuntu2 bsdutils_1:2.32-0.1ubuntu2 build-essential_12.5ubuntu2 bzip2_1.0.6-9 ca-certificates_20180409 coreutils_8.28-1ubuntu2 cpp_4:8.2.0-2ubuntu2 cpp-8_8.2.0-10ubuntu1 dash_0.5.10.2-1 debconf_1.5.69 debhelper_11.5.3ubuntu1 debianutils_4.8.6 dh-autoreconf_19 dh-strip-nondeterminism_0.45.0-1 diffutils_1:3.6-1 dmsetup_2:1.02.145-4.1ubuntu4 dpkg_1.19.2ubuntu1 dpkg-dev_1.19.2ubuntu1 dwz_0.12-2 e2fslibs_1.44.4-2 e2fsprogs_1.44.4-2 fakeroot_1.23-1 fdisk_2.32-0.1ubuntu2 file_1:5.34-2 findutils_4.6.0+git+20181018-1 g++_4:8.2.0-2ubuntu2 g++-8_8.2.0-10ubuntu1 gcc_4:8.2.0-2ubuntu2 gcc-8_8.2.0-10ubuntu1 gcc-8-base_8.2.0-10ubuntu1 gettext_0.19.8.1-9 gettext-base_0.19.8.1-9 gpg_2.2.8-3ubuntu1 gpg-agent_2.2.8-3ubuntu1 gpgconf_2.2.8-3ubuntu1 gpgv_2.2.8-3ubuntu1 grep_3.1-3 groff-base_1.22.3-10 gzip_1.6-5ubuntu2 hostname_3.21 init_1.56 init-system-helpers_1.56 initscripts_2.88dsf-59.3ubuntu2 insserv_1.14.0-5ubuntu3 intltool-debian_0.35.0+20060710.4 libacl1_2.2.52-3build1 libapparmor1_2.12-4ubuntu10 libapt-pkg5.0_1.8.0~alpha2ubuntu1 libarchive-zip-perl_1.64-1 libargon2-1_0~20171227-0.1 libasan5_8.2.0-10ubuntu1 libassuan0_2.5.1-2 libatomic1_8.2.0-10ubuntu1 libattr1_1:2.4.47-2build1 libaudit-common_1:2.8.3-1ubuntu3 libaudit1_1:2.8.3-1ubuntu3 libbinutils_2.31.1-10ubuntu1 libblkid1_2.32-0.1ubuntu2 libbsd0_0.9.1-1 libbz2-1.0_1.0.6-9 libc-bin_2.28-0ubuntu1 libc-dev-bin_2.28-0ubuntu1 libc6_2.28-0ubuntu1 libc6-dev_2.28-0ubuntu1 libcap-ng0_0.7.9-1build1 libcap2_1:2.25-1.2 libcc1-0_8.2.0-10ubuntu1 libcom-err2_1.44.4-2 libcomerr2_1.44.4-2 libcroco3_0.6.12-2 libcryptsetup12_2:2.0.4-2ubuntu2 libdb5.3_5.3.28+dfsg1-0.2 libdebconfclient0_0.244ubuntu1 libdevmapper1.02.1_2:1.02.145-4.1ubuntu4 libdpkg-perl_1.19.2ubuntu1 libelf1_0.175-1 libext2fs2_1.44.4-2 libfakeroot_1.23-1 libfdisk1_2.32-0.1ubuntu2 libffi6_3.2.1-9 libfile-stripnondeterminism-perl_0.45.0-1 libgcc-8-dev_8.2.0-10ubuntu1 libgcc1_1:8.2.0-10ubuntu1 libgcrypt20_1.8.4-3ubuntu1 libgdbm-compat4_1.18.1-2 libgdbm5_1.14.1-6 libgdbm6_1.18.1-2 libglib2.0-0_2.58.1-2 libgmp10_2:6.1.2+dfsg-4 libgnutls30_3.6.4-2ubuntu2 libgomp1_8.2.0-10ubuntu1 libgpg-error0_1.32-3 libhogweed4_3.4.1~rc1-1 libicu63_63.1-5 libidn11_1.33-2.2ubuntu1 libidn2-0_2.0.5-1 libip4tc0_1.6.1-2ubuntu2 libisl19_0.20-2 libitm1_8.2.0-10ubuntu1 libjson-c3_0.12.1-1.3 libkmod2_25-1ubuntu2 liblockfile-bin_1.14-1.1 liblockfile1_1.14-1.1 liblz4-1_1.8.2-1ubuntu1 liblzma5_5.2.2-1.3 libmagic-mgc_1:5.34-2 libmagic1_1:5.34-2 libmount1_2.32-0.1ubuntu2 libmpc3_1.1.0-1 libmpfr6_4.0.1-1 libmpx2_8.2.0-10ubuntu1 libncurses6_6.1+20180210-4ubuntu1 libncursesw6_6.1+20180210-4ubuntu1 libnettle6_3.4.1~rc1-1 libnpth0_1.6-1 libp11-kit0_0.23.14-2 libpam-modules_1.1.8-3.6ubuntu2 libpam-modules-bin_1.1.8-3.6ubuntu2 libpam-runtime_1.1.8-3.6ubuntu2 libpam0g_1.1.8-3.6ubuntu2 libpcre3_2:8.39-11 libperl5.26_5.26.2-7 libperl5.28_5.28.1-2 libpipeline1_1.5.0-2 libpng16-16_1.6.34-2 libprocps7_2:3.3.15-2ubuntu1 libquadmath0_8.2.0-10ubuntu1 libreadline7_7.0-5 libseccomp2_2.3.3-3ubuntu2 libselinux1_2.8-1build2 libsemanage-common_2.8-1build2 libsemanage1_2.8-1build2 libsepol1_2.8-1 libsigsegv2_2.12-2 libslang2_2.3.2-1ubuntu1 libsmartcols1_2.32-0.1ubuntu2 libsqlite3-0_3.26.0-1 libss2_1.44.4-2 libssl1.1_1.1.1a-1ubuntu2 libstdc++-8-dev_8.2.0-10ubuntu1 libstdc++6_8.2.0-10ubuntu1 libsystemd0_239-7ubuntu15 libtasn1-6_4.13-3 libtinfo6_6.1+20180210-4ubuntu1 libtool_2.4.6-6 libubsan1_8.2.0-10ubuntu1 libudev1_239-7ubuntu15 libunistring2_0.9.10-1ubuntu1 libusb-0.1-4_2:0.1.12-32 libuuid1_2.32-0.1ubuntu2 libxml2_2.9.4+dfsg1-7ubuntu3 libzstd1_1.3.5+dfsg-1ubuntu1 linux-libc-dev_4.19.0-7.8 lockfile-progs_0.1.18 login_1:4.5-1ubuntu1 lsb-base_9.20170808ubuntu1 m4_1.4.18-2 make_4.2.1-1.2 man-db_2.8.4-3 mawk_1.3.3-17ubuntu3 mount_2.32-0.1ubuntu2 multiarch-support_2.28-0ubuntu1 ncurses-base_6.1+20180210-4ubuntu1 ncurses-bin_6.1+20180210-4ubuntu1 openssl_1.1.1a-1ubuntu2 optipng_0.7.6-1.1 passwd_1:4.5-1ubuntu1 patch_2.7.6-3 perl_5.28.1-2 perl-base_5.28.1-2 perl-modules-5.26_5.26.2-7 perl-modules-5.28_5.28.1-2 pinentry-curses_1.1.0-1build2 pkgbinarymangler_143 po-debconf_1.0.21 policyrcd-script-zg2_0.1-3 procps_2:3.3.15-2ubuntu1 readline-common_7.0-5 sbuild-build-depends-agrep-dummy_0.invalid.0 sbuild-build-depends-core-dummy_0.invalid.0 sed_4.5-2 sensible-utils_0.0.12 systemd_239-7ubuntu15 systemd-sysv_239-7ubuntu15 sysv-rc_2.88dsf-59.3ubuntu2 sysvinit-utils_2.88dsf-59.10ubuntu2 tar_1.30+dfsg-3 tzdata_2018g-1 ubuntu-keyring_2018.09.18.1 util-linux_2.32-0.1ubuntu2 xz-utils_5.2.2-1.3 zlib1g_1:1.2.11.dfsg-0ubuntu2 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: Signature made Thu Dec 6 05:52:20 2018 UTC gpgv: using RSA key 597308FBBDBA035D8C7C95DDC42C58EB591492FD gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./agrep_4.17-9.1.dsc dpkg-source: info: extracting agrep in agrep-4.17 dpkg-source: info: unpacking agrep_4.17.orig.tar.gz dpkg-source: info: unpacking agrep_4.17-9.1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 01-makefile.patch dpkg-source: info: applying 10-manpage-th.patch dpkg-source: info: applying 12-manpage-hyphen.patch dpkg-source: info: applying 15-manpage-url.patch dpkg-source: info: applying fix-double-free.patch 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-15744960 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-15744960 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-15744960 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package agrep dpkg-buildpackage: info: source version 4.17-9.1 dpkg-buildpackage: info: source distribution unstable dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 fakeroot debian/rules clean dh clean dh_auto_clean make V=1 -j1 clean make[1]: Entering directory '/<>' rm -f ./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 main.o core a.out agrep make[1]: Leaving directory '/<>' dh_clean debian/rules build-arch dh build-arch dh_update_autotools_config -a dh_auto_configure -a debian/rules override_dh_auto_build make[1]: Entering directory '/<>' # These are the only variables that are free for user /usr/bin/make DEBUGFLAGS="-g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2" OTHERLIBS="-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,--as-needed" make[2]: Entering directory '/<>' gcc -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. -DUTIME=1 -DISO_CHAR_SET=1 -c -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o follow.o follow.c gcc -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. -DUTIME=1 -DISO_CHAR_SET=1 -c -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o asearch.o asearch.c asearch.c: In function ‘asearch’: asearch.c:47:10: warning: implicit declaration of function ‘asearch0’; did you mean ‘asearch’? [-Wimplicit-function-declaration] return asearch0(old_D_pat, text, D); ^~~~~~~~ asearch asearch.c:50:20: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] D_length = strlen(old_D_pat); ^~~~~~~~~ In file included from agrep.h:15, from asearch.c:2: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ asearch.c:69:15: warning: implicit declaration of function ‘fill_buf’; did you mean ‘free_buf’? [-Wimplicit-function-declaration] while ((l = fill_buf(text, buffer + Max_record, BlockSize)) > 0) ^~~~~~~~ free_buf asearch.c:84:19: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer+end, old_D_pat, D_length); ~~~~~~^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asearch.c:2: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ asearch.c:84:25: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer+end, old_D_pat, D_length); ^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asearch.c:2: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ asearch.c:184:18: warning: implicit declaration of function ‘output’ [-Wimplicit-function-declaration] if (-1 == output(buffer, lasti, printout_end, j)) {free_buf(text, buffer); return -1;} ^~~~~~ asearch.c:360:30: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asearch.c:2: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ asearch.c:360:50: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); ~~~~~~^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asearch.c:2: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ asearch.c: In function ‘asearch0’: asearch.c:679:20: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] D_length = strlen(old_D_pat); ^~~~~~~~~ In file included from agrep.h:15, from asearch.c:2: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ asearch.c:705:19: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer+end, old_D_pat, D_length); ~~~~~~^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asearch.c:2: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ asearch.c:705:25: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer+end, old_D_pat, D_length); ^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asearch.c:2: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ asearch.c:717:27: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] A[0] = (((B[0] >> 1)) & CMask | r1 ) ; ~~~~~~~~~~~~~~^~~~~~~ asearch.c:924:30: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asearch.c:2: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ asearch.c:924:50: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); ~~~~~~^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asearch.c:2: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ asearch.c:962:27: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] A[0] = (((B[0] >> 1)) & CMask | r1 ) ; ~~~~~~~~~~~~~~^~~~~~~ gcc -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. -DUTIME=1 -DISO_CHAR_SET=1 -c -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o asearch1.o asearch1.c asearch1.c: In function ‘asearch1’: asearch1.c:62:22: warning: implicit declaration of function ‘fill_buf’; did you mean ‘free_buf’? [-Wimplicit-function-declaration] while ((num_read = fill_buf(Text, buffer + Max_record, BlockSize)) > 0) ^~~~~~~~ free_buf asearch1.c:77:30: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer+Max_record+num_read, old_D_pat, D_length); ~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asearch1.c:2: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ asearch1.c:158:18: warning: implicit declaration of function ‘output’ [-Wimplicit-function-declaration] if (-1 == output(buffer, lasti, i-D_length-1, j)) {free_buf(Text, buffer); return -1;} ^~~~~~ asearch1.c:287:29: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asearch1.c:2: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ asearch1.c:287:49: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); ~~~~~~^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asearch1.c:2: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ gcc -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. -DUTIME=1 -DISO_CHAR_SET=1 -c -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o agrep.o agrep.c agrep.c: In function ‘reinit_value’: agrep.c:177:24: warning: implicit declaration of function ‘destroy_tree’ [-Wimplicit-function-declaration] if (AComplexBoolean) destroy_tree(AParse); ^~~~~~~~~~~~ agrep.c:209:16: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(D_pattern, original_D_pattern); ^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:209:27: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(D_pattern, original_D_pattern); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:211:16: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(old_D_pat, original_old_D_pat); ^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:211:27: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(old_D_pat, original_old_D_pat); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c: In function ‘initial_value’: agrep.c:264:9: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(tc_D_pattern, "\n"); ^~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c: In function ‘compute_next’: agrep.c:329:7: warning: implicit declaration of function ‘exponen’; did you mean ‘popen’? [-Wimplicit-function-declaration] k = exponen(M); ^~~~~~~ popen agrep.c: In function ‘re1’: agrep.c:425:22: warning: implicit declaration of function ‘fill_buf’; did you mean ‘free_buf’? [-Wimplicit-function-declaration] while ((num_read = fill_buf(Text, buffer + Maxline, BlockSize)) > 0) ^~~~~~~~ free_buf agrep.c:516:17: warning: implicit declaration of function ‘r_output’ [-Wimplicit-function-declaration] if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} ^~~~~~~~ agrep.c:524:41: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] r2 = (Next[r3>>hh] | Next1[r3&LL]) & CMask | Init0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ agrep.c:615:12: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agrep.c:615:26: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ~~~~~~^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agrep.c:713:41: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] r2 = (Next[r3>>hh] | Next1[r3&LL]) & CMask | Init0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ agrep.c:1106:12: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agrep.c:1106:26: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ~~~~~~^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agrep.c: In function ‘re’: agrep.c:1468:20: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] r2 = Next[r3] & CMask | r1; ~~~~~~~~~^~~~~~~ agrep.c:1551:20: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] r3 = Next[r2] & CMask | r1; ~~~~~~~~~^~~~~~~ agrep.c:1624:26: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer+Maxline-ResidueSize, buffer+lasti, ResidueSize); ~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agrep.c:1624:46: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer+Maxline-ResidueSize, buffer+lasti, ResidueSize); ~~~~~~^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agrep.c:1653:20: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] r2 = Next[r3] & CMask | r1; ~~~~~~~~~^~~~~~~ agrep.c:1736:20: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] r3 = Next[r2] & CMask | r1; ~~~~~~~~~^~~~~~~ agrep.c:2045:12: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agrep.c:2045:26: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ~~~~~~^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agrep.c: In function ‘agrep_init’: agrep.c:2464:10: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(Progname, argv[0], MAXNAME); ^~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agrep.c:2465:23: warning: implicit declaration of function ‘agrep_usage’; did you mean ‘agrep_init’? [-Wimplicit-function-declaration] if (argc < 2) return agrep_usage(); ^~~~~~~~~~~ agrep_init agrep.c:2466:16: warning: zero-length gnu_printf format string [-Wformat-zero-length] printf(""); /* dummy statement which avoids program crash with ^~ agrep.c:2634:22: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(D_pattern+1, argv[0]); ~~~~~~~~~^~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:2651:22: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(D_pattern+1, p + 1); ~~~~~~~~~^~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:2655:12: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] strcat(D_pattern, ">; "); ^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:2659:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(original_D_pattern, D_pattern); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:2659:32: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(original_D_pattern, D_pattern); ^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:2697:14: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] strcat(Pattern, (argv)[0]); ^~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:2699:18: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] else strcat(Pattern, argv[0]); ^~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:2705:14: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] strcat(Pattern, p+1); ^~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:2707:19: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] else strcat (Pattern, p+1); ^~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:2728:13: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] strcat(Pattern, argv[0]); ^~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:2748:14: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] strcat (Pattern, p+1); ^~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:2801:9: warning: implicit declaration of function ‘prepf’; did you mean ‘pread’? [-Wimplicit-function-declaration] if (prepf(multifd, NULL, 0) <= -1) { ^~~~~ pread agrep.c:3028:2: warning: implicit declaration of function ‘initialize_common’ [-Wimplicit-function-declaration] initialize_common(FREQ_FILE, 0); /* no error msgs */ ^~~~~~~~~~~~~~~~~ agrep.c:3053:10: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(Pattern, *argv); ^~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:3082:38: warning: implicit declaration of function ‘check_file’; did you mean ‘flockfile’? [-Wimplicit-function-declaration] if (!glimpse_call && ((filetype = check_file(*argv)) == NOSUCHFILE) && !PRINTNONEXISTENTFILE) { ^~~~~~~~~~ flockfile agrep.c:3095:21: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(Textfiles[Numfiles++], *argv++); ~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:3102:13: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] M = strlen(Pattern); ^~~~~~~ In file included from agrep.h:15, from agrep.c:7: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ agrep.c:3127:11: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(pattern_buffer, Pattern, M+1); /* copy \0 */ ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agrep.c:3127:27: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(pattern_buffer, Pattern, M+1); /* copy \0 */ ^~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agrep.c: In function ‘agrep_search’: agrep.c:3186:14: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(agrep_saved_pattern, pattern_buffer)) { ^~~~~~~~~~~~~~~~~~~ In file included from agrep.h:15, from agrep.c:7: /usr/include/string.h:136:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ agrep.c:3186:35: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(agrep_saved_pattern, pattern_buffer)) { ^~~~~~~~~~~~~~ In file included from agrep.h:15, from agrep.c:7: /usr/include/string.h:136:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ agrep.c:3206:12: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(Pattern, pattern_buffer, pattern_len+1); /* copy \0 */ ^~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agrep.c:3206:21: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(Pattern, pattern_buffer, pattern_len+1); /* copy \0 */ ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agrep.c:3207:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] M = strlen(Pattern); ^~~~~~~ In file included from agrep.h:15, from agrep.c:7: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ agrep.c:3290:13: warning: implicit declaration of function ‘checksg’ [-Wimplicit-function-declaration] if (-1 == checksg(Pattern, D, 1)) return -1; /* check if the pattern is simple */ ^~~~~~~ agrep.c:3291:10: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(OldPattern, Pattern); ^~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:3291:22: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(OldPattern, Pattern); ^~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:3294:14: warning: implicit declaration of function ‘preprocess’ [-Wimplicit-function-declaration] if (-1 == preprocess(D_pattern, Pattern)) return -1; ^~~~~~~~~~ agrep.c:3295:11: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(old_D_pat, D_pattern); ^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:3295:22: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(old_D_pat, D_pattern); ^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:3297:25: warning: implicit declaration of function ‘maskgen’ [-Wimplicit-function-declaration] if(!AParse && ((M = maskgen(Pattern, D)) == -1)) return -1; ^~~~~~~ agrep.c:3304:24: warning: implicit declaration of function ‘quick_tcompress’ [-Wimplicit-function-declaration] if ((tc_D_length = quick_tcompress(FREQ_FILE,HASH_FILE,D_pattern,D_length,tc_D_pattern,MaxDelimit*2,TC_EASYSEARCH)) <= 0) { ^~~~~~~~~~~~~~~ agrep.c:3305:13: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(tc_D_pattern, D_pattern); ^~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:3305:27: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(tc_D_pattern, D_pattern); ^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:3310:15: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] M = strlen(OldPattern); ^~~~~~~~~~ In file included from agrep.h:15, from agrep.c:7: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ agrep.c:3333:35: warning: implicit declaration of function ‘exec’; did you mean ‘execl’? [-Wimplicit-function-declaration] if (agrep_initialfd == -1) ret = exec(execfd, NULL); ^~~~ execl agrep.c:3334:28: warning: implicit declaration of function ‘recursive’ [-Wimplicit-function-declaration] else if(RECURSIVE) ret = (recursive(Numfiles, Textfiles)); ^~~~~~~~~ agrep.c: In function ‘exec’: agrep.c:3443:13: warning: implicit declaration of function ‘compat’; did you mean ‘crypt’? [-Wimplicit-function-declaration] if ((-1 == compat())) return -1; /* check compatibility between options */ ^~~~~~ crypt agrep.c:3456:30: warning: implicit declaration of function ‘mgrep’; did you mean ‘memagrep’? [-Wimplicit-function-declaration] if(PAT_FILE || PAT_BUFFER) mgrep(fd, AParse); ^~~~~ memagrep agrep.c:3458:20: warning: implicit declaration of function ‘sgrep’; did you mean ‘strsep’? [-Wimplicit-function-declaration] if(SGREP) ret = sgrep(OldPattern, strlen(OldPattern), fd, D, 0); ^~~~~ strsep agrep.c:3458:45: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if(SGREP) ret = sgrep(OldPattern, strlen(OldPattern), fd, D, 0); ^~~~~~~~~~ In file included from agrep.h:15, from agrep.c:7: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ agrep.c:3459:20: warning: implicit declaration of function ‘bitap’ [-Wimplicit-function-declaration] else ret = bitap(old_D_pat, Pattern, fd, M, D); ^~~~~ agrep.c:3512:34: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] if (PRINTFILENUMBER) sprintf(CurrentFileName, "%d", i); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/stdio2.h:34:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ agrep.c:3513:17: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, file_list[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:3519:9: warning: implicit declaration of function ‘tuncompressible_filename’ [-Wimplicit-function-declaration] if (!tuncompressible_filename(file_list[i], strlen(file_list[i]))) TCOMPRESSED = OFF; ^~~~~~~~~~~~~~~~~~~~~~~~ agrep.c:3528:47: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if(SGREP) ret = sgrep(OldPattern, strlen(OldPattern), fd, D, i); ^~~~~~~~~~ In file included from agrep.h:15, from agrep.c:7: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ agrep.c:3700:16: warning: implicit declaration of function ‘file_out’; did you mean ‘fileno’? [-Wimplicit-function-declaration] if (-1 == file_out(file_list[i])) { ^~~~~~~~ fileno agrep.c:3722:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(old_D_pat, D_pattern); ^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:3722:23: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(old_D_pat, D_pattern); ^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:3731:35: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] if (PRINTFILENUMBER) sprintf(CurrentFileName, "%d", i); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/stdio2.h:34:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ agrep.c:3732:18: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, file_list[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:3738:48: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if(SGREP) ret = sgrep(OldPattern,strlen(OldPattern),fd,D, i); ^~~~~~~~~~ In file included from agrep.h:15, from agrep.c:7: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ agrep.c:3783:35: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] if (PRINTFILENUMBER) sprintf(CurrentFileName, "%d", i); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/stdio2.h:34:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ agrep.c:3784:18: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, file_list[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/sys/stat.h:25, from agrep.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agrep.c:3790:48: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if(SGREP) ret = sgrep(OldPattern,strlen(OldPattern),fd,D, i); ^~~~~~~~~~ In file included from agrep.h:15, from agrep.c:7: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ agrep.c: In function ‘agrep_init’: agrep.c:3013:4: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 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] write(1, buf, num_read); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, from agrep.h:15, from agrep.c:7: In function ‘strncpy’, inlined from ‘re1’ at agrep.c:1106:4: /usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ accessing 1024 bytes at offsets 0 and [1, 2147483647] may overlap up to 1023 bytes at offset [1023, 1] [-Wrestrict] return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘re1’ at agrep.c:615:4: /usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ accessing 1024 bytes at offsets 0 and [1, 2147483647] may overlap up to 1023 bytes at offset [1023, 1] [-Wrestrict] return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘re’ at agrep.c:2045:4: /usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ accessing 1024 bytes at offsets 0 and [1, 2147483647] may overlap up to 1023 bytes at offset [1023, 1] [-Wrestrict] return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘re’ at agrep.c:1624:4: /usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ accessing between 0 and 1024 bytes at offsets [0, 2147483646] and [0, 2147483647] may overlap up to 1024 bytes at offset 1023 [-Wrestrict] return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. -DUTIME=1 -DISO_CHAR_SET=1 -c -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bitap.o bitap.c bitap.c: In function ‘bitap’: bitap.c:70:11: warning: implicit declaration of function ‘re’ [-Wimplicit-function-declaration] return re(fd, M, D); /* SUN: need to find a even point */ ^~ bitap.c:73:11: warning: implicit declaration of function ‘re1’; did you mean ‘read’? [-Wimplicit-function-declaration] return re1(fd, M, D); ^~~ read bitap.c:78:10: warning: implicit declaration of function ‘asearch1’; did you mean ‘bsearch’? [-Wimplicit-function-declaration] return asearch1(old_D_pat, fd, D); ^~~~~~~~ bsearch bitap.c:82:10: warning: implicit declaration of function ‘asearch’; did you mean ‘bsearch’? [-Wimplicit-function-declaration] return asearch(old_D_pat, fd, D); ^~~~~~~ bsearch bitap.c:104:22: warning: implicit declaration of function ‘fill_buf’; did you mean ‘free_buf’? [-Wimplicit-function-declaration] while ((num_read = fill_buf(fd, buffer + Max_record, BlockSize)) > 0) ^~~~~~~~ free_buf bitap.c:122:30: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer+Max_record+num_read, old_D_pat, D_length); ~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from bitap.c:15: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ bitap.c:195:18: warning: implicit declaration of function ‘output’ [-Wimplicit-function-declaration] if (-1 == output(buffer, lasti, print_end, j - (NumBufferFills - 1))) { free_buf(fd, buffer); return -1;} ^~~~~~ bitap.c:297:29: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from bitap.c:15: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ bitap.c:297:49: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); ~~~~~~^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from bitap.c:15: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ bitap.c: At top level: bitap.c:498:1: warning: return type defaults to ‘int’ [-Wimplicit-int] fill_buf(fd, buf, record_size) ^~~~~~~~ gcc -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. -DUTIME=1 -DISO_CHAR_SET=1 -c -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o checkfile.o checkfile.c checkfile.c: In function ‘check_file’: checkfile.c:47:6: warning: implicit declaration of function ‘my_stat’; did you mean ‘lstat’? [-Wimplicit-function-declaration] if (my_stat(fname, &buf) != 0) { ^~~~~~~ lstat gcc -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. -DUTIME=1 -DISO_CHAR_SET=1 -c -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o compat.o compat.c compat.c:9:8: warning: type defaults to ‘int’ in declaration of ‘FILEOUT’ [-Wimplicit-int] extern FILEOUT; ^~~~~~~ compat.c:10:8: warning: type defaults to ‘int’ in declaration of ‘REGEX’ [-Wimplicit-int] extern REGEX; ^~~~~ compat.c:11:8: warning: type defaults to ‘int’ in declaration of ‘DELIMITER’ [-Wimplicit-int] extern DELIMITER; ^~~~~~~~~ compat.c:12:8: warning: type defaults to ‘int’ in declaration of ‘WHOLELINE’ [-Wimplicit-int] extern WHOLELINE; ^~~~~~~~~ compat.c:13:8: warning: type defaults to ‘int’ in declaration of ‘LINENUM’ [-Wimplicit-int] extern LINENUM; ^~~~~~~ compat.c:14:8: warning: type defaults to ‘int’ in declaration of ‘I’ [-Wimplicit-int] extern I, S, DD; ^ compat.c:14:11: warning: type defaults to ‘int’ in declaration of ‘S’ [-Wimplicit-int] extern I, S, DD; ^ compat.c:14:14: warning: type defaults to ‘int’ in declaration of ‘DD’ [-Wimplicit-int] extern I, S, DD; ^~ compat.c:15:8: warning: type defaults to ‘int’ in declaration of ‘JUMP’ [-Wimplicit-int] extern JUMP; ^~~~ gcc -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. -DUTIME=1 -DISO_CHAR_SET=1 -c -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o maskgen.o maskgen.c maskgen.c:6:8: warning: type defaults to ‘int’ in declaration of ‘Mask’ [-Wimplicit-int] extern Mask[], Bit[], Init[], NO_ERR_MASK; ^~~~ maskgen.c:6:16: warning: type defaults to ‘int’ in declaration of ‘Bit’ [-Wimplicit-int] extern Mask[], Bit[], Init[], NO_ERR_MASK; ^~~ maskgen.c:6:23: warning: type defaults to ‘int’ in declaration of ‘Init’ [-Wimplicit-int] extern Mask[], Bit[], Init[], NO_ERR_MASK; ^~~~ maskgen.c:6:31: warning: type defaults to ‘int’ in declaration of ‘NO_ERR_MASK’ [-Wimplicit-int] extern Mask[], Bit[], Init[], NO_ERR_MASK; ^~~~~~~~~~~ maskgen.c: In function ‘maskgen’: maskgen.c:34:18: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if ((M = strlen(Pattern)) <= 0) return 0; ^~~~~~~ In file included from agrep.h:15, from maskgen.c:2: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ gcc -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. -DUTIME=1 -DISO_CHAR_SET=1 -c -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o parse.o parse.c In file included from parse.c:7: parse.c: In function ‘mk_leaf’: re.h:75:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(2);\ ^~~~ parse.c:45:2: note: in expansion of macro ‘new_node’ new_node(Re_Lit, l, l); ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(2);\ ^~~~ parse.c:45:2: note: in expansion of macro ‘new_node’ new_node(Re_Lit, l, l); ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ exit(2);\ ^~~~ parse.c:45:2: note: in expansion of macro ‘new_node’ new_node(Re_Lit, l, l); ^~~~~~~~ re.h:77:2: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:45:2: note: in expansion of macro ‘new_node’ new_node(Re_Lit, l, l); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:45:2: note: in expansion of macro ‘new_node’ new_node(Re_Lit, l, l); ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:45:2: note: in expansion of macro ‘new_node’ new_node(Re_Lit, l, l); ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(2);\ ^~~~ parse.c:46:2: note: in expansion of macro ‘new_node’ new_node(Re_node, node, node); ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ exit(2);\ ^~~~ parse.c:46:2: note: in expansion of macro ‘new_node’ new_node(Re_node, node, node); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:46:2: note: in expansion of macro ‘new_node’ new_node(Re_node, node, node); ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:46:2: note: in expansion of macro ‘new_node’ new_node(Re_node, node, node); ^~~~~~~~ parse.c:48:18: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] if (l != NULL) free(l); ^~~~ parse.c:48:18: warning: incompatible implicit declaration of built-in function ‘free’ parse.c:48:18: note: include ‘’ or provide a declaration of ‘free’ parse.c:49:21: warning: incompatible implicit declaration of built-in function ‘free’ if (node != NULL) free(node); ^~~~ parse.c:49:21: note: include ‘’ or provide a declaration of ‘free’ In file included from parse.c:7: parse.c: In function ‘parse_cset’: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(2);\ ^~~~ parse.c:76:2: note: in expansion of macro ‘new_node’ new_node(Ch_Set, curr_ptr, curr_ptr); ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ exit(2);\ ^~~~ parse.c:76:2: note: in expansion of macro ‘new_node’ new_node(Ch_Set, curr_ptr, curr_ptr); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:76:2: note: in expansion of macro ‘new_node’ new_node(Ch_Set, curr_ptr, curr_ptr); ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:76:2: note: in expansion of macro ‘new_node’ new_node(Ch_Set, curr_ptr, curr_ptr); ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(2);\ ^~~~ parse.c:79:3: note: in expansion of macro ‘new_node’ new_node(Ch_Range, range, range); ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ exit(2);\ ^~~~ parse.c:79:3: note: in expansion of macro ‘new_node’ new_node(Ch_Range, range, range); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:79:3: note: in expansion of macro ‘new_node’ new_node(Ch_Range, range, range); ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:79:3: note: in expansion of macro ‘new_node’ new_node(Ch_Range, range, range); ^~~~~~~~ parse.c:83:4: warning: incompatible implicit declaration of built-in function ‘free’ free(range); ^~~~ parse.c:83:4: note: include ‘’ or provide a declaration of ‘free’ parse.c:89:4: warning: incompatible implicit declaration of built-in function ‘free’ free(range); ^~~~ parse.c:89:4: note: include ‘’ or provide a declaration of ‘free’ parse.c:96:5: warning: incompatible implicit declaration of built-in function ‘free’ free(range); ^~~~ parse.c:96:5: note: include ‘’ or provide a declaration of ‘free’ In file included from parse.c:7: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(2);\ ^~~~ parse.c:104:3: note: in expansion of macro ‘new_node’ new_node(Ch_Set, curr_ptr, curr_ptr); ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ exit(2);\ ^~~~ parse.c:104:3: note: in expansion of macro ‘new_node’ new_node(Ch_Set, curr_ptr, curr_ptr); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:104:3: note: in expansion of macro ‘new_node’ new_node(Ch_Set, curr_ptr, curr_ptr); ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:104:3: note: in expansion of macro ‘new_node’ new_node(Ch_Set, curr_ptr, curr_ptr); ^~~~~~~~ parse.c:112:22: warning: incompatible implicit declaration of built-in function ‘free’ if (range != NULL) free(range); ^~~~ parse.c:112:22: note: include ‘’ or provide a declaration of ‘free’ parse.c:113:3: warning: incompatible implicit declaration of built-in function ‘free’ free(curr_ptr); ^~~~ parse.c:113:3: note: include ‘’ or provide a declaration of ‘free’ In file included from parse.c:7: parse.c: In function ‘parse_wildcard’: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(2);\ ^~~~ parse.c:128:2: note: in expansion of macro ‘new_node’ new_node(Ch_Range, r, r); ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ exit(2);\ ^~~~ parse.c:128:2: note: in expansion of macro ‘new_node’ new_node(Ch_Range, r, r); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:128:2: note: in expansion of macro ‘new_node’ new_node(Ch_Range, r, r); ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:128:2: note: in expansion of macro ‘new_node’ new_node(Ch_Range, r, r); ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(2);\ ^~~~ parse.c:131:2: note: in expansion of macro ‘new_node’ new_node(Ch_Set, s, s); ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ exit(2);\ ^~~~ parse.c:131:2: note: in expansion of macro ‘new_node’ new_node(Ch_Set, s, s); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:131:2: note: in expansion of macro ‘new_node’ new_node(Ch_Set, s, s); ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:131:2: note: in expansion of macro ‘new_node’ new_node(Ch_Set, s, s); ^~~~~~~~ parse.c: In function ‘free_tok’: parse.c:163:3: warning: incompatible implicit declaration of built-in function ‘free’ free(next_token); ^~~~ parse.c:163:3: note: include ‘’ or provide a declaration of ‘free’ In file included from parse.c:7: parse.c: In function ‘get_token’: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(2);\ ^~~~ parse.c:181:2: note: in expansion of macro ‘new_node’ new_node(Tok_node, rn, rn); ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ exit(2);\ ^~~~ parse.c:181:2: note: in expansion of macro ‘new_node’ new_node(Tok_node, rn, rn); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:181:2: note: in expansion of macro ‘new_node’ new_node(Tok_node, rn, rn); ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:181:2: note: in expansion of macro ‘new_node’ new_node(Tok_node, rn, rn); ^~~~~~~~ parse.c: In function ‘cat2’: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(2);\ ^~~~ parse.c:245:2: note: in expansion of macro ‘new_node’ new_node(Re_node, r, r); ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ exit(2);\ ^~~~ parse.c:245:2: note: in expansion of macro ‘new_node’ new_node(Re_node, r, r); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:245:2: note: in expansion of macro ‘new_node’ new_node(Re_node, r, r); ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:245:2: note: in expansion of macro ‘new_node’ new_node(Re_node, r, r); ^~~~~~~~ parse.c:253:3: warning: incompatible implicit declaration of built-in function ‘free’ free(r); ^~~~ parse.c:253:3: note: include ‘’ or provide a declaration of ‘free’ In file included from parse.c:7: parse.c: In function ‘wrap’: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(2);\ ^~~~ parse.c:277:2: note: in expansion of macro ‘new_node’ new_node(Re_node, r, r); ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ exit(2);\ ^~~~ parse.c:277:2: note: in expansion of macro ‘new_node’ new_node(Re_node, r, r); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:277:2: note: in expansion of macro ‘new_node’ new_node(Re_node, r, r); ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:277:2: note: in expansion of macro ‘new_node’ new_node(Re_node, r, r); ^~~~~~~~ parse.c:283:3: warning: incompatible implicit declaration of built-in function ‘free’ free(r); ^~~~ parse.c:283:3: note: include ‘’ or provide a declaration of ‘free’ In file included from parse.c:7: parse.c: In function ‘mk_alt’: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(2);\ ^~~~ parse.c:303:2: note: in expansion of macro ‘new_node’ new_node(Re_node, node, node); ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ exit(2);\ ^~~~ parse.c:303:2: note: in expansion of macro ‘new_node’ new_node(Re_node, node, node); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:303:2: note: in expansion of macro ‘new_node’ new_node(Re_node, node, node); ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ parse.c:303:2: note: in expansion of macro ‘new_node’ new_node(Re_node, node, node); ^~~~~~~~ parse.c: In function ‘parse_re’: parse.c:339:5: warning: incompatible implicit declaration of built-in function ‘free’ free(top); ^~~~ parse.c:339:5: note: include ‘’ or provide a declaration of ‘free’ parse.c:355:5: warning: incompatible implicit declaration of built-in function ‘free’ free(ret); ^~~~ parse.c:355:5: note: include ‘’ or provide a declaration of ‘free’ parse.c:360:5: warning: incompatible implicit declaration of built-in function ‘free’ free(ret); ^~~~ parse.c:360:5: note: include ‘’ or provide a declaration of ‘free’ parse.c:370:6: warning: incompatible implicit declaration of built-in function ‘free’ free(ret); ^~~~ parse.c:370:6: note: include ‘’ or provide a declaration of ‘free’ parse.c:397:5: warning: incompatible implicit declaration of built-in function ‘free’ free(ret); ^~~~ parse.c:397:5: note: include ‘’ or provide a declaration of ‘free’ parse.c:402:5: warning: incompatible implicit declaration of built-in function ‘free’ free(ret); ^~~~ parse.c:402:5: note: include ‘’ or provide a declaration of ‘free’ parse.c:413:4: warning: incompatible implicit declaration of built-in function ‘free’ free(next_token); ^~~~ parse.c:413:4: note: include ‘’ or provide a declaration of ‘free’ parse.c: In function ‘parse’: parse.c:451:2: warning: incompatible implicit declaration of built-in function ‘free’ free(top); ^~~~ parse.c:451:2: note: include ‘’ or provide a declaration of ‘free’ parse.c: In function ‘parse_cset’: parse.c:108:18: warning: ‘prev_ptr’ may be used uninitialized in this function [-Wmaybe-uninitialized] prev_ptr->rest = NULL; ^ gcc -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. -DUTIME=1 -DISO_CHAR_SET=1 -c -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o checksg.o checksg.c checksg.c: In function ‘checksg’: checksg.c:24:13: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] m = strlen(Pattern); ^~~~~~~ In file included from agrep.h:15, from checksg.c:2: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ gcc -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. -DUTIME=1 -DISO_CHAR_SET=1 -c -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o preprocess.o preprocess.c preprocess.c: In function ‘preprocess’: preprocess.c:53:18: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if ((m = strlen(Pattern)) <= 0) return 0; ^~~~~~~ In file included from agrep.h:15, from preprocess.c:16: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ preprocess.c:67:15: warning: implicit declaration of function ‘asplit_pattern’ [-Wimplicit-function-declaration] if (((ret1 = asplit_pattern(Pattern, m, aterminals, &anum_terminals, &AParse)) <= 0) || /* can change the pattern if simple boolean with {} */ ^~~~~~~~~~~~~~ preprocess.c:68:15: warning: implicit declaration of function ‘asplit_terminal’ [-Wimplicit-function-declaration] ((ret2 = asplit_terminal(0, anum_terminals, multibuf, &multilen)) <= 0) || ^~~~~~~~~~~~~~~ preprocess.c:70:44: warning: implicit declaration of function ‘destroy_tree’ [-Wimplicit-function-declaration] if (AComplexBoolean && (AParse != NULL)) destroy_tree(AParse); /* so that direct exec invocations don't use AParse by mistake! */ ^~~~~~~~~~~~ preprocess.c:80:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] m = strlen(Pattern); ^~~~~~~ In file included from agrep.h:15, from preprocess.c:16: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ preprocess.c:97:23: warning: implicit declaration of function ‘quick_tcompress’ [-Wimplicit-function-declaration] if ((tc_D_length = quick_tcompress(FREQ_FILE, HASH_FILE, D_pattern, D_length, tc_D_pattern, MaxDelimit*2, TC_EASYSEARCH)) <= 0) { ^~~~~~~~~~~~~~~ preprocess.c:98:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(tc_D_pattern, D_pattern); ^~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ preprocess.c:98:26: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(tc_D_pattern, D_pattern); ^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ preprocess.c:113:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] r_pat = (CHAR *) malloc(strlen(Pattern)+2*strlen(D_pattern) + 8); /* bug-report, From: Chris Dalton */ ^~~~~~~ In file included from agrep.h:15, from preprocess.c:16: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ preprocess.c:113:51: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] r_pat = (CHAR *) malloc(strlen(Pattern)+2*strlen(D_pattern) + 8); /* bug-report, From: Chris Dalton */ ^~~~~~~~~ In file included from agrep.h:15, from preprocess.c:16: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ preprocess.c:114:9: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(temp, D_pattern); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ preprocess.c:114:15: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(temp, D_pattern); ^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ preprocess.c:115:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] d_end = t = strlen(temp); /* size of D_pattern, including '; ' */ ^~~~ In file included from agrep.h:15, from preprocess.c:16: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ preprocess.c:121:10: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] strcat(temp, Pattern); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ preprocess.c:121:16: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness [-Wpointer-sign] strcat(temp, Pattern); ^~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ preprocess.c:122:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] m = strlen(temp); ^~~~ In file included from agrep.h:15, from preprocess.c:16: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ preprocess.c:135:10: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] strcat(temp, Pattern); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ preprocess.c:135:16: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness [-Wpointer-sign] strcat(temp, Pattern); ^~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ preprocess.c:136:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] m = strlen(temp); ^~~~ In file included from agrep.h:15, from preprocess.c:16: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ preprocess.c:186:9: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(D_pattern, old_D_pat); ^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ preprocess.c:186:20: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(D_pattern, old_D_pat); ^~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ preprocess.c:322:13: warning: implicit declaration of function ‘init’; did you mean ‘rint’? [-Wimplicit-function-declaration] num_pos = init(r_pat, table); ^~~~ rint preprocess.c:341:10: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(old_pat, Pattern); /* do real change to the Pattern to be returned */ ^~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ preprocess.c:341:19: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(old_pat, Pattern); /* do real change to the Pattern to be returned */ ^~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ gcc -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. -DUTIME=1 -DISO_CHAR_SET=1 -c -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o delim.o delim.c delim.c: In function ‘preprocess_delimiter’: delim.c:15:9: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(temp, src); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from delim.c:3: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ delim.c:15:15: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(temp, src); ^~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from delim.c:3: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ delim.c:27:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] *pdestlen = strlen(dest); ^~~~ In file included from agrep.h:15, from delim.c:3: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ gcc -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. -DUTIME=1 -DISO_CHAR_SET=1 -c -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o asplit.o asplit.c In file included from asplit.c:5: putils.c: In function ‘print_tree’: putils.c:69:1: warning: type of ‘level’ defaults to ‘int’ [-Wimplicit-int] print_tree(t, level) ^~~~~~~~~~ asplit.c: In function ‘asplit_pattern_flat’: asplit.c:82:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (buffer_pat = aparse_flat(buffer, buffer_end, *pAParse, pAParse)) { ^~~~~~~~~~ asplit.c: In function ‘aparse_tree’: asplit.c:254:23: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(n->data.leaf.value, oldtokenbuf); ~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asplit.c:3: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ asplit.c:254:31: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(n->data.leaf.value, oldtokenbuf); ^~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asplit.c:3: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ asplit.c: In function ‘eval_tree’: asplit.c:344:75: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (tree->type == LEAF) return ((tree->op & NOTPAT) ? (!matched_terminals[tree->terminalindex]) : (matched_terminals[tree->terminalindex])); ^ asplit.c:344:118: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (tree->type == LEAF) return ((tree->op & NOTPAT) ? (!matched_terminals[tree->terminalindex]) : (matched_terminals[tree->terminalindex])); ^ asplit.c: In function ‘asplit_terminal’: asplit.c:376:51: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] word_length = strlen(aterminals[first].data.leaf.value); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from agrep.h:15, from asplit.c:3: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ asplit.c:380:57: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(&pat_buf[*pat_ptr], aterminals[first].data.leaf.value); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asplit.c:3: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ gcc -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. -DUTIME=1 -DISO_CHAR_SET=1 -c -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o recursive.o recursive.c recursive.c: In function ‘recursive’: recursive.c:67:3: warning: implicit declaration of function ‘strcpy’ [-Wimplicit-function-declaration] strcpy(name_buf, argv[i]); ^~~~~~ recursive.c:67:3: warning: incompatible implicit declaration of built-in function ‘strcpy’ recursive.c:67:3: note: include ‘’ or provide a declaration of ‘strcpy’ recursive.c:37:1: +#include #define BUFSIZE 256 recursive.c:67:3: strcpy(name_buf, argv[i]); ^~~~~~ recursive.c:71:15: warning: implicit declaration of function ‘exec’ [-Wimplicit-function-declaration] if ((ret = exec(3, file_list)) == -1) return -1; ^~~~ recursive.c:74:5: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(file_list[j]); ^~~~ recursive.c:74:5: warning: incompatible implicit declaration of built-in function ‘free’ recursive.c:74:5: note: include ‘’ or provide a declaration of ‘free’ recursive.c:37:1: +#include #define BUFSIZE 256 recursive.c:74:5: free(file_list[j]); ^~~~ recursive.c: In function ‘treewalk’: recursive.c:114:5: warning: implicit declaration of function ‘my_lstat’; did you mean ‘lstat’? [-Wimplicit-function-declaration] if(my_lstat(name, &stbuf) == -1) { ^~~~~~~~ lstat recursive.c:125:3: warning: incompatible implicit declaration of built-in function ‘strcpy’ strcpy(file_list[fdx++], name); ^~~~~~ recursive.c:125:3: note: include ‘’ or provide a declaration of ‘strcpy’ recursive.c:130:30: warning: incompatible implicit declaration of built-in function ‘free’ for(i=0; i’ or provide a declaration of ‘free’ recursive.c: In function ‘directory’: recursive.c:147:15: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] nbp = name + strlen(name); ^~~~~~ recursive.c:147:15: warning: incompatible implicit declaration of built-in function ‘strlen’ recursive.c:147:15: note: include ‘’ or provide a declaration of ‘strlen’ recursive.c:160:32: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] if (dp->d_name[0] == '\0' || strcmp(dp->d_name, ".") == 0 || strcmp(dp->d_name, "..")==0) ^~~~~~ recursive.c:165:3: warning: incompatible implicit declaration of built-in function ‘strcpy’ strcpy(nbp, dp->d_name); ^~~~~~ recursive.c:165:3: note: include ‘’ or provide a declaration of ‘strcpy’ gcc -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. -DUTIME=1 -DISO_CHAR_SET=1 -c -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sgrep.o sgrep.c sgrep.c:52:8: warning: type defaults to ‘int’ in declaration of ‘WORDBOUND’ [-Wimplicit-int] extern WORDBOUND, WHOLELINE, NOUPPER; ^~~~~~~~~ sgrep.c:52:19: warning: type defaults to ‘int’ in declaration of ‘WHOLELINE’ [-Wimplicit-int] extern WORDBOUND, WHOLELINE, NOUPPER; ^~~~~~~~~ sgrep.c:52:30: warning: type defaults to ‘int’ in declaration of ‘NOUPPER’ [-Wimplicit-int] extern WORDBOUND, WHOLELINE, NOUPPER; ^~~~~~~ sgrep.c: In function ‘sgrep’: sgrep.c:172:1: warning: type of ‘samepattern’ defaults to ‘int’ [-Wimplicit-int] sgrep(in_pat, in_m, fd, D, samepattern) ^~~~~ sgrep.c:193:10: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(pat, in_pat, MAXLINE); ^~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from sgrep.c:2: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ sgrep.c:193:15: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(pat, in_pat, MAXLINE); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from sgrep.c:2: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ sgrep.c:241:22: warning: implicit declaration of function ‘fill_buf’; did you mean ‘free_buf’? [-Wimplicit-function-declaration] while( (num_read = fill_buf(fd, text+offset, 2*BlockSize)) > 0) ^~~~~~~~ free_buf sgrep.c:294:16: warning: implicit declaration of function ‘monkey’ [-Wimplicit-function-declaration] if (-1 == monkey(pat, m, text+start, text+end, oldpat, oldm)) { ^~~~~~ sgrep.c:300:16: warning: implicit declaration of function ‘bm’; did you mean ‘bcmp’? [-Wimplicit-function-declaration] if (-1 == bm(pat, m, text+start, text+end, oldpat, oldm)) { ^~ bcmp sgrep.c:308:16: warning: implicit declaration of function ‘monkey4’ [-Wimplicit-function-declaration] if (-1 == monkey4( pat, m, text+start, text+end, D , oldpat, oldm )) { ^~~~~~~ sgrep.c:315:17: warning: implicit declaration of function ‘a_monkey’ [-Wimplicit-function-declaration] if (-1 == a_monkey(pat, m, text+start, text+end, D, oldpat, oldm)) { ^~~~~~~~ sgrep.c:321:17: warning: implicit declaration of function ‘agrep’; did you mean ‘sgrep’? [-Wimplicit-function-declaration] if (-1 == agrep(pat, m, text+start, text+end, D, oldpat, oldm)) { ^~~~~ sgrep sgrep.c: In function ‘agrep’: sgrep.c:1157:16: warning: implicit declaration of function ‘s_output’ [-Wimplicit-function-declaration] if (-1 == s_output(text, ¤tpos, textbegin, textend, &lastout, pat, M, oldpat, oldM)) return -1; ^~~~~~~~ sgrep.c: In function ‘prep_bm’: sgrep.c:1478:10: warning: type defaults to ‘int’ in declaration of ‘m’ [-Wimplicit-int] register m; ^ sgrep.c: In function ‘a_monkey’: sgrep.c:1871:14: warning: implicit declaration of function ‘verify’; did you mean ‘erfl’? [-Wimplicit-function-declaration] if((pos = verify(m, 2*m+D, D, pat, oldtext)) > 0) { ^~~~~~ erfl sgrep.c: In function ‘am_preprocess’: sgrep.c:2137:13: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] m = strlen(Pattern); ^~~~~~~ In file included from agrep.h:15, from sgrep.c:4: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ sgrep.c: In function ‘verify’: sgrep.c:2179:37: warning: operation on ‘last’ may be undefined [-Wsequence-point] if(A[last] < D) A[last+1] = A[last++]+1; ~~~~^~ sgrep.c:2201:37: warning: operation on ‘last’ may be undefined [-Wsequence-point] if(B[last] < D) B[last+1] = B[last++]+1; ~~~~^~ sgrep.c: In function ‘m_preprocess’: sgrep.c:2219:13: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] m = strlen(Pattern); ^~~~~~~ In file included from agrep.h:15, from sgrep.c:4: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ sgrep.c: In function ‘prep4’: sgrep.c:2547:16: warning: operation on ‘char_map[103]’ may be undefined [-Wsequence-point] char_map['g'] = char_map['g'] = 1; ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ sgrep.c:2548:16: warning: operation on ‘char_map[116]’ may be undefined [-Wsequence-point] char_map['t'] = char_map['t'] = 2; ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ sgrep.c:2549:16: warning: operation on ‘char_map[99]’ may be undefined [-Wsequence-point] char_map['c'] = char_map['c'] = 3; ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ sgrep.c:2550:16: warning: operation on ‘char_map[110]’ may be undefined [-Wsequence-point] char_map['n'] = char_map['n'] = 5; ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ sgrep.c:2552:10: warning: implicit declaration of function ‘blog’; did you mean ‘log’? [-Wimplicit-function-declaration] BSize = blog(4, m); ^~~~ log sgrep.c:2564:39: warning: array subscript has type ‘char’ [-Wchar-subscripts] hash = (hash << LOG_DNA) +char_map[Pattern[i-k]]; ^ gcc -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. -DUTIME=1 -DISO_CHAR_SET=1 -c -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o newmgrep.o newmgrep.c newmgrep.c:52:8: warning: type defaults to ‘int’ in declaration of ‘COUNT’ [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ^~~~~ newmgrep.c:52:15: warning: type defaults to ‘int’ in declaration of ‘FNAME’ [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ^~~~~ newmgrep.c:52:22: warning: type defaults to ‘int’ in declaration of ‘SILENT’ [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ^~~~~~ newmgrep.c:52:30: warning: type defaults to ‘int’ in declaration of ‘FILENAMEONLY’ [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ^~~~~~~~~~~~ newmgrep.c:52:44: warning: type defaults to ‘int’ in declaration of ‘prev_num_of_matched’ [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ^~~~~~~~~~~~~~~~~~~ newmgrep.c:52:65: warning: type defaults to ‘int’ in declaration of ‘num_of_matched’ [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ^~~~~~~~~~~~~~ newmgrep.c:52:81: warning: type defaults to ‘int’ in declaration of ‘PRINTFILETIME’ [-Wimplicit-int] extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; ^~~~~~~~~~~~~ newmgrep.c:53:8: warning: type defaults to ‘int’ in declaration of ‘INVERSE’ [-Wimplicit-int] extern INVERSE, OUTTAIL; ^~~~~~~ newmgrep.c:53:17: warning: type defaults to ‘int’ in declaration of ‘OUTTAIL’ [-Wimplicit-int] extern INVERSE, OUTTAIL; ^~~~~~~ newmgrep.c:54:8: warning: type defaults to ‘int’ in declaration of ‘WORDBOUND’ [-Wimplicit-int] extern WORDBOUND, WHOLELINE, NOUPPER; ^~~~~~~~~ newmgrep.c:54:19: warning: type defaults to ‘int’ in declaration of ‘WHOLELINE’ [-Wimplicit-int] extern WORDBOUND, WHOLELINE, NOUPPER; ^~~~~~~~~ newmgrep.c:54:30: warning: type defaults to ‘int’ in declaration of ‘NOUPPER’ [-Wimplicit-int] extern WORDBOUND, WHOLELINE, NOUPPER; ^~~~~~~ newmgrep.c:59:8: warning: type defaults to ‘int’ in declaration of ‘total_line’ [-Wimplicit-int] extern total_line; ^~~~~~~~~~ newmgrep.c:60:8: warning: type defaults to ‘int’ in declaration of ‘agrep_initialfd’ [-Wimplicit-int] extern agrep_initialfd; ^~~~~~~~~~~~~~~ newmgrep.c: In function ‘prepf’: newmgrep.c:195:21: warning: implicit declaration of function ‘fill_buf’; did you mean ‘free_buf’? [-Wimplicit-function-declaration] while((num_read = fill_buf(mfp, buf+length, 2*BlockSize)) > 0) { ^~~~~~~~ free_buf newmgrep.c:287:18: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] p = strlen(patt[i]); ~~~~^~~ In file included from agrep.h:15, from newmgrep.c:12: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ newmgrep.c: In function ‘mgrep’: newmgrep.c:485:27: warning: implicit declaration of function ‘m_short’; did you mean ‘qsort’? [-Wimplicit-function-declaration] if(SHORT) { if (-1 == m_short(text, start, end)) {free_buf(fd, text); return -1;}} ^~~~~~~ qsort newmgrep.c:486:27: warning: implicit declaration of function ‘monkey1’ [-Wimplicit-function-declaration] else { if (-1 == monkey1(text, start, end)) {free_buf(fd, text); return -1;}} ^~~~~~~ newmgrep.c:543:16: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(text+start, text+end, residue); ~~~~^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from newmgrep.c:5: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ newmgrep.c:543:28: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(text+start, text+end, residue); ~~~~^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from newmgrep.c:5: /usr/include/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ newmgrep.c: In function ‘monkey1’: newmgrep.c:1053:61: warning: implicit declaration of function ‘eval_tree’ [-Wimplicit-function-declaration] if (AComplexBoolean && dd(curtextbegin, curtextend) && eval_tree(AParse, amatched_terminals)) { ^~~~~~~~~ newmgrep.c: In function ‘m_short’: newmgrep.c:1388:6: warning: unused variable ‘m1’ [-Wunused-variable] int m1=1; ^~ newmgrep.c: In function ‘acompute_duplicates’: newmgrep.c:2001:40: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] leni = strlen(aterminals[i].data.leaf.value); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from agrep.h:15, from newmgrep.c:12: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ newmgrep.c:2007:41: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] lenj = strlen(aterminals[j].data.leaf.value); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from agrep.h:15, from newmgrep.c:12: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^~~~~~ newmgrep.c:1997:27: warning: unused variable ‘initk’ [-Wunused-variable] int i, j, k, leni, lenj, initk; ^~~~~ newmgrep.c: In function ‘monkey1’: newmgrep.c:876:17: warning: ‘curtextbegin’ may be used uninitialized in this function [-Wmaybe-uninitialized] unsigned char *curtextbegin; ^~~~~~~~~~~~ newmgrep.c:872:6: warning: ‘pat_index’ may be used uninitialized in this function [-Wmaybe-uninitialized] int pat_index; ^~~~~~~~~ newmgrep.c:1051:43: warning: ‘curtextend’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (DOWITHMASK && (text >= curtextend - 1)) { ~~~~~~~~~~~^~~ newmgrep.c: In function ‘m_short’: newmgrep.c:1395:17: warning: ‘curtextbegin’ may be used uninitialized in this function [-Wmaybe-uninitialized] unsigned char *curtextbegin; ^~~~~~~~~~~~ newmgrep.c:1394:17: warning: ‘curtextend’ may be used uninitialized in this function [-Wmaybe-uninitialized] unsigned char *curtextend; ^~~~~~~~~~ newmgrep.c:1390:6: warning: ‘pat_index’ may be used uninitialized in this function [-Wmaybe-uninitialized] int pat_index; ^~~~~~~~~ gcc -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. -DUTIME=1 -DISO_CHAR_SET=1 -c -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o utilities.o utilities.c In file included from utilities.c:7: utilities.c: In function ‘Push’: re.h:75:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(2);\ ^~~~ utilities.c:21:2: note: in expansion of macro ‘new_node’ new_node(Stack, node, node); ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(2);\ ^~~~ utilities.c:21:2: note: in expansion of macro ‘new_node’ new_node(Stack, node, node); ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ exit(2);\ ^~~~ utilities.c:21:2: note: in expansion of macro ‘new_node’ new_node(Stack, node, node); ^~~~~~~~ re.h:77:2: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:21:2: note: in expansion of macro ‘new_node’ new_node(Stack, node, node); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:21:2: note: in expansion of macro ‘new_node’ new_node(Stack, node, node); ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:21:2: note: in expansion of macro ‘new_node’ new_node(Stack, node, node); ^~~~~~~~ utilities.c: In function ‘Pop’: utilities.c:42:3: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(temp); ^~~~ utilities.c:42:3: warning: incompatible implicit declaration of built-in function ‘free’ utilities.c:42:3: note: include ‘’ or provide a declaration of ‘free’ In file included from utilities.c:7: utilities.c: In function ‘pset_union’: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(2);\ ^~~~ utilities.c:89:3: note: in expansion of macro ‘new_node’ new_node(Pset, new, new); ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ exit(2);\ ^~~~ utilities.c:89:3: note: in expansion of macro ‘new_node’ new_node(Pset, new, new); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:89:3: note: in expansion of macro ‘new_node’ new_node(Pset, new, new); ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:89:3: note: in expansion of macro ‘new_node’ new_node(Pset, new, new); ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(2);\ ^~~~ utilities.c:102:4: note: in expansion of macro ‘new_node’ new_node(Pset, new, new); ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ exit(2);\ ^~~~ utilities.c:102:4: note: in expansion of macro ‘new_node’ new_node(Pset, new, new); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:102:4: note: in expansion of macro ‘new_node’ new_node(Pset, new, new); ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:102:4: note: in expansion of macro ‘new_node’ new_node(Pset, new, new); ^~~~~~~~ utilities.c: In function ‘create_pos’: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(2);\ ^~~~ utilities.c:124:2: note: in expansion of macro ‘new_node’ new_node(Pset, x, x); ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ exit(2);\ ^~~~ utilities.c:124:2: note: in expansion of macro ‘new_node’ new_node(Pset, x, x); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:124:2: note: in expansion of macro ‘new_node’ new_node(Pset, x, x); ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:124:2: note: in expansion of macro ‘new_node’ new_node(Pset, x, x); ^~~~~~~~ utilities.c: In function ‘word_exists’: utilities.c:168:9: warning: implicit declaration of function ‘strncmp’ [-Wimplicit-function-declaration] if (!strncmp(line, word, wordlen)) { ^~~~~~~ gcc -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. -DUTIME=1 -DISO_CHAR_SET=1 -c -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dummyfilters.o dummyfilters.c gcc -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. -DUTIME=1 -DISO_CHAR_SET=1 -c -O2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.c In file included from main.c:15: dummysyscalls.c: In function ‘my_lstat’: dummysyscalls.c:25:9: warning: implicit declaration of function ‘lstat’; did you mean ‘my_lstat’? [-Wimplicit-function-declaration] return lstat(name, buf); ^~~~~ my_lstat dummysyscalls.c: In function ‘my_stat’: dummysyscalls.c:33:9: warning: implicit declaration of function ‘stat’; did you mean ‘strcat’? [-Wimplicit-function-declaration] return stat(name, buf); ^~~~ strcat main.c: In function ‘main’: main.c:29:8: warning: implicit declaration of function ‘fileagrep’ [-Wimplicit-function-declaration] ret = fileagrep(argc, argv, 0, stdout); ^~~~~~~~~ gcc -I. -DUTIME=1 -DISO_CHAR_SET=1 -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 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,--as-needed ar rcv ./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 ./libagrep.a # cp agrep ../bin/. make[2]: Leaving directory '/<>' make[1]: Leaving directory '/<>' dh_auto_test -a fakeroot debian/rules binary-arch dh binary-arch dh_testroot -a dh_prep -a dh_auto_install -a dh_install -a dh_installdocs -a debian/rules override_dh_installchangelogs make[1]: Entering directory '/<>' dh_installchangelogs agrep.chronicle make[1]: Leaving directory '/<>' dh_installman -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a INFO: pkgstriptranslations version 143 pkgstriptranslations: processing agrep (in debian/agrep); do_strip: , oemstrip: INFO: pkgstriptranslations version 143 pkgstriptranslations: processing agrep-dbgsym (in debian/.debhelper/agrep/dbgsym-root); do_strip: , oemstrip: pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/agrep/DEBIAN/control, package agrep, directory debian/agrep .. removing usr/share/doc/agrep/changelog.gz pkgstripfiles: Truncating usr/share/doc/agrep/changelog.Debian.gz to topmost ten records pkgstripfiles: Running PNG optimization (using 4 cpus) for package agrep ... pkgstripfiles: No PNG files. dpkg-deb: building package 'agrep' in '../agrep_4.17-9.1_i386.deb'. pkgstripfiles: processing control file: debian/.debhelper/agrep/dbgsym-root/DEBIAN/control, package agrep-dbgsym, directory debian/.debhelper/agrep/dbgsym-root dpkg-deb: building package 'agrep-dbgsym' in 'debian/.debhelper/scratch-space/build-agrep/agrep-dbgsym_4.17-9.1_i386.deb'. Renaming agrep-dbgsym_4.17-9.1_i386.deb to agrep-dbgsym_4.17-9.1_i386.ddeb dpkg-genbuildinfo --build=any dpkg-genchanges --build=any -mLaunchpad Build Daemon >../agrep_4.17-9.1_i386.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 20181206-1110 Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Post Build Chroot | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ agrep_4.17-9.1_i386.changes: ---------------------------- Format: 1.8 Date: Sun, 28 Oct 2018 13:49:29 +0100 Source: agrep Binary: agrep Architecture: i386 Version: 4.17-9.1 Distribution: disco-proposed Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Reiner Herrmann Description: agrep - text search tool with support for approximate patterns Closes: 869220 886872 Changes: agrep (4.17-9.1) unstable; urgency=medium . * Non-maintainer upload. * Drop override_dh_clean target, which does not clean every generated file, but is also not needed. (Closes: #886872) * Apply patch by Stefan Weil to fix crash by double free. (Closes: #869220) Checksums-Sha1: ce2b2972e41328f0c8f2230bc75b9b9cef68ffe9 168236 agrep-dbgsym_4.17-9.1_i386.ddeb 67cd387706efd5f5db77c7ab3ec6adb05dcd4d26 4771 agrep_4.17-9.1_i386.buildinfo ab58211d5bd94bec28fac01cb15aed7b39c2aeb5 180456 agrep_4.17-9.1_i386.deb Checksums-Sha256: f2a3a015a0ed8ddcaa0106954f314cd07085ddcd29d75d5605623a3d1dff309f 168236 agrep-dbgsym_4.17-9.1_i386.ddeb b0d02282a7ad9a11f087a34a3159729312795f020ecc0ba1b67a27193d03972c 4771 agrep_4.17-9.1_i386.buildinfo 607e47eb502010dc5767343db0e88e3dd610f1c348346dfdbc05a24b86cb7a6f 180456 agrep_4.17-9.1_i386.deb Files: 180906a38662f8e425eb68dd3ce31df3 168236 non-free/debug optional agrep-dbgsym_4.17-9.1_i386.ddeb 78f3ae13602c8106f731d9dabf84c0ae 4771 non-free/text optional agrep_4.17-9.1_i386.buildinfo 1b5c831e6cb1a8c1912f1a10a41726e7 180456 non-free/text optional agrep_4.17-9.1_i386.deb +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ agrep_4.17-9.1_i386.deb ----------------------- new debian package, version 2.0. size 180456 bytes: control archive=976 bytes. 675 bytes, 18 lines control 593 bytes, 9 lines md5sums Package: agrep Version: 4.17-9.1 Architecture: i386 Maintainer: Ubuntu Developers Original-Maintainer: Jari Aalto Installed-Size: 308 Depends: libc6 (>= 2.7) Section: non-free/text Priority: optional Homepage: http://freshmeat.net/projects/agrep Description: text search tool with support for approximate patterns agrep is a version of standard grep with the following enhancements: . * the ability to search for approximate patterns * it is record oriented rather than just line oriented * multiple patterns with AND OR logic queries . This package contains glimpse's (4.x) last free version of grep. drwxr-xr-x root/root 0 2018-10-28 12:49 ./ drwxr-xr-x root/root 0 2018-10-28 12:49 ./usr/ drwxr-xr-x root/root 0 2018-10-28 12:49 ./usr/bin/ -rwxr-xr-x root/root 189988 2018-10-28 12:49 ./usr/bin/agrep drwxr-xr-x root/root 0 2018-10-28 12:49 ./usr/share/ drwxr-xr-x root/root 0 2018-10-28 12:49 ./usr/share/doc/ drwxr-xr-x root/root 0 2018-10-28 12:49 ./usr/share/doc/agrep/ -rw-r--r-- root/root 2893 1999-11-03 20:37 ./usr/share/doc/agrep/README.gz -rw-r--r-- root/root 2632 1999-11-03 20:37 ./usr/share/doc/agrep/agrep.algorithms -rw-r--r-- root/root 58389 2012-02-23 09:48 ./usr/share/doc/agrep/agrep.ps.1.gz -rw-r--r-- root/root 34776 2012-02-23 09:48 ./usr/share/doc/agrep/agrep.ps.2.gz -rw-r--r-- root/root 1506 2018-10-28 12:49 ./usr/share/doc/agrep/changelog.Debian.gz -rw-r--r-- root/root 419 1999-11-03 20:37 ./usr/share/doc/agrep/contribution.list -rw-r--r-- root/root 2694 2012-04-10 21:09 ./usr/share/doc/agrep/copyright drwxr-xr-x root/root 0 2018-10-28 12:49 ./usr/share/man/ drwxr-xr-x root/root 0 2018-10-28 12:49 ./usr/share/man/man1/ -rw-r--r-- root/root 5112 2018-10-28 12:49 ./usr/share/man/man1/agrep.1.gz +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: i386 Build-Space: 4344 Build-Time: 26 Distribution: disco-proposed Host Architecture: i386 Install-Time: 22 Job: agrep_4.17-9.1.dsc Machine Architecture: amd64 Package: agrep Package-Time: 49 Source-Version: 4.17-9.1 Space: 4344 Status: successful Version: 4.17-9.1 -------------------------------------------------------------------------------- Finished at 20181206-1110 Build needed 00:00:49, 4344k disc space RUN: /usr/share/launchpad-buildd/slavebin/in-target scan-for-processes --backend=chroot --series=disco --arch=i386 PACKAGEBUILD-15744960 Scanning for processes to kill in build PACKAGEBUILD-15744960