Warning: Permanently added '34.227.17.221' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/7745683-epel-8-aarch64 --chroot epel-8-aarch64 Version: 0.73 PID: 7146 Logging PID: 7147 Task: {'allow_user_ssh': False, 'appstream': False, 'background': True, 'build_id': 7745683, 'buildroot_pkgs': [], 'chroot': 'epel-8-aarch64', 'enable_net': False, 'fedora_review': False, 'git_hash': '5e3b52980698bf9a1944dba43328bd4f0726d39c', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/ngompa/glimpse/glimpse', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'glimpse', 'package_version': '4.12.6^git20161025.4945711-4', 'project_dirname': 'glimpse', 'project_name': 'glimpse', 'project_owner': 'ngompa', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/ngompa/glimpse/epel-8-aarch64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': 'ngompa/glimpse--https://src.fedoraproject.org/user/releng', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'submitter': 'https://src.fedoraproject.org/user/releng', 'tags': [], 'task_id': '7745683-epel-8-aarch64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/ngompa/glimpse/glimpse /var/lib/copr-rpmbuild/workspace/workdir-21wqljzf/glimpse --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/ngompa/glimpse/glimpse', '/var/lib/copr-rpmbuild/workspace/workdir-21wqljzf/glimpse', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-21wqljzf/glimpse'... Running: git checkout 5e3b52980698bf9a1944dba43328bd4f0726d39c -- cmd: ['git', 'checkout', '5e3b52980698bf9a1944dba43328bd4f0726d39c', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-21wqljzf/glimpse rc: 0 stdout: stderr: Note: switching to '5e3b52980698bf9a1944dba43328bd4f0726d39c'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 5e3b529 automatic import of glimpse Running: copr-distgit-client sources cmd: ['copr-distgit-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-21wqljzf/glimpse rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading glimpse-49457116bb0796636fd1bc84f39006fb102bfafc.tar.gz INFO: Reading stdout from command: curl --help all /usr/bin/tail: INFO: Calling: curl -H Pragma: -o glimpse-49457116bb0796636fd1bc84f39006fb102bfafc.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/ngompa/glimpse/glimpse/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc.tar.gz/md5/2237f26d0a84ea7f35641c96144c2699/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed /var/lib/copr-rpmbuild/main.log: file truncated 100 502k 100 502k 0 0 22.5M 0 --:--:-- --:--:-- --:--:-- 23.3M INFO: Reading stdout from command: md5sum glimpse-49457116bb0796636fd1bc84f39006fb102bfafc.tar.gz Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-21wqljzf/glimpse/glimpse.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-21wqljzf/glimpse --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1721270564.735570 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 5.6 starting (python version = 3.12.1, NVR = mock-5.6-1.fc39), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-21wqljzf/glimpse/glimpse.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-21wqljzf/glimpse --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1721270564.735570 -r /var/lib/copr-rpmbuild/results/configs/child.cfg Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-21wqljzf/glimpse/glimpse.spec) Config(rhel+epel-8-aarch64) Start: clean chroot Finish: clean chroot Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/rhel+epel-8-aarch64-bootstrap-1721270564.735570/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using bootstrap image: registry.access.redhat.com/ubi8/ubi INFO: Pulling image: registry.access.redhat.com/ubi8/ubi INFO: Copy content of container registry.access.redhat.com/ubi8/ubi to /var/lib/mock/rhel+epel-8-aarch64-bootstrap-1721270564.735570/root INFO: Checking that registry.access.redhat.com/ubi8/ubi image matches host's architecture INFO: mounting registry.access.redhat.com/ubi8/ubi with podman image mount INFO: image registry.access.redhat.com/ubi8/ubi as /var/lib/containers/storage/overlay/bb1bfb061d6a827a8643f2d9adc1d5708a9009dd8369504acf1fa2716702b54b/merged INFO: umounting image registry.access.redhat.com/ubi8/ubi (/var/lib/containers/storage/overlay/bb1bfb061d6a827a8643f2d9adc1d5708a9009dd8369504acf1fa2716702b54b/merged) with podman image umount INFO: Package manager dnf detected and used (fallback) INFO: Not updating bootstrap chroot, bootstrap_image_ready=True Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/rhel+epel-8-aarch64-1721270564.735570/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.14.3-31.el8.aarch64 python3-dnf-4.7.0-20.el8.noarch python3-dnf-plugins-core-4.0.21-25.el8.noarch yum-4.7.0-20.el8.noarch Start: installing minimal buildroot with dnf No matches found for the following disable plugin patterns: local, spacewalk, versionlock Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. Copr repository 28 kB/s | 3.2 kB 00:00 Red Hat Enterprise Linux - BaseOS 84 MB/s | 56 MB 00:00 Red Hat Enterprise Linux - AppStream 112 MB/s | 56 MB 00:00 Red Hat Enterprise Linux - CodeReady Linux Buil 12 MB/s | 6.1 MB 00:00 Extra Packages for Enterprise Linux 8 - aarch64 113 MB/s | 14 MB 00:00 Dependencies resolved. ============================================================================================ Package Arch Version Repository Size ============================================================================================ Installing: bash aarch64 4.4.20-5.el8 rhel-baseos 1.5 M bzip2 aarch64 1.0.6-26.el8 rhel-baseos 60 k coreutils aarch64 8.30-15.el8 rhel-baseos 1.2 M cpio aarch64 2.12-11.el8 rhel-baseos 260 k diffutils aarch64 3.6-6.el8 rhel-baseos 352 k epel-rpm-macros noarch 8-41 epel 27 k findutils aarch64 1:4.6.0-22.el8 rhel-baseos 524 k gawk aarch64 4.2.1-4.el8 rhel-baseos 1.1 M gcc aarch64 8.5.0-22.el8_10 rhel-appstream 19 M gcc-c++ aarch64 8.5.0-22.el8_10 rhel-appstream 11 M grep aarch64 3.1-6.el8 rhel-baseos 268 k gzip aarch64 1.9-13.el8_5 rhel-baseos 165 k info aarch64 6.5-7.el8 rhel-baseos 191 k make aarch64 1:4.2.1-11.el8 rhel-baseos 490 k patch aarch64 2.7.6-11.el8 rhel-baseos 134 k redhat-release aarch64 8.10-0.3.el8 rhel-baseos 45 k redhat-rpm-config noarch 131-1.el8 rhel-appstream 91 k rpm-build aarch64 4.14.3-31.el8 rhel-appstream 173 k sed aarch64 4.5-5.el8 rhel-baseos 295 k tar aarch64 2:1.30-9.el8 rhel-baseos 830 k unzip aarch64 6.0-46.el8 rhel-baseos 190 k util-linux aarch64 2.32.1-46.el8 rhel-baseos 2.5 M which aarch64 2.21-20.el8 rhel-baseos 49 k xz aarch64 5.2.4-4.el8_6 rhel-baseos 153 k Installing dependencies: annobin aarch64 11.13-2.el8 rhel-appstream 971 k ansible-srpm-macros noarch 1-12.el8 epel 21 k audit-libs aarch64 3.1.2-1.el8 rhel-baseos 120 k basesystem noarch 11-5.el8 rhel-baseos 11 k binutils aarch64 2.30-123.el8 rhel-baseos 6.1 M brotli aarch64 1.0.6-3.el8 rhel-baseos 314 k bzip2-libs aarch64 1.0.6-26.el8 rhel-baseos 48 k ca-certificates noarch 2023.2.60_v7.0.306-80.0.el8_8 rhel-baseos 935 k chkconfig aarch64 1.19.2-1.el8 rhel-baseos 197 k coreutils-common aarch64 8.30-15.el8 rhel-baseos 2.0 M cpp aarch64 8.5.0-22.el8_10 rhel-appstream 8.9 M cracklib aarch64 2.9.6-15.el8 rhel-baseos 93 k cracklib-dicts aarch64 2.9.6-15.el8 rhel-baseos 4.0 M crypto-policies noarch 20230731-1.git3177e06.el8 rhel-baseos 64 k curl aarch64 7.61.1-34.el8 rhel-baseos 350 k cyrus-sasl-lib aarch64 2.1.27-6.el8_5 rhel-baseos 122 k dwz aarch64 0.12-10.el8 rhel-appstream 103 k efi-srpm-macros noarch 3-3.el8 rhel-appstream 22 k elfutils aarch64 0.190-2.el8 rhel-baseos 554 k elfutils-default-yama-scope noarch 0.190-2.el8 rhel-baseos 53 k elfutils-libelf aarch64 0.190-2.el8 rhel-baseos 231 k elfutils-libs aarch64 0.190-2.el8 rhel-baseos 294 k expat aarch64 2.2.5-13.el8_10 rhel-baseos 104 k file aarch64 5.33-26.el8 rhel-baseos 78 k file-libs aarch64 5.33-26.el8 rhel-baseos 542 k filesystem aarch64 3.8-6.el8 rhel-baseos 1.1 M fpc-srpm-macros noarch 1.3-1.el8 epel 8.2 k gc aarch64 7.6.4-3.el8 rhel-appstream 99 k gcc-plugin-annobin aarch64 8.5.0-22.el8_10 rhel-appstream 35 k gdb-headless aarch64 8.2-20.el8 rhel-appstream 3.1 M gdbm aarch64 1:1.18-2.el8 rhel-baseos 128 k gdbm-libs aarch64 1:1.18-2.el8 rhel-baseos 59 k ghc-srpm-macros noarch 1.4.2-7.el8 rhel-appstream 9.4 k glib2 aarch64 2.56.4-162.el8 rhel-baseos 2.4 M glibc aarch64 2.28-251.el8_10.2 rhel-baseos 1.8 M glibc-all-langpacks aarch64 2.28-251.el8_10.2 rhel-baseos 25 M glibc-common aarch64 2.28-251.el8_10.2 rhel-baseos 1.0 M glibc-devel aarch64 2.28-251.el8_10.2 rhel-baseos 86 k glibc-gconv-extra aarch64 2.28-251.el8_10.2 rhel-baseos 1.8 M glibc-headers aarch64 2.28-251.el8_10.2 rhel-baseos 483 k gmp aarch64 1:6.1.2-11.el8 rhel-baseos 264 k gnupg2 aarch64 2.2.20-3.el8_6 rhel-baseos 2.4 M gnutls aarch64 3.6.16-8.el8_9.3 rhel-baseos 940 k go-srpm-macros noarch 2-17.el8 rhel-appstream 13 k guile aarch64 5:2.0.14-7.el8 rhel-appstream 3.5 M ima-evm-utils aarch64 1.3.2-12.el8 rhel-baseos 63 k isl aarch64 0.16.1-6.el8 rhel-appstream 778 k kernel-headers aarch64 4.18.0-553.8.1.el8_10 rhel-baseos 12 M keyutils-libs aarch64 1.5.10-9.el8 rhel-baseos 34 k krb5-libs aarch64 1.18.2-28.el8_10 rhel-baseos 819 k libacl aarch64 2.2.53-3.el8 rhel-baseos 34 k libarchive aarch64 3.3.3-5.el8 rhel-baseos 340 k libasan aarch64 8.5.0-22.el8_10 rhel-baseos 387 k libassuan aarch64 2.5.1-3.el8 rhel-baseos 81 k libatomic aarch64 8.5.0-22.el8_10 rhel-baseos 26 k libatomic_ops aarch64 7.6.2-3.el8 rhel-appstream 38 k libattr aarch64 2.4.48-3.el8 rhel-baseos 27 k libbabeltrace aarch64 1.5.4-4.el8 rhel-baseos 189 k libblkid aarch64 2.32.1-46.el8 rhel-baseos 215 k libcap aarch64 2.48-6.el8_9 rhel-baseos 74 k libcap-ng aarch64 0.7.11-1.el8 rhel-baseos 33 k libcom_err aarch64 1.45.6-5.el8 rhel-baseos 49 k libcurl aarch64 7.61.1-34.el8 rhel-baseos 285 k libdb aarch64 5.3.28-42.el8_4 rhel-baseos 687 k libdb-utils aarch64 5.3.28-42.el8_4 rhel-baseos 148 k libfdisk aarch64 2.32.1-46.el8 rhel-baseos 244 k libffi aarch64 3.1-24.el8 rhel-baseos 37 k libgcc aarch64 8.5.0-22.el8_10 rhel-baseos 75 k libgcrypt aarch64 1.8.5-7.el8_6 rhel-baseos 391 k libgomp aarch64 8.5.0-22.el8_10 rhel-baseos 200 k libgpg-error aarch64 1.31-1.el8 rhel-baseos 240 k libidn2 aarch64 2.2.0-1.el8 rhel-baseos 93 k libksba aarch64 1.3.5-9.el8_7 rhel-baseos 130 k libmount aarch64 2.32.1-46.el8 rhel-baseos 230 k libmpc aarch64 1.1.0-9.1.el8 rhel-appstream 60 k libnghttp2 aarch64 1.33.0-6.el8_10.1 rhel-baseos 75 k libnsl2 aarch64 1.2.0-2.20180605git4a062cf.el8 rhel-baseos 55 k libpkgconf aarch64 1.4.2-1.el8 rhel-baseos 34 k libpsl aarch64 0.20.2-6.el8 rhel-baseos 61 k libpwquality aarch64 1.4.4-6.el8 rhel-baseos 106 k libselinux aarch64 2.9-8.el8 rhel-baseos 162 k libsemanage aarch64 2.9-9.el8_6 rhel-baseos 164 k libsepol aarch64 2.9-3.el8 rhel-baseos 321 k libsigsegv aarch64 2.11-5.el8 rhel-baseos 30 k libsmartcols aarch64 2.32.1-46.el8 rhel-baseos 175 k libssh aarch64 0.9.6-14.el8 rhel-baseos 210 k libssh-config noarch 0.9.6-14.el8 rhel-baseos 21 k libstdc++ aarch64 8.5.0-22.el8_10 rhel-baseos 425 k libstdc++-devel aarch64 8.5.0-22.el8_10 rhel-appstream 2.1 M libtasn1 aarch64 4.13-4.el8_7 rhel-baseos 75 k libtirpc aarch64 1.1.4-12.el8_10 rhel-baseos 110 k libtool-ltdl aarch64 2.4.6-25.el8 rhel-baseos 57 k libubsan aarch64 8.5.0-22.el8_10 rhel-baseos 145 k libunistring aarch64 0.9.9-3.el8 rhel-baseos 411 k libusbx aarch64 1.0.23-4.el8 rhel-baseos 73 k libutempter aarch64 1.1.6-14.el8 rhel-baseos 32 k libuuid aarch64 2.32.1-46.el8 rhel-baseos 99 k libverto aarch64 0.3.2-2.el8 rhel-baseos 24 k libxcrypt aarch64 4.1.1-6.el8 rhel-baseos 73 k libxcrypt-devel aarch64 4.1.1-6.el8 rhel-baseos 25 k libxml2 aarch64 2.9.7-18.el8_10.1 rhel-baseos 654 k libzstd aarch64 1.4.4-1.el8 rhel-baseos 240 k lua-libs aarch64 5.3.4-12.el8 rhel-baseos 112 k lua-srpm-macros noarch 1-13.el8 epel 9.2 k lz4-libs aarch64 1.8.3-3.el8_4 rhel-baseos 63 k mpfr aarch64 3.1.6-1.el8 rhel-baseos 214 k ncurses aarch64 6.1-10.20180224.el8 rhel-baseos 383 k ncurses-base noarch 6.1-10.20180224.el8 rhel-baseos 81 k ncurses-libs aarch64 6.1-10.20180224.el8 rhel-baseos 310 k nettle aarch64 3.4.1-7.el8 rhel-baseos 307 k npth aarch64 1.5-4.el8 rhel-baseos 26 k ocaml-srpm-macros noarch 5-4.el8 rhel-appstream 9.5 k openblas-srpm-macros noarch 2-2.el8 rhel-appstream 8.0 k openldap aarch64 2.4.46-19.el8_10 rhel-baseos 339 k openssl-libs aarch64 1:1.1.1k-12.el8_9 rhel-baseos 1.3 M p11-kit aarch64 0.23.22-2.el8 rhel-baseos 309 k p11-kit-trust aarch64 0.23.22-2.el8 rhel-baseos 135 k pam aarch64 1.3.1-34.el8_10 rhel-baseos 741 k pcre aarch64 8.42-6.el8 rhel-baseos 187 k pcre2 aarch64 10.32-3.el8_6 rhel-baseos 219 k perl-srpm-macros noarch 1-25.el8 rhel-appstream 11 k pkgconf aarch64 1.4.2-1.el8 rhel-baseos 37 k pkgconf-m4 noarch 1.4.2-1.el8 rhel-baseos 17 k pkgconf-pkg-config aarch64 1.4.2-1.el8 rhel-baseos 15 k platform-python aarch64 3.6.8-62.el8_10 rhel-baseos 88 k platform-python-setuptools noarch 39.2.0-7.el8 rhel-baseos 632 k popt aarch64 1.18-1.el8 rhel-baseos 60 k publicsuffix-list-dafsa noarch 20180723-1.el8 rhel-baseos 56 k python-rpm-macros noarch 3-45.el8 rhel-appstream 16 k python-srpm-macros noarch 3-45.el8 rhel-appstream 16 k python3-libs aarch64 3.6.8-62.el8_10 rhel-baseos 7.7 M python3-pip-wheel noarch 9.0.3-24.el8 rhel-baseos 866 k python3-rpm-macros noarch 3-45.el8 rhel-appstream 15 k python3-setuptools-wheel noarch 39.2.0-7.el8 rhel-baseos 289 k qt5-srpm-macros noarch 5.15.3-1.el8 rhel-appstream 11 k readline aarch64 7.0-10.el8 rhel-baseos 193 k rpm aarch64 4.14.3-31.el8 rhel-baseos 544 k rpm-build-libs aarch64 4.14.3-31.el8 rhel-baseos 151 k rpm-libs aarch64 4.14.3-31.el8 rhel-baseos 330 k rust-srpm-macros noarch 5-2.el8 rhel-appstream 9.3 k setup noarch 2.12.2-9.el8 rhel-baseos 181 k shadow-utils aarch64 2:4.6-22.el8 rhel-baseos 1.2 M sqlite-libs aarch64 3.26.0-19.el8_9 rhel-baseos 551 k systemd-libs aarch64 239-82.el8_10.1 rhel-baseos 1.0 M tpm2-tss aarch64 2.3.2-6.el8 rhel-baseos 240 k tzdata noarch 2024a-1.el8 rhel-baseos 475 k xz-libs aarch64 5.2.4-4.el8_6 rhel-baseos 91 k zip aarch64 3.0-23.el8 rhel-baseos 265 k zlib aarch64 1.2.11-25.el8 rhel-baseos 101 k zstd aarch64 1.4.4-1.el8 rhel-appstream 303 k Transaction Summary ============================================================================================ Install 174 Packages Total download size: 155 M Installed size: 824 M Downloading Packages: (1/174): bzip2-1.0.6-26.el8.aarch64.rpm 967 kB/s | 60 kB 00:00 (2/174): cracklib-2.9.6-15.el8.aarch64.rpm 1.3 MB/s | 93 kB 00:00 (3/174): bzip2-libs-1.0.6-26.el8.aarch64.rpm 580 kB/s | 48 kB 00:00 (4/174): grep-3.1-6.el8.aarch64.rpm 5.3 MB/s | 268 kB 00:00 (5/174): cracklib-dicts-2.9.6-15.el8.aarch64.rp 60 MB/s | 4.0 MB 00:00 (6/174): libassuan-2.5.1-3.el8.aarch64.rpm 1.3 MB/s | 81 kB 00:00 (7/174): libattr-2.4.48-3.el8.aarch64.rpm 638 kB/s | 27 kB 00:00 (8/174): libgpg-error-1.31-1.el8.aarch64.rpm 5.6 MB/s | 240 kB 00:00 (9/174): libpkgconf-1.4.2-1.el8.aarch64.rpm 846 kB/s | 34 kB 00:00 (10/174): libnsl2-1.2.0-2.20180605git4a062cf.el 884 kB/s | 55 kB 00:00 (11/174): libsigsegv-2.11-5.el8.aarch64.rpm 768 kB/s | 30 kB 00:00 (12/174): libtool-ltdl-2.4.6-25.el8.aarch64.rpm 1.3 MB/s | 57 kB 00:00 (13/174): libutempter-1.1.6-14.el8.aarch64.rpm 794 kB/s | 32 kB 00:00 (14/174): libunistring-0.9.9-3.el8.aarch64.rpm 7.2 MB/s | 411 kB 00:00 (15/174): mpfr-3.1.6-1.el8.aarch64.rpm 5.1 MB/s | 214 kB 00:00 (16/174): npth-1.5-4.el8.aarch64.rpm 648 kB/s | 26 kB 00:00 (17/174): pkgconf-1.4.2-1.el8.aarch64.rpm 889 kB/s | 37 kB 00:00 (18/174): pkgconf-pkg-config-1.4.2-1.el8.aarch6 389 kB/s | 15 kB 00:00 (19/174): readline-7.0-10.el8.aarch64.rpm 4.6 MB/s | 193 kB 00:00 (20/174): basesystem-11-5.el8.noarch.rpm 223 kB/s | 11 kB 00:00 (21/174): pkgconf-m4-1.4.2-1.el8.noarch.rpm 387 kB/s | 17 kB 00:00 (22/174): zip-3.0-23.el8.aarch64.rpm 3.3 MB/s | 265 kB 00:00 (23/174): publicsuffix-list-dafsa-20180723-1.el 1.4 MB/s | 56 kB 00:00 (24/174): libidn2-2.2.0-1.el8.aarch64.rpm 2.3 MB/s | 93 kB 00:00 (25/174): patch-2.7.6-11.el8.aarch64.rpm 3.1 MB/s | 134 kB 00:00 (26/174): libpsl-0.20.2-6.el8.aarch64.rpm 1.4 MB/s | 61 kB 00:00 (27/174): libusbx-1.0.23-4.el8.aarch64.rpm 1.8 MB/s | 73 kB 00:00 (28/174): libzstd-1.4.4-1.el8.aarch64.rpm 5.7 MB/s | 240 kB 00:00 (29/174): brotli-1.0.6-3.el8.aarch64.rpm 6.1 MB/s | 314 kB 00:00 (30/174): ima-evm-utils-1.3.2-12.el8.aarch64.rp 1.2 MB/s | 63 kB 00:00 (31/174): diffutils-3.6-6.el8.aarch64.rpm 1.7 MB/s | 352 kB 00:00 (32/174): popt-1.18-1.el8.aarch64.rpm 1.2 MB/s | 60 kB 00:00 (33/174): libdb-5.3.28-42.el8_4.aarch64.rpm 12 MB/s | 687 kB 00:00 (34/174): lz4-libs-1.8.3-3.el8_4.aarch64.rpm 1.4 MB/s | 63 kB 00:00 (35/174): libdb-utils-5.3.28-42.el8_4.aarch64.r 1.3 MB/s | 148 kB 00:00 (36/174): nettle-3.4.1-7.el8.aarch64.rpm 5.0 MB/s | 307 kB 00:00 (37/174): libsepol-2.9-3.el8.aarch64.rpm 2.7 MB/s | 321 kB 00:00 (38/174): cyrus-sasl-lib-2.1.27-6.el8_5.aarch64 2.8 MB/s | 122 kB 00:00 (39/174): gzip-1.9-13.el8_5.aarch64.rpm 2.9 MB/s | 165 kB 00:00 (40/174): keyutils-libs-1.5.10-9.el8.aarch64.rp 542 kB/s | 34 kB 00:00 (41/174): libcap-ng-0.7.11-1.el8.aarch64.rpm 770 kB/s | 33 kB 00:00 (42/174): libxcrypt-4.1.1-6.el8.aarch64.rpm 1.4 MB/s | 73 kB 00:00 (43/174): libxcrypt-devel-4.1.1-6.el8.aarch64.r 439 kB/s | 25 kB 00:00 (44/174): filesystem-3.8-6.el8.aarch64.rpm 3.2 MB/s | 1.1 MB 00:00 (45/174): lua-libs-5.3.4-12.el8.aarch64.rpm 1.8 MB/s | 112 kB 00:00 (46/174): make-4.2.1-11.el8.aarch64.rpm 6.4 MB/s | 490 kB 00:00 (47/174): cpio-2.12-11.el8.aarch64.rpm 3.8 MB/s | 260 kB 00:00 (48/174): gawk-4.2.1-4.el8.aarch64.rpm 22 MB/s | 1.1 MB 00:00 (49/174): pcre-8.42-6.el8.aarch64.rpm 374 kB/s | 187 kB 00:00 (50/174): info-6.5-7.el8.aarch64.rpm 3.8 MB/s | 191 kB 00:00 (51/174): sed-4.5-5.el8.aarch64.rpm 5.5 MB/s | 295 kB 00:00 (52/174): xz-5.2.4-4.el8_6.aarch64.rpm 2.9 MB/s | 153 kB 00:00 (53/174): gdbm-1.18-2.el8.aarch64.rpm 3.1 MB/s | 128 kB 00:00 (54/174): xz-libs-5.2.4-4.el8_6.aarch64.rpm 1.3 MB/s | 91 kB 00:00 (55/174): unzip-6.0-46.el8.aarch64.rpm 1.5 MB/s | 190 kB 00:00 (56/174): gdbm-libs-1.18-2.el8.aarch64.rpm 866 kB/s | 59 kB 00:00 (57/174): gnupg2-2.2.20-3.el8_6.aarch64.rpm 34 MB/s | 2.4 MB 00:00 (58/174): libbabeltrace-1.5.4-4.el8.aarch64.rpm 3.9 MB/s | 189 kB 00:00 (59/174): libcom_err-1.45.6-5.el8.aarch64.rpm 1.2 MB/s | 49 kB 00:00 (60/174): libgcrypt-1.8.5-7.el8_6.aarch64.rpm 9.2 MB/s | 391 kB 00:00 (61/174): libsemanage-2.9-9.el8_6.aarch64.rpm 3.9 MB/s | 164 kB 00:00 (62/174): pcre2-10.32-3.el8_6.aarch64.rpm 5.1 MB/s | 219 kB 00:00 (63/174): coreutils-8.30-15.el8.aarch64.rpm 24 MB/s | 1.2 MB 00:00 (64/174): libverto-0.3.2-2.el8.aarch64.rpm 393 kB/s | 24 kB 00:00 (65/174): coreutils-common-8.30-15.el8.aarch64. 38 MB/s | 2.0 MB 00:00 (66/174): libffi-3.1-24.el8.aarch64.rpm 848 kB/s | 37 kB 00:00 (67/174): libksba-1.3.5-9.el8_7.aarch64.rpm 2.3 MB/s | 130 kB 00:00 (68/174): libselinux-2.9-8.el8.aarch64.rpm 3.4 MB/s | 162 kB 00:00 (69/174): libpwquality-1.4.4-6.el8.aarch64.rpm 2.2 MB/s | 106 kB 00:00 (70/174): libtasn1-4.13-4.el8_7.aarch64.rpm 1.8 MB/s | 75 kB 00:00 (71/174): setup-2.12.2-9.el8.noarch.rpm 4.3 MB/s | 181 kB 00:00 (72/174): platform-python-setuptools-39.2.0-7.e 11 MB/s | 632 kB 00:00 (73/174): ca-certificates-2023.2.60_v7.0.306-80 15 MB/s | 935 kB 00:00 (74/174): python3-setuptools-wheel-39.2.0-7.el8 2.4 MB/s | 289 kB 00:00 (75/174): chkconfig-1.19.2-1.el8.aarch64.rpm 4.4 MB/s | 197 kB 00:00 (76/174): crypto-policies-20230731-1.git3177e06 981 kB/s | 64 kB 00:00 (77/174): libarchive-3.3.3-5.el8.aarch64.rpm 5.5 MB/s | 340 kB 00:00 (78/174): ncurses-6.1-10.20180224.el8.aarch64.r 8.9 MB/s | 383 kB 00:00 (79/174): tar-1.30-9.el8.aarch64.rpm 4.1 MB/s | 830 kB 00:00 (80/174): ncurses-libs-6.1-10.20180224.el8.aarc 7.1 MB/s | 310 kB 00:00 (81/174): which-2.21-20.el8.aarch64.rpm 952 kB/s | 49 kB 00:00 (82/174): zlib-1.2.11-25.el8.aarch64.rpm 2.0 MB/s | 101 kB 00:00 (83/174): libcap-2.48-6.el8_9.aarch64.rpm 1.7 MB/s | 74 kB 00:00 (84/174): gnutls-3.6.16-8.el8_9.3.aarch64.rpm 13 MB/s | 940 kB 00:00 (85/174): binutils-2.30-123.el8.aarch64.rpm 53 MB/s | 6.1 MB 00:00 (86/174): openssl-libs-1.1.1k-12.el8_9.aarch64. 29 MB/s | 1.3 MB 00:00 (87/174): tzdata-2024a-1.el8.noarch.rpm 11 MB/s | 475 kB 00:00 (88/174): ncurses-base-6.1-10.20180224.el8.noar 719 kB/s | 81 kB 00:00 (89/174): audit-libs-3.1.2-1.el8.aarch64.rpm 2.4 MB/s | 120 kB 00:00 (90/174): curl-7.61.1-34.el8.aarch64.rpm 7.9 MB/s | 350 kB 00:00 (91/174): bash-4.4.20-5.el8.aarch64.rpm 16 MB/s | 1.5 MB 00:00 (92/174): elfutils-0.190-2.el8.aarch64.rpm 11 MB/s | 554 kB 00:00 (93/174): elfutils-default-yama-scope-0.190-2.e 1.3 MB/s | 53 kB 00:00 (94/174): elfutils-libs-0.190-2.el8.aarch64.rpm 5.2 MB/s | 294 kB 00:00 (95/174): expat-2.2.5-13.el8_10.aarch64.rpm 1.8 MB/s | 104 kB 00:00 (96/174): elfutils-libelf-0.190-2.el8.aarch64.r 1.5 MB/s | 231 kB 00:00 (97/174): sqlite-libs-3.26.0-19.el8_9.aarch64.r 1.5 MB/s | 551 kB 00:00 (98/174): file-5.33-26.el8.aarch64.rpm 1.9 MB/s | 78 kB 00:00 (99/174): file-libs-5.33-26.el8.aarch64.rpm 12 MB/s | 542 kB 00:00 (100/174): findutils-4.6.0-22.el8.aarch64.rpm 10 MB/s | 524 kB 00:00 (101/174): glib2-2.56.4-162.el8.aarch64.rpm 45 MB/s | 2.4 MB 00:00 (102/174): libacl-2.2.53-3.el8.aarch64.rpm 823 kB/s | 34 kB 00:00 (103/174): gmp-6.1.2-11.el8.aarch64.rpm 3.6 MB/s | 264 kB 00:00 (104/174): libblkid-2.32.1-46.el8.aarch64.rpm 4.1 MB/s | 215 kB 00:00 (105/174): libcurl-7.61.1-34.el8.aarch64.rpm 6.5 MB/s | 285 kB 00:00 (106/174): libfdisk-2.32.1-46.el8.aarch64.rpm 5.9 MB/s | 244 kB 00:00 (107/174): libmount-2.32.1-46.el8.aarch64.rpm 4.8 MB/s | 230 kB 00:00 (108/174): libsmartcols-2.32.1-46.el8.aarch64.r 4.2 MB/s | 175 kB 00:00 (109/174): libssh-0.9.6-14.el8.aarch64.rpm 5.0 MB/s | 210 kB 00:00 (110/174): libuuid-2.32.1-46.el8.aarch64.rpm 1.9 MB/s | 99 kB 00:00 (111/174): libssh-config-0.9.6-14.el8.noarch.rp 338 kB/s | 21 kB 00:00 (112/174): p11-kit-0.23.22-2.el8.aarch64.rpm 7.1 MB/s | 309 kB 00:00 (113/174): p11-kit-trust-0.23.22-2.el8.aarch64. 3.0 MB/s | 135 kB 00:00 (114/174): python3-pip-wheel-9.0.3-24.el8.noarc 18 MB/s | 866 kB 00:00 (115/174): rpm-4.14.3-31.el8.aarch64.rpm 12 MB/s | 544 kB 00:00 (116/174): rpm-build-libs-4.14.3-31.el8.aarch64 3.5 MB/s | 151 kB 00:00 (117/174): shadow-utils-4.6-22.el8.aarch64.rpm 26 MB/s | 1.2 MB 00:00 (118/174): util-linux-2.32.1-46.el8.aarch64.rpm 41 MB/s | 2.5 MB 00:00 (119/174): rpm-libs-4.14.3-31.el8.aarch64.rpm 2.6 MB/s | 330 kB 00:00 (120/174): libasan-8.5.0-22.el8_10.aarch64.rpm 9.1 MB/s | 387 kB 00:00 (121/174): libgcc-8.5.0-22.el8_10.aarch64.rpm 1.8 MB/s | 75 kB 00:00 (122/174): libgomp-8.5.0-22.el8_10.aarch64.rpm 4.1 MB/s | 200 kB 00:00 (123/174): libatomic-8.5.0-22.el8_10.aarch64.rp 221 kB/s | 26 kB 00:00 (124/174): libstdc++-8.5.0-22.el8_10.aarch64.rp 9.6 MB/s | 425 kB 00:00 (125/174): libubsan-8.5.0-22.el8_10.aarch64.rpm 2.3 MB/s | 145 kB 00:00 (126/174): glibc-2.28-251.el8_10.2.aarch64.rpm 36 MB/s | 1.8 MB 00:00 (127/174): tpm2-tss-2.3.2-6.el8.aarch64.rpm 730 kB/s | 240 kB 00:00 (128/174): glibc-common-2.28-251.el8_10.2.aarch 20 MB/s | 1.0 MB 00:00 (129/174): glibc-devel-2.28-251.el8_10.2.aarch6 1.5 MB/s | 86 kB 00:00 (130/174): platform-python-3.6.8-62.el8_10.aarc 2.1 MB/s | 88 kB 00:00 (131/174): glibc-gconv-extra-2.28-251.el8_10.2. 22 MB/s | 1.8 MB 00:00 (132/174): glibc-headers-2.28-251.el8_10.2.aarc 10 MB/s | 483 kB 00:00 (133/174): python3-libs-3.6.8-62.el8_10.aarch64 46 MB/s | 7.7 MB 00:00 (134/174): libxml2-2.9.7-18.el8_10.1.aarch64.rp 14 MB/s | 654 kB 00:00 (135/174): krb5-libs-1.18.2-28.el8_10.aarch64.r 18 MB/s | 819 kB 00:00 (136/174): libnghttp2-1.33.0-6.el8_10.1.aarch64 933 kB/s | 75 kB 00:00 (137/174): libtirpc-1.1.4-12.el8_10.aarch64.rpm 1.8 MB/s | 110 kB 00:00 (138/174): openldap-2.4.46-19.el8_10.aarch64.rp 8.0 MB/s | 339 kB 00:00 (139/174): pam-1.3.1-34.el8_10.aarch64.rpm 14 MB/s | 741 kB 00:00 (140/174): glibc-all-langpacks-2.28-251.el8_10. 42 MB/s | 25 MB 00:00 (141/174): redhat-release-8.10-0.3.el8.aarch64. 903 kB/s | 45 kB 00:00 (142/174): systemd-libs-239-82.el8_10.1.aarch64 16 MB/s | 1.0 MB 00:00 (143/174): kernel-headers-4.18.0-553.8.1.el8_10 28 MB/s | 12 MB 00:00 (144/174): guile-2.0.14-7.el8.aarch64.rpm 44 MB/s | 3.5 MB 00:00 (145/174): isl-0.16.1-6.el8.aarch64.rpm 13 MB/s | 778 kB 00:00 (146/174): libatomic_ops-7.6.2-3.el8.aarch64.rp 875 kB/s | 38 kB 00:00 (147/174): gc-7.6.4-3.el8.aarch64.rpm 2.3 MB/s | 99 kB 00:00 (148/174): ghc-srpm-macros-1.4.2-7.el8.noarch.r 236 kB/s | 9.4 kB 00:00 (149/174): ocaml-srpm-macros-5-4.el8.noarch.rpm 230 kB/s | 9.5 kB 00:00 (150/174): rust-srpm-macros-5-2.el8.noarch.rpm 136 kB/s | 9.3 kB 00:00 (151/174): openblas-srpm-macros-2-2.el8.noarch. 199 kB/s | 8.0 kB 00:00 (152/174): perl-srpm-macros-1-25.el8.noarch.rpm 248 kB/s | 11 kB 00:00 (153/174): zstd-1.4.4-1.el8.aarch64.rpm 7.0 MB/s | 303 kB 00:00 (154/174): efi-srpm-macros-3-3.el8.noarch.rpm 550 kB/s | 22 kB 00:00 (155/174): libmpc-1.1.0-9.1.el8.aarch64.rpm 1.1 MB/s | 60 kB 00:00 (156/174): dwz-0.12-10.el8.aarch64.rpm 2.5 MB/s | 103 kB 00:00 (157/174): go-srpm-macros-2-17.el8.noarch.rpm 196 kB/s | 13 kB 00:00 (158/174): qt5-srpm-macros-5.15.3-1.el8.noarch. 227 kB/s | 11 kB 00:00 (159/174): python-rpm-macros-3-45.el8.noarch.rp 397 kB/s | 16 kB 00:00 (160/174): redhat-rpm-config-131-1.el8.noarch.r 1.9 MB/s | 91 kB 00:00 (161/174): python-srpm-macros-3-45.el8.noarch.r 305 kB/s | 16 kB 00:00 (162/174): python3-rpm-macros-3-45.el8.noarch.r 353 kB/s | 15 kB 00:00 (163/174): annobin-11.13-2.el8.aarch64.rpm 18 MB/s | 971 kB 00:00 (164/174): rpm-build-4.14.3-31.el8.aarch64.rpm 3.9 MB/s | 173 kB 00:00 (165/174): gdb-headless-8.2-20.el8.aarch64.rpm 56 MB/s | 3.1 MB 00:00 (166/174): cpp-8.5.0-22.el8_10.aarch64.rpm 86 MB/s | 8.9 MB 00:00 (167/174): gcc-c++-8.5.0-22.el8_10.aarch64.rpm 82 MB/s | 11 MB 00:00 (168/174): gcc-8.5.0-22.el8_10.aarch64.rpm 101 MB/s | 19 MB 00:00 (169/174): ansible-srpm-macros-1-12.el8.noarch. 1.7 MB/s | 21 kB 00:00 (170/174): libstdc++-devel-8.5.0-22.el8_10.aarc 32 MB/s | 2.1 MB 00:00 (171/174): epel-rpm-macros-8-41.noarch.rpm 2.5 MB/s | 27 kB 00:00 (172/174): lua-srpm-macros-1-13.el8.noarch.rpm 1.1 MB/s | 9.2 kB 00:00 (173/174): fpc-srpm-macros-1.3-1.el8.noarch.rpm 269 kB/s | 8.2 kB 00:00 (174/174): gcc-plugin-annobin-8.5.0-22.el8_10.a 200 kB/s | 35 kB 00:00 -------------------------------------------------------------------------------- Total 37 MB/s | 155 MB 00:04 Red Hat Enterprise Linux - BaseOS 3.1 MB/s | 3.1 kB 00:00 Importing GPG key 0xFD431D51: Userid : "Red Hat, Inc. (release key 2) " Fingerprint: 567E 347A D004 4ADE 55BA 8A5F 199E 2F91 FD43 1D51 From : /usr/share/distribution-gpg-keys/redhat/RPM-GPG-KEY-redhat8-release Key imported successfully Importing GPG key 0x2FA658E0: Userid : "Red Hat, Inc. (auxiliary key) " Fingerprint: 43A6 E49C 4A38 F4BE 9ABF 2A53 4568 9C88 2FA6 58E0 From : /usr/share/distribution-gpg-keys/redhat/RPM-GPG-KEY-redhat8-release Key imported successfully Extra Packages for Enterprise Linux 8 - aarch64 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0x2F86D6A1: Userid : "Fedora EPEL (8) " Fingerprint: 94E2 79EB 8D8F 25B2 1810 ADF1 21EA 45AB 2F86 D6A1 From : /usr/share/distribution-gpg-keys/epel/RPM-GPG-KEY-EPEL-8 Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Running scriptlet: filesystem-3.8-6.el8.aarch64 1/1 Preparing : 1/1 Installing : libgcc-8.5.0-22.el8_10.aarch64 1/174 Running scriptlet: libgcc-8.5.0-22.el8_10.aarch64 1/174 Installing : python-srpm-macros-3-45.el8.noarch 2/174 Installing : crypto-policies-20230731-1.git3177e06.el8.noarch 3/174 Running scriptlet: crypto-policies-20230731-1.git3177e06.el8.noarch 3/174 Installing : python-rpm-macros-3-45.el8.noarch 4/174 Installing : redhat-release-8.10-0.3.el8.aarch64 5/174 Installing : setup-2.12.2-9.el8.noarch 6/174 warning: /etc/hosts created as /etc/hosts.rpmnew Running scriptlet: setup-2.12.2-9.el8.noarch 6/174 Installing : filesystem-3.8-6.el8.aarch64 7/174 Installing : python3-pip-wheel-9.0.3-24.el8.noarch 8/174 Installing : python3-setuptools-wheel-39.2.0-7.el8.noarch 9/174 Installing : basesystem-11-5.el8.noarch 10/174 Installing : python3-rpm-macros-3-45.el8.noarch 11/174 Installing : fpc-srpm-macros-1.3-1.el8.noarch 12/174 Installing : ansible-srpm-macros-1-12.el8.noarch 13/174 Installing : qt5-srpm-macros-5.15.3-1.el8.noarch 14/174 Installing : go-srpm-macros-2-17.el8.noarch 15/174 Installing : perl-srpm-macros-1-25.el8.noarch 16/174 Installing : openblas-srpm-macros-2-2.el8.noarch 17/174 Installing : ocaml-srpm-macros-5-4.el8.noarch 18/174 Installing : ghc-srpm-macros-1.4.2-7.el8.noarch 19/174 Installing : rust-srpm-macros-5-2.el8.noarch 20/174 Installing : kernel-headers-4.18.0-553.8.1.el8_10.aarch64 21/174 Installing : libssh-config-0.9.6-14.el8.noarch 22/174 Installing : tzdata-2024a-1.el8.noarch 23/174 Installing : ncurses-base-6.1-10.20180224.el8.noarch 24/174 Installing : pcre2-10.32-3.el8_6.aarch64 25/174 Installing : libselinux-2.9-8.el8.aarch64 26/174 Installing : ncurses-libs-6.1-10.20180224.el8.aarch64 27/174 Installing : glibc-all-langpacks-2.28-251.el8_10.2.aarch64 28/174 Installing : glibc-common-2.28-251.el8_10.2.aarch64 29/174 Installing : glibc-gconv-extra-2.28-251.el8_10.2.aarch64 30/174 Running scriptlet: glibc-gconv-extra-2.28-251.el8_10.2.aarch64 30/174 Running scriptlet: glibc-2.28-251.el8_10.2.aarch64 31/174 Installing : glibc-2.28-251.el8_10.2.aarch64 31/174 Running scriptlet: glibc-2.28-251.el8_10.2.aarch64 31/174 Installing : bash-4.4.20-5.el8.aarch64 32/174 Running scriptlet: bash-4.4.20-5.el8.aarch64 32/174 Installing : libsepol-2.9-3.el8.aarch64 33/174 Running scriptlet: libsepol-2.9-3.el8.aarch64 33/174 Installing : zlib-1.2.11-25.el8.aarch64 34/174 Installing : info-6.5-7.el8.aarch64 35/174 Installing : bzip2-libs-1.0.6-26.el8.aarch64 36/174 Installing : xz-libs-5.2.4-4.el8_6.aarch64 37/174 Installing : gmp-1:6.1.2-11.el8.aarch64 38/174 Running scriptlet: gmp-1:6.1.2-11.el8.aarch64 38/174 Installing : libstdc++-8.5.0-22.el8_10.aarch64 39/174 Running scriptlet: libstdc++-8.5.0-22.el8_10.aarch64 39/174 Installing : libzstd-1.4.4-1.el8.aarch64 40/174 Installing : elfutils-libelf-0.190-2.el8.aarch64 41/174 Installing : libxcrypt-4.1.1-6.el8.aarch64 42/174 Installing : mpfr-3.1.6-1.el8.aarch64 43/174 Running scriptlet: mpfr-3.1.6-1.el8.aarch64 43/174 Installing : readline-7.0-10.el8.aarch64 44/174 Running scriptlet: readline-7.0-10.el8.aarch64 44/174 Installing : sqlite-libs-3.26.0-19.el8_9.aarch64 45/174 Installing : popt-1.18-1.el8.aarch64 46/174 Installing : libcap-2.48-6.el8_9.aarch64 47/174 Installing : libcom_err-1.45.6-5.el8.aarch64 48/174 Running scriptlet: libcom_err-1.45.6-5.el8.aarch64 48/174 Installing : libuuid-2.32.1-46.el8.aarch64 49/174 Running scriptlet: libuuid-2.32.1-46.el8.aarch64 49/174 Installing : chkconfig-1.19.2-1.el8.aarch64 50/174 Installing : libunistring-0.9.9-3.el8.aarch64 51/174 Installing : libattr-2.4.48-3.el8.aarch64 52/174 Installing : libacl-2.2.53-3.el8.aarch64 53/174 Installing : sed-4.5-5.el8.aarch64 54/174 Running scriptlet: sed-4.5-5.el8.aarch64 54/174 Installing : libgpg-error-1.31-1.el8.aarch64 55/174 Installing : lua-libs-5.3.4-12.el8.aarch64 56/174 Installing : libffi-3.1-24.el8.aarch64 57/174 Installing : p11-kit-0.23.22-2.el8.aarch64 58/174 Installing : libidn2-2.2.0-1.el8.aarch64 59/174 Installing : libmpc-1.1.0-9.1.el8.aarch64 60/174 Installing : file-libs-5.33-26.el8.aarch64 61/174 Installing : file-5.33-26.el8.aarch64 62/174 Installing : libgcrypt-1.8.5-7.el8_6.aarch64 63/174 Running scriptlet: libgcrypt-1.8.5-7.el8_6.aarch64 63/174 Installing : unzip-6.0-46.el8.aarch64 64/174 Installing : findutils-1:4.6.0-22.el8.aarch64 65/174 Running scriptlet: findutils-1:4.6.0-22.el8.aarch64 65/174 Installing : elfutils-default-yama-scope-0.190-2.el8.noarch 66/174 Running scriptlet: elfutils-default-yama-scope-0.190-2.el8.noarch 66/174 Installing : elfutils-libs-0.190-2.el8.aarch64 67/174 Running scriptlet: glibc-headers-2.28-251.el8_10.2.aarch64 68/174 Installing : glibc-headers-2.28-251.el8_10.2.aarch64 68/174 Installing : lz4-libs-1.8.3-3.el8_4.aarch64 69/174 Installing : pcre-8.42-6.el8.aarch64 70/174 Installing : grep-3.1-6.el8.aarch64 71/174 Running scriptlet: grep-3.1-6.el8.aarch64 71/174 Installing : keyutils-libs-1.5.10-9.el8.aarch64 72/174 Installing : libcap-ng-0.7.11-1.el8.aarch64 73/174 Installing : audit-libs-3.1.2-1.el8.aarch64 74/174 Installing : gdbm-libs-1:1.18-2.el8.aarch64 75/174 Installing : libtasn1-4.13-4.el8_7.aarch64 76/174 Running scriptlet: libtasn1-4.13-4.el8_7.aarch64 76/174 Installing : p11-kit-trust-0.23.22-2.el8.aarch64 77/174 Running scriptlet: p11-kit-trust-0.23.22-2.el8.aarch64 77/174 Installing : expat-2.2.5-13.el8_10.aarch64 78/174 Installing : gdbm-1:1.18-2.el8.aarch64 79/174 Installing : libsemanage-2.9-9.el8_6.aarch64 80/174 Installing : xz-5.2.4-4.el8_6.aarch64 81/174 Installing : elfutils-0.190-2.el8.aarch64 82/174 Installing : zip-3.0-23.el8.aarch64 83/174 Installing : cpp-8.5.0-22.el8_10.aarch64 84/174 Running scriptlet: cpp-8.5.0-22.el8_10.aarch64 84/174 Installing : libassuan-2.5.1-3.el8.aarch64 85/174 Installing : libksba-1.3.5-9.el8_7.aarch64 86/174 Installing : tar-2:1.30-9.el8.aarch64 87/174 Running scriptlet: tar-2:1.30-9.el8.aarch64 87/174 Installing : patch-2.7.6-11.el8.aarch64 88/174 Installing : dwz-0.12-10.el8.aarch64 89/174 Installing : libasan-8.5.0-22.el8_10.aarch64 90/174 Running scriptlet: libasan-8.5.0-22.el8_10.aarch64 90/174 Installing : libubsan-8.5.0-22.el8_10.aarch64 91/174 Running scriptlet: libubsan-8.5.0-22.el8_10.aarch64 91/174 Installing : libstdc++-devel-8.5.0-22.el8_10.aarch64 92/174 Installing : nettle-3.4.1-7.el8.aarch64 93/174 Running scriptlet: nettle-3.4.1-7.el8.aarch64 93/174 Installing : gnutls-3.6.16-8.el8_9.3.aarch64 94/174 Installing : isl-0.16.1-6.el8.aarch64 95/174 Running scriptlet: isl-0.16.1-6.el8.aarch64 95/174 Installing : libxml2-2.9.7-18.el8_10.1.aarch64 96/174 Installing : bzip2-1.0.6-26.el8.aarch64 97/174 Installing : diffutils-3.6-6.el8.aarch64 98/174 Running scriptlet: diffutils-3.6-6.el8.aarch64 98/174 Installing : coreutils-common-8.30-15.el8.aarch64 99/174 Running scriptlet: coreutils-common-8.30-15.el8.aarch64 99/174 Installing : libatomic-8.5.0-22.el8_10.aarch64 100/174 Running scriptlet: libatomic-8.5.0-22.el8_10.aarch64 100/174 Installing : libgomp-8.5.0-22.el8_10.aarch64 101/174 Running scriptlet: libgomp-8.5.0-22.el8_10.aarch64 101/174 Installing : zstd-1.4.4-1.el8.aarch64 102/174 Installing : libpkgconf-1.4.2-1.el8.aarch64 103/174 Installing : pkgconf-1.4.2-1.el8.aarch64 104/174 Installing : libsigsegv-2.11-5.el8.aarch64 105/174 Installing : gawk-4.2.1-4.el8.aarch64 106/174 Installing : libtool-ltdl-2.4.6-25.el8.aarch64 107/174 Running scriptlet: libtool-ltdl-2.4.6-25.el8.aarch64 107/174 Installing : npth-1.5-4.el8.aarch64 108/174 Installing : brotli-1.0.6-3.el8.aarch64 109/174 Installing : cpio-2.12-11.el8.aarch64 110/174 Installing : libverto-0.3.2-2.el8.aarch64 111/174 Installing : ncurses-6.1-10.20180224.el8.aarch64 112/174 Installing : openssl-libs-1:1.1.1k-12.el8_9.aarch64 113/174 Running scriptlet: openssl-libs-1:1.1.1k-12.el8_9.aarch64 113/174 Installing : coreutils-8.30-15.el8.aarch64 114/174 Running scriptlet: ca-certificates-2023.2.60_v7.0.306-80.0.el8_8.no 115/174 Installing : ca-certificates-2023.2.60_v7.0.306-80.0.el8_8.no 115/174 Running scriptlet: ca-certificates-2023.2.60_v7.0.306-80.0.el8_8.no 115/174 Installing : libdb-5.3.28-42.el8_4.aarch64 116/174 Running scriptlet: libdb-5.3.28-42.el8_4.aarch64 116/174 Installing : krb5-libs-1.18.2-28.el8_10.aarch64 117/174 Installing : libtirpc-1.1.4-12.el8_10.aarch64 118/174 Running scriptlet: libtirpc-1.1.4-12.el8_10.aarch64 118/174 Installing : libblkid-2.32.1-46.el8.aarch64 119/174 Running scriptlet: libblkid-2.32.1-46.el8.aarch64 119/174 Installing : libmount-2.32.1-46.el8.aarch64 120/174 Running scriptlet: libmount-2.32.1-46.el8.aarch64 120/174 Installing : systemd-libs-239-82.el8_10.1.aarch64 121/174 Running scriptlet: systemd-libs-239-82.el8_10.1.aarch64 121/174 Installing : libnsl2-1.2.0-2.20180605git4a062cf.el8.aarch64 122/174 Running scriptlet: libnsl2-1.2.0-2.20180605git4a062cf.el8.aarch64 122/174 Installing : platform-python-setuptools-39.2.0-7.el8.noarch 123/174 Installing : platform-python-3.6.8-62.el8_10.aarch64 124/174 Running scriptlet: platform-python-3.6.8-62.el8_10.aarch64 124/174 Installing : python3-libs-3.6.8-62.el8_10.aarch64 125/174 Installing : gzip-1.9-13.el8_5.aarch64 126/174 Running scriptlet: gzip-1.9-13.el8_5.aarch64 126/174 Installing : cracklib-2.9.6-15.el8.aarch64 127/174 Installing : cracklib-dicts-2.9.6-15.el8.aarch64 128/174 Installing : binutils-2.30-123.el8.aarch64 129/174 Running scriptlet: binutils-2.30-123.el8.aarch64 129/174 Installing : shadow-utils-2:4.6-22.el8.aarch64 130/174 Running scriptlet: libutempter-1.1.6-14.el8.aarch64 131/174 Installing : libutempter-1.1.6-14.el8.aarch64 131/174 Running scriptlet: tpm2-tss-2.3.2-6.el8.aarch64 132/174 Installing : tpm2-tss-2.3.2-6.el8.aarch64 132/174 Running scriptlet: tpm2-tss-2.3.2-6.el8.aarch64 132/174 Installing : ima-evm-utils-1.3.2-12.el8.aarch64 133/174 Installing : libpwquality-1.4.4-6.el8.aarch64 134/174 Installing : pam-1.3.1-34.el8_10.aarch64 135/174 Running scriptlet: pam-1.3.1-34.el8_10.aarch64 135/174 Installing : libusbx-1.0.23-4.el8.aarch64 136/174 Installing : glib2-2.56.4-162.el8.aarch64 137/174 Installing : libbabeltrace-1.5.4-4.el8.aarch64 138/174 Running scriptlet: libbabeltrace-1.5.4-4.el8.aarch64 138/174 Installing : libfdisk-2.32.1-46.el8.aarch64 139/174 Running scriptlet: libfdisk-2.32.1-46.el8.aarch64 139/174 Installing : cyrus-sasl-lib-2.1.27-6.el8_5.aarch64 140/174 Running scriptlet: cyrus-sasl-lib-2.1.27-6.el8_5.aarch64 140/174 Installing : openldap-2.4.46-19.el8_10.aarch64 141/174 Installing : gnupg2-2.2.20-3.el8_6.aarch64 142/174 Installing : libssh-0.9.6-14.el8.aarch64 143/174 Installing : libdb-utils-5.3.28-42.el8_4.aarch64 144/174 Installing : libarchive-3.3.3-5.el8.aarch64 145/174 Installing : libsmartcols-2.32.1-46.el8.aarch64 146/174 Running scriptlet: libsmartcols-2.32.1-46.el8.aarch64 146/174 Installing : libnghttp2-1.33.0-6.el8_10.1.aarch64 147/174 Installing : libatomic_ops-7.6.2-3.el8.aarch64 148/174 Installing : gc-7.6.4-3.el8.aarch64 149/174 Installing : guile-5:2.0.14-7.el8.aarch64 150/174 Running scriptlet: guile-5:2.0.14-7.el8.aarch64 150/174 Installing : publicsuffix-list-dafsa-20180723-1.el8.noarch 151/174 Installing : libpsl-0.20.2-6.el8.aarch64 152/174 Installing : libcurl-7.61.1-34.el8.aarch64 153/174 Installing : curl-7.61.1-34.el8.aarch64 154/174 Installing : rpm-4.14.3-31.el8.aarch64 155/174 Installing : rpm-libs-4.14.3-31.el8.aarch64 156/174 Running scriptlet: rpm-libs-4.14.3-31.el8.aarch64 156/174 Installing : rpm-build-libs-4.14.3-31.el8.aarch64 157/174 Running scriptlet: rpm-build-libs-4.14.3-31.el8.aarch64 157/174 Installing : gdb-headless-8.2-20.el8.aarch64 158/174 Installing : efi-srpm-macros-3-3.el8.noarch 159/174 Installing : lua-srpm-macros-1-13.el8.noarch 160/174 Installing : pkgconf-m4-1.4.2-1.el8.noarch 161/174 Installing : pkgconf-pkg-config-1.4.2-1.el8.aarch64 162/174 Installing : glibc-devel-2.28-251.el8_10.2.aarch64 163/174 Running scriptlet: glibc-devel-2.28-251.el8_10.2.aarch64 163/174 Installing : libxcrypt-devel-4.1.1-6.el8.aarch64 164/174 Installing : gcc-8.5.0-22.el8_10.aarch64 165/174 Running scriptlet: gcc-8.5.0-22.el8_10.aarch64 165/174 Installing : annobin-11.13-2.el8.aarch64 166/174 Installing : gcc-plugin-annobin-8.5.0-22.el8_10.aarch64 167/174 Installing : redhat-rpm-config-131-1.el8.noarch 168/174 Running scriptlet: redhat-rpm-config-131-1.el8.noarch 168/174 Installing : rpm-build-4.14.3-31.el8.aarch64 169/174 Installing : gcc-c++-8.5.0-22.el8_10.aarch64 170/174 Installing : epel-rpm-macros-8-41.noarch 171/174 Installing : util-linux-2.32.1-46.el8.aarch64 172/174 Running scriptlet: util-linux-2.32.1-46.el8.aarch64 172/174 Installing : which-2.21-20.el8.aarch64 173/174 Installing : make-1:4.2.1-11.el8.aarch64 174/174 Running scriptlet: make-1:4.2.1-11.el8.aarch64 174/174 Running scriptlet: filesystem-3.8-6.el8.aarch64 174/174 Running scriptlet: glibc-all-langpacks-2.28-251.el8_10.2.aarch64 174/174 Running scriptlet: ca-certificates-2023.2.60_v7.0.306-80.0.el8_8.no 174/174 Running scriptlet: guile-5:2.0.14-7.el8.aarch64 174/174 Running scriptlet: glibc-common-2.28-251.el8_10.2.aarch64 174/174 Running scriptlet: info-6.5-7.el8.aarch64 174/174 Running scriptlet: glib2-2.56.4-162.el8.aarch64 174/174 Verifying : bzip2-1.0.6-26.el8.aarch64 1/174 Verifying : bzip2-libs-1.0.6-26.el8.aarch64 2/174 Verifying : cracklib-2.9.6-15.el8.aarch64 3/174 Verifying : cracklib-dicts-2.9.6-15.el8.aarch64 4/174 Verifying : grep-3.1-6.el8.aarch64 5/174 Verifying : libassuan-2.5.1-3.el8.aarch64 6/174 Verifying : libattr-2.4.48-3.el8.aarch64 7/174 Verifying : libgpg-error-1.31-1.el8.aarch64 8/174 Verifying : libnsl2-1.2.0-2.20180605git4a062cf.el8.aarch64 9/174 Verifying : libpkgconf-1.4.2-1.el8.aarch64 10/174 Verifying : libsigsegv-2.11-5.el8.aarch64 11/174 Verifying : libtool-ltdl-2.4.6-25.el8.aarch64 12/174 Verifying : libunistring-0.9.9-3.el8.aarch64 13/174 Verifying : libutempter-1.1.6-14.el8.aarch64 14/174 Verifying : mpfr-3.1.6-1.el8.aarch64 15/174 Verifying : npth-1.5-4.el8.aarch64 16/174 Verifying : pkgconf-1.4.2-1.el8.aarch64 17/174 Verifying : pkgconf-pkg-config-1.4.2-1.el8.aarch64 18/174 Verifying : readline-7.0-10.el8.aarch64 19/174 Verifying : zip-3.0-23.el8.aarch64 20/174 Verifying : basesystem-11-5.el8.noarch 21/174 Verifying : pkgconf-m4-1.4.2-1.el8.noarch 22/174 Verifying : publicsuffix-list-dafsa-20180723-1.el8.noarch 23/174 Verifying : libidn2-2.2.0-1.el8.aarch64 24/174 Verifying : diffutils-3.6-6.el8.aarch64 25/174 Verifying : patch-2.7.6-11.el8.aarch64 26/174 Verifying : libpsl-0.20.2-6.el8.aarch64 27/174 Verifying : libusbx-1.0.23-4.el8.aarch64 28/174 Verifying : libzstd-1.4.4-1.el8.aarch64 29/174 Verifying : brotli-1.0.6-3.el8.aarch64 30/174 Verifying : ima-evm-utils-1.3.2-12.el8.aarch64 31/174 Verifying : popt-1.18-1.el8.aarch64 32/174 Verifying : libdb-5.3.28-42.el8_4.aarch64 33/174 Verifying : libdb-utils-5.3.28-42.el8_4.aarch64 34/174 Verifying : libsepol-2.9-3.el8.aarch64 35/174 Verifying : lz4-libs-1.8.3-3.el8_4.aarch64 36/174 Verifying : nettle-3.4.1-7.el8.aarch64 37/174 Verifying : pcre-8.42-6.el8.aarch64 38/174 Verifying : cyrus-sasl-lib-2.1.27-6.el8_5.aarch64 39/174 Verifying : filesystem-3.8-6.el8.aarch64 40/174 Verifying : gzip-1.9-13.el8_5.aarch64 41/174 Verifying : keyutils-libs-1.5.10-9.el8.aarch64 42/174 Verifying : libcap-ng-0.7.11-1.el8.aarch64 43/174 Verifying : libxcrypt-4.1.1-6.el8.aarch64 44/174 Verifying : libxcrypt-devel-4.1.1-6.el8.aarch64 45/174 Verifying : lua-libs-5.3.4-12.el8.aarch64 46/174 Verifying : make-1:4.2.1-11.el8.aarch64 47/174 Verifying : cpio-2.12-11.el8.aarch64 48/174 Verifying : gawk-4.2.1-4.el8.aarch64 49/174 Verifying : info-6.5-7.el8.aarch64 50/174 Verifying : sed-4.5-5.el8.aarch64 51/174 Verifying : unzip-6.0-46.el8.aarch64 52/174 Verifying : xz-5.2.4-4.el8_6.aarch64 53/174 Verifying : xz-libs-5.2.4-4.el8_6.aarch64 54/174 Verifying : gdbm-1:1.18-2.el8.aarch64 55/174 Verifying : gdbm-libs-1:1.18-2.el8.aarch64 56/174 Verifying : gnupg2-2.2.20-3.el8_6.aarch64 57/174 Verifying : libbabeltrace-1.5.4-4.el8.aarch64 58/174 Verifying : libcom_err-1.45.6-5.el8.aarch64 59/174 Verifying : libgcrypt-1.8.5-7.el8_6.aarch64 60/174 Verifying : libsemanage-2.9-9.el8_6.aarch64 61/174 Verifying : libverto-0.3.2-2.el8.aarch64 62/174 Verifying : pcre2-10.32-3.el8_6.aarch64 63/174 Verifying : coreutils-8.30-15.el8.aarch64 64/174 Verifying : coreutils-common-8.30-15.el8.aarch64 65/174 Verifying : libffi-3.1-24.el8.aarch64 66/174 Verifying : libksba-1.3.5-9.el8_7.aarch64 67/174 Verifying : libpwquality-1.4.4-6.el8.aarch64 68/174 Verifying : libselinux-2.9-8.el8.aarch64 69/174 Verifying : libtasn1-4.13-4.el8_7.aarch64 70/174 Verifying : platform-python-setuptools-39.2.0-7.el8.noarch 71/174 Verifying : python3-setuptools-wheel-39.2.0-7.el8.noarch 72/174 Verifying : setup-2.12.2-9.el8.noarch 73/174 Verifying : tar-2:1.30-9.el8.aarch64 74/174 Verifying : ca-certificates-2023.2.60_v7.0.306-80.0.el8_8.no 75/174 Verifying : chkconfig-1.19.2-1.el8.aarch64 76/174 Verifying : crypto-policies-20230731-1.git3177e06.el8.noarch 77/174 Verifying : libarchive-3.3.3-5.el8.aarch64 78/174 Verifying : ncurses-6.1-10.20180224.el8.aarch64 79/174 Verifying : ncurses-libs-6.1-10.20180224.el8.aarch64 80/174 Verifying : which-2.21-20.el8.aarch64 81/174 Verifying : zlib-1.2.11-25.el8.aarch64 82/174 Verifying : binutils-2.30-123.el8.aarch64 83/174 Verifying : gnutls-3.6.16-8.el8_9.3.aarch64 84/174 Verifying : libcap-2.48-6.el8_9.aarch64 85/174 Verifying : ncurses-base-6.1-10.20180224.el8.noarch 86/174 Verifying : openssl-libs-1:1.1.1k-12.el8_9.aarch64 87/174 Verifying : sqlite-libs-3.26.0-19.el8_9.aarch64 88/174 Verifying : tzdata-2024a-1.el8.noarch 89/174 Verifying : audit-libs-3.1.2-1.el8.aarch64 90/174 Verifying : bash-4.4.20-5.el8.aarch64 91/174 Verifying : curl-7.61.1-34.el8.aarch64 92/174 Verifying : elfutils-0.190-2.el8.aarch64 93/174 Verifying : elfutils-default-yama-scope-0.190-2.el8.noarch 94/174 Verifying : elfutils-libelf-0.190-2.el8.aarch64 95/174 Verifying : elfutils-libs-0.190-2.el8.aarch64 96/174 Verifying : expat-2.2.5-13.el8_10.aarch64 97/174 Verifying : file-5.33-26.el8.aarch64 98/174 Verifying : file-libs-5.33-26.el8.aarch64 99/174 Verifying : findutils-1:4.6.0-22.el8.aarch64 100/174 Verifying : glib2-2.56.4-162.el8.aarch64 101/174 Verifying : gmp-1:6.1.2-11.el8.aarch64 102/174 Verifying : libacl-2.2.53-3.el8.aarch64 103/174 Verifying : libblkid-2.32.1-46.el8.aarch64 104/174 Verifying : libcurl-7.61.1-34.el8.aarch64 105/174 Verifying : libfdisk-2.32.1-46.el8.aarch64 106/174 Verifying : libmount-2.32.1-46.el8.aarch64 107/174 Verifying : libsmartcols-2.32.1-46.el8.aarch64 108/174 Verifying : libssh-0.9.6-14.el8.aarch64 109/174 Verifying : libssh-config-0.9.6-14.el8.noarch 110/174 Verifying : libuuid-2.32.1-46.el8.aarch64 111/174 Verifying : p11-kit-0.23.22-2.el8.aarch64 112/174 Verifying : p11-kit-trust-0.23.22-2.el8.aarch64 113/174 Verifying : python3-pip-wheel-9.0.3-24.el8.noarch 114/174 Verifying : rpm-4.14.3-31.el8.aarch64 115/174 Verifying : rpm-build-libs-4.14.3-31.el8.aarch64 116/174 Verifying : rpm-libs-4.14.3-31.el8.aarch64 117/174 Verifying : shadow-utils-2:4.6-22.el8.aarch64 118/174 Verifying : tpm2-tss-2.3.2-6.el8.aarch64 119/174 Verifying : util-linux-2.32.1-46.el8.aarch64 120/174 Verifying : libasan-8.5.0-22.el8_10.aarch64 121/174 Verifying : libatomic-8.5.0-22.el8_10.aarch64 122/174 Verifying : libgcc-8.5.0-22.el8_10.aarch64 123/174 Verifying : libgomp-8.5.0-22.el8_10.aarch64 124/174 Verifying : libstdc++-8.5.0-22.el8_10.aarch64 125/174 Verifying : libubsan-8.5.0-22.el8_10.aarch64 126/174 Verifying : glibc-2.28-251.el8_10.2.aarch64 127/174 Verifying : glibc-all-langpacks-2.28-251.el8_10.2.aarch64 128/174 Verifying : glibc-common-2.28-251.el8_10.2.aarch64 129/174 Verifying : glibc-devel-2.28-251.el8_10.2.aarch64 130/174 Verifying : platform-python-3.6.8-62.el8_10.aarch64 131/174 Verifying : python3-libs-3.6.8-62.el8_10.aarch64 132/174 Verifying : glibc-gconv-extra-2.28-251.el8_10.2.aarch64 133/174 Verifying : glibc-headers-2.28-251.el8_10.2.aarch64 134/174 Verifying : libxml2-2.9.7-18.el8_10.1.aarch64 135/174 Verifying : kernel-headers-4.18.0-553.8.1.el8_10.aarch64 136/174 Verifying : krb5-libs-1.18.2-28.el8_10.aarch64 137/174 Verifying : libnghttp2-1.33.0-6.el8_10.1.aarch64 138/174 Verifying : libtirpc-1.1.4-12.el8_10.aarch64 139/174 Verifying : openldap-2.4.46-19.el8_10.aarch64 140/174 Verifying : pam-1.3.1-34.el8_10.aarch64 141/174 Verifying : redhat-release-8.10-0.3.el8.aarch64 142/174 Verifying : systemd-libs-239-82.el8_10.1.aarch64 143/174 Verifying : guile-5:2.0.14-7.el8.aarch64 144/174 Verifying : isl-0.16.1-6.el8.aarch64 145/174 Verifying : libatomic_ops-7.6.2-3.el8.aarch64 146/174 Verifying : gc-7.6.4-3.el8.aarch64 147/174 Verifying : rust-srpm-macros-5-2.el8.noarch 148/174 Verifying : ghc-srpm-macros-1.4.2-7.el8.noarch 149/174 Verifying : ocaml-srpm-macros-5-4.el8.noarch 150/174 Verifying : openblas-srpm-macros-2-2.el8.noarch 151/174 Verifying : perl-srpm-macros-1-25.el8.noarch 152/174 Verifying : zstd-1.4.4-1.el8.aarch64 153/174 Verifying : efi-srpm-macros-3-3.el8.noarch 154/174 Verifying : libmpc-1.1.0-9.1.el8.aarch64 155/174 Verifying : go-srpm-macros-2-17.el8.noarch 156/174 Verifying : dwz-0.12-10.el8.aarch64 157/174 Verifying : qt5-srpm-macros-5.15.3-1.el8.noarch 158/174 Verifying : python-rpm-macros-3-45.el8.noarch 159/174 Verifying : redhat-rpm-config-131-1.el8.noarch 160/174 Verifying : python-srpm-macros-3-45.el8.noarch 161/174 Verifying : python3-rpm-macros-3-45.el8.noarch 162/174 Verifying : annobin-11.13-2.el8.aarch64 163/174 Verifying : gdb-headless-8.2-20.el8.aarch64 164/174 Verifying : rpm-build-4.14.3-31.el8.aarch64 165/174 Verifying : cpp-8.5.0-22.el8_10.aarch64 166/174 Verifying : gcc-8.5.0-22.el8_10.aarch64 167/174 Verifying : gcc-c++-8.5.0-22.el8_10.aarch64 168/174 Verifying : gcc-plugin-annobin-8.5.0-22.el8_10.aarch64 169/174 Verifying : libstdc++-devel-8.5.0-22.el8_10.aarch64 170/174 Verifying : ansible-srpm-macros-1-12.el8.noarch 171/174 Verifying : epel-rpm-macros-8-41.noarch 172/174 Verifying : fpc-srpm-macros-1.3-1.el8.noarch 173/174 Verifying : lua-srpm-macros-1-13.el8.noarch 174/174 Installed products updated. Installed: annobin-11.13-2.el8.aarch64 ansible-srpm-macros-1-12.el8.noarch audit-libs-3.1.2-1.el8.aarch64 basesystem-11-5.el8.noarch bash-4.4.20-5.el8.aarch64 binutils-2.30-123.el8.aarch64 brotli-1.0.6-3.el8.aarch64 bzip2-1.0.6-26.el8.aarch64 bzip2-libs-1.0.6-26.el8.aarch64 ca-certificates-2023.2.60_v7.0.306-80.0.el8_8.noarch chkconfig-1.19.2-1.el8.aarch64 coreutils-8.30-15.el8.aarch64 coreutils-common-8.30-15.el8.aarch64 cpio-2.12-11.el8.aarch64 cpp-8.5.0-22.el8_10.aarch64 cracklib-2.9.6-15.el8.aarch64 cracklib-dicts-2.9.6-15.el8.aarch64 crypto-policies-20230731-1.git3177e06.el8.noarch curl-7.61.1-34.el8.aarch64 cyrus-sasl-lib-2.1.27-6.el8_5.aarch64 diffutils-3.6-6.el8.aarch64 dwz-0.12-10.el8.aarch64 efi-srpm-macros-3-3.el8.noarch elfutils-0.190-2.el8.aarch64 elfutils-default-yama-scope-0.190-2.el8.noarch elfutils-libelf-0.190-2.el8.aarch64 elfutils-libs-0.190-2.el8.aarch64 epel-rpm-macros-8-41.noarch expat-2.2.5-13.el8_10.aarch64 file-5.33-26.el8.aarch64 file-libs-5.33-26.el8.aarch64 filesystem-3.8-6.el8.aarch64 findutils-1:4.6.0-22.el8.aarch64 fpc-srpm-macros-1.3-1.el8.noarch gawk-4.2.1-4.el8.aarch64 gc-7.6.4-3.el8.aarch64 gcc-8.5.0-22.el8_10.aarch64 gcc-c++-8.5.0-22.el8_10.aarch64 gcc-plugin-annobin-8.5.0-22.el8_10.aarch64 gdb-headless-8.2-20.el8.aarch64 gdbm-1:1.18-2.el8.aarch64 gdbm-libs-1:1.18-2.el8.aarch64 ghc-srpm-macros-1.4.2-7.el8.noarch glib2-2.56.4-162.el8.aarch64 glibc-2.28-251.el8_10.2.aarch64 glibc-all-langpacks-2.28-251.el8_10.2.aarch64 glibc-common-2.28-251.el8_10.2.aarch64 glibc-devel-2.28-251.el8_10.2.aarch64 glibc-gconv-extra-2.28-251.el8_10.2.aarch64 glibc-headers-2.28-251.el8_10.2.aarch64 gmp-1:6.1.2-11.el8.aarch64 gnupg2-2.2.20-3.el8_6.aarch64 gnutls-3.6.16-8.el8_9.3.aarch64 go-srpm-macros-2-17.el8.noarch grep-3.1-6.el8.aarch64 guile-5:2.0.14-7.el8.aarch64 gzip-1.9-13.el8_5.aarch64 ima-evm-utils-1.3.2-12.el8.aarch64 info-6.5-7.el8.aarch64 isl-0.16.1-6.el8.aarch64 kernel-headers-4.18.0-553.8.1.el8_10.aarch64 keyutils-libs-1.5.10-9.el8.aarch64 krb5-libs-1.18.2-28.el8_10.aarch64 libacl-2.2.53-3.el8.aarch64 libarchive-3.3.3-5.el8.aarch64 libasan-8.5.0-22.el8_10.aarch64 libassuan-2.5.1-3.el8.aarch64 libatomic-8.5.0-22.el8_10.aarch64 libatomic_ops-7.6.2-3.el8.aarch64 libattr-2.4.48-3.el8.aarch64 libbabeltrace-1.5.4-4.el8.aarch64 libblkid-2.32.1-46.el8.aarch64 libcap-2.48-6.el8_9.aarch64 libcap-ng-0.7.11-1.el8.aarch64 libcom_err-1.45.6-5.el8.aarch64 libcurl-7.61.1-34.el8.aarch64 libdb-5.3.28-42.el8_4.aarch64 libdb-utils-5.3.28-42.el8_4.aarch64 libfdisk-2.32.1-46.el8.aarch64 libffi-3.1-24.el8.aarch64 libgcc-8.5.0-22.el8_10.aarch64 libgcrypt-1.8.5-7.el8_6.aarch64 libgomp-8.5.0-22.el8_10.aarch64 libgpg-error-1.31-1.el8.aarch64 libidn2-2.2.0-1.el8.aarch64 libksba-1.3.5-9.el8_7.aarch64 libmount-2.32.1-46.el8.aarch64 libmpc-1.1.0-9.1.el8.aarch64 libnghttp2-1.33.0-6.el8_10.1.aarch64 libnsl2-1.2.0-2.20180605git4a062cf.el8.aarch64 libpkgconf-1.4.2-1.el8.aarch64 libpsl-0.20.2-6.el8.aarch64 libpwquality-1.4.4-6.el8.aarch64 libselinux-2.9-8.el8.aarch64 libsemanage-2.9-9.el8_6.aarch64 libsepol-2.9-3.el8.aarch64 libsigsegv-2.11-5.el8.aarch64 libsmartcols-2.32.1-46.el8.aarch64 libssh-0.9.6-14.el8.aarch64 libssh-config-0.9.6-14.el8.noarch libstdc++-8.5.0-22.el8_10.aarch64 libstdc++-devel-8.5.0-22.el8_10.aarch64 libtasn1-4.13-4.el8_7.aarch64 libtirpc-1.1.4-12.el8_10.aarch64 libtool-ltdl-2.4.6-25.el8.aarch64 libubsan-8.5.0-22.el8_10.aarch64 libunistring-0.9.9-3.el8.aarch64 libusbx-1.0.23-4.el8.aarch64 libutempter-1.1.6-14.el8.aarch64 libuuid-2.32.1-46.el8.aarch64 libverto-0.3.2-2.el8.aarch64 libxcrypt-4.1.1-6.el8.aarch64 libxcrypt-devel-4.1.1-6.el8.aarch64 libxml2-2.9.7-18.el8_10.1.aarch64 libzstd-1.4.4-1.el8.aarch64 lua-libs-5.3.4-12.el8.aarch64 lua-srpm-macros-1-13.el8.noarch lz4-libs-1.8.3-3.el8_4.aarch64 make-1:4.2.1-11.el8.aarch64 mpfr-3.1.6-1.el8.aarch64 ncurses-6.1-10.20180224.el8.aarch64 ncurses-base-6.1-10.20180224.el8.noarch ncurses-libs-6.1-10.20180224.el8.aarch64 nettle-3.4.1-7.el8.aarch64 npth-1.5-4.el8.aarch64 ocaml-srpm-macros-5-4.el8.noarch openblas-srpm-macros-2-2.el8.noarch openldap-2.4.46-19.el8_10.aarch64 openssl-libs-1:1.1.1k-12.el8_9.aarch64 p11-kit-0.23.22-2.el8.aarch64 p11-kit-trust-0.23.22-2.el8.aarch64 pam-1.3.1-34.el8_10.aarch64 patch-2.7.6-11.el8.aarch64 pcre-8.42-6.el8.aarch64 pcre2-10.32-3.el8_6.aarch64 perl-srpm-macros-1-25.el8.noarch pkgconf-1.4.2-1.el8.aarch64 pkgconf-m4-1.4.2-1.el8.noarch pkgconf-pkg-config-1.4.2-1.el8.aarch64 platform-python-3.6.8-62.el8_10.aarch64 platform-python-setuptools-39.2.0-7.el8.noarch popt-1.18-1.el8.aarch64 publicsuffix-list-dafsa-20180723-1.el8.noarch python-rpm-macros-3-45.el8.noarch python-srpm-macros-3-45.el8.noarch python3-libs-3.6.8-62.el8_10.aarch64 python3-pip-wheel-9.0.3-24.el8.noarch python3-rpm-macros-3-45.el8.noarch python3-setuptools-wheel-39.2.0-7.el8.noarch qt5-srpm-macros-5.15.3-1.el8.noarch readline-7.0-10.el8.aarch64 redhat-release-8.10-0.3.el8.aarch64 redhat-rpm-config-131-1.el8.noarch rpm-4.14.3-31.el8.aarch64 rpm-build-4.14.3-31.el8.aarch64 rpm-build-libs-4.14.3-31.el8.aarch64 rpm-libs-4.14.3-31.el8.aarch64 rust-srpm-macros-5-2.el8.noarch sed-4.5-5.el8.aarch64 setup-2.12.2-9.el8.noarch shadow-utils-2:4.6-22.el8.aarch64 sqlite-libs-3.26.0-19.el8_9.aarch64 systemd-libs-239-82.el8_10.1.aarch64 tar-2:1.30-9.el8.aarch64 tpm2-tss-2.3.2-6.el8.aarch64 tzdata-2024a-1.el8.noarch unzip-6.0-46.el8.aarch64 util-linux-2.32.1-46.el8.aarch64 which-2.21-20.el8.aarch64 xz-5.2.4-4.el8_6.aarch64 xz-libs-5.2.4-4.el8_6.aarch64 zip-3.0-23.el8.aarch64 zlib-1.2.11-25.el8.aarch64 zstd-1.4.4-1.el8.aarch64 Complete! Finish: installing minimal buildroot with dnf Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: annobin-11.13-2.el8.aarch64 ansible-srpm-macros-1-12.el8.noarch audit-libs-3.1.2-1.el8.aarch64 basesystem-11-5.el8.noarch bash-4.4.20-5.el8.aarch64 binutils-2.30-123.el8.aarch64 brotli-1.0.6-3.el8.aarch64 bzip2-1.0.6-26.el8.aarch64 bzip2-libs-1.0.6-26.el8.aarch64 ca-certificates-2023.2.60_v7.0.306-80.0.el8_8.noarch chkconfig-1.19.2-1.el8.aarch64 coreutils-8.30-15.el8.aarch64 coreutils-common-8.30-15.el8.aarch64 cpio-2.12-11.el8.aarch64 cpp-8.5.0-22.el8_10.aarch64 cracklib-2.9.6-15.el8.aarch64 cracklib-dicts-2.9.6-15.el8.aarch64 crypto-policies-20230731-1.git3177e06.el8.noarch curl-7.61.1-34.el8.aarch64 cyrus-sasl-lib-2.1.27-6.el8_5.aarch64 diffutils-3.6-6.el8.aarch64 dwz-0.12-10.el8.aarch64 efi-srpm-macros-3-3.el8.noarch elfutils-0.190-2.el8.aarch64 elfutils-default-yama-scope-0.190-2.el8.noarch elfutils-libelf-0.190-2.el8.aarch64 elfutils-libs-0.190-2.el8.aarch64 epel-rpm-macros-8-41.noarch expat-2.2.5-13.el8_10.aarch64 file-5.33-26.el8.aarch64 file-libs-5.33-26.el8.aarch64 filesystem-3.8-6.el8.aarch64 findutils-4.6.0-22.el8.aarch64 fpc-srpm-macros-1.3-1.el8.noarch gawk-4.2.1-4.el8.aarch64 gc-7.6.4-3.el8.aarch64 gcc-8.5.0-22.el8_10.aarch64 gcc-c++-8.5.0-22.el8_10.aarch64 gcc-plugin-annobin-8.5.0-22.el8_10.aarch64 gdb-headless-8.2-20.el8.aarch64 gdbm-1.18-2.el8.aarch64 gdbm-libs-1.18-2.el8.aarch64 ghc-srpm-macros-1.4.2-7.el8.noarch glib2-2.56.4-162.el8.aarch64 glibc-2.28-251.el8_10.2.aarch64 glibc-all-langpacks-2.28-251.el8_10.2.aarch64 glibc-common-2.28-251.el8_10.2.aarch64 glibc-devel-2.28-251.el8_10.2.aarch64 glibc-gconv-extra-2.28-251.el8_10.2.aarch64 glibc-headers-2.28-251.el8_10.2.aarch64 gmp-6.1.2-11.el8.aarch64 gnupg2-2.2.20-3.el8_6.aarch64 gnutls-3.6.16-8.el8_9.3.aarch64 go-srpm-macros-2-17.el8.noarch gpg-pubkey-2f86d6a1-5cf7cefb gpg-pubkey-2fa658e0-45700c69 gpg-pubkey-fd431d51-4ae0493b grep-3.1-6.el8.aarch64 guile-2.0.14-7.el8.aarch64 gzip-1.9-13.el8_5.aarch64 ima-evm-utils-1.3.2-12.el8.aarch64 info-6.5-7.el8.aarch64 isl-0.16.1-6.el8.aarch64 kernel-headers-4.18.0-553.8.1.el8_10.aarch64 keyutils-libs-1.5.10-9.el8.aarch64 krb5-libs-1.18.2-28.el8_10.aarch64 libacl-2.2.53-3.el8.aarch64 libarchive-3.3.3-5.el8.aarch64 libasan-8.5.0-22.el8_10.aarch64 libassuan-2.5.1-3.el8.aarch64 libatomic-8.5.0-22.el8_10.aarch64 libatomic_ops-7.6.2-3.el8.aarch64 libattr-2.4.48-3.el8.aarch64 libbabeltrace-1.5.4-4.el8.aarch64 libblkid-2.32.1-46.el8.aarch64 libcap-2.48-6.el8_9.aarch64 libcap-ng-0.7.11-1.el8.aarch64 libcom_err-1.45.6-5.el8.aarch64 libcurl-7.61.1-34.el8.aarch64 libdb-5.3.28-42.el8_4.aarch64 libdb-utils-5.3.28-42.el8_4.aarch64 libfdisk-2.32.1-46.el8.aarch64 libffi-3.1-24.el8.aarch64 libgcc-8.5.0-22.el8_10.aarch64 libgcrypt-1.8.5-7.el8_6.aarch64 libgomp-8.5.0-22.el8_10.aarch64 libgpg-error-1.31-1.el8.aarch64 libidn2-2.2.0-1.el8.aarch64 libksba-1.3.5-9.el8_7.aarch64 libmount-2.32.1-46.el8.aarch64 libmpc-1.1.0-9.1.el8.aarch64 libnghttp2-1.33.0-6.el8_10.1.aarch64 libnsl2-1.2.0-2.20180605git4a062cf.el8.aarch64 libpkgconf-1.4.2-1.el8.aarch64 libpsl-0.20.2-6.el8.aarch64 libpwquality-1.4.4-6.el8.aarch64 libselinux-2.9-8.el8.aarch64 libsemanage-2.9-9.el8_6.aarch64 libsepol-2.9-3.el8.aarch64 libsigsegv-2.11-5.el8.aarch64 libsmartcols-2.32.1-46.el8.aarch64 libssh-0.9.6-14.el8.aarch64 libssh-config-0.9.6-14.el8.noarch libstdc++-8.5.0-22.el8_10.aarch64 libstdc++-devel-8.5.0-22.el8_10.aarch64 libtasn1-4.13-4.el8_7.aarch64 libtirpc-1.1.4-12.el8_10.aarch64 libtool-ltdl-2.4.6-25.el8.aarch64 libubsan-8.5.0-22.el8_10.aarch64 libunistring-0.9.9-3.el8.aarch64 libusbx-1.0.23-4.el8.aarch64 libutempter-1.1.6-14.el8.aarch64 libuuid-2.32.1-46.el8.aarch64 libverto-0.3.2-2.el8.aarch64 libxcrypt-4.1.1-6.el8.aarch64 libxcrypt-devel-4.1.1-6.el8.aarch64 libxml2-2.9.7-18.el8_10.1.aarch64 libzstd-1.4.4-1.el8.aarch64 lua-libs-5.3.4-12.el8.aarch64 lua-srpm-macros-1-13.el8.noarch lz4-libs-1.8.3-3.el8_4.aarch64 make-4.2.1-11.el8.aarch64 mpfr-3.1.6-1.el8.aarch64 ncurses-6.1-10.20180224.el8.aarch64 ncurses-base-6.1-10.20180224.el8.noarch ncurses-libs-6.1-10.20180224.el8.aarch64 nettle-3.4.1-7.el8.aarch64 npth-1.5-4.el8.aarch64 ocaml-srpm-macros-5-4.el8.noarch openblas-srpm-macros-2-2.el8.noarch openldap-2.4.46-19.el8_10.aarch64 openssl-libs-1.1.1k-12.el8_9.aarch64 p11-kit-0.23.22-2.el8.aarch64 p11-kit-trust-0.23.22-2.el8.aarch64 pam-1.3.1-34.el8_10.aarch64 patch-2.7.6-11.el8.aarch64 pcre-8.42-6.el8.aarch64 pcre2-10.32-3.el8_6.aarch64 perl-srpm-macros-1-25.el8.noarch pkgconf-1.4.2-1.el8.aarch64 pkgconf-m4-1.4.2-1.el8.noarch pkgconf-pkg-config-1.4.2-1.el8.aarch64 platform-python-3.6.8-62.el8_10.aarch64 platform-python-setuptools-39.2.0-7.el8.noarch popt-1.18-1.el8.aarch64 publicsuffix-list-dafsa-20180723-1.el8.noarch python-rpm-macros-3-45.el8.noarch python-srpm-macros-3-45.el8.noarch python3-libs-3.6.8-62.el8_10.aarch64 python3-pip-wheel-9.0.3-24.el8.noarch python3-rpm-macros-3-45.el8.noarch python3-setuptools-wheel-39.2.0-7.el8.noarch qt5-srpm-macros-5.15.3-1.el8.noarch readline-7.0-10.el8.aarch64 redhat-release-8.10-0.3.el8.aarch64 redhat-rpm-config-131-1.el8.noarch rpm-4.14.3-31.el8.aarch64 rpm-build-4.14.3-31.el8.aarch64 rpm-build-libs-4.14.3-31.el8.aarch64 rpm-libs-4.14.3-31.el8.aarch64 rust-srpm-macros-5-2.el8.noarch sed-4.5-5.el8.aarch64 setup-2.12.2-9.el8.noarch shadow-utils-4.6-22.el8.aarch64 sqlite-libs-3.26.0-19.el8_9.aarch64 systemd-libs-239-82.el8_10.1.aarch64 tar-1.30-9.el8.aarch64 tpm2-tss-2.3.2-6.el8.aarch64 tzdata-2024a-1.el8.noarch unzip-6.0-46.el8.aarch64 util-linux-2.32.1-46.el8.aarch64 which-2.21-20.el8.aarch64 xz-5.2.4-4.el8_6.aarch64 xz-libs-5.2.4-4.el8_6.aarch64 zip-3.0-23.el8.aarch64 zlib-1.2.11-25.el8.aarch64 zstd-1.4.4-1.el8.aarch64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/glimpse-4.12.6^git20161025.4945711-4.el8.src.rpm Finish: rpmbuild -bs cp: preserving permissions for ‘/var/lib/copr-rpmbuild/results/chroot_scan/var/lib/mock/rhel+epel-8-aarch64-1721270564.735570/root/var/log’: No such file or directory INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/rhel+epel-8-aarch64-1721270564.735570/root/var/log/dnf.rpm.log /var/lib/mock/rhel+epel-8-aarch64-1721270564.735570/root/var/log/dnf.librepo.log /var/lib/mock/rhel+epel-8-aarch64-1721270564.735570/root/var/log/dnf.log Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-21wqljzf/glimpse/glimpse.spec) Config(child) 1 minutes 25 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/glimpse-4.12.6^git20161025.4945711-4.el8.src.rpm) Config(rhel+epel-8-aarch64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/rhel+epel-8-aarch64-bootstrap-1721270564.735570/root. INFO: reusing tmpfs at /var/lib/mock/rhel+epel-8-aarch64-bootstrap-1721270564.735570/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/rhel+epel-8-aarch64-1721270564.735570/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.14.3-31.el8.aarch64 python3-dnf-4.7.0-20.el8.noarch python3-dnf-plugins-core-4.0.21-25.el8.noarch yum-4.7.0-20.el8.noarch Finish: chroot init Start: build phase for glimpse-4.12.6^git20161025.4945711-4.el8.src.rpm Start: build setup for glimpse-4.12.6^git20161025.4945711-4.el8.src.rpm Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/glimpse-4.12.6^git20161025.4945711-4.el8.src.rpm No matches found for the following disable plugin patterns: local, spacewalk, versionlock Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. Copr repository 77 kB/s | 1.5 kB 00:00 Red Hat Enterprise Linux - BaseOS 32 kB/s | 4.1 kB 00:00 Red Hat Enterprise Linux - AppStream 40 kB/s | 4.5 kB 00:00 Red Hat Enterprise Linux - CodeReady Linux Buil 24 kB/s | 4.5 kB 00:00 Extra Packages for Enterprise Linux 8 - aarch64 94 kB/s | 26 kB 00:00 Package gcc-8.5.0-22.el8_10.aarch64 is already installed. Package make-1:4.2.1-11.el8.aarch64 is already installed. Dependencies resolved. =================================================================================================== Package Arch Version Repository Size =================================================================================================== Installing: autoconf noarch 2.69-29.el8 rhel-appstream 711 k autoconf-archive noarch 2018.03.13-1.el8 codeready-builder 622 k automake noarch 1.16.1-8.el8 rhel-appstream 714 k flex aarch64 2.6.1-9.el8 rhel-appstream 311 k flex-devel aarch64 2.6.1-9.el8 codeready-builder 22 k Installing dependencies: emacs-filesystem noarch 1:26.1-11.el8 rhel-baseos 70 k groff-base aarch64 1.22.3-18.el8 rhel-baseos 994 k m4 aarch64 1.4.18-7.el8 rhel-baseos 218 k openssl aarch64 1:1.1.1k-12.el8_9 rhel-baseos 692 k perl-Carp noarch 1.42-396.el8 rhel-baseos 30 k perl-Data-Dumper aarch64 2.167-399.el8 rhel-baseos 57 k perl-Digest noarch 1.17-395.el8 rhel-baseos 27 k perl-Digest-MD5 aarch64 2.55-396.el8 rhel-baseos 37 k perl-Encode aarch64 4:2.97-3.el8 rhel-baseos 1.5 M perl-Errno aarch64 1.28-422.el8 rhel-baseos 76 k perl-Exporter noarch 5.72-396.el8 rhel-baseos 34 k perl-File-Path noarch 2.15-2.el8 rhel-baseos 38 k perl-File-Temp noarch 0.230.600-1.el8 rhel-baseos 63 k perl-Getopt-Long noarch 1:2.50-4.el8 rhel-baseos 63 k perl-HTTP-Tiny noarch 0.074-3.el8 rhel-baseos 59 k perl-IO aarch64 1.38-422.el8 rhel-baseos 142 k perl-IO-Socket-IP noarch 0.39-5.el8 rhel-baseos 47 k perl-IO-Socket-SSL noarch 2.066-4.module+el8.3.0+6446+594cad75 rhel-appstream 298 k perl-MIME-Base64 aarch64 3.15-396.el8 rhel-baseos 31 k perl-Mozilla-CA noarch 20160104-7.module+el8.3.0+6498+9eecfe51 rhel-appstream 15 k perl-Net-SSLeay aarch64 1.88-2.module+el8.6.0+13392+f0897f98 rhel-appstream 373 k perl-PathTools aarch64 3.74-1.el8 rhel-baseos 90 k perl-Pod-Escapes noarch 1:1.07-395.el8 rhel-baseos 20 k perl-Pod-Perldoc noarch 3.28-396.el8 rhel-baseos 88 k perl-Pod-Simple noarch 1:3.35-395.el8 rhel-baseos 213 k perl-Pod-Usage noarch 4:1.69-395.el8 rhel-baseos 34 k perl-Scalar-List-Utils aarch64 3:1.49-2.el8 rhel-baseos 67 k perl-Socket aarch64 4:2.027-3.el8 rhel-baseos 59 k perl-Storable aarch64 1:3.11-3.el8 rhel-baseos 95 k perl-Term-ANSIColor noarch 4.06-396.el8 rhel-baseos 46 k perl-Term-Cap noarch 1.17-395.el8 rhel-baseos 23 k perl-Text-ParseWords noarch 3.30-395.el8 rhel-baseos 18 k perl-Text-Tabs+Wrap noarch 2013.0523-395.el8 rhel-baseos 24 k perl-Thread-Queue noarch 3.13-1.el8 rhel-appstream 24 k perl-Time-Local noarch 1:1.280-1.el8 rhel-baseos 34 k perl-URI noarch 1.73-3.el8 rhel-baseos 116 k perl-Unicode-Normalize aarch64 1.25-396.el8 rhel-baseos 78 k perl-constant noarch 1.33-396.el8 rhel-baseos 25 k perl-interpreter aarch64 4:5.26.3-422.el8 rhel-baseos 6.3 M perl-libnet noarch 3.11-3.el8 rhel-baseos 121 k perl-libs aarch64 4:5.26.3-422.el8 rhel-baseos 1.5 M perl-macros aarch64 4:5.26.3-422.el8 rhel-baseos 73 k perl-parent noarch 1:0.237-1.el8 rhel-baseos 20 k perl-podlators noarch 4.11-1.el8 rhel-baseos 118 k perl-threads aarch64 1:2.21-2.el8 rhel-baseos 60 k perl-threads-shared aarch64 1.58-2.el8 rhel-baseos 47 k Enabling module streams: perl 5.26 perl-IO-Socket-SSL 2.066 perl-libwww-perl 6.34 Transaction Summary =================================================================================================== Install 51 Packages Total download size: 16 M Installed size: 50 M Downloading Packages: (1/51): m4-1.4.18-7.el8.aarch64.rpm 1.2 MB/s | 218 kB 00:00 (2/51): groff-base-1.22.3-18.el8.aarch64.rpm 5.4 MB/s | 994 kB 00:00 (3/51): perl-Data-Dumper-2.167-399.el8.aarch64. 264 kB/s | 57 kB 00:00 (4/51): perl-MIME-Base64-3.15-396.el8.aarch64.r 350 kB/s | 31 kB 00:00 (5/51): perl-PathTools-3.74-1.el8.aarch64.rpm 996 kB/s | 90 kB 00:00 (6/51): perl-Encode-2.97-3.el8.aarch64.rpm 8.9 MB/s | 1.5 MB 00:00 (7/51): perl-Scalar-List-Utils-1.49-2.el8.aarch 854 kB/s | 67 kB 00:00 (8/51): perl-threads-2.21-2.el8.aarch64.rpm 698 kB/s | 60 kB 00:00 (9/51): perl-Unicode-Normalize-1.25-396.el8.aar 679 kB/s | 78 kB 00:00 (10/51): perl-Storable-3.11-3.el8.aarch64.rpm 444 kB/s | 95 kB 00:00 (11/51): perl-threads-shared-1.58-2.el8.aarch64 462 kB/s | 47 kB 00:00 (12/51): perl-Carp-1.42-396.el8.noarch.rpm 290 kB/s | 30 kB 00:00 (13/51): perl-File-Path-2.15-2.el8.noarch.rpm 369 kB/s | 38 kB 00:00 (14/51): perl-Exporter-5.72-396.el8.noarch.rpm 275 kB/s | 34 kB 00:00 (15/51): perl-File-Temp-0.230.600-1.el8.noarch. 405 kB/s | 63 kB 00:00 (16/51): perl-Pod-Escapes-1.07-395.el8.noarch.r 254 kB/s | 20 kB 00:00 (17/51): perl-Pod-Perldoc-3.28-396.el8.noarch.r 1.2 MB/s | 88 kB 00:00 (18/51): perl-Getopt-Long-2.50-4.el8.noarch.rpm 273 kB/s | 63 kB 00:00 (19/51): perl-Pod-Usage-1.69-395.el8.noarch.rpm 420 kB/s | 34 kB 00:00 (20/51): perl-Socket-2.027-3.el8.aarch64.rpm 748 kB/s | 59 kB 00:00 (21/51): perl-Term-ANSIColor-4.06-396.el8.noarc 577 kB/s | 46 kB 00:00 (22/51): perl-Text-ParseWords-3.30-395.el8.noar 199 kB/s | 18 kB 00:00 (23/51): perl-Pod-Simple-3.35-395.el8.noarch.rp 665 kB/s | 213 kB 00:00 (24/51): perl-Term-Cap-1.17-395.el8.noarch.rpm 136 kB/s | 23 kB 00:00 (25/51): perl-Text-Tabs+Wrap-2013.0523-395.el8. 197 kB/s | 24 kB 00:00 (26/51): perl-Time-Local-1.280-1.el8.noarch.rpm 222 kB/s | 34 kB 00:00 (27/51): perl-constant-1.33-396.el8.noarch.rpm 291 kB/s | 25 kB 00:00 (28/51): perl-parent-0.237-1.el8.noarch.rpm 226 kB/s | 20 kB 00:00 (29/51): perl-podlators-4.11-1.el8.noarch.rpm 1.2 MB/s | 118 kB 00:00 (30/51): perl-Errno-1.28-422.el8.aarch64.rpm 846 kB/s | 76 kB 00:00 (31/51): perl-interpreter-5.26.3-422.el8.aarch6 56 MB/s | 6.3 MB 00:00 (32/51): perl-libs-5.26.3-422.el8.aarch64.rpm 11 MB/s | 1.5 MB 00:00 (33/51): perl-IO-1.38-422.el8.aarch64.rpm 814 kB/s | 142 kB 00:00 (34/51): perl-macros-5.26.3-422.el8.aarch64.rpm 892 kB/s | 73 kB 00:00 (35/51): emacs-filesystem-26.1-11.el8.noarch.rp 622 kB/s | 70 kB 00:00 (36/51): perl-URI-1.73-3.el8.noarch.rpm 972 kB/s | 116 kB 00:00 (37/51): perl-libnet-3.11-3.el8.noarch.rpm 1.2 MB/s | 121 kB 00:00 (38/51): perl-Digest-1.17-395.el8.noarch.rpm 103 kB/s | 27 kB 00:00 (39/51): openssl-1.1.1k-12.el8_9.aarch64.rpm 7.9 MB/s | 692 kB 00:00 (40/51): perl-Digest-MD5-2.55-396.el8.aarch64.r 441 kB/s | 37 kB 00:00 (41/51): perl-IO-Socket-IP-0.39-5.el8.noarch.rp 520 kB/s | 47 kB 00:00 (42/51): perl-HTTP-Tiny-0.074-3.el8.noarch.rpm 407 kB/s | 59 kB 00:00 (43/51): flex-2.6.1-9.el8.aarch64.rpm 2.1 MB/s | 311 kB 00:00 (44/51): perl-Thread-Queue-3.13-1.el8.noarch.rp 219 kB/s | 24 kB 00:00 (45/51): perl-IO-Socket-SSL-2.066-4.module+el8. 2.6 MB/s | 298 kB 00:00 (46/51): perl-Mozilla-CA-20160104-7.module+el8. 107 kB/s | 15 kB 00:00 (47/51): autoconf-2.69-29.el8.noarch.rpm 3.8 MB/s | 711 kB 00:00 (48/51): perl-Net-SSLeay-1.88-2.module+el8.6.0+ 2.2 MB/s | 373 kB 00:00 (49/51): automake-1.16.1-8.el8.noarch.rpm 5.2 MB/s | 714 kB 00:00 (50/51): autoconf-archive-2018.03.13-1.el8.noar 6.9 MB/s | 622 kB 00:00 (51/51): flex-devel-2.6.1-9.el8.aarch64.rpm 42 kB/s | 22 kB 00:00 -------------------------------------------------------------------------------- Total 6.2 MB/s | 16 MB 00:02 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : m4-1.4.18-7.el8.aarch64 1/51 Running scriptlet: m4-1.4.18-7.el8.aarch64 1/51 Installing : openssl-1:1.1.1k-12.el8_9.aarch64 2/51 Installing : emacs-filesystem-1:26.1-11.el8.noarch 3/51 Installing : groff-base-1.22.3-18.el8.aarch64 4/51 Installing : perl-Digest-1.17-395.el8.noarch 5/51 Installing : perl-Digest-MD5-2.55-396.el8.aarch64 6/51 Installing : perl-Data-Dumper-2.167-399.el8.aarch64 7/51 Installing : perl-libnet-3.11-3.el8.noarch 8/51 Installing : perl-URI-1.73-3.el8.noarch 9/51 Installing : perl-Pod-Escapes-1:1.07-395.el8.noarch 10/51 Installing : perl-Time-Local-1:1.280-1.el8.noarch 11/51 Installing : perl-IO-Socket-IP-0.39-5.el8.noarch 12/51 Installing : perl-Mozilla-CA-20160104-7.module+el8.3.0+6498+9ee 13/51 Installing : perl-Net-SSLeay-1.88-2.module+el8.6.0+13392+f0897f 14/51 Installing : perl-IO-Socket-SSL-2.066-4.module+el8.3.0+6446+594 15/51 Installing : perl-Term-ANSIColor-4.06-396.el8.noarch 16/51 Installing : perl-Term-Cap-1.17-395.el8.noarch 17/51 Installing : perl-File-Temp-0.230.600-1.el8.noarch 18/51 Installing : perl-HTTP-Tiny-0.074-3.el8.noarch 19/51 Installing : perl-Pod-Simple-1:3.35-395.el8.noarch 20/51 Installing : perl-podlators-4.11-1.el8.noarch 21/51 Installing : perl-Pod-Perldoc-3.28-396.el8.noarch 22/51 Installing : perl-Text-ParseWords-3.30-395.el8.noarch 23/51 Installing : perl-Pod-Usage-4:1.69-395.el8.noarch 24/51 Installing : perl-MIME-Base64-3.15-396.el8.aarch64 25/51 Installing : perl-Storable-1:3.11-3.el8.aarch64 26/51 Installing : perl-Getopt-Long-1:2.50-4.el8.noarch 27/51 Installing : perl-Socket-4:2.027-3.el8.aarch64 28/51 Installing : perl-Errno-1.28-422.el8.aarch64 29/51 Installing : perl-Encode-4:2.97-3.el8.aarch64 30/51 Installing : perl-Scalar-List-Utils-3:1.49-2.el8.aarch64 31/51 Installing : perl-Carp-1.42-396.el8.noarch 32/51 Installing : perl-Exporter-5.72-396.el8.noarch 33/51 Installing : perl-libs-4:5.26.3-422.el8.aarch64 34/51 Installing : perl-parent-1:0.237-1.el8.noarch 35/51 Installing : perl-macros-4:5.26.3-422.el8.aarch64 36/51 Installing : perl-Unicode-Normalize-1.25-396.el8.aarch64 37/51 Installing : perl-threads-shared-1.58-2.el8.aarch64 38/51 Installing : perl-threads-1:2.21-2.el8.aarch64 39/51 Installing : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch 40/51 Installing : perl-constant-1.33-396.el8.noarch 41/51 Installing : perl-PathTools-3.74-1.el8.aarch64 42/51 Installing : perl-File-Path-2.15-2.el8.noarch 43/51 Installing : perl-IO-1.38-422.el8.aarch64 44/51 Installing : perl-interpreter-4:5.26.3-422.el8.aarch64 45/51 Installing : autoconf-2.69-29.el8.noarch 46/51 Running scriptlet: autoconf-2.69-29.el8.noarch 46/51 Installing : perl-Thread-Queue-3.13-1.el8.noarch 47/51 Installing : automake-1.16.1-8.el8.noarch 48/51 Installing : autoconf-archive-2018.03.13-1.el8.noarch 49/51 Running scriptlet: autoconf-archive-2018.03.13-1.el8.noarch 49/51 Installing : flex-2.6.1-9.el8.aarch64 50/51 Running scriptlet: flex-2.6.1-9.el8.aarch64 50/51 Installing : flex-devel-2.6.1-9.el8.aarch64 51/51 Running scriptlet: flex-devel-2.6.1-9.el8.aarch64 51/51 Verifying : groff-base-1.22.3-18.el8.aarch64 1/51 Verifying : m4-1.4.18-7.el8.aarch64 2/51 Verifying : perl-Data-Dumper-2.167-399.el8.aarch64 3/51 Verifying : perl-Encode-4:2.97-3.el8.aarch64 4/51 Verifying : perl-MIME-Base64-3.15-396.el8.aarch64 5/51 Verifying : perl-PathTools-3.74-1.el8.aarch64 6/51 Verifying : perl-Scalar-List-Utils-3:1.49-2.el8.aarch64 7/51 Verifying : perl-Storable-1:3.11-3.el8.aarch64 8/51 Verifying : perl-Unicode-Normalize-1.25-396.el8.aarch64 9/51 Verifying : perl-threads-1:2.21-2.el8.aarch64 10/51 Verifying : perl-threads-shared-1.58-2.el8.aarch64 11/51 Verifying : perl-Carp-1.42-396.el8.noarch 12/51 Verifying : perl-Exporter-5.72-396.el8.noarch 13/51 Verifying : perl-File-Path-2.15-2.el8.noarch 14/51 Verifying : perl-File-Temp-0.230.600-1.el8.noarch 15/51 Verifying : perl-Getopt-Long-1:2.50-4.el8.noarch 16/51 Verifying : perl-Pod-Escapes-1:1.07-395.el8.noarch 17/51 Verifying : perl-Pod-Perldoc-3.28-396.el8.noarch 18/51 Verifying : perl-Pod-Simple-1:3.35-395.el8.noarch 19/51 Verifying : perl-Pod-Usage-4:1.69-395.el8.noarch 20/51 Verifying : perl-Socket-4:2.027-3.el8.aarch64 21/51 Verifying : perl-Term-ANSIColor-4.06-396.el8.noarch 22/51 Verifying : perl-Term-Cap-1.17-395.el8.noarch 23/51 Verifying : perl-Text-ParseWords-3.30-395.el8.noarch 24/51 Verifying : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch 25/51 Verifying : perl-Time-Local-1:1.280-1.el8.noarch 26/51 Verifying : perl-constant-1.33-396.el8.noarch 27/51 Verifying : perl-parent-1:0.237-1.el8.noarch 28/51 Verifying : perl-podlators-4.11-1.el8.noarch 29/51 Verifying : perl-Errno-1.28-422.el8.aarch64 30/51 Verifying : perl-IO-1.38-422.el8.aarch64 31/51 Verifying : perl-interpreter-4:5.26.3-422.el8.aarch64 32/51 Verifying : perl-libs-4:5.26.3-422.el8.aarch64 33/51 Verifying : perl-macros-4:5.26.3-422.el8.aarch64 34/51 Verifying : emacs-filesystem-1:26.1-11.el8.noarch 35/51 Verifying : perl-Digest-1.17-395.el8.noarch 36/51 Verifying : perl-URI-1.73-3.el8.noarch 37/51 Verifying : perl-libnet-3.11-3.el8.noarch 38/51 Verifying : openssl-1:1.1.1k-12.el8_9.aarch64 39/51 Verifying : perl-Digest-MD5-2.55-396.el8.aarch64 40/51 Verifying : perl-IO-Socket-IP-0.39-5.el8.noarch 41/51 Verifying : perl-HTTP-Tiny-0.074-3.el8.noarch 42/51 Verifying : flex-2.6.1-9.el8.aarch64 43/51 Verifying : perl-Thread-Queue-3.13-1.el8.noarch 44/51 Verifying : perl-IO-Socket-SSL-2.066-4.module+el8.3.0+6446+594 45/51 Verifying : perl-Mozilla-CA-20160104-7.module+el8.3.0+6498+9ee 46/51 Verifying : autoconf-2.69-29.el8.noarch 47/51 Verifying : perl-Net-SSLeay-1.88-2.module+el8.6.0+13392+f0897f 48/51 Verifying : automake-1.16.1-8.el8.noarch 49/51 Verifying : autoconf-archive-2018.03.13-1.el8.noarch 50/51 Verifying : flex-devel-2.6.1-9.el8.aarch64 51/51 Installed products updated. Installed: autoconf-2.69-29.el8.noarch autoconf-archive-2018.03.13-1.el8.noarch automake-1.16.1-8.el8.noarch emacs-filesystem-1:26.1-11.el8.noarch flex-2.6.1-9.el8.aarch64 flex-devel-2.6.1-9.el8.aarch64 groff-base-1.22.3-18.el8.aarch64 m4-1.4.18-7.el8.aarch64 openssl-1:1.1.1k-12.el8_9.aarch64 perl-Carp-1.42-396.el8.noarch perl-Data-Dumper-2.167-399.el8.aarch64 perl-Digest-1.17-395.el8.noarch perl-Digest-MD5-2.55-396.el8.aarch64 perl-Encode-4:2.97-3.el8.aarch64 perl-Errno-1.28-422.el8.aarch64 perl-Exporter-5.72-396.el8.noarch perl-File-Path-2.15-2.el8.noarch perl-File-Temp-0.230.600-1.el8.noarch perl-Getopt-Long-1:2.50-4.el8.noarch perl-HTTP-Tiny-0.074-3.el8.noarch perl-IO-1.38-422.el8.aarch64 perl-IO-Socket-IP-0.39-5.el8.noarch perl-IO-Socket-SSL-2.066-4.module+el8.3.0+6446+594cad75.noarch perl-MIME-Base64-3.15-396.el8.aarch64 perl-Mozilla-CA-20160104-7.module+el8.3.0+6498+9eecfe51.noarch perl-Net-SSLeay-1.88-2.module+el8.6.0+13392+f0897f98.aarch64 perl-PathTools-3.74-1.el8.aarch64 perl-Pod-Escapes-1:1.07-395.el8.noarch perl-Pod-Perldoc-3.28-396.el8.noarch perl-Pod-Simple-1:3.35-395.el8.noarch perl-Pod-Usage-4:1.69-395.el8.noarch perl-Scalar-List-Utils-3:1.49-2.el8.aarch64 perl-Socket-4:2.027-3.el8.aarch64 perl-Storable-1:3.11-3.el8.aarch64 perl-Term-ANSIColor-4.06-396.el8.noarch perl-Term-Cap-1.17-395.el8.noarch perl-Text-ParseWords-3.30-395.el8.noarch perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch perl-Thread-Queue-3.13-1.el8.noarch perl-Time-Local-1:1.280-1.el8.noarch perl-URI-1.73-3.el8.noarch perl-Unicode-Normalize-1.25-396.el8.aarch64 perl-constant-1.33-396.el8.noarch perl-interpreter-4:5.26.3-422.el8.aarch64 perl-libnet-3.11-3.el8.noarch perl-libs-4:5.26.3-422.el8.aarch64 perl-macros-4:5.26.3-422.el8.aarch64 perl-parent-1:0.237-1.el8.noarch perl-podlators-4.11-1.el8.noarch perl-threads-1:2.21-2.el8.aarch64 perl-threads-shared-1.58-2.el8.aarch64 Complete! Finish: build setup for glimpse-4.12.6^git20161025.4945711-4.el8.src.rpm Start: rpmbuild glimpse-4.12.6^git20161025.4945711-4.el8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ASgbUV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf glimpse-49457116bb0796636fd1bc84f39006fb102bfafc + /usr/bin/gzip -dc /builddir/build/SOURCES/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd glimpse-49457116bb0796636fd1bc84f39006fb102bfafc + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/fix-makefile.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/fix-makefile-cc-var.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/agrep-fix-double-free.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ky4mum + umask 022 + cd /builddir/build/BUILD + cd glimpse-49457116bb0796636fd1bc84f39006fb102bfafc + autoconf + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking for aarch64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ar... /usr/bin/ar checking for aarch64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether ln -s works... yes checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for strip... /usr/bin/strip checking for cp... /usr/bin/cp checking for a BSD-compatible install... /usr/bin/install -c checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/dir.h usability... yes checking sys/dir.h presence... yes checking for sys/dir.h... yes checking sys/ndir.h usability... no checking sys/ndir.h presence... no checking for sys/ndir.h... no checking strerr.h usability... no checking strerr.h presence... no checking for strerr.h... no checking whether time.h and sys/time.h may both be included... yes checking for an ANSI C-conforming const... yes checking return type of signal handlers... void checking for utime.h... yes checking whether utime accepts a null argument... yes checking for strdup... yes checking for strerror... yes checking for sqrt in -lm... yes checking for dlopen in -lc... no checking for dlopen in -ldl... yes checking for connect... yes checking for gethostbyname... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating index/Makefile config.status: creating compress/Makefile config.status: creating agrep/Makefile config.status: WARNING: 'agrep/Makefile.in' seems to ignore the --datarootdir setting config.status: creating dynfilters/Makefile config.status: creating libtemplate/Makefile config.status: creating libtemplate/util/Makefile config.status: creating libtemplate/template/Makefile config.status: creating libtemplate/lib/Makefile config.status: creating libtemplate/include/autoconf.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make 'DEBUGFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'OTHERLIBS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' [ -d bin ] || mkdir bin [ -d lib ] || mkdir lib for d in compress agrep libtemplate index dynfilters ; do \ ( cd $d; make ); \ done make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/compress' gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o hash.o hash.c hash.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] thash4k(word, len) ^~~~~~~ hash.c:522:1: warning: return type defaults to 'int' [-Wimplicit-int] pad_hash_file(filename, FILEBLOCKSIZE) ^~~~~~~~~~~~~ hash.c: In function 'pad_hash_file': hash.c:636:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system((const char *)buf); ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o string.o string.c string.c: In function 'dump_string': string.c:28:24: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if ((stringfp = fopen(string_file, "w")) == NULL) { ^~~~~~~~~~~ In file included from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/stdio.h:246:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ string.c:32:23: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if ((indexfp = fopen(index_file, "r")) == NULL) { ^~~~~~~~~~ In file included from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/stdio.h:246:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ string.c: At top level: string.c:213:1: warning: return type defaults to 'int' [-Wimplicit-int] pad_string_file(filename, FILEBLOCKSIZE) ^~~~~~~~~~~~~~~ string.c: In function 'pad_string_file': string.c:225:20: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if ((infp = fopen(filename, "r")) == NULL) { ^~~~~~~~ In file included from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/stdio.h:246:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ string.c:229:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buf, "%s.index", filename); ^~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from string.c:8: /usr/include/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, ...)) ^~~~~ string.c:230:23: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if ((indexfp = fopen(buf, "w")) == NULL) { ^~~ In file included from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/stdio.h:246:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ string.c:235:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buf, "%s.%d", filename, pid); ^~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from string.c:8: /usr/include/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, ...)) ^~~~~ string.c:236:21: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if ((outfp = fopen(buf, "w")) == NULL) { ^~~ In file included from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/stdio.h:246:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ string.c:249:27: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] if ((char *)buf != fgets(buf, MAX_NAME_LEN, infp)) goto end_of_input; ^~~ In file included from /usr/include/stdio.h:873, from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ string.c:251:8: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(buf, outfp); ^~~ In file included from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ string.c:256:14: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while(fgets(buf, MAX_NAME_LEN, infp) == (char *)buf) { ^~~ In file included from /usr/include/stdio.h:873, from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ string.c:261:10: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(buf, outfp); ^~~ In file included from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ string.c:265:14: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] else fputs(buf, outfp); ^~~ In file included from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ string.c:277:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buf, "exec %s %s.%d %s\n", SYSTEM_MV, tescapesinglequote(filename, es1), pid, tescapesinglequote(filename, es2)); ^~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from string.c:8: /usr/include/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, ...)) ^~~~~ string.c:278:9: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] system(buf); ^~~ In file included from ../index/glimpse.h:9, from defs.h:13, from string.c:8: /usr/include/stdlib.h:781:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int system (const char *__command) __wur; ^~~~~~ string.c:278:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(buf); ^~~~~~~~~~~ gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o misc.o misc.c misc.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] set_usemalloc() ^~~~~~~~~~~~~ misc.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] unset_usemalloc() ^~~~~~~~~~~~~~~ misc.c: In function 'mygetc': misc.c:45:1: warning: type of 'maxlen' defaults to 'int' [-Wimplicit-int] mygetc(fp, buf, maxlen, lenp) ^~~~~~ misc.c: At top level: misc.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] myfpcopy(fp, src) ^~~~~~~~ misc.c:75:1: warning: return type defaults to 'int' [-Wimplicit-int] mystrcpy(dest, src) ^~~~~~~~ misc.c: In function 'mystrcpy': misc.c:80:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(*dest = *src) { ^ misc.c: At top level: misc.c:203:1: warning: return type defaults to 'int' [-Wimplicit-int] build_freq(freq_words_table, freq_words_strings, freq_words_lens, freq_file, flags) ^~~~~~~~~~ misc.c: In function 'build_freq': misc.c:203:1: warning: type of 'flags' defaults to 'int' [-Wimplicit-int] misc.c: At top level: misc.c:274:1: warning: return type defaults to 'int' [-Wimplicit-int] initialize_common(freq_file, flags) ^~~~~~~~~~~~~~~~~ misc.c:291:1: warning: return type defaults to 'int' [-Wimplicit-int] uninitialize_common() ^~~~~~~~~~~~~~~~~~~ misc.c: In function 'uninitialize_common': misc.c:294:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ misc.c:291:1: note: declared here uninitialize_common() ^~~~~~~~~~~~~~~~~~~ misc.c: In function 'exists_tcompressed_word': misc.c:303:1: warning: type of 'flags' defaults to 'int' [-Wimplicit-int] exists_tcompressed_word(word, wordlen, line, linelen, flags) ^~~~~~~~~~~~~~~~~~~~~~~ misc.c: In function 'set_usemalloc': misc.c:37:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ misc.c: In function 'unset_usemalloc': misc.c:42:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ misc.c: In function 'build_freq': misc.c:231:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d\n", &freq_words); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c: In function 'mygetc': misc.c:58:9: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] return c; ^ gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o quick.o quick.c quick.c: In function 'quick_tcompress': quick.c:63:4: warning: implicit declaration of function 'uninitialize_tcompress'; did you mean 'quick_tcompress'? [-Wimplicit-function-declaration] uninitialize_tcompress(); ^~~~~~~~~~~~~~~~~~~~~~ quick_tcompress quick.c:68:8: warning: implicit declaration of function 'initialize_common' [-Wimplicit-function-declaration] if (!initialize_common(freq_file, flags)) return 0; /* don't call initialize_tcompress since that will load the FULL hash table */ ^~~~~~~~~~~~~~~~~ quick.c:127:2: warning: implicit declaration of function 'build_partial_hash'; did you mean 'build_hash'? [-Wimplicit-function-declaration] build_partial_hash(compress_hash_table, hashfp, hashindexbuf, hashindexsize, pattern, len, blocksize, loaded_hash_table); ^~~~~~~~~~~~~~~~~~ build_hash quick.c:128:11: warning: implicit declaration of function 'tcompress' [-Wimplicit-function-declaration] newlen = tcompress(pattern, len, newpattern, maxnewlen, flags); ^~~~~~~~~ quick.c: In function 'quick_tuncompress': quick.c:165:4: warning: implicit declaration of function 'uninitialize_tuncompress'; did you mean 'quick_tuncompress'? [-Wimplicit-function-declaration] uninitialize_tuncompress(); ^~~~~~~~~~~~~~~~~~~~~~~~ quick_tuncompress quick.c:223:2: warning: implicit declaration of function 'build_partial_string'; did you mean 'build_string'? [-Wimplicit-function-declaration] build_partial_string(compress_string_table, stringfp, stringindexbuf, stringindexsize, pattern, len, blocksize, loaded_string_table); ^~~~~~~~~~~~~~~~~~~~ build_string quick.c:224:11: warning: implicit declaration of function 'tuncompress'; did you mean 'quick_tuncompress'? [-Wimplicit-function-declaration] newlen = tuncompress(pattern, len, newpattern, maxnewlen, flags); ^~~~~~~~~~~ quick_tuncompress quick.c: In function 'quick_tcompress': quick.c:87:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(hashindexfp, "%d\n", &blocksize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quick.c: In function 'quick_tuncompress': quick.c:189:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(stringindexfp, "%d\n", &blocksize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cast.o cast.c cast.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int] initialize_tcompress(hash_file, freq_file, flags) ^~~~~~~~~~~~~~~~~~~~ cast.c: In function 'initialize_tcompress': cast.c:48:7: warning: implicit declaration of function 'initialize_common'; did you mean 'initialize_tcompress'? [-Wimplicit-function-declaration] if (!initialize_common(freq_file, flags)) return 0; ^~~~~~~~~~~~~~~~~ initialize_tcompress cast.c:61:7: warning: implicit declaration of function 'tbuild_hash'; did you mean 'build_hash'? [-Wimplicit-function-declaration] if (!tbuild_hash(compress_hash_table, hashfp, -1)) { /* read all bytes until end */ ^~~~~~~~~~~ build_hash cast.c: At top level: cast.c:69:1: warning: return type defaults to 'int' [-Wimplicit-int] uninitialize_tcompress() ^~~~~~~~~~~~~~~~~~~~~~ cast.c: In function 'uninitialize_tcompress': cast.c:74:2: warning: implicit declaration of function 'uninitialize_common'; did you mean 'uninitialize_tcompress'? [-Wimplicit-function-declaration] uninitialize_common(); ^~~~~~~~~~~~~~~~~~~ uninitialize_tcompress cast.c: In function 'tcompressible': cast.c:121:12: warning: implicit declaration of function 'ttest_binary' [-Wimplicit-function-declaration] if(ttest_binary(buffer, num_read)) { ^~~~~~~~~~~~ cast.c:126:12: warning: implicit declaration of function 'ttest_uuencode' [-Wimplicit-function-declaration] if(ttest_uuencode(buffer, num_read)) { ^~~~~~~~~~~~~~ cast.c:131:12: warning: implicit declaration of function 'ttest_postscript' [-Wimplicit-function-declaration] if(ttest_postscript(buffer, num_read)) { ^~~~~~~~~~~~~~~~ cast.c: At top level: cast.c:140:1: warning: return type defaults to 'int' [-Wimplicit-int] tcompressible_file(name, flags) ^~~~~~~~~~~~~~~~~~ cast.c:160:1: warning: return type defaults to 'int' [-Wimplicit-int] tcompressible_fp(fp, flags) ^~~~~~~~~~~~~~~~ trecursive.c: In function 'tcompress_directory': cast.c:730:18: warning: implicit declaration of function 'tcompress_file'; did you mean 'tcompressible'? [-Wimplicit-function-declaration] #define FUNCTION tcompress_file ^~~~~~~~~~~~~~ trecursive.c:109:3: note: in expansion of macro 'FUNCTION' FUNCTION(name, outname, flags); ^~~~~~~~ cast.c: At top level: cast.c:735:1: warning: return type defaults to 'int' [-Wimplicit-int] tcompress_file(name, outname, flags) ^~~~~~~~~~~~~~ cast.c: In function 'uninitialize_tcompress': cast.c:88:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cast.c: In function 'tcompress_file': cast.c:799:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%c", s); ^~~~~~~~~~~~~~ gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o uncast.o uncast.c uncast.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] initialize_tuncompress(string_file, freq_file, flags) ^~~~~~~~~~~~~~~~~~~~~~ uncast.c: In function 'initialize_tuncompress': uncast.c:45:7: warning: implicit declaration of function 'initialize_common'; did you mean 'initialize_tuncompress'? [-Wimplicit-function-declaration] if (!initialize_common(freq_file, flags)) return 0; ^~~~~~~~~~~~~~~~~ initialize_tuncompress uncast.c: At top level: uncast.c:66:1: warning: return type defaults to 'int' [-Wimplicit-int] uninitialize_tuncompress() ^~~~~~~~~~~~~~~~~~~~~~~~ uncast.c: In function 'uninitialize_tuncompress': uncast.c:70:2: warning: implicit declaration of function 'uninitialize_common'; did you mean 'uninitialize_tuncompress'? [-Wimplicit-function-declaration] uninitialize_common(); ^~~~~~~~~~~~~~~~~~~ uninitialize_tuncompress uncast.c: At top level: uncast.c:128:1: warning: return type defaults to 'int' [-Wimplicit-int] tuncompressible_fp(fp) ^~~~~~~~~~~~~~~~~~ uncast.c: In function 'tuncompress': uncast.c:371:36: warning: implicit declaration of function 'myfpcopy'; did you mean 'stpcpy'? [-Wimplicit-function-declaration] if (outfp != NULL) outlen += myfpcopy(outfp, compress_string_table[dindex]); ^~~~~~~~ stpcpy uncast.c:373:18: warning: implicit declaration of function 'mystrcpy'; did you mean 'strcpy'? [-Wimplicit-function-declaration] outlen += mystrcpy(outbuf+outlen, compress_string_table[dindex]); ^~~~~~~~ strcpy trecursive.c: In function 'tuncompress_directory': uncast.c:520:18: warning: implicit declaration of function 'tuncompress_file'; did you mean 'tuncompressible'? [-Wimplicit-function-declaration] #define FUNCTION tuncompress_file ^~~~~~~~~~~~~~~~ trecursive.c:109:3: note: in expansion of macro 'FUNCTION' FUNCTION(name, outname, flags); ^~~~~~~~ uncast.c: In function 'uninitialize_tuncompress': uncast.c:78:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ uncast.c: In function 'tuncompress_file': uncast.c:593:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%c", s); ^~~~~~~~~~~~~~ gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tsimpletest.o tsimpletest.c tsimpletest.c:32:1: warning: return type defaults to 'int' [-Wimplicit-int] ttest_binary(buffer, length) ^~~~~~~~~~~~ tsimpletest.c: In function 'ttest_binary': tsimpletest.c:42:8: warning: implicit declaration of function 'isgraph' [-Wimplicit-function-declaration] if (!(isgraph(*buffer) || isspace(*buffer))) --permitted_errors; ^~~~~~~ tsimpletest.c:42:28: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] if (!(isgraph(*buffer) || isspace(*buffer))) --permitted_errors; ^~~~~~~ tsimpletest.c: At top level: tsimpletest.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] ttest_uuencode(buffer, length) ^~~~~~~~~~~~~~ tsimpletest.c: In function 'ttest_uuencode': tsimpletest.c:64:13: warning: implicit declaration of function 'tmemlook'; did you mean 'memmove'? [-Wimplicit-function-declaration] i = tmemlook("\nbegin", buffer, length); ^~~~~~~~ memmove gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tmemlook.o tmemlook.c tmemlook.c: In function 'tmemlook': tmemlook.c:23:33: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if(strncmp((char *)pattern+1, text, strlen((char *)pattern) -1) == 0) { ^~~~ In file included from tmemlook.c:10: /usr/include/string.h:140:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tbuild.o tbuild.c tbuild.c: In function 'compute_dictionary': tbuild.c:30:1: warning: type of 'SPECIAL_WORDS' defaults to 'int' [-Wimplicit-int] compute_dictionary(THRESHOLD, FILEBLOCKSIZE, SPECIAL_WORDS, comp_dir) ^~~~~~~~~~~~~~~~~~ tbuild.c:88:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "/tmp/temp%d", pid); ^ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/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, ...)) ^~~~~ tbuild.c:89:22: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if ((tempfp = fopen(s, "w")) == NULL) { ^ In file included from ../index/glimpse.h:8, from defs.h:13, from tbuild.c:9: /usr/include/stdio.h:246:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ tbuild.c:124:21: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] curfreq += atoi(tempbuf); ^~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^~~~~ tbuild.c:152:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "exec %s -n -r /tmp/temp%d > /tmp/sort%d\n", SYSTEM_SORT, pid, pid); ^ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/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, ...)) ^~~~~ tbuild.c:153:9: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] system(s); ^ In file included from ../index/glimpse.h:9, from defs.h:13, from tbuild.c:9: /usr/include/stdlib.h:781:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int system (const char *__command) __wur; ^~~~~~ tbuild.c:154:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "exec %s /tmp/temp%d\n", SYSTEM_RM, pid); ^ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/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, ...)) ^~~~~ tbuild.c:155:9: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] system(s); ^ In file included from ../index/glimpse.h:9, from defs.h:13, from tbuild.c:9: /usr/include/stdlib.h:781:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int system (const char *__command) __wur; ^~~~~~ tbuild.c:156:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "exec %s -%d /tmp/sort%d > /tmp/temp%d\n", SYSTEM_HEAD, MAX_WORDS, pid, pid); ^ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/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, ...)) ^~~~~ tbuild.c:157:9: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] system(s); ^ In file included from ../index/glimpse.h:9, from defs.h:13, from tbuild.c:9: /usr/include/stdlib.h:781:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int system (const char *__command) __wur; ^~~~~~ tbuild.c:163:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "/tmp/temp%d", pid); ^ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/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, ...)) ^~~~~ tbuild.c:164:22: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if ((tempfp = fopen(s, "r")) == NULL) { ^ In file included from ../index/glimpse.h:8, from defs.h:13, from tbuild.c:9: /usr/include/stdio.h:246:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ tbuild.c:209:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "%x", rand()); ^ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/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, ...)) ^~~~~ tbuild.c:229:7: warning: implicit declaration of function 'dump_small_hash'; did you mean 'get_small_hash'? [-Wimplicit-function-declaration] if (!dump_small_hash(dict_hash_table, hash_file)) return -1; ^~~~~~~~~~~~~~~ get_small_hash tbuild.c:237:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "/tmp/sort%d.a", pid); ^ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/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, ...)) ^~~~~ tbuild.c:238:21: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if ((awkfp = fopen(s, "w")) == NULL) { ^ In file included from ../index/glimpse.h:8, from defs.h:13, from tbuild.c:9: /usr/include/stdio.h:246:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ tbuild.c:242:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "BEGIN {}\n{print $3 \" \" $2 \" \" $1}\nEND {}\n"); ^ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/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, ...)) ^~~~~ tbuild.c:254:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "exec %s -f /tmp/sort%d.a < '%s' > /tmp/sort%d\n", SYSTEM_AWK, pid, tescapesinglequote(hash_file, es1), pid); ^ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/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, ...)) ^~~~~ tbuild.c:255:9: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] system(s); ^ In file included from ../index/glimpse.h:9, from defs.h:13, from tbuild.c:9: /usr/include/stdlib.h:781:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int system (const char *__command) __wur; ^~~~~~ tbuild.c:256:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "exec %s -d -f /tmp/sort%d > /tmp/temp%d\n", SYSTEM_SORT, pid, pid); ^ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/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, ...)) ^~~~~ tbuild.c:257:9: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] system(s); ^ In file included from ../index/glimpse.h:9, from defs.h:13, from tbuild.c:9: /usr/include/stdlib.h:781:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int system (const char *__command) __wur; ^~~~~~ tbuild.c:259:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "/tmp/sort%d.a", pid); ^ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/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, ...)) ^~~~~ tbuild.c:260:21: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if ((awkfp = fopen(s, "w")) == NULL) { ^ In file included from ../index/glimpse.h:8, from defs.h:13, from tbuild.c:9: /usr/include/stdio.h:246:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ tbuild.c:264:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "%s", "BEGIN {}\n{print $3 \" \" NR-1 \" \" $1}\nEND {}\n"); ^ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/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, ...)) ^~~~~ tbuild.c:269:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "exec %s -f /tmp/sort%d.a < /tmp/temp%d > '%s'\n", SYSTEM_AWK, pid, pid, tescapesinglequote(hash_file, es1)); /* reorder and put in new word numbers */ ^ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/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, ...)) ^~~~~ tbuild.c:270:9: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] system(s); ^ In file included from ../index/glimpse.h:9, from defs.h:13, from tbuild.c:9: /usr/include/stdlib.h:781:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int system (const char *__command) __wur; ^~~~~~ tbuild.c:277:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "/tmp/sort%d.a", pid); ^ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/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, ...)) ^~~~~ tbuild.c:278:21: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if ((awkfp = fopen(s, "w")) == NULL) { ^ In file included from ../index/glimpse.h:8, from defs.h:13, from tbuild.c:9: /usr/include/stdio.h:246:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ tbuild.c:282:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "%s", "BEGIN {}\n{print $3}\nEND {}\n"); ^ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/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, ...)) ^~~~~ tbuild.c:290:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "exec %s -f /tmp/sort%d.a < '%s' > '%s'\n", SYSTEM_AWK, pid, tescapesinglequote(hash_file, es1), tescapesinglequote(string_file, es2)); ^ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/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, ...)) ^~~~~ tbuild.c:291:9: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] system(s); ^ In file included from ../index/glimpse.h:9, from defs.h:13, from tbuild.c:9: /usr/include/stdlib.h:781:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int system (const char *__command) __wur; ^~~~~~ tbuild.c:304:2: warning: implicit declaration of function 'pad_hash_file' [-Wimplicit-function-declaration] pad_hash_file(hash_file, FILEBLOCKSIZE); ^~~~~~~~~~~~~ tbuild.c:305:2: warning: implicit declaration of function 'pad_string_file' [-Wimplicit-function-declaration] pad_string_file(string_file, FILEBLOCKSIZE); ^~~~~~~~~~~~~~~ tbuild.c:153:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ tbuild.c:155:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ tbuild.c:157:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ tbuild.c:255:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ tbuild.c:257:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ tbuild.c:270:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ tbuild.c:291:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ /usr/bin/ar rcv ../lib/libcast.a hash.o string.o misc.o quick.o cast.o uncast.o tsimpletest.o tmemlook.o tbuild.o a - hash.o a - string.o a - misc.o a - quick.o a - cast.o a - uncast.o a - tsimpletest.o a - tmemlook.o a - tbuild.o ranlib ../lib/libcast.a gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o main_tbuild.o main_tbuild.c main_tbuild.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int] usage(progname) ^~~~~ main_tbuild.c: In function 'main': main_tbuild.c:45:52: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] else if (argv[i][1] == 'H') strcpy(comp_dir, argv[++i]); ~~~~^~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from main_tbuild.c:7: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_tbuild.c:46:52: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] else if (argv[i][1] == 't') threshold = atoi(argv[++i]); ~~~~^~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from main_tbuild.c:7: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^~~~~ main_tbuild.c:47:55: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] else if (argv[i][1] == 'l') specialwords = atoi(argv[++i]); ~~~~^~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from defs.h:10, from main_tbuild.c:7: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^~~~~ main_tbuild.c:56:25: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(comp_dir, MAX_LINE_LEN-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tbuild hash.o string.o misc.o tbuild.o main_tbuild.o -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o main_cast.o main_cast.c main_cast.c:15:1: warning: return type defaults to 'int' [-Wimplicit-int] usage(progname) ^~~~~ main_cast.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ main_cast.c: In function 'main': main_cast.c:125:7: warning: implicit declaration of function 'initialize_tcompress' [-Wimplicit-function-declaration] if (!initialize_tcompress(hash_file, freq_file, FLAGS)) exit(2); ^~~~~~~~~~~~~~~~~~~~ main_cast.c:133:5: warning: implicit declaration of function 'tcompress_file'; did you mean 'tmpfile'? [-Wimplicit-function-declaration] tcompress_file(name, outname, FLAGS); ^~~~~~~~~~~~~~ tmpfile main_cast.c:136:8: warning: implicit declaration of function 'tcompress' [-Wimplicit-function-declaration] else tcompress(stdin, -1, stdout, -1, FLAGS); ^~~~~~~~~ main_cast.c:114:4: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(comp_dir, MAXNAME-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o cast main_cast.o hash.o string.o misc.o quick.o cast.o uncast.o tsimpletest.o tmemlook.o tbuild.o -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o main_uncast.o main_uncast.c main_uncast.c:15:1: warning: return type defaults to 'int' [-Wimplicit-int] usage(progname) ^~~~~ main_uncast.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ main_uncast.c: In function 'main': main_uncast.c:129:7: warning: implicit declaration of function 'initialize_tuncompress' [-Wimplicit-function-declaration] if (!initialize_tuncompress(string_file, freq_file, FLAGS)) exit(2); ^~~~~~~~~~~~~~~~~~~~~~ main_uncast.c:137:5: warning: implicit declaration of function 'tuncompress_file' [-Wimplicit-function-declaration] tuncompress_file(name, outname, FLAGS); ^~~~~~~~~~~~~~~~ main_uncast.c:142:9: warning: implicit declaration of function 'tuncompressible' [-Wimplicit-function-declaration] if (!tuncompressible(buffer, num_read)) { ^~~~~~~~~~~~~~~ main_uncast.c:146:4: warning: implicit declaration of function 'tuncompress' [-Wimplicit-function-declaration] tuncompress(stdin, -1, stdout, -1, FLAGS); ^~~~~~~~~~~ main_uncast.c:118:4: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(comp_dir, MAXNAME-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o uncast main_uncast.o hash.o string.o misc.o quick.o cast.o uncast.o tsimpletest.o tmemlook.o tbuild.o -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/compress' make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/agrep' gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o follow.o follow.c gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o asearch.o asearch.c asearch.c: In function 'asearch': asearch.c:47:10: warning: implicit declaration of function 'asearch0'; did you mean 'asearch'? [-Wimplicit-function-declaration] return asearch0(old_D_pat, text, D); ^~~~~~~~ asearch asearch.c:69:15: warning: implicit declaration of function 'fill_buf'; did you mean 'free_buf'? [-Wimplicit-function-declaration] while ((l = fill_buf(text, buffer + Max_record, BlockSize)) > 0) ^~~~~~~~ free_buf asearch.c:184:18: warning: implicit declaration of function 'output' [-Wimplicit-function-declaration] if (-1 == output(buffer, lasti, printout_end, j)) {free_buf(text, buffer); return -1;} ^~~~~~ asearch.c: In function 'asearch0': asearch.c:717:27: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] A[0] = (((B[0] >> 1)) & CMask | r1 ) ; ~~~~~~~~~~~~~~^~~~~~~ asearch.c:962:27: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] A[0] = (((B[0] >> 1)) & CMask | r1 ) ; ~~~~~~~~~~~~~~^~~~~~~ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asearch1.c:2: /usr/include/bits/string_fortified.h:107: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asearch1.c:2: /usr/include/bits/string_fortified.h:107: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asearch1.c:2: /usr/include/bits/string_fortified.h:107: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 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:107: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:107: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:107: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:107: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:107: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:107: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:107: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:107: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:107: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:141: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:141: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:141: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:141: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:141: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:141: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:141: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:385: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:107: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:107: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:137: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:137: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:107: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:107: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:385: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:385: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:385: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:385: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:385: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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/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:438, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:92: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:385: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:495, from agrep.h:15, from agrep.c:7: In function 'strncpy', inlined from 're1' at agrep.c:1106:4: /usr/include/bits/string_fortified.h:110: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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 're1' at agrep.c:615:4: /usr/include/bits/string_fortified.h:110: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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 're' at agrep.c:2045:4: /usr/include/bits/string_fortified.h:110: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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from bitap.c:15: /usr/include/bits/string_fortified.h:107: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from bitap.c:15: /usr/include/bits/string_fortified.h:107: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from bitap.c:15: /usr/include/bits/string_fortified.h:107: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 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o checkfile.o checkfile.c checkfile.c: In function 'check_file': checkfile.c:47:6: warning: implicit declaration of function 'my_stat'; did you mean 'lstat'? [-Wimplicit-function-declaration] if (my_stat(fname, &buf) != 0) { ^~~~~~~ lstat gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o compat.o compat.c compat.c:9:8: warning: type defaults to 'int' in declaration of 'FILEOUT' [-Wimplicit-int] extern FILEOUT; ^~~~~~~ compat.c:10:8: warning: type defaults to 'int' in declaration of 'REGEX' [-Wimplicit-int] extern REGEX; ^~~~~ compat.c:11:8: warning: type defaults to 'int' in declaration of 'DELIMITER' [-Wimplicit-int] extern DELIMITER; ^~~~~~~~~ compat.c:12:8: warning: type defaults to 'int' in declaration of 'WHOLELINE' [-Wimplicit-int] extern WHOLELINE; ^~~~~~~~~ compat.c:13:8: warning: type defaults to 'int' in declaration of 'LINENUM' [-Wimplicit-int] extern LINENUM; ^~~~~~~ compat.c:14:8: warning: type defaults to 'int' in declaration of 'I' [-Wimplicit-int] extern I, S, DD; ^ compat.c:14:11: warning: type defaults to 'int' in declaration of 'S' [-Wimplicit-int] extern I, S, DD; ^ compat.c:14:14: warning: type defaults to 'int' in declaration of 'DD' [-Wimplicit-int] extern I, S, DD; ^~ compat.c:15:8: warning: type defaults to 'int' in declaration of 'JUMP' [-Wimplicit-int] extern JUMP; ^~~~ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:385: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:385: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/bits/string_fortified.h:92: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:385: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:385: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/bits/string_fortified.h:92: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:385: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/bits/string_fortified.h:141: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/bits/string_fortified.h:141: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:385: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/bits/string_fortified.h:141: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/bits/string_fortified.h:141: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:385: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from preprocess.c:16: /usr/include/bits/string_fortified.h:92: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 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from delim.c:3: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from delim.c:3: /usr/include/bits/string_fortified.h:92: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:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asplit.c:3: /usr/include/bits/string_fortified.h:92: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asplit.c:3: /usr/include/bits/string_fortified.h:92: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:385: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:6, from asplit.c:3: /usr/include/bits/string_fortified.h:92: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 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o recursive.o recursive.c recursive.c: In function 'recursive': recursive.c:67:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(name_buf, argv[i]); ^~~~~~ recursive.c:67:3: warning: incompatible implicit declaration of built-in function 'strcpy' recursive.c:67:3: note: include '' or provide a declaration of 'strcpy' recursive.c:37:1: +#include #define BUFSIZE 256 recursive.c:67:3: strcpy(name_buf, argv[i]); ^~~~~~ recursive.c:71:15: warning: implicit declaration of function 'exec' [-Wimplicit-function-declaration] if ((ret = exec(3, file_list)) == -1) return -1; ^~~~ recursive.c:74:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(file_list[j]); ^~~~ recursive.c:74:5: warning: incompatible implicit declaration of built-in function 'free' recursive.c:74:5: note: include '' or provide a declaration of 'free' recursive.c:37:1: +#include #define BUFSIZE 256 recursive.c:74:5: free(file_list[j]); ^~~~ recursive.c: In function 'treewalk': recursive.c:114:5: warning: implicit declaration of function 'my_lstat'; did you mean 'lstat'? [-Wimplicit-function-declaration] if(my_lstat(name, &stbuf) == -1) { ^~~~~~~~ lstat recursive.c:125:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(file_list[fdx++], name); ^~~~~~ recursive.c:125:3: note: include '' or provide a declaration of 'strcpy' recursive.c:130:30: warning: incompatible implicit declaration of built-in function 'free' for(i=0; i' or provide a declaration of 'free' recursive.c: In function 'directory': recursive.c:147:15: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] nbp = name + strlen(name); ^~~~~~ recursive.c:147:15: warning: incompatible implicit declaration of built-in function 'strlen' recursive.c:147:15: note: include '' or provide a declaration of 'strlen' recursive.c:160:32: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (dp->d_name[0] == '\0' || strcmp(dp->d_name, ".") == 0 || strcmp(dp->d_name, "..")==0) ^~~~~~ recursive.c:165:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(nbp, dp->d_name); ^~~~~~ recursive.c:165:3: note: include '' or provide a declaration of 'strcpy' gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from sgrep.c:2: /usr/include/bits/string_fortified.h:107: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from sgrep.c:2: /usr/include/bits/string_fortified.h:107: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 'bm': sgrep.c:835:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:835:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:839:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:839:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c: In function 'agrep': sgrep.c: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 's_output': sgrep.c:1413:30: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1413:33: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1417:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1417:21: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c: In function 'prep_bm': sgrep.c:1478:10: warning: type defaults to 'int' in declaration of 'm' [-Wimplicit-int] register m; ^ sgrep.c: In function 'monkey': sgrep.c:1694:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1694:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1698:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1698:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c: In function 'a_monkey': sgrep.c: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:1988:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1988:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1992:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1992:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c: In function '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:385: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:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ sgrep.c: In function 'monkey4': sgrep.c:2396:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:2396:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:2400:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:2400:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c: In function 'prep4': sgrep.c: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 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:385: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from newmgrep.c:5: /usr/include/bits/string_fortified.h:107: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:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from newmgrep.c:5: /usr/include/bits/string_fortified.h:107: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 'print_options': newmgrep.c:845:30: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld newmgrep.c:845:33: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld newmgrep.c:849:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld newmgrep.c:849:21: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld newmgrep.c: In function 'monkey1': newmgrep.c:1053:61: warning: implicit declaration of function 'eval_tree' [-Wimplicit-function-declaration] if (AComplexBoolean && dd(curtextbegin, curtextend) && eval_tree(AParse, amatched_terminals)) { ^~~~~~~~~ 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:385: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:385: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: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:876:17: warning: 'curtextbegin' may be used uninitialized in this function [-Wmaybe-uninitialized] unsigned char *curtextbegin; ^~~~~~~~~~~~ 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 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o utilities.o utilities.c In file included from utilities.c:7: utilities.c: In function 'Push': re.h:75:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(2);\ ^~~~ utilities.c:21:2: note: in expansion of macro 'new_node' new_node(Stack, node, node); ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2);\ ^~~~ utilities.c:21:2: note: in expansion of macro 'new_node' new_node(Stack, node, node); ^~~~~~~~ re.h:75:3: note: include '' or provide a declaration of 'exit' exit(2);\ ^~~~ utilities.c:21:2: note: in expansion of macro 'new_node' new_node(Stack, node, node); ^~~~~~~~ re.h:77:2: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:21:2: note: in expansion of macro 'new_node' new_node(Stack, node, node); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:21:2: note: in expansion of macro 'new_node' new_node(Stack, node, node); ^~~~~~~~ re.h:77:2: note: include '' or provide a declaration of 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:21:2: note: in expansion of macro 'new_node' new_node(Stack, node, node); ^~~~~~~~ utilities.c: In function 'Pop': utilities.c:42:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(temp); ^~~~ utilities.c:42:3: warning: incompatible implicit declaration of built-in function 'free' utilities.c:42:3: note: include '' or provide a declaration of 'free' In file included from utilities.c:7: utilities.c: In function 'pset_union': re.h:75:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2);\ ^~~~ utilities.c:89:3: note: in expansion of macro 'new_node' new_node(Pset, new, new); ^~~~~~~~ re.h:75:3: note: include '' or provide a declaration of 'exit' exit(2);\ ^~~~ utilities.c:89:3: note: in expansion of macro 'new_node' new_node(Pset, new, new); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:89:3: note: in expansion of macro 'new_node' new_node(Pset, new, new); ^~~~~~~~ re.h:77:2: note: include '' or provide a declaration of 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:89:3: note: in expansion of macro 'new_node' new_node(Pset, new, new); ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2);\ ^~~~ utilities.c:102:4: note: in expansion of macro 'new_node' new_node(Pset, new, new); ^~~~~~~~ re.h:75:3: note: include '' or provide a declaration of 'exit' exit(2);\ ^~~~ utilities.c:102:4: note: in expansion of macro 'new_node' new_node(Pset, new, new); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:102:4: note: in expansion of macro 'new_node' new_node(Pset, new, new); ^~~~~~~~ re.h:77:2: note: include '' or provide a declaration of 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:102:4: note: in expansion of macro 'new_node' new_node(Pset, new, new); ^~~~~~~~ utilities.c: In function 'create_pos': re.h:75:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2);\ ^~~~ utilities.c:124:2: note: in expansion of macro 'new_node' new_node(Pset, x, x); ^~~~~~~~ re.h:75:3: note: include '' or provide a declaration of 'exit' exit(2);\ ^~~~ utilities.c:124:2: note: in expansion of macro 'new_node' new_node(Pset, x, x); ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:124:2: note: in expansion of macro 'new_node' new_node(Pset, x, x); ^~~~~~~~ re.h:77:2: note: include '' or provide a declaration of 'memset' memset((l), '\0', sizeof(*(x)));\ ^~~~~~ utilities.c:124:2: note: in expansion of macro 'new_node' new_node(Pset, x, x); ^~~~~~~~ utilities.c: In function 'word_exists': utilities.c:168:9: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (!strncmp(line, word, wordlen)) { ^~~~~~~ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o dummyfilters.o dummyfilters.c /usr/bin/ar rcv ../lib/libagrep.a follow.o asearch.o asearch1.o agrep.o bitap.o checkfile.o compat.o maskgen.o parse.o checksg.o preprocess.o delim.o asplit.o recursive.o sgrep.o newmgrep.o utilities.o dummyfilters.o a - follow.o a - asearch.o a - asearch1.o a - agrep.o a - bitap.o a - checkfile.o a - compat.o a - maskgen.o a - parse.o a - checksg.o a - preprocess.o a - delim.o a - asplit.o a - recursive.o a - sgrep.o a - newmgrep.o a - utilities.o a - dummyfilters.o ranlib ../lib/libagrep.a gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o main.o main.c In file included from main.c:15: dummysyscalls.c: In function 'my_lstat': dummysyscalls.c:25:9: warning: implicit declaration of function 'lstat'; did you mean 'my_lstat'? [-Wimplicit-function-declaration] return lstat(name, buf); ^~~~~ my_lstat dummysyscalls.c: In function 'my_stat': dummysyscalls.c:33:9: warning: implicit declaration of function 'stat'; did you mean 'strcat'? [-Wimplicit-function-declaration] return stat(name, buf); ^~~~ strcat main.c: In function 'main': main.c:29:8: warning: implicit declaration of function 'fileagrep' [-Wimplicit-function-declaration] ret = fileagrep(argc, argv, 0, stdout); ^~~~~~~~~ gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/agrep' make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate' Making all in util make[2]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/util' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -c -o buffer.o buffer.c buffer.c:1:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: buffer.c,v 1.2 2003/11/13 05:17:39 golda Exp $"; ^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -c -o host.o host.c host.c:1:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: host.c,v 1.2 2006/03/25 02:13:55 root Exp $"; ^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -c -o log.o log.c log.c: In function 'fatal': log.c:135:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ log.c:135:3: warning: incompatible implicit declaration of built-in function 'exit' log.c:135:3: note: include '' or provide a declaration of 'exit' log.c:24:1: +#include log.c:135:3: exit(1); ^~~~ log.c:140:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ log.c:140:3: note: include '' or provide a declaration of 'exit' log.c:149:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ log.c:149:2: note: include '' or provide a declaration of 'exit' At top level: log.c:1:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: log.c,v 1.5 2006/02/03 16:53:26 golda Exp $"; ^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -c -o strdup.o strdup.c strdup.c:1:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: strdup.c,v 1.2 1999/11/19 08:11:49 golda Exp $"; ^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -c -o system.o system.c system.c: In function 'run_cmd': system.c:70:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(argv, '\0', sizeof(char *) * 64); ^~~~~~ system.c:70:3: warning: incompatible implicit declaration of built-in function 'memset' system.c:70:3: note: include '' or provide a declaration of 'memset' system.c:23:1: +#include #ifdef HAVE_SETRLIMIT system.c:70:3: memset(argv, '\0', sizeof(char *) * 64); ^~~~~~ system.c:85:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (void) waitpid(pid, &status, (int) NULL); ^ system.c: In function 'do_system_lifetime': system.c:140:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (void) waitpid(dsl_pid, (int *) NULL, (int) NULL); ^ system.c:148:3: warning: incompatible implicit declaration of built-in function 'memset' memset(argv, '\0', sizeof(char *) * 64); ^~~~~~ system.c:148:3: note: include '' or provide a declaration of 'memset' system.c:150:19: warning: array subscript has type 'char' [-Wchar-subscripts] for (i = 0; argv[i] != NULL; i++) { ^ system.c:151:12: warning: array subscript has type 'char' [-Wchar-subscripts] if (argv[i][0] == '>' && argv[i + 1] != NULL) { ^ system.c:152:9: warning: array subscript has type 'char' [-Wchar-subscripts] argv[i] = NULL; ^ system.c:153:25: warning: array subscript has type 'char' [-Wchar-subscripts] redirect_stdout(argv[++i]); ^ At top level: system.c:1:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: system.c,v 1.2 2003/11/13 05:17:39 golda Exp $"; ^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -c -o strerror.o strerror.c strerror.c:1:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: strerror.c,v 1.2 1999/11/19 08:11:49 golda Exp $"; ^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -c -o string.o string.c string.c:1:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: string.c,v 1.1 1999/11/03 20:42:14 golda Exp $"; ^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -c -o xmalloc.o xmalloc.c xmalloc.c:1:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: xmalloc.c,v 1.1 1999/11/03 20:42:14 golda Exp $"; ^~~~~ ar r libutil.a buffer.o host.o log.o strdup.o system.o strerror.o string.o xmalloc.o ar: creating libutil.a ranlib libutil.a /usr/bin/install -c -m 644 libutil.a ../lib/libutil.a ranlib ../lib/libutil.a make[2]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/util' Making all in template make[2]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/template' gcc -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o template.o template.c template.c:1:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: template.c,v 1.3 2006/03/25 02:13:55 root Exp $"; ^~~~~ ar r libtemplate.a template.o ar: creating libtemplate.a ranlib libtemplate.a /usr/bin/install -c libtemplate.a ../lib/libtemplate.a ranlib ../lib/libtemplate.a make[2]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/template' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/lib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/lib' make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate' make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/index' rm -f buildcast.c cp glimpse.c buildcast.c gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DBUILDCAST=1 -o buildcast.o buildcast.c buildcast.c:89:8: warning: type defaults to 'int' in declaration of 'set_usemalloc' [-Wimplicit-int] extern set_usemalloc(); /* compress/misc.c */ ^~~~~~~~~~~~~ buildcast.c:98:1: warning: return type defaults to 'int' [-Wimplicit-int] cross_boundary(oldnum, newnum) ^~~~~~~~~~~~~~ buildcast.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int] determine_sync() ^~~~~~~~~~~~~~ buildcast.c: In function 'determine_sync': buildcast.c:115:6: warning: unused variable 'i' [-Wunused-variable] int i, ret; ^ buildcast.c: At top level: buildcast.c:158:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ buildcast.c: In function 'main': buildcast.c:193:5: warning: implicit declaration of function 'build_filename_hashtable' [-Wimplicit-function-declaration] build_filename_hashtable((char *)NULL, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:201:13: warning: implicit declaration of function 'usage'; did you mean 'usleep'? [-Wimplicit-function-declaration] return usage(1); ^~~~~ usleep buildcast.c:536:2: warning: implicit declaration of function 'partition' [-Wimplicit-function-declaration] partition(argc, argv); ^~~~~~~~~ buildcast.c:573:5: warning: implicit declaration of function 'read_filters' [-Wimplicit-function-declaration] read_filters(INDEX_DIR, UseFilters); ^~~~~~~~~~~~ buildcast.c:585:5: warning: implicit declaration of function 'initialize_tuncompress' [-Wimplicit-function-declaration] initialize_tuncompress(string_file, freq_file, 0); ^~~~~~~~~~~~~~~~~~~~~~ buildcast.c:626:5: warning: implicit declaration of function 'set_indexable_char' [-Wimplicit-function-declaration] set_indexable_char(indexable_char); ^~~~~~~~~~~~~~~~~~ buildcast.c:745:5: warning: implicit declaration of function 'initialize_data_structures' [-Wimplicit-function-declaration] initialize_data_structures(file_num); ^~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:747:5: warning: implicit declaration of function 'build_index'; did you mean 'block2index'? [-Wimplicit-function-declaration] build_index(); ^~~~~~~~~~~ block2index buildcast.c:749:5: warning: implicit declaration of function 'cleanup' [-Wimplicit-function-declaration] cleanup(); ^~~~~~~ buildcast.c:750:5: warning: implicit declaration of function 'save_data_structures' [-Wimplicit-function-declaration] save_data_structures(); ^~~~~~~~~~~~~~~~~~~~ buildcast.c:751:5: warning: implicit declaration of function 'destroy_filename_hashtable' [-Wimplicit-function-declaration] destroy_filename_hashtable(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:752:5: warning: implicit declaration of function 'uninitialize_common' [-Wimplicit-function-declaration] uninitialize_common(); ^~~~~~~~~~~~~~~~~~~ buildcast.c:753:5: warning: implicit declaration of function 'uninitialize_tcompress' [-Wimplicit-function-declaration] uninitialize_tcompress(); ^~~~~~~~~~~~~~~~~~~~~~ buildcast.c:754:5: warning: implicit declaration of function 'uninitialize_tuncompress' [-Wimplicit-function-declaration] uninitialize_tuncompress(); ^~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:755:5: warning: implicit declaration of function 'compute_dictionary' [-Wimplicit-function-declaration] compute_dictionary(threshold, DISKBLOCKSIZE, specialwords, INDEX_DIR); ^~~~~~~~~~~~~~~~~~ buildcast.c:759:7: warning: implicit declaration of function 'initialize_tcompress' [-Wimplicit-function-declaration] if (!initialize_tcompress(hash_file, freq_file, TC_ERRORMSGS)) goto docleanup; ^~~~~~~~~~~~~~~~~~~~ buildcast.c:764:6: warning: null argument where non-null required (argument 2) [-Wnonnull] strcpy(name, LIST_GET(name_list, i)); ^~~~~~ buildcast.c:765:6: warning: implicit declaration of function 'tcompress_file'; did you mean 'tmpfile'? [-Wimplicit-function-declaration] tcompress_file(name, outname, TC_REMOVE | TC_EASYSEARCH | TC_OVERWRITE | TC_NOPROMPT); ^~~~~~~~~~~~~~ tmpfile buildcast.c:170:17: warning: unused variable 'stbuf' [-Wunused-variable] struct stat stbuf; ^~~~~ buildcast.c:169:10: warning: unused variable 'tmpbuf' [-Wunused-variable] char tmpbuf[1024]; ^~~~~~ buildcast.c:167:11: warning: unused variable 'tmpfp' [-Wunused-variable] FILE *tmpfp; ^~~~~ buildcast.c:165:27: warning: unused variable 's1' [-Wunused-variable] char s[MAX_LINE_LEN], s1[MAX_LINE_LEN]; ^~ buildcast.c: At top level: buildcast.c:1063:1: warning: return type defaults to 'int' [-Wimplicit-int] cleanup() ^~~~~~~ buildcast.c:1125:1: warning: return type defaults to 'int' [-Wimplicit-int] usage(flag) ^~~~~ buildcast.c: In function 'determine_sync': buildcast.c:120:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(S); ^~~~~~~~~ buildcast.c: In function 'main': buildcast.c:464:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, 1024, filefp); /* skip over num. of file names */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:521:6: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(INDEX_DIR, MAX_LINE_LEN-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:526:5: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(working_dir, MAX_LINE_LEN - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:531:5: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(INDEX_DIR, MAX_LINE_LEN - 1); /* must be absolute path name */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:532:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(working_dir); /* get back to where you were */ ^~~~~~~~~~~~~~~~~~ buildcast.c:649:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:657:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:665:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:673:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:681:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:689:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:697:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:705:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:716:6: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:731:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:733:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:735:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:737:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:739:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:804:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:806:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:808:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:810:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:812:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:814:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:816:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:818:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c:820:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ buildcast.c: In function 'cleanup': buildcast.c:1067:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, I1); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c:1069:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, I2); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c:1071:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, I3); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c:1073:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, O1); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c:1075:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, O2); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c:1077:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, O3); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c:1079:19: warning: '/.glimpse_apply.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_apply.%d", INDEX_DIR, getpid()); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 1051 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c: In function 'main': buildcast.c:587:20: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, DEF_TIME_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c:601:20: warning: '%s' directive writing 17 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, DEF_MESSAGE_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 1042 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c:607:20: warning: '%s' directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, DEF_STAT_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c:636:19: warning: '/.glimpse_index' directive writing 15 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_index", INDEX_DIR); ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c:638:16: warning: '/.glimpse_tempdir.' directive writing 18 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_tempdir.%d", INDEX_DIR, pid); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 1053 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c:708:16: warning: '/.glimpse_attributes' directive writing 20 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_attributes", INDEX_DIR); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c:722:19: warning: '/.glimpse_quick' directive writing 15 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_quick", INDEX_DIR); ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c:725:16: warning: '/.glimpse_backup.' directive writing 17 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_backup.%x", INDEX_DIR, backup); ^~~~~~~~~~~~~~~~~ buildcast.c:725:13: note: using the range [0, 4294967295] for directive argument sprintf(s, "%s/.glimpse_backup.%x", INDEX_DIR, backup); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 1049 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c:771:19: warning: '/.glimpse_tempdir.' directive writing 18 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_tempdir.%d/.glimpse_index", INDEX_DIR, pid); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 35 and 1068 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c:803:54: warning: '%s' directive writing up to 1023 bytes into a region of size 989 [-Wformat-overflow=] sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, escapesinglequote(INDEX_FILE, es2), INDEX_DIR); ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 38 or more bytes (assuming 1061) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c:822:16: warning: '/.glimpse_tempdir.' directive writing 18 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_tempdir.%d", INDEX_DIR, pid); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 1053 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c:454:22: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(buffer, "%s/%s", INDEX_DIR, NAME_LIST); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c:459:22: warning: '%s' directive writing 24 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(buffer, "%s/%s.tmp", INDEX_DIR, NAME_LIST_INDEX); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 30 and 1053 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ buildcast.c:482:22: warning: '%s' directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=] sprintf(buffer, "mv %s/%s.tmp %s/%s", INDEX_DIR, NAME_LIST_INDEX, INDEX_DIR, NAME_LIST_INDEX); ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 59 and 2105 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection region.c gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection dir.c dir.c:117:1: warning: return type defaults to 'int' [-Wimplicit-int] fsize(name, pat, pat_len, num_pat, inc, inc_len, num_inc, toplevel) ^~~~~ dir.c: In function 'fsize': dir.c:153:71: warning: implicit declaration of function 'get_filename_index' [-Wimplicit-function-declaration] if (!IndexableFile && !DeleteFromIndex && FastIndex && ((fileindex = get_filename_index(name, name_list, file_num)) != -1) && (disable_list[block2index(fileindex)] & mask_int[fileindex % (8*sizeof(int))])) { ^~~~~~~~~~~~~~~~~~ dir.c:170:4: warning: implicit declaration of function 'remove_filename' [-Wimplicit-function-declaration] remove_filename(fileindex, new_partition);\ ^~~~~~~~~~~~~~~ dir.c:268:3: note: in expansion of macro 'PROCESS_EXIT' PROCESS_EXIT; ^~~~~~~~~~~~ dir.c:222:9: warning: implicit declaration of function 'memagrep_search' [-Wimplicit-function-declaration] (memagrep_search(-inc_len[i], inc[i], len_current_dir_buf, current_dir_buf, 0, dummyout) > 0))\ ^~~~~~~~~~~~~~~ dir.c:280:3: note: in expansion of macro 'PROCESS_INCLUDE' PROCESS_INCLUDE; ^~~~~~~~~~~~~~~ dir.c:332:13: warning: implicit declaration of function 'fsize_directory' [-Wimplicit-function-declaration] if (-1 == fsize_directory(name, pat, pat_len, num_pat, inc, inc_len, num_inc)) return -1; ^~~~~~~~~~~~~~~ dir.c:336:8: warning: implicit declaration of function 'filetype'; did you mean 'lit_type'? [-Wimplicit-function-declaration] if (!filetype(name, IndexEverything?2:1, NULL, NULL)) printf("%s\n", name); ^~~~~~~~ lit_type dir.c:353:14: warning: implicit declaration of function 'tuncompress_file' [-Wimplicit-function-declaration] if (tuncompress_file(name, outname, TC_EASYSEARCH | TC_OVERWRITE | TC_NOPROMPT) <= 0) return 0; ^~~~~~~~~~~~~~~~ dir.c:393:8: warning: implicit declaration of function 'change_filename' [-Wimplicit-function-declaration] change_filename(name, name_len, fileindex, t1); ^~~~~~~~~~~~~~~ dir.c:427:7: warning: implicit declaration of function 'insert_filename'; did you mean 'aprint_file_time'? [-Wimplicit-function-declaration] insert_filename(LIST_GET(name_list, file_num), file_num); ^~~~~~~~~~~~~~~ aprint_file_time dir.c:330:1: warning: label 'index_everything' defined but not used [-Wunused-label] index_everything: ^~~~~~~~~~~~~~~~ dir.c:134:28: warning: unused variable 'temp' [-Wunused-variable] char xinfo[MAX_LINE_LEN], temp[MAX_LINE_LEN]; ^~~~ dir.c: At top level: dir.c:492:1: warning: return type defaults to 'int' [-Wimplicit-int] fsize_directory(name, pat, pat_len, num_pat, inc, inc_len, num_inc) ^~~~~~~~~~~~~~~ gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection io.c In file included from io.c:12: utils.c:449:1: warning: return type defaults to 'int' [-Wimplicit-int] hashNk(name, len) ^~~~~~ io.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] get_array_of_lines(inputfile, table, max_entry, overflow_ok) ^~~~~~~~~~~~~~~~~~ io.c: In function 'get_array_of_lines': io.c:66:8: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] fgets(buffer, MAX_NAME_BUF, file_in); ^~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ io.c:67:9: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(buffer, "%d", &num_lines); ^~~~~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from glimpse.h:8, from io.c:3: /usr/include/stdio.h:414:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^~~~~~~~~~~~~~ io.c:75:14: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while(fgets(buffer, MAX_NAME_BUF, file_in)) { ^~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ io.c:76:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] line_length = strlen(buffer); ^~~~~~ In file included from glimpse.h:10, from io.c:3: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ io.c:107:14: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(np, buffer); ^~~~~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from glimpse.h:8, from io.c:3: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ io.c: At top level: io.c:169:1: warning: return type defaults to 'int' [-Wimplicit-int] get_index_type(s, dashn, num, attr, delim) ^~~~~~~~~~~~~~ io.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int] get_block_numbers(srcbuf, destbuf, partfp) ^~~~~~~~~~~~~~~~~ io.c: In function 'get_block_numbers': io.c:212:12: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] if (fgets(destbuf, REAL_INDEX_BUF - MAX_WORD_BUF - 1, partfp) == NULL) { ^~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ io.c: In function 'load_dyn_filters': io.c:266:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(filter_command[i]); ~~~~~~~~~~~~~~^~~ In file included from glimpse.h:10, from io.c:3: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ io.c:272:48: warning: pointer targets in passing argument 1 of 'dlopen' differ in signedness [-Wpointer-sign] if ((filter_handle[i] = dlopen(filter_command[i], ~~~~~~~~~~~~~~^~~ In file included from io.c:8: /usr/include/dlfcn.h:56:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern void *dlopen (const char *__file, int __mode) __THROWNL; ^~~~~~ io.c: At top level: io.c:369:1: warning: return type defaults to 'int' [-Wimplicit-int] read_filters(index_dir, dofilter) ^~~~~~~~~~~~ io.c: In function 'read_filters': io.c:387:20: warning: 'return' with no value, in function returning non-void if (!dofilter) return; ^~~~~~ io.c:369:1: note: declared here read_filters(index_dir, dofilter) ^~~~~~~~~~~~ io.c: At top level: io.c:449:1: warning: return type defaults to 'int' [-Wimplicit-int] apply_filter(inname, outname) ^~~~~~~~~~~~ io.c: In function 'apply_filter': io.c:481:39: warning: pointer targets in passing argument 2 of 'strstr' differ in signedness [-Wpointer-sign] if ((suffix = strstr(name+1, filter[i])) != NULL) { /* Chris Dalton */ ~~~~~~^~~ In file included from glimpse.h:10, from io.c:3: /usr/include/string.h:330:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^~~~~~ io.c:514:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(filter[i], suffix) == 0) { ~~~~~~^~~ In file included from glimpse.h:10, from io.c:3: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ io.c:526:9: warning: implicit declaration of function 'memagrep_search' [-Wimplicit-function-declaration] (memagrep_search(-filter_len[i], filter[i], name_len + 2, name, 0, dummyout) > 0)) { ^~~~~~~~~~~~~~~ io.c:455:7: warning: unused variable 's' [-Wunused-variable] char s[MAX_LINE_LEN]; ^ io.c:453:46: warning: unused variable 'es2' [-Wunused-variable] char name[MAX_LINE_LEN], es1[MAX_LINE_LEN], es2[MAX_LINE_LEN]; ^~~ io.c:453:27: warning: unused variable 'es1' [-Wunused-variable] char name[MAX_LINE_LEN], es1[MAX_LINE_LEN], es2[MAX_LINE_LEN]; ^~~ io.c: At top level: io.c:566:1: warning: return type defaults to 'int' [-Wimplicit-int] static_stop_list(word) ^~~~~~~~~~~~~~~~ io.c: In function 'my_malloc': io.c:646:16: warning: unused variable 'i' [-Wunused-variable] static int i=100; ^ io.c: At top level: io.c:662:1: warning: return type defaults to 'int' [-Wimplicit-int] my_free(ptr, size) ^~~~~~~ io.c:709:1: warning: return type defaults to 'int' [-Wimplicit-int] tokenallfree() ^~~~~~~~~~~~ io.c:714:1: warning: return type defaults to 'int' [-Wimplicit-int] tokenfree(e, len) ^~~~~~~~~ io.c:736:1: warning: return type defaults to 'int' [-Wimplicit-int] indicesallfree() ^~~~~~~~~~~~~~ io.c:741:1: warning: return type defaults to 'int' [-Wimplicit-int] indicesfree(e, len) ^~~~~~~~~~~ io.c:764:1: warning: return type defaults to 'int' [-Wimplicit-int] wordallfree() ^~~~~~~~~~~ io.c:769:1: warning: return type defaults to 'int' [-Wimplicit-int] wordfree(s, len) ^~~~~~~~ io.c: In function 'read_mini': io.c:1018:16: warning: unused variable 's' [-Wunused-variable] unsigned char s[MAX_LINE_LEN], array[sizeof(int)]; ^ io.c: At top level: io.c:1049:1: warning: return type defaults to 'int' [-Wimplicit-int] dump_mini(indexfile) ^~~~~~~~~ io.c: In function 'dump_mini': io.c:1073:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "%s.tmp", indexfile); ^ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from glimpse.h:8, from io.c:3: /usr/include/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, ...)) ^~~~~ io.c:1074:26: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if ((newindexfp = fopen(s, "w")) == NULL) { ^ In file included from glimpse.h:8, from io.c:3: /usr/include/stdio.h:246:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ io.c:1081:8: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] fgets(indexnumber, 256, indexfp); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ io.c:1082:8: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] fgets(onefileperblock, 256, indexfp); ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ io.c:1086:15: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while (fgets(s, MAX_LINE_LEN, indexfp) != NULL) { ^ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ io.c:1088:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] linelen = strlen(s); ^ In file included from glimpse.h:10, from io.c:3: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ io.c:1099:13: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] if (fputs(s, newindexfp) == EOF) { ^ In file included from glimpse.h:8, from io.c:3: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ io.c:1110:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); ^ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from glimpse.h:8, from io.c:3: /usr/include/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, ...)) ^~~~~ io.c:1111:9: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] system(s); ^ In file included from glimpse.h:9, from io.c:3: /usr/include/stdlib.h:781:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int system (const char *__command) __wur; ^~~~~~ io.c:1117:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "exec %s -n -T '%s' '%s.tmp' > '%s'\n", SYSTEM_SORT, escapesinglequote(INDEX_DIR, es1), escapesinglequote(indexfile, es2), escapesinglequote(indexfile, es3)); ^ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from glimpse.h:8, from io.c:3: /usr/include/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, ...)) ^~~~~ io.c:1119:14: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] rc = system(s); ^ In file included from glimpse.h:9, from io.c:3: /usr/include/stdlib.h:781:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int system (const char *__command) __wur; ^~~~~~ io.c:1130:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "exec %s '%s.tmp'", SYSTEM_RM, escapesinglequote(indexfile, es1)); ^ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from glimpse.h:8, from io.c:3: /usr/include/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, ...)) ^~~~~ io.c:1131:9: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] system(s); ^ In file included from glimpse.h:9, from io.c:3: /usr/include/stdlib.h:781:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int system (const char *__command) __wur; ^~~~~~ io.c:1144:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "%s.tmp", indexfile); ^ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from glimpse.h:8, from io.c:3: /usr/include/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, ...)) ^~~~~ io.c:1145:26: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if ((newindexfp = fopen(s, "w")) == NULL) { ^ In file included from glimpse.h:8, from io.c:3: /usr/include/stdio.h:246:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ io.c:1151:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "%s/%s", INDEX_DIR, MINI_FILE); ^ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from glimpse.h:8, from io.c:3: /usr/include/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, ...)) ^~~~~ io.c:1152:22: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if ((minifp = fopen(s, "w")) == NULL) { ^ In file included from glimpse.h:8, from io.c:3: /usr/include/stdio.h:246:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ io.c:1159:8: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(indexnumber, newindexfp); ^~~~~~~~~~~ In file included from glimpse.h:8, from io.c:3: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ io.c:1160:8: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(onefileperblock, newindexfp); ^~~~~~~~~~~~~~~ In file included from glimpse.h:8, from io.c:3: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ io.c:1167:15: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while (fgets(s, MAX_LINE_LEN, indexfp) != NULL) { ^ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ io.c:1168:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] linelen = strlen(s); ^ In file included from glimpse.h:10, from io.c:3: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ io.c:1173:10: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(s, "%d", &hash_value); ^ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from glimpse.h:8, from io.c:3: /usr/include/stdio.h:414:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^~~~~~~~~~~~~~ io.c:1175:9: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(t, newindexfp); ^ In file included from glimpse.h:8, from io.c:3: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ io.c:1210:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); ^ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from glimpse.h:8, from io.c:3: /usr/include/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, ...)) ^~~~~ io.c:1211:9: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] system(s); ^ In file included from glimpse.h:9, from io.c:3: /usr/include/stdlib.h:781:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int system (const char *__command) __wur; ^~~~~~ io.c:1217:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s, "exec %s '%s.tmp' '%s'\n", SYSTEM_MV, escapesinglequote(indexfile, es1), escapesinglequote(indexfile, es2)); ^ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from glimpse.h:8, from io.c:3: /usr/include/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, ...)) ^~~~~ io.c:1218:9: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] system(s); ^ In file included from glimpse.h:9, from io.c:3: /usr/include/stdlib.h:781:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int system (const char *__command) __wur; ^~~~~~ io.c:1052:37: warning: unused variable 'word' [-Wunused-variable] unsigned char s[MAX_LINE_LEN], *t, word[MAX_NAME_LEN], c; ^~~~ io.c: At top level: io.c:1236:1: warning: return type defaults to 'int' [-Wimplicit-int] initialize_data_structures(files) ^~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1261:1: warning: return type defaults to 'int' [-Wimplicit-int] destroy_data_structures() ^~~~~~~~~~~~~~~~~~~~~~~ io.c: In function 'special_parse_name': io.c:1287:6: warning: unused variable 'index' [-Wunused-variable] int index; ^~~~~ io.c: In function 'get_filename_index': io.c:1427:6: warning: unused variable 'i' [-Wunused-variable] int i, begin=-1, end=-1; ^ io.c: At top level: io.c:1463:1: warning: return type defaults to 'int' [-Wimplicit-int] insert_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c: In function 'insert_filename': io.c:1474:20: warning: 'return' with no value, in function returning non-void if (name == NULL) return; ^~~~~~ io.c:1463:1: note: declared here insert_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c:1476:57: warning: 'return' with no value, in function returning non-void if (special_parse_name(name, len, &begin, &end) == -1) return; ^~~~~~ io.c:1463:1: note: declared here insert_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c:1479:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ io.c:1463:1: note: declared here insert_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c:1496:21: warning: 'return' with no value, in function returning non-void if ((*pe) != NULL) return; ^~~~~~ io.c:1463:1: note: declared here insert_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c:1469:6: warning: unused variable 'i' [-Wunused-variable] int i, begin=-1, end=-1; ^ io.c: At top level: io.c:1515:1: warning: return type defaults to 'int' [-Wimplicit-int] change_filename(name, len, index, newname) ^~~~~~~~~~~~~~~ io.c: In function 'change_filename': io.c:1525:47: warning: 'return' with no value, in function returning non-void if (special_get_name(name, len, temp) == -1) return; ^~~~~~ io.c:1515:1: note: declared here change_filename(name, len, index, newname) ^~~~~~~~~~~~~~~ io.c:1529:21: warning: 'return' with no value, in function returning non-void if ((*pe) == NULL) return; ^~~~~~ io.c:1515:1: note: declared here change_filename(name, len, index, newname) ^~~~~~~~~~~~~~~ io.c:1534:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ io.c:1515:1: note: declared here change_filename(name, len, index, newname) ^~~~~~~~~~~~~~~ io.c:1521:26: warning: unused variable 't' [-Wunused-variable] name_hashelement **pe, *t; ^ io.c: At top level: io.c:1537:1: warning: return type defaults to 'int' [-Wimplicit-int] delete_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c: In function 'delete_filename': io.c:1548:20: warning: 'return' with no value, in function returning non-void if (name == NULL) return; ^~~~~~ io.c:1537:1: note: declared here delete_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c:1550:57: warning: 'return' with no value, in function returning non-void if (special_parse_name(name, len, &begin, &end) == -1) return; ^~~~~~ io.c:1537:1: note: declared here delete_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c:1553:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ io.c:1537:1: note: declared here delete_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c:1570:21: warning: 'return' with no value, in function returning non-void if ((*pe) == NULL) return; ^~~~~~ io.c:1537:1: note: declared here delete_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c:1577:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ io.c:1537:1: note: declared here delete_filename(name, name_index) ^~~~~~~~~~~~~~~ io.c:1543:6: warning: unused variable 'i' [-Wunused-variable] int i, begin=-1, end=-1; ^ io.c: At top level: io.c:1580:1: warning: return type defaults to 'int' [-Wimplicit-int] init_filename_hashtable() ^~~~~~~~~~~~~~~~~~~~~~~ io.c:1587:1: warning: return type defaults to 'int' [-Wimplicit-int] build_filename_hashtable(names, num) ^~~~~~~~~~~~~~~~~~~~~~~~ io.c:1598:1: warning: return type defaults to 'int' [-Wimplicit-int] destroy_filename_hashtable() ^~~~~~~~~~~~~~~~~~~~~~~~~~ io.c: In function 'get_array_of_lines': io.c:66:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, MAX_NAME_BUF, file_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c: In function 'get_index_type': io.c:180:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s\n%%%d\n%%%d%s\n", buf, num, attr, delim); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c: In function 'get_block_numbers': io.c:218:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ io.c: In function 'my_free': io.c:671:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ io.c: In function 'tokenallfree': io.c:712:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ io.c: In function 'tokenfree': io.c:719:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ io.c: In function 'indicesallfree': io.c:739:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ io.c: In function 'indicesfree': io.c:746:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ io.c: In function 'wordallfree': io.c:767:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ io.c: In function 'wordfree': io.c:774:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ io.c: In function 'dump_mini': io.c:1081:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(indexnumber, 256, indexfp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1082:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(onefileperblock, 256, indexfp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1084:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(indexfp, "%%%d\n", &attr_num); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1111:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ io.c:1131:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ io.c:1133:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(sync_path); /* sync() has a BUG */ ^~~~~~~~~~~~~~~~~ io.c:1211:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ io.c:1218:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ io.c:1220:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(sync_path); /* sync() has a BUG */ ^~~~~~~~~~~~~~~~~ io.c:1221:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ io.c: In function 'initialize_data_structures': io.c:1259:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ io.c: In function 'destroy_data_structures': io.c:1273:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ io.c: In function 'init_filename_hashtable': io.c:1584:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ io.c: In function 'build_filename_hashtable': io.c:1596:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ io.c: In function 'destroy_filename_hashtable': io.c:1616:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ io.c: In function 'get_file_time': io.c:1631:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(array, sizeof(long), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: io.c:646:16: warning: 'i' defined but not used [-Wunused-variable] static int i=100; ^ io.c: In function 'apply_one_filter': io.c:328:36: warning: '%s' directive writing up to 1023 bytes into a region of size between 1013 and 2036 [-Wformat-overflow=] sprintf(command, "exec %s '%s' > '%s'", filter_command[filter_number], ^~ escaped_in, escaped_out); ~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 14 or more bytes (assuming 2060) into a destination of size 2048 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ io.c: In function 'dump_mini': io.c:1110:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=] sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 1034 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ io.c:1117:29: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] sprintf(s, "exec %s -n -T '%s' '%s.tmp' > '%s'\n", SYSTEM_SORT, escapesinglequote(INDEX_DIR, es1), escapesinglequote(indexfile, es2), escapesinglequote(indexfile, es3)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 32 and 3101 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ io.c:1130:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=] sprintf(s, "exec %s '%s.tmp'", SYSTEM_RM, escapesinglequote(indexfile, es1)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 1038 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ io.c:1151:17: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, MINI_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ io.c:1210:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=] sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 1034 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ io.c:1217:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=] sprintf(s, "exec %s '%s.tmp' '%s'\n", SYSTEM_MV, escapesinglequote(indexfile, es1), escapesinglequote(indexfile, es2)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 2065 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ io.c: In function 'apply_filter': io.c:548:29: warning: '.o' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(newoutname, "%s.o", prevoutname); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 1026 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ io.c:503:29: warning: '.o' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(newoutname, "%s.o", prevoutname); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 1026 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build_in.c build_in.c:128:1: warning: return type defaults to 'int' [-Wimplicit-int] build_index() ^~~~~~~~~~~ build_in.c: In function 'build_index': build_in.c:143:9: warning: implicit declaration of function 'build_hash'; did you mean 'build_index'? [-Wimplicit-function-declaration] build_hash(); ^~~~~~~~~~ build_index build_in.c:145:9: warning: 'return' with no value, in function returning non-void return; ^~~~~~ build_in.c:128:1: note: declared here build_index() ^~~~~~~~~~~ build_in.c:130:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ build_in.c: At top level: build_in.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int] traverse() ^~~~~~~~ build_in.c: In function 'traverse': build_in.c:215:19: warning: implicit declaration of function 'encode16b' [-Wimplicit-function-declaration] attribute = encode16b(tp->attribute); ^~~~~~~~~ build_in.c:350:16: warning: implicit declaration of function 'encode8b' [-Wimplicit-function-declaration] temp = encode8b(0); ^~~~~~~~ build_in.c:379:13: warning: implicit declaration of function 'encode24b' [-Wimplicit-function-declaration] x = encode24b(ip->index[j]); ^~~~~~~~~ build_in.c:482:12: warning: implicit declaration of function 'encode12b' [-Wimplicit-function-declaration] x = encode12b(ip->index[j]); ^~~~~~~~~ build_in.c:588:5: warning: implicit declaration of function 'tokenallfree'; did you mean 'tokenfree'? [-Wimplicit-function-declaration] tokenallfree(); ^~~~~~~~~~~~ tokenfree build_in.c:589:5: warning: implicit declaration of function 'indicesallfree'; did you mean 'indicesfree'? [-Wimplicit-function-declaration] indicesallfree(); ^~~~~~~~~~~~~~ indicesfree build_in.c:590:5: warning: implicit declaration of function 'wordallfree'; did you mean 'wordfree'? [-Wimplicit-function-declaration] wordallfree(); ^~~~~~~~~~~ wordfree build_in.c:175:9: warning: variable 'fputcerr' set but not used [-Wunused-but-set-variable] int fputcerr; /* added by dgh 5-8-96 */ ^~~~~~~~ build_in.c: At top level: build_in.c:602:1: warning: return type defaults to 'int' [-Wimplicit-int] traverse1() ^~~~~~~~~ build_in.c: In function 'traverse1': build_in.c:713:9: warning: 'return' with no value, in function returning non-void return; ^~~~~~ build_in.c:602:1: note: declared here traverse1() ^~~~~~~~~ build_in.c:744:5: warning: implicit declaration of function 'merge_in' [-Wimplicit-function-declaration] merge_in(i2, i1, i3); ^~~~~~~~ build_in.c:610:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ build_in.c: At top level: build_in.c:784:1: warning: return type defaults to 'int' [-Wimplicit-int] build_hash() ^~~~~~~~~~ build_in.c: In function 'build_hash': build_in.c:807:26: warning: implicit declaration of function 'region_initialize' [-Wimplicit-function-declaration] if (StructuredIndex) region_initialize(); ^~~~~~~~~~~~~~~~~ build_in.c:808:5: warning: implicit declaration of function 'init_hash_table'; did you mean 'initstate'? [-Wimplicit-function-declaration] init_hash_table(); ^~~~~~~~~~~~~~~ initstate build_in.c:818:18: warning: 'return' with no value, in function returning non-void if (tried_once) return; ^~~~~~ build_in.c:784:1: note: declared here build_hash() ^~~~~~~~~~ build_in.c:831:17: warning: implicit declaration of function 'tuncompress_file' [-Wimplicit-function-declaration] if ((ret = tuncompress_file(LIST_GET(name_list, i), outname, TC_EASYSEARCH | TC_OVERWRITE | TC_NOPROMPT)) > 0) { /* do not remove old .TZ file */ ^~~~~~~~~~~~~~~~ build_in.c:832:33: warning: implicit declaration of function 'region_create'; did you mean 'timer_create'? [-Wimplicit-function-declaration] if (StructuredIndex && (-1 == region_create(outname))) { ^~~~~~~~~~~~~ timer_create build_in.c:834:7: warning: implicit declaration of function 'remove_filename' [-Wimplicit-function-declaration] remove_filename(i, -1); ^~~~~~~~~~~~~~~ build_in.c:840:28: warning: implicit declaration of function 'region_destroy' [-Wimplicit-function-declaration] if (StructuredIndex) region_destroy(); /* cannot happen! */ ^~~~~~~~~~~~~~ build_in.c:850:17: warning: implicit declaration of function 'apply_filter' [-Wimplicit-function-declaration] if ((ret = apply_filter(LIST_GET(name_list, i), outname)) == 1) { ^~~~~~~~~~~~ build_in.c:869:7: warning: implicit declaration of function 'filetype'; did you mean 'lit_type'? [-Wimplicit-function-declaration] if (filetype(LIST_GET(name_list, i), 0, NULL, NULL)) { /* try to index input file if it satisfies filetype */ ^~~~~~~~ lit_type build_in.c:1021:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ build_in.c:784:1: note: declared here build_hash() ^~~~~~~~~~ build_in.c:1053:46: warning: null argument where non-null required (argument 1) [-Wnonnull] if (BuildDictionary && CompressAfterBuild) strcpy(LIST_GET(name_list, i), outname); /* name of clear file will be smaller, so enough space */ ^~~~~~ build_in.c:798:20: warning: unused variable 'last_record' [-Wunused-variable] unsigned char *last_record; /* pointer that tells where the last record ends: may or may not be > buffer_end, but surely <= bx the last byte read */ ^~~~~~~~~~~ build_in.c: At top level: build_in.c:1233:1: warning: return type defaults to 'int' [-Wimplicit-int] init_hash_table() ^~~~~~~~~~~~~~~ build_in.c: In function 'init_hash_table': build_in.c:1238:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ build_in.c:1233:1: note: declared here init_hash_table() ^~~~~~~~~~~~~~~ In file included from build_in.c:26: build_in.c: In function 'insert_h': glimpse.h:233:96: warning: implicit declaration of function 'hash64k' [-Wimplicit-function-declaration] #define hashword(word, wordlen) (((total_size < LIMIT_64K_HASH*1024*1024) || !BigHashTable) ? (hash64k(word, wordlen)) : (hash256k(word, wordlen))); ^~~~~~~ build_in.c:1267:18: note: in expansion of macro 'hashword' hash_value = hashword(word, wordlen); ^~~~~~~~ glimpse.h:233:123: warning: implicit declaration of function 'hash256k'; did you mean 'hashword'? [-Wimplicit-function-declaration] #define hashword(word, wordlen) (((total_size < LIMIT_64K_HASH*1024*1024) || !BigHashTable) ? (hash64k(word, wordlen)) : (hash256k(word, wordlen))); ^~~~~~~~ build_in.c:1267:18: note: in expansion of macro 'hashword' hash_value = hashword(word, wordlen); ^~~~~~~~ build_in.c: At top level: build_in.c:1459:1: warning: return type defaults to 'int' [-Wimplicit-int] scanword(word, buffer, buffer_end, attr) ^~~~~~~~ build_in.c:1484:1: warning: return type defaults to 'int' [-Wimplicit-int] merge_in(f1, f2, f3) ^~~~~~~~ build_in.c: In function 'merge_in': build_in.c:1507:15: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] if (fgets(dest_index_buf, REAL_INDEX_BUF, f2) == NULL) dest_index_buf[0] = '\0'; ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ build_in.c:1509:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] dest_end_pt = strlen(dest_index_buf); ^~~~~~~~~~~~~~ In file included from glimpse.h:10, from build_in.c:26: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ build_in.c:1516:17: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while(fgets(src_index_buf, REAL_INDEX_BUF, f1)) { ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ build_in.c:1518:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] src_end_pt = strlen(src_index_buf); ^~~~~~~~~~~~~ In file included from glimpse.h:10, from build_in.c:26: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ build_in.c:1525:12: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(dest_index_buf, f3); ^~~~~~~~~~~~~~ In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ build_in.c:1528:15: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] if(fgets(dest_index_buf, REAL_INDEX_BUF, f2) == NULL) { ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ build_in.c:1534:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] dest_end_pt = strlen(dest_index_buf); ^~~~~~~~~~~~~~ In file included from glimpse.h:10, from build_in.c:26: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ build_in.c:1557:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(merge_index_buf, src_index_buf); /* save the word itself */ ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from glimpse.h:8, from build_in.c:26: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ build_in.c:1557:28: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(merge_index_buf, src_index_buf); /* save the word itself */ ^~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from glimpse.h:8, from build_in.c:26: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ build_in.c:1558:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] merge_len = strlen(src_index_buf); /* merge_index_buf[merge_len] is '\0', merge_index_buf[merge_len-1] is a part of the word */ ^~~~~~~~~~~~~ In file included from glimpse.h:10, from build_in.c:26: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ build_in.c:1571:12: warning: implicit declaration of function 'decode8b' [-Wimplicit-function-declaration] x = decode8b(src_index_buf[bdx1]); ^~~~~~~~ build_in.c:1577:9: warning: implicit declaration of function 'decode12b' [-Wimplicit-function-declaration] x = decode12b(x); ^~~~~~~~~ build_in.c:1590:12: warning: implicit declaration of function 'decode16b' [-Wimplicit-function-declaration] x = decode16b(x); ^~~~~~~~~ build_in.c:1595:12: warning: implicit declaration of function 'decode24b' [-Wimplicit-function-declaration] x = decode24b(x); ^~~~~~~~~ build_in.c:1611:15: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(merge_index_buf, dest_index_buf); /* save the word itself */ ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from glimpse.h:8, from build_in.c:26: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ build_in.c:1611:32: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(merge_index_buf, dest_index_buf); /* save the word itself */ ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from glimpse.h:8, from build_in.c:26: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ build_in.c:1612:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] merge_len = strlen(merge_index_buf); ^~~~~~~~~~~~~~~ In file included from glimpse.h:10, from build_in.c:26: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ build_in.c:1756:64: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned char *' [-Wformat=] fprintf(stderr,"Had to Realloc merge buffer (#3), new size is %d\n",merge_index_buf); ~^ ~~~~~~~~~~~~~~~ %hhn build_in.c:1771:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned char *' [-Wformat=] fprintf(stderr,"Realloc #4, new size is %d\n",merge_index_buf); ~^ ~~~~~~~~~~~~~~~ %hhn build_in.c:1782:10: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(merge_index_buf, f3); ^~~~~~~~~~~~~~~ In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ build_in.c:1787:28: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(merge_index_buf, src_index_buf); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from glimpse.h:8, from build_in.c:26: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ build_in.c:1787:45: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(merge_index_buf, src_index_buf); ^~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from glimpse.h:8, from build_in.c:26: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ build_in.c:1788:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] bdx = strlen(merge_index_buf); /* merge_index_buf[bdx] is '\0', merge_index_buf[bdx-1] is '\n' */ ^~~~~~~~~~~~~~~ In file included from glimpse.h:10, from build_in.c:26: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ build_in.c:1810:27: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(merge_index_buf, f3); ^~~~~~~~~~~~~~~ In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ build_in.c:1861:16: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] if(fgets(dest_index_buf, REAL_INDEX_BUF, f2) == 0) { ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ build_in.c:1867:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] dest_end_pt = strlen(dest_index_buf); ^~~~~~~~~~~~~~ In file included from glimpse.h:10, from build_in.c:26: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ build_in.c:1871:19: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(src_index_buf, f3); ^~~~~~~~~~~~~ In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ build_in.c:1876:28: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] if(cmp != 0) fputs(src_index_buf, f3); ^~~~~~~~~~~~~ In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ build_in.c:1878:21: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while(fgets(src_index_buf, REAL_INDEX_BUF, f1)) { ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ build_in.c:1880:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] src_end_pt = strlen(src_index_buf); ^~~~~~~~~~~~~ In file included from glimpse.h:10, from build_in.c:26: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ build_in.c:1881:19: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(src_index_buf, f3); ^~~~~~~~~~~~~ In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ build_in.c:1886:15: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(dest_index_buf, f3); ^~~~~~~~~~~~~~ In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ build_in.c:1888:21: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while(fgets(dest_index_buf, REAL_INDEX_BUF, f2)) { ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ build_in.c:1890:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] dest_end_pt = strlen(dest_index_buf); ^~~~~~~~~~~~~~ In file included from glimpse.h:10, from build_in.c:26: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ build_in.c:1891:19: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(dest_index_buf, f3); ^~~~~~~~~~~~~~ In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ build_in.c:1895:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ build_in.c:1484:1: note: declared here merge_in(f1, f2, f3) ^~~~~~~~ build_in.c: At top level: build_in.c:1898:1: warning: return type defaults to 'int' [-Wimplicit-int] remove_filename(fileindex, new_partition) ^~~~~~~~~~~~~~~ build_in.c: In function 'remove_filename': build_in.c:1901:60: warning: 'return' with no value, in function returning non-void if ((fileindex < 0) || (fileindex >= MaxNum24bPartition)) return; ^~~~~~ build_in.c:1898:1: note: declared here remove_filename(fileindex, new_partition) ^~~~~~~~~~~~~~~ build_in.c: At top level: build_in.c:1946:1: warning: return type defaults to 'int' [-Wimplicit-int] get_new_index(deletedlist, oldfileindex) ^~~~~~~~~~~~~ build_in.c: In function 'get_new_index': build_in.c:1951:6: warning: unused variable 'reduction' [-Wunused-variable] int reduction = 0; ^~~~~~~~~ build_in.c: At top level: build_in.c:1965:1: warning: return type defaults to 'int' [-Wimplicit-int] delete_removed_indices(deletedlist) ^~~~~~~~~~~~~~~~~~~~~~ build_in.c: In function 'delete_removed_indices': build_in.c:1968:6: warning: unused variable 'j' [-Wunused-variable] int j; ^ build_in.c: In function 'purge_index': build_in.c:2034:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while (fgets(src_index_buf, REAL_INDEX_BUF, i_in)) { ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ build_in.c:2056:9: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(dest_index_buf, i_out); ^~~~~~~~~~~~~~ In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ build_in.c:2216:9: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(dest_index_buf, i_out); ^~~~~~~~~~~~~~ In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ build_in.c:1991:14: warning: unused variable 'index' [-Wunused-variable] int offset, index; ^~~~~ build_in.c:1991:6: warning: unused variable 'offset' [-Wunused-variable] int offset, index; ^~~~~~ build_in.c:1986:7: warning: unused variable 's1' [-Wunused-variable] char s1[MAX_LINE_LEN]; ^~ build_in.c: At top level: build_in.c:2239:1: warning: return type defaults to 'int' [-Wimplicit-int] initialize_disable_list(files) ^~~~~~~~~~~~~~~~~~~~~~~ build_in.c: In function 'traverse': build_in.c:600:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ build_in.c: In function 'traverse1': build_in.c:655:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ build_in.c:657:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(sync_path); /* sync() has a bug */ ^~~~~~~~~~~~~~~~~ build_in.c:671:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ build_in.c:679:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ build_in.c:685:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ build_in.c:692:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ build_in.c:699:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ build_in.c:712:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(sync_path); /* sync() has a bug */ ^~~~~~~~~~~~~~~~~ build_in.c:734:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s, 256, i1); ^~~~~~~~~~~~~~~~~ build_in.c:737:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s, 256, i1); ^~~~~~~~~~~~~~~~~ build_in.c:740:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s, 256, i1); ^~~~~~~~~~~~~~~~~ build_in.c:754:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(sync_path); /* sync() has a bug */ ^~~~~~~~~~~~~~~~~ build_in.c:764:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ build_in.c: In function 'scanword': build_in.c:1474:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ build_in.c: In function 'purge_index': build_in.c:2023:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(indexnumberbuf, 256, i_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:2025:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(i_in, "%%%d\n", &onefileperblock); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:2029:14: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(i_in, "%%%d%s\n", &structuredindex, temp_rdelim); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:2232:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ build_in.c: In function 'initialize_disable_list': build_in.c:2246:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ build_in.c: In function 'traverse': build_in.c:180:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, I2); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ build_in.c: In function 'merge_in': build_in.c:1673:19: warning: 'dest_mark' may be used uninitialized in this function [-Wmaybe-uninitialized] (dest_mark == ALL_INDEX_MARK) || ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ build_in.c:1672:18: warning: 'src_mark' may be used uninitialized in this function [-Wmaybe-uninitialized] ((src_mark == ALL_INDEX_MARK) || ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ build_in.c: In function 'traverse1': build_in.c:717:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ build_in.c:722:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, I2); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ build_in.c:727:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, I3); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ build_in.c:683:54: warning: '%s' directive writing up to 1023 bytes into a region of size 1010 [-Wformat-overflow=] else if (RecordLevelIndex) sprintf(s, "exec %s %%-2 %s >> '%s/%s'\n", SYSTEM_ECHO, old_rdelim, escapesinglequote(INDEX_DIR, es1), INDEX_FILE); ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 37 or more bytes (assuming 1060) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ build_in.c:640:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1016 [-Wformat-overflow=] sprintf(s1, "system('%s') failed at:\n\t File=%s, Line=%d, Errno=%d", s, __FILE__, __LINE__, errno); ^~ ~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 59 and 1092 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ build_in.c: In function 'build_hash': build_in.c:1059:26: warning: '/.glimpse_apply.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(outname, "%s/.glimpse_apply.%d", INDEX_DIR, pid); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 1051 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ build_in.c:849:26: warning: '/.glimpse_apply.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(outname, "%s/.glimpse_apply.%d", INDEX_DIR, pid); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 1051 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ build_in.c: In function 'purge_index': build_in.c:2011:17: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ build_in.c:2016:23: warning: '/.glimpse_merge.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_merge.%d", INDEX_DIR, getpid()); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 1051 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ build_in.c:2212:23: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] dest_index_buf[i++] = (y); ~~~~~~~~~~~~~~~~~~~~^~~~~ gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection filetype.c filetype.c: In function 'filetype': filetype.c:71:6: warning: implicit declaration of function 'test_special_suffix' [-Wimplicit-function-declaration] if (test_special_suffix(tempname)) { ^~~~~~~~~~~~~~~~~~~ filetype.c:100:6: warning: implicit declaration of function 'test_postscript' [-Wimplicit-function-declaration] if (test_postscript(buffer, num_read)) { ^~~~~~~~~~~~~~~ filetype.c:109:18: warning: implicit declaration of function 'test_binary' [-Wimplicit-function-declaration] BINARY = test_binary(buffer, num_read); ^~~~~~~~~~~ filetype.c:120:21: warning: implicit declaration of function 'test_uuencode' [-Wimplicit-function-declaration] UUENCODED = test_uuencode(buffer, num_read); ^~~~~~~~~~~~~ filetype.c:129:5: warning: implicit declaration of function 'heavy_index' [-Wimplicit-function-declaration] if(heavy_index(tempname, buffer, num_read)) { ^~~~~~~~~~~ filetype.c:137:5: warning: implicit declaration of function 'hqx' [-Wimplicit-function-declaration] if(hqx(tempname, buffer, num_read)) { ^~~ filetype.c:154:17: warning: implicit declaration of function 'extract_info' [-Wimplicit-function-declaration] *xinfo_len = extract_info(tempname, buffer, num_read, i, xinfo, MAX_LINE_LEN); ^~~~~~~~~~~~ filetype.c: In function 'extract_info': filetype.c:204:10: warning: array subscript has type 'char' [-Wchar-subscripts] if (tr[buffer[j+i]] != tr[begin[j]]) break; ^ filetype.c:204:29: warning: array subscript has type 'char' [-Wchar-subscripts] if (tr[buffer[j+i]] != tr[begin[j]]) break; ^ filetype.c:241:10: warning: array subscript has type 'char' [-Wchar-subscripts] if (tr[buffer[j+i]] != tr[end[j]]) break; ^ filetype.c:241:29: warning: array subscript has type 'char' [-Wchar-subscripts] if (tr[buffer[j+i]] != tr[end[j]]) break; ^ filetype.c: At top level: filetype.c:276:1: warning: return type defaults to 'int' [-Wimplicit-int] heavy_index(name, buffer, num_read) ^~~~~~~~~~~ filetype.c: In function 'heavy_index': filetype.c:291:16: warning: implicit declaration of function 'hash4k' [-Wimplicit-function-declaration] hash_value = hash4k(word, strlen(word)); ^~~~~~ filetype.c: At top level: filetype.c:312:1: warning: return type defaults to 'int' [-Wimplicit-int] hqx(name, buffer, num_read) ^~~ gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection simpletest.c simpletest.c:10:8: warning: type defaults to 'int' in declaration of 'UseFilters' [-Wimplicit-int] extern UseFilters; ^~~~~~~~~~ simpletest.c:33:1: warning: return type defaults to 'int' [-Wimplicit-int] test_binary(buffer, length) ^~~~~~~~~~~ simpletest.c:54:1: warning: return type defaults to 'int' [-Wimplicit-int] test_uuencode(buffer, length) ^~~~~~~~~~~~~ simpletest.c: In function 'test_uuencode': simpletest.c:67:13: warning: implicit declaration of function 'memlook'; did you mean 'memmove'? [-Wimplicit-function-declaration] i = memlook("\nbegin", buffer, length); ^~~~~~~ memmove gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection getword.c getword.c: In function 'getword': getword.c:245:11: warning: implicit declaration of function 'region_identify' [-Wimplicit-function-declaration] *pattr = region_identify(ICurrentFileOffset, 0); ^~~~~~~~~~~~~~~ getword.c:52:16: warning: unused variable 'times' [-Wunused-variable] static int times = 0; ^~~~~ getword.c: At top level: getword.c:259:1: warning: return type defaults to 'int' [-Wimplicit-int] set_indexable_char(indexable_char) ^~~~~~~~~~~~~~~~~~ getword.c:273:1: warning: return type defaults to 'int' [-Wimplicit-int] set_special_char(special_char) ^~~~~~~~~~~~~~~~ getword.c: In function 'set_indexable_char': getword.c:271:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ getword.c: In function 'set_special_char': getword.c:295:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: getword.c:52:16: warning: 'times' defined but not used [-Wunused-variable] static int times = 0; ^~~~~ gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection memlook.c gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection lib.c lib.c:5:16: warning: conflicting types for built-in function 'strdup' [-Wbuiltin-declaration-mismatch] unsigned char *strdup(str) ^~~~~~ lib.c: In function 'strdup': lib.c:12:8: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] len = strlen(str); ^~~~~~ lib.c:12:8: warning: incompatible implicit declaration of built-in function 'strlen' lib.c:12:8: note: include '' or provide a declaration of 'strlen' lib.c:4:1: +#include lib.c:12:8: len = strlen(str); ^~~~~~ lib.c:12:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(str); ^~~ lib.c:12:15: note: expected 'const char *' but argument is of type 'unsigned char *' lib.c:16:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(2); ^~~~ lib.c:16:3: warning: incompatible implicit declaration of built-in function 'exit' lib.c:16:3: note: include '' or provide a declaration of 'exit' lib.c:4:1: +#include lib.c:16:3: exit(2); ^~~~ lib.c:19:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(*str1++ = *str++); ^ gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection partition.c partition.c:70:1: warning: return type defaults to 'int' [-Wimplicit-int] partition(dir_num, dir_name) ^~~~~~~~~ partition.c: In function 'partition': partition.c:116:21: warning: implicit declaration of function 'memagrep_init' [-Wimplicit-function-declaration] if ((dummylen = memagrep_init(exin_argc, exin_argv, MAX_PAT, dummypat)) <= 0) return -1; /* exclude/include pattern search */ ^~~~~~~~~~~~~ partition.c:128:27: warning: implicit declaration of function 'convert2agrepregexp' [-Wimplicit-function-declaration] if ((pat_len[num_pat] = convert2agrepregexp(patbuf, len-1)) == 0) continue; ^~~~~~~~~~~~~~~~~~~ partition.c:182:6: warning: implicit declaration of function 'fsize'; did you mean 'dysize'? [-Wimplicit-function-declaration] fsize(current_dir, pat, pat_len, num_pat, inc, inc_len, num_inc, 0); /* the file names will be in name_list[]: NOT TOP LEVEL!!! Mar/11/96 */ ^~~~~ dysize partition.c:162:1: warning: label 'directlytofsize' defined but not used [-Wunused-label] directlytofsize: ^~~~~~~~~~~~~~~ partition.c: At top level: partition.c:420:1: warning: return type defaults to 'int' [-Wimplicit-int] oldpartition(dir_num, dir_name) ^~~~~~~~~~~~ partition.c:602:1: warning: return type defaults to 'int' [-Wimplicit-int] save_data_structures() ^~~~~~~~~~~~~~~~~~~~ partition.c: In function 'save_data_structures': partition.c:691:18: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while(fgets(src_index_buf, REAL_INDEX_BUF, i_in)) { ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ partition.c:698:9: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(src_index_buf, i_out); ^~~~~~~~~~~~~ In file included from glimpse.h:8, from partition.c:3: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ partition.c:700:9: warning: implicit declaration of function 'decode16b' [-Wimplicit-function-declaration] index=decode16b((src_index_buf[j+1] << 8) | (src_index_buf[j+2])); ^~~~~~~~~ partition.c:702:12: warning: implicit declaration of function 'encode8b' [-Wimplicit-function-declaration] putc(encode8b(index), i_out); ^~~~~~~~ partition.c:709:26: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] if (fputs(src_index_buf+j, i_out) == EOF) { /* Rest of the partitions information */ ~~~~~~~~~~~~~^~ In file included from glimpse.h:8, from partition.c:3: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ partition.c:754:14: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while(fgets(src_index_buf, REAL_INDEX_BUF, i_in)) { ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ partition.c:761:12: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(src_index_buf, i_out); ^~~~~~~~~~~~~ In file included from glimpse.h:8, from partition.c:3: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ partition.c:784:15: warning: implicit declaration of function 'encode32b' [-Wimplicit-function-declaration] offset = encode32b(part_size); ^~~~~~~~~ partition.c:818:18: warning: implicit declaration of function 'dump_mini' [-Wimplicit-function-declaration] if (BuildTurbo) dump_mini(s); ^~~~~~~~~ partition.c:842:56: warning: comparison between pointer and zero character constant [-Wpointer-compare] if ((LIST_GET(name_list, i) != NULL) && (name_list[0] != '\0')) { ^~ partition.c:842:43: note: did you mean to dereference the pointer? if ((LIST_GET(name_list, i) != NULL) && (name_list[0] != '\0')) { ^ partition.c:848:3: warning: null argument where non-null required (argument 1) [-Wnonnull] fputs(LIST_GET(name_list, i), f_out); ^~~~~ partition.c:850:13: warning: null argument where non-null required (argument 1) [-Wnonnull] offset += strlen(LIST_GET(name_list, i)) + 1; ^~~~~~ partition.c:890:36: warning: implicit declaration of function 'build_filename_hashtable' [-Wimplicit-function-declaration] if (!built_filename_hashtable) build_filename_hashtable(name_list, file_num); ^~~~~~~~~~~~~~~~~~~~~~~~ partition.c:899:16: warning: implicit declaration of function 'get_new_index' [-Wimplicit-function-declaration] if ((index = get_new_index(deletedlist, e->index)) < 0) { ^~~~~~~~~~~~~ partition.c:605:83: warning: unused variable 'es3' [-Wunused-variable] char s[MAX_LINE_LEN], s1[MAX_LINE_LEN], es1[MAX_LINE_LEN], es2[MAX_LINE_LEN], es3[MAX_LINE_LEN], temp_rdelim[MAX_LINE_LEN]; ^~~ partition.c:605:27: warning: unused variable 's1' [-Wunused-variable] char s[MAX_LINE_LEN], s1[MAX_LINE_LEN], es1[MAX_LINE_LEN], es2[MAX_LINE_LEN], es3[MAX_LINE_LEN], temp_rdelim[MAX_LINE_LEN]; ^~ partition.c: At top level: partition.c:934:1: warning: return type defaults to 'int' [-Wimplicit-int] merge_splits() ^~~~~~~~~~~~ partition.c: In function 'merge_splits': partition.c:1022:15: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while (fgets(src_index_buf, REAL_INDEX_BUF, i_in)) { ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ partition.c:1029:12: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(src_index_buf, i_out); ^~~~~~~~~~~~~ In file included from glimpse.h:8, from partition.c:3: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ partition.c:1034:15: warning: implicit declaration of function 'encode16b' [-Wimplicit-function-declaration] index = encode16b(decode8b(src_index_buf[j+1])); ^~~~~~~~~ partition.c:1034:25: warning: implicit declaration of function 'decode8b' [-Wimplicit-function-declaration] index = encode16b(decode8b(src_index_buf[j+1])); ^~~~~~~~ partition.c:1052:6: warning: implicit declaration of function 'get_block_numbers' [-Wimplicit-function-declaration] get_block_numbers(&src_index_buf[j+1], &dest_index_buf[0], p_in); ^~~~~~~~~~~~~~~~~ partition.c:943:40: warning: unused variable 'i' [-Wunused-variable] int onefileperblock, structuredindex, i, recordlevelindex; ^ partition.c:939:24: warning: unused variable 's1' [-Wunused-variable] char s[MAX_LINE_LEN], s1[MAX_LINE_LEN], es1[MAX_LINE_LEN], es2[MAX_LINE_LEN], es3[MAX_LINE_LEN], temp_rdelim[MAX_LINE_LEN]; ^~ partition.c: In function 'partition': partition.c:172:6: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(working_dir, MAX_LINE_LEN - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:177:6: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(current_dir, MAX_LINE_LEN - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:178:6: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(working_dir); ^~~~~~~~~~~~~~~~~~ partition.c:193:6: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(working_dir, MAX_LINE_LEN - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:198:6: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(current_dir, MAX_LINE_LEN - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:199:6: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(working_dir); ^~~~~~~~~~~~~~~~~~ partition.c: In function 'oldpartition': partition.c:523:6: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(working_dir, MAX_LINE_LEN - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:528:6: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(current_dir, MAX_LINE_LEN - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:529:6: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(working_dir); ^~~~~~~~~~~~~~~~~~ partition.c:544:6: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(working_dir, MAX_LINE_LEN - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:549:6: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(current_dir, MAX_LINE_LEN - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:550:6: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(working_dir); ^~~~~~~~~~~~~~~~~~ partition.c: In function 'save_data_structures': partition.c:681:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(indexnumberbuf, 256, i_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:683:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(i_in, "%%%d\n", &onefileperblock); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:686:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(i_in, "%%%d%s\n", &structuredindex, temp_rdelim); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:724:6: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ partition.c:742:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(indexnumberbuf, 256, i_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:744:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(i_in, "%%%d\n", &onefileperblock); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:748:16: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(i_in, "%%%d%s\n", &structuredindex, temp_rdelim); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:814:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ partition.c:816:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(sync_path); /* sync() has a BUG */ ^~~~~~~~~~~~~~~~~ partition.c:826:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ partition.c:828:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ partition.c:876:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ partition.c:878:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ partition.c: In function 'merge_splits': partition.c:976:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(indexnumberbuf, 256, i_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:978:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(i_in, "%%%d\n", &onefileperblock); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:981:14: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(i_in, "%%%d%s\n", &structuredindex, temp_rdelim); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:998:4: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ partition.c:1005:4: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ partition.c:1007:4: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(sync_path); /* sync() has a BUG */ ^~~~~~~~~~~~~~~~~ partition.c:1016:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s, MAX_LINE_LEN, i_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:1017:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s, MAX_LINE_LEN, i_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:1018:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s, MAX_LINE_LEN, i_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:1075:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ partition.c:1087:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ partition.c: In function 'partition': partition.c:118:20: warning: '%s' directive writing 16 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, PROHIBIT_LIST); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 1041 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:139:20: warning: '%s' directive writing 16 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INCLUDE_LIST); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 1041 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:243:17: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(S, "%s/%s.tmp", INDEX_DIR, DEF_TIME_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 1047 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:250:17: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(S, "%s/%s", INDEX_DIR, DEF_TIME_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:257:17: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(S, "%s/%s.index", INDEX_DIR, DEF_TIME_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 1049 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:314:17: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(S, "%s/%s.tmp", INDEX_DIR, DEF_TIME_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 1047 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:235:27: warning: '%s' directive writing up to 1023 bytes into a region of size 1016 [-Wformat-overflow=] sprintf(S1, "system('%s') failed at:\n\t File=%s, Line=%d, Errno=%d", S, __FILE__, __LINE__, errno); ^~ ~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 60 and 1093 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:238:21: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(S, "%s/%s", INDEX_DIR, DEF_TIME_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c: In function 'oldpartition': partition.c:451:20: warning: '%s' directive writing 16 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, PROHIBIT_LIST); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 1041 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:472:20: warning: '%s' directive writing 16 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INCLUDE_LIST); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 1041 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c: In function 'save_data_structures': partition.c:633:17: warning: '%s' directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, ATTRIBUTE_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:641:20: warning: '%s' directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, P_TABLE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:730:16: warning: '/.glimpse_split.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_split.%d", INDEX_DIR, getpid()); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 1051 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:735:17: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:817:17: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:669:20: warning: '/.glimpse_split.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_split.%d", INDEX_DIR, getpid()); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 1051 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:674:21: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:830:20: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, NAME_LIST); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:835:20: warning: '%s' directive writing 24 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, NAME_LIST_INDEX); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 1049 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:880:20: warning: '%s' directive writing 17 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, NAME_HASH); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 1042 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:885:20: warning: '%s' directive writing 23 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, NAME_HASH_INDEX); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 25 and 1048 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c: In function 'merge_splits': partition.c:957:17: warning: '%s' directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, P_TABLE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:964:17: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:969:16: warning: '/.glimpse_merge.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_merge.%d", INDEX_DIR, getpid()); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 1051 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:991:18: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, MINI_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ partition.c:1010:18: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L../lib -o ../bin/buildcast buildcast.o region.o dir.o io.o build_in.o filetype.o simpletest.o getword.o memlook.o lib.o partition.o -lagrep -lm -ldl gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DBUILDCAST=0 glimpse.c glimpse.c:89:8: warning: type defaults to 'int' in declaration of 'set_usemalloc' [-Wimplicit-int] extern set_usemalloc(); /* compress/misc.c */ ^~~~~~~~~~~~~ glimpse.c:98:1: warning: return type defaults to 'int' [-Wimplicit-int] cross_boundary(oldnum, newnum) ^~~~~~~~~~~~~~ glimpse.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int] determine_sync() ^~~~~~~~~~~~~~ glimpse.c: In function 'determine_sync': glimpse.c:115:6: warning: unused variable 'i' [-Wunused-variable] int i, ret; ^ glimpse.c: At top level: glimpse.c:158:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ glimpse.c: In function 'main': glimpse.c:193:5: warning: implicit declaration of function 'build_filename_hashtable' [-Wimplicit-function-declaration] build_filename_hashtable((char *)NULL, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:201:13: warning: implicit declaration of function 'usage'; did you mean 'usleep'? [-Wimplicit-function-declaration] return usage(1); ^~~~~ usleep glimpse.c:536:2: warning: implicit declaration of function 'partition' [-Wimplicit-function-declaration] partition(argc, argv); ^~~~~~~~~ glimpse.c:573:5: warning: implicit declaration of function 'read_filters' [-Wimplicit-function-declaration] read_filters(INDEX_DIR, UseFilters); ^~~~~~~~~~~~ glimpse.c:585:5: warning: implicit declaration of function 'initialize_tuncompress' [-Wimplicit-function-declaration] initialize_tuncompress(string_file, freq_file, 0); ^~~~~~~~~~~~~~~~~~~~~~ glimpse.c:626:5: warning: implicit declaration of function 'set_indexable_char' [-Wimplicit-function-declaration] set_indexable_char(indexable_char); ^~~~~~~~~~~~~~~~~~ glimpse.c:847:19: warning: implicit declaration of function 'get_index_type' [-Wimplicit-function-declaration] if ((indextype = get_index_type(s, &indexnumber, &indextype, &structuredindex, temp_rdelim)) < 0) { ^~~~~~~~~~~~~~ glimpse.c:865:13: warning: implicit declaration of function 'get_array_of_lines' [-Wimplicit-function-declaration] file_num = get_array_of_lines(s, name_list, MaxNum24bPartition, 1); ^~~~~~~~~~~~~~~~~~ glimpse.c:866:2: warning: implicit declaration of function 'initialize_disable_list' [-Wimplicit-function-declaration] initialize_disable_list(file_num); ^~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:867:2: warning: implicit declaration of function 'initialize_data_structures' [-Wimplicit-function-declaration] initialize_data_structures(file_num); ^~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:871:14: warning: implicit declaration of function 'get_table'; did you mean 'setstate'? [-Wimplicit-function-declaration] part_num = get_table(s, p_table, MAX_PARTITION, 1) - 1; /* part_num INCLUDES last partition */ ^~~~~~~~~ setstate glimpse.c:873:7: warning: implicit declaration of function 'merge_splits' [-Wimplicit-function-declaration] else merge_splits(); ^~~~~~~~~~~~ glimpse.c:939:4: warning: implicit declaration of function 'remove_filename' [-Wimplicit-function-declaration] remove_filename(i, -1); ^~~~~~~~~~~~~~~ glimpse.c:969:2: warning: implicit declaration of function 'destroy_data_structures' [-Wimplicit-function-declaration] destroy_data_structures(); ^~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:972:12: warning: implicit declaration of function 'oldpartition'; did you mean 'MaxNumPartition'? [-Wimplicit-function-declaration] if (-1 == oldpartition(argc, argv)) { ^~~~~~~~~~~~ MaxNumPartition glimpse.c:1000:37: warning: implicit declaration of function 'build_index'; did you mean 'block2index'? [-Wimplicit-function-declaration] if (!DeleteFromIndex || FastIndex) build_index(); ^~~~~~~~~~~ block2index glimpse.c:1002:38: warning: implicit declaration of function 'purge_index'; did you mean 'rindex'? [-Wimplicit-function-declaration] else if (PurgeIndex) new_file_num = purge_index(); ^~~~~~~~~~~ rindex glimpse.c:831:106: warning: variable 'bytelevelindex' set but not used [-Wunused-but-set-variable] int indextype = 0, indexnumber = OFF, structuredindex = OFF, recordlevelindex = OFF, temp_attr_num = 0, bytelevelindex = OFF; ^~~~~~~~~~~~~~ glimpse.c:1021:5: warning: implicit declaration of function 'destroy_filename_hashtable' [-Wimplicit-function-declaration] destroy_filename_hashtable(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:1030:5: warning: implicit declaration of function 'cleanup' [-Wimplicit-function-declaration] cleanup(); ^~~~~~~ glimpse.c:1031:5: warning: implicit declaration of function 'save_data_structures' [-Wimplicit-function-declaration] save_data_structures(); ^~~~~~~~~~~~~~~~~~~~ glimpse.c:174:9: warning: unused variable 'backup' [-Wunused-variable] int backup; ^~~~~~ glimpse.c:173:9: warning: variable 'specialwords' set but not used [-Wunused-but-set-variable] int specialwords, threshold; ^~~~~~~~~~~~ glimpse.c:172:10: warning: unused variable 'outname' [-Wunused-variable] char outname[MAX_LINE_LEN]; ^~~~~~~ glimpse.c:171:10: warning: unused variable 'name' [-Wunused-variable] char name[MAX_LINE_LEN]; ^~~~ glimpse.c:165:27: warning: unused variable 's1' [-Wunused-variable] char s[MAX_LINE_LEN], s1[MAX_LINE_LEN]; ^~ glimpse.c:164:40: warning: unused variable 'es2' [-Wunused-variable] char *indexdir, es1[MAX_LINE_LEN], es2[MAX_LINE_LEN]; ^~~ glimpse.c:164:21: warning: unused variable 'es1' [-Wunused-variable] char *indexdir, es1[MAX_LINE_LEN], es2[MAX_LINE_LEN]; ^~~ glimpse.c: At top level: glimpse.c:1063:1: warning: return type defaults to 'int' [-Wimplicit-int] cleanup() ^~~~~~~ glimpse.c:1085:1: warning: return type defaults to 'int' [-Wimplicit-int] usage(flag) ^~~~~ glimpse.c: In function 'determine_sync': glimpse.c:120:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(S); ^~~~~~~~~ glimpse.c: In function 'main': glimpse.c:464:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, 1024, filefp); /* skip over num. of file names */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:521:6: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(INDEX_DIR, MAX_LINE_LEN-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:526:5: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(working_dir, MAX_LINE_LEN - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:531:5: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(INDEX_DIR, MAX_LINE_LEN - 1); /* must be absolute path name */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:532:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(working_dir); /* get back to where you were */ ^~~~~~~~~~~~~~~~~~ glimpse.c:1045:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(INDEX_DIR); ^~~~~~~~~~~~~~~~ glimpse.c:1047:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(s); ^~~~~~~~~ glimpse.c: In function 'cleanup': glimpse.c:1067:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, I1); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ glimpse.c:1069:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, I2); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ glimpse.c:1071:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, I3); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ glimpse.c:1073:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, O1); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ glimpse.c:1075:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, O2); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ glimpse.c:1077:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, O3); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ glimpse.c:1079:19: warning: '/.glimpse_apply.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(s, "%s/.glimpse_apply.%d", INDEX_DIR, getpid()); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 1051 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ glimpse.c: In function 'main': glimpse.c:587:20: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, DEF_TIME_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ glimpse.c:601:20: warning: '%s' directive writing 17 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, DEF_MESSAGE_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 1042 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ glimpse.c:607:20: warning: '%s' directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, DEF_STAT_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ glimpse.c:834:17: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ glimpse.c:864:17: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, NAME_LIST); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ glimpse.c:870:18: warning: '%s' directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, P_TABLE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ glimpse.c:1012:20: warning: '%s' directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(s, "%s/%s", INDEX_DIR, P_TABLE); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ glimpse.c:454:22: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(buffer, "%s/%s", INDEX_DIR, NAME_LIST); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ glimpse.c:459:22: warning: '%s' directive writing 24 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(buffer, "%s/%s.tmp", INDEX_DIR, NAME_LIST_INDEX); ^~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 30 and 1053 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ glimpse.c:482:22: warning: '%s' directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=] sprintf(buffer, "mv %s/%s.tmp %s/%s", INDEX_DIR, NAME_LIST_INDEX, INDEX_DIR, NAME_LIST_INDEX); ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 59 and 2105 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L../lib -o ../bin/glimpseindex glimpse.o region.o dir.o io.o build_in.o filetype.o simpletest.o getword.o memlook.o lib.o partition.o -lagrep -lm -ldl gcc -I../index -I../agrep -I../libtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o convert.o convert.c convert.c: In function 'element2name': convert.c:142:7: warning: unused variable 'k' [-Wunused-variable] int k, offset, lastoffset = -1, len; ^ convert.c: In function 'mem_element2name': convert.c:189:35: warning: unused variable 'len' [-Wunused-variable] int i, offset, lastoffset = -1, len; ^~~ convert.c: At top level: convert.c:319:1: warning: return type defaults to 'int' [-Wimplicit-int] mem_name2element(pelement, file, len, filehash_buffer, filehash_index_buffer, files_used) ^~~~~~~~~~~~~~~~ convert.c: In function 'mem_name2element': convert.c:327:14: warning: unused variable 'ret' [-Wunused-variable] int lasti, ret, i, k, foundblank=0, offset, lastoffset = -1, hash, size; ^~~ convert.c: In function 'do_conversion': convert.c:416:14: warning: unused variable 'istbuf' [-Wunused-variable] struct stat istbuf; ^~~~~~ convert.c:413:8: warning: unused variable 's' [-Wunused-variable] char s[MAX_LINE_LEN]; ^ convert.c: In function 'change_format': convert.c:581:10: warning: implicit declaration of function 'usage'; did you mean 'usleep'? [-Wimplicit-function-declaration] return usage(); ^~~~~ usleep convert.c:568:102: warning: variable 'bytelevelindex' set but not used [-Wunused-but-set-variable] int lastslash, name_len, indextype, indexnumber, structuredindex, recordlevelindex, temp_attr_num, bytelevelindex; /*indextype*/ ^~~~~~~~~~~~~~ convert.c:568:87: warning: variable 'temp_attr_num' set but not used [-Wunused-but-set-variable] int lastslash, name_len, indextype, indexnumber, structuredindex, recordlevelindex, temp_attr_num, bytelevelindex; /*indextype*/ ^~~~~~~~~~~~~ convert.c:568:69: warning: variable 'recordlevelindex' set but not used [-Wunused-but-set-variable] int lastslash, name_len, indextype, indexnumber, structuredindex, recordlevelindex, temp_attr_num, bytelevelindex; /*indextype*/ ^~~~~~~~~~~~~~~~ convert.c: In function 'name2element': convert.c:298:11: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] buffer[k] = FILE_END_MARK; ^ convert.c: In function 'mem_name2element': convert.c:379:11: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] buffer[k] = FILE_END_MARK; ^ convert.c: In function 'change_format': convert.c:794:22: warning: '%s' directive writing up to 1023 bytes into a region of size 1018 [-Wformat-overflow=] sprintf(s, "mv -f %s %s", outname, realname); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:873, from glimpse.h:8, from convert.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 8 and 2054 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L../lib -o ../bin/wgconvert convert.o io.o simpletest.o filetype.o region.o memlook.o getword.o -lagrep -lm -ldl make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/index' make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/dynfilters' flex -F -8 htuml2txt.lex gcc -O3 -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c lex.yy.c lex.yy.c:4319:16: warning: 'input' defined but not used [-Wunused-function] static int input (void) ^~~~~ lex.yy.c:4276:17: warning: 'yyunput' defined but not used [-Wunused-function] static void yyunput (int c, char * yy_bp ) ^~~~~~~ gcc -o htuml2txt lex.yy.o -lfl make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/dynfilters' gcc -c -Iindex -Iagrep -Ilibtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DISSERVER=0 -o main.o main.c main.c:204:8: warning: type defaults to 'int' in declaration of 'free_list' [-Wimplicit-int] extern free_list(); ^~~~~~~~~ main.c: In function 'glimpse_search': main.c:292:48: warning: "/*" within comment [-Wcomment] /* beginregionptr = curtextend - GD_length; /* prevent next curtextbegin to go behind previous curtextend (!) */ main.c:373:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~~~ In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:140:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ main.c:373:29: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~ In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:140:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ main.c:400:15: warning: implicit declaration of function 'memagrep_search'; did you mean 'glimpse_search'? [-Wimplicit-function-declaration] if ((ret = memagrep_search(AM, APattern, curtextend-curtextbegin, curtextbegin, 0, outfp)) > 0) ^~~~~~~~~~~~~~~ glimpse_search main.c:417:15: warning: implicit declaration of function 'exec'; did you mean 'rexec'? [-Wimplicit-function-declaration] if ((ret = exec(-1, NULL)) > 0) ^~~~ rexec main.c:438:4: warning: implicit declaration of function 'file_out'; did you mean 'fileno'? [-Wimplicit-function-declaration] file_out(realfilename); ^~~~~~~~ fileno main.c:237:13: warning: variable 'MAXTIMES' set but not used [-Wunused-but-set-variable] static int MAXTIMES, MAXPGTIMES, pagesize; ^~~~~~~~ main.c:231:43: warning: unused variable 'c' [-Wunused-variable] CHAR *text, *curtextend, *curtextbegin, c; ^ main.c:229:8: warning: unused variable 'sig' [-Wunused-variable] char sig[SIGNATURE_LEN]; ^~~ main.c: At top level: main.c:466:1: warning: return type defaults to 'int' [-Wimplicit-int] read_index(indexdir) ^~~~~~~~~~ main.c: In function 'read_index': main.c:536:20: warning: implicit declaration of function 'get_table'; did you mean 'setstate'? [-Wimplicit-function-declaration] GNumpartitions = get_table(P_TABLE, p_table, MAX_PARTITION, 0); ^~~~~~~~~ setstate main.c:562:63: warning: implicit declaration of function 'read_mini'; did you mean 'readline'? [-Wimplicit-function-declaration] if (OneFilePerBlock && glimpse_isserver && (minifp != NULL)) read_mini(indexfp, minifp); ^~~~~~~~~ readline main.c:563:2: warning: implicit declaration of function 'read_filenames'; did you mean 'read_index'? [-Wimplicit-function-declaration] read_filenames(); ^~~~~~~~~~~~~~ read_index main.c:566:2: warning: implicit declaration of function 'set_indexable_char' [-Wimplicit-function-declaration] set_indexable_char(indexable_char); ^~~~~~~~~~~~~~~~~~ main.c:568:2: warning: implicit declaration of function 'set_special_char' [-Wimplicit-function-declaration] set_special_char(indexable_char); ^~~~~~~~~~~~~~~~ main.c: At top level: main.c:600:1: warning: return type defaults to 'int' [-Wimplicit-int] reinitialize_server(argc, argv) ^~~~~~~~~~~~~~~~~~~ main.c: In function 'reinitialize_server': main.c:593:3: warning: implicit declaration of function 'attr_free_table'; did you mean 'attr_name_to_id'? [-Wimplicit-function-declaration] attr_free_table();\ ^~~~~~~~~~~~~~~ main.c:605:2: note: in expansion of macro 'CLEANUP' CLEANUP; ^~~~~~~ main.c:595:2: warning: implicit declaration of function 'destroy_filename_hashtable' [-Wimplicit-function-declaration] destroy_filename_hashtable();\ ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:605:2: note: in expansion of macro 'CLEANUP' CLEANUP; ^~~~~~~ main.c:604:9: warning: unused variable 'fd' [-Wunused-variable] int i, fd; ^~ main.c:604:6: warning: unused variable 'i' [-Wunused-variable] int i, fd; ^ main.c: At top level: main.c:693:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ main.c: In function 'main': main.c:727:3: warning: implicit declaration of function 'usage'; did you mean 'usleep'? [-Wimplicit-function-declaration] usage(); /* Client nees at least 1 argument */ ^~~~~ usleep main.c:743:2: warning: implicit declaration of function 'init_filename_hashtable' [-Wimplicit-function-declaration] init_filename_hashtable(); ^~~~~~~~~~~~~~~~~~~~~~~ main.c:747:14: warning: pointer targets in passing argument 1 of 'gethostname' differ in signedness [-Wpointer-sign] gethostname(SERV_HOST, MAXNAME - 2); ^~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/unistd.h:272:1: note: expected 'char *' but argument is of type 'unsigned char *' __NTH (gethostname (char *__buf, size_t __buflen)) ^~~~~ main.c:751:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(&GProgname[0], argv[0]); ^~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:753:2: warning: implicit declaration of function 'region_initialize'; did you mean 'reinitialize'? [-Wimplicit-function-declaration] region_initialize(); ^~~~~~~~~~~~~~~~~ reinitialize main.c:800:18: warning: implicit declaration of function 'usageS'; did you mean 'usleep'? [-Wimplicit-function-declaration] RETURNMAIN(usageS()); ^~~~~~ main.c:735:13: note: in definition of macro 'RETURNMAIN' if (val < 0) exit (2);\ ^~~ main.c:824:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(SERV_HOST, argv[0]); ^~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:828:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(SERV_HOST, p+1); ^~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:1214:26: warning: pointer targets in passing argument 1 of 'gethostbyname' differ in signedness [-Wpointer-sign] if ((hp = gethostbyname(SERV_HOST)) == NULL) { ^~~~~~~~~ In file included from communicate.c:18, from main.c:33: /usr/include/netdb.h:142:24: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct hostent *gethostbyname (const char *__name); ^~~~~~~~~~~~~ main.c:1284:8: warning: implicit declaration of function 'process_query'; did you mean 'process_Y_option'? [-Wimplicit-function-declaration] ret = process_query(oldargc, oldargv, fileno(stdin)); ^~~~~~~~~~~~~ process_Y_option main.c:715:7: warning: unused variable 'array' [-Wunused-variable] char array[4]; ^~~~~ main.c:713:25: warning: unused variable 'clstderr' [-Wunused-variable] int clstdin, clstdout, clstderr; ^~~~~~~~ main.c:713:15: warning: unused variable 'clstdout' [-Wunused-variable] int clstdin, clstdout, clstderr; ^~~~~~~~ main.c:713:6: warning: unused variable 'clstdin' [-Wunused-variable] int clstdin, clstdout, clstderr; ^~~~~~~ main.c:712:9: warning: unused variable 'clargv' [-Wunused-variable] char **clargv; ^~~~~~ main.c:711:6: warning: unused variable 'clargc' [-Wunused-variable] int clargc; ^~~~~~ main.c:710:6: warning: unused variable 'cli_len' [-Wunused-variable] int cli_len; ^~~~~~~ main.c:707:21: warning: unused variable 'cli_addr' [-Wunused-variable] struct sockaddr_in cli_addr, serv_addr; ^~~~~~~~ main.c:703:6: warning: unused variable 'clout' [-Wunused-variable] int clout; ^~~~~ main.c:702:38: warning: unused variable 'clpid' [-Wunused-variable] int sockfd, newsockfd, clilen, len, clpid; ^~~~~ main.c:702:25: warning: unused variable 'clilen' [-Wunused-variable] int sockfd, newsockfd, clilen, len, clpid; ^~~~~~ main.c:702:14: warning: unused variable 'newsockfd' [-Wunused-variable] int sockfd, newsockfd, clilen, len, clpid; ^~~~~~~~~ main.c: At top level: main.c:1289:1: warning: return type defaults to 'int' [-Wimplicit-int] process_query(argc, argv, newsockfd) ^~~~~~~~~~~~~ main.c: In function 'process_query': main.c:1387:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(&GProgname[0], argv[0]); ^~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:1434:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(GD_pattern, "\n"); ^~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:1435:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] GD_length = strlen(GD_pattern); ^~~~~~~~~~ In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ main.c:1462:7: warning: implicit declaration of function 'fileagrep' [-Wimplicit-function-declaration] i = fileagrep(oldargc, oldargv, 0, stdout); ^~~~~~~~~ main.c:1375:22: warning: implicit declaration of function 'destroy_tree' [-Wimplicit-function-declaration] if (ComplexBoolean) destroy_tree(&GParse);\ ^~~~~~~~~~~~ main.c:1463:3: note: in expansion of macro 'RETURN' RETURN(i); ^~~~~~ main.c:1572:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(FileOpt, argv[0]); ^~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:1579:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(FileOpt, p+1); ^~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:1735:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(SERV_HOST, argv[0]); ^~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:1741:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(SERV_HOST, p+1); ^~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:2091:3: warning: implicit declaration of function 'read_filters'; did you mean 'read_index'? [-Wimplicit-function-declaration] read_filters(INDEX_DIR, UseFilters); ^~~~~~~~~~~~ read_index main.c:2095:13: warning: implicit declaration of function 'fileagrep_init' [-Wimplicit-function-declaration] if ((GM = fileagrep_init(agrep_argc, agrep_argv, MAXPAT, GPattern)) <= 0) { ^~~~~~~~~~~~~~ main.c:2119:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(APattern, GPattern); ^~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:2119:21: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(APattern, GPattern); ^~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:2127:33: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(terminals[0].data.leaf.value, GPattern); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:2127:41: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(terminals[0].data.leaf.value, GPattern); ^~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:2130:12: warning: implicit declaration of function 'split_pattern' [-Wimplicit-function-declaration] else if (split_pattern(GPattern, GM, APattern, terminals, &num_terminals, &GParse, StructuredIndex) <= 0) RETURN(-1); ^~~~~~~~~~~~~ main.c:2150:13: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] AM=strlen(APattern); ^~~~~~~~ In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ main.c:2152:32: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(agrep_argv[patindex], APattern); ^~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:2165:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(dest_index_buf, "BEGIN", strlen("BEGIN"))) break; ^~~~~~~~~~~~~~ In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:140:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ main.c:2167:11: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(&dest_index_buf[strlen("BEGIN")], "%d%d%d", &bestmatcherrors, &NOBYTELEVEL, &OPTIMIZEBYTELEVEL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/stdio.h:414:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^~~~~~~~~~~~~~ main.c:2172:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(dest_index_buf, "END", strlen("END"))) break; ^~~~~~~~~~~~~~ In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:140:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ main.c:2181:61: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] GTextfiles[GNumfiles++] = (CHAR *)strdup(GTextfilenames[x]); ~~~~~~~~~~~~~~^~~ In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:167:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strdup (const char *__s) ^~~~~~ main.c:2186:61: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] GTextfiles[GNumfiles++] = (CHAR *)strdup(GTextfilenames[x]); ~~~~~~~~~~~~~~^~~ In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:167:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strdup (const char *__s) ^~~~~~ main.c:2273:9: warning: implicit declaration of function 'search_index'; did you mean 'read_index'? [-Wimplicit-function-declaration] ret = search_index(GParse); ^~~~~~~~~~~~ read_index main.c:2299:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (src_index_set[iii] & mask_int[jjj]) ^ main.c:2328:11: warning: unused variable 'len' [-Wunused-variable] int i, len = -1, nextchar; ^~~ main.c:2429:24: warning: implicit declaration of function 'mask_filenames' [-Wimplicit-function-declaration] if (FILENAMESINFILE) mask_filenames(src_index_set, filenames_file, file_num, num_blocks); /* keep only those files that are in filenames_file */ ^~~~~~~~~~~~~~ main.c:2436:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (src_index_set[iii] & mask_int[jjj]) ^ main.c:2457:4: warning: implicit declaration of function 'get_filenames'; did you mean 'get_file_time'? [-Wimplicit-function-declaration] get_filenames(src_index_set, 0, NULL, dummylen, dummypat, file_num); ^~~~~~~~~~~~~ get_file_time main.c:2532:26: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(index_argv[0], GProgname); ^~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:2565:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] fileopt_length = strlen(FileOpt); ^~~~~~~ In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ main.c:2566:42: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(index_argv[index_argc],FileOpt+j,fileopt_length-j); ~~~~~~~^~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:107:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ main.c:2692:37: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/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, ...)) ^~~~~ main.c:2693:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:2693:46: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ~~~~~~~~~~^~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:2698:18: warning: implicit declaration of function 'fileagrep_search'; did you mean 'glimpse_search'? [-Wimplicit-function-declaration] if ((ret = fileagrep_search(AM, APattern, 1, >extfiles[i], 0, stdout)) > 0) { ^~~~~~~~~~~~~~~~ glimpse_search main.c:2721:37: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/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, ...)) ^~~~~ main.c:2722:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:2722:46: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ~~~~~~~~~~^~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:2764:10: warning: implicit declaration of function 'apply_filter' [-Wimplicit-function-declaration] if (apply_filter(GTextfiles[i], outname[0]) == 1) { ^~~~~~~~~~~~ main.c:2767:37: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/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, ...)) ^~~~~ main.c:2768:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:2768:46: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ~~~~~~~~~~^~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:2812:38: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/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, ...)) ^~~~~ main.c:2813:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:2813:47: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ~~~~~~~~~~^~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:2883:36: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/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, ...)) ^~~~~ main.c:2884:18: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:2884:45: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ~~~~~~~~~~^~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:2928:54: warning: implicit declaration of function 'filter_output' [-Wimplicit-function-declaration] ret = filter_output(GTextfiles[i], tempfile, GParse, GD_pattern, GD_length, GOUTTAIL, nullfp, StructuredIndex); ^~~~~~~~~~~~~ main.c:2970:36: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/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, ...)) ^~~~~ main.c:2971:18: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:2971:45: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ~~~~~~~~~~^~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:1317:6: warning: variable 'gprev_num_of_matched' set but not used [-Wunused-but-set-variable] int gprev_num_of_matched = 0; ^~~~~~~~~~~~~~~~~~~~ main.c:1309:7: warning: unused variable 'temp_file' [-Wunused-variable] char temp_file[MAX_LINE_LEN]; ^~~~~~~~~ main.c:1308:7: warning: unused variable 'TEMP_FILE' [-Wunused-variable] char TEMP_FILE[MAX_LINE_LEN]; ^~~~~~~~~ main.c:1303:6: warning: unused variable 'jj' [-Wunused-variable] int jj; ^~ main.c:1296:6: warning: unused variable 'num_read' [-Wunused-variable] int num_read; ^~~~~~~~ main.c: In function 'getbyteoff': main.c:3128:19: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] *pbyteoff = atoi(temp); ^~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^~~~~ main.c: In function 'filter_output': main.c:3182:32: warning: implicit declaration of function 'region_create'; did you mean 'timer_create'? [-Wimplicit-function-declaration] if (StructuredIndex && (-1 == region_create(infile))) { ^~~~~~~~~~~~~ timer_create main.c:3189:25: warning: implicit declaration of function 'region_destroy' [-Wimplicit-function-declaration] if (StructuredIndex) region_destroy(); ^~~~~~~~~~~~~~ main.c:3262:48: warning: implicit declaration of function 'region_identify' [-Wimplicit-function-declaration] else if ( (num_attr <= 0) || (((attribute = region_identify(byteoff, 0)) < num_attr) && (attribute >= 0)) ) { ^~~~~~~~~~~~~~~ main.c:3286:57: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (memagrep_search( strlen(terminals[i].data.leaf.value), terminals[i].data.leaf.value, ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ main.c:3341:17: warning: implicit declaration of function 'eval_tree' [-Wimplicit-function-declaration] success = eval_tree(GParse, matched_terminals); ^~~~~~~~~ main.c:3171:6: warning: unused variable 'count' [-Wunused-variable] int count = 0; ^~~~~ main.c: At top level: main.c:3481:1: warning: return type defaults to 'int' [-Wimplicit-int] usage() ^~~~~ main.c:3561:1: warning: return type defaults to 'int' [-Wimplicit-int] usageS() ^~~~~~ main.c: In function 'glimpse_search': main.c:338:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(beginregionptr, 1, num, infp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'process_Y_option': main.c:457:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(arrayend, 1, 4, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'read_index': main.c:475:4: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(indexdir, MAXNAME-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:527:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(indexnumberbuf, 256, indexfp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:530:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(indexfp, "%%%d\n", &OneFilePerBlock); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:538:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(indexfp, "%%%d%s\n", &StructuredIndex, old_rdelim); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'cleanup': main.c:646:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(svstderr); ^~~~~~~~~~~~~ main.c: In function 'quitrequest': main.c:678:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(svstderr, QUITREQUESTMSG, strlen(QUITREQUESTMSG)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:1267:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fileno(stdout), tmpbuf, n); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'process_query': main.c:1822:6: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(temp_bitfield_file, MAX_LINE_LEN-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1846:6: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(temp_filenames_file, MAX_LINE_LEN-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:2467:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cc, 4, stdin); ^~~~~~~~~~~~~~~~~~~ main.c:2524:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cc, 4, stdin); ^~~~~~~~~~~~~~~~~~~ main.c:2595:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cc, 4, stdin); ^~~~~~~~~~~~~~~~~~~ main.c:2652:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cc, 4, stdin); ^~~~~~~~~~~~~~~~~~~ At top level: main.c:198:12: warning: 'one' defined but not used [-Wunused-variable] static int one = 1; /* to set socket option so that glimpseserver releases socket after death */ ^~~ main.c: In function 'filter_output': main.c:3255:7: warning: 'skiplen' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((skiplen < 0) || (byteoff < 0)) { /* output the whole line as it is: there is nothing to strip (e.g., -l) */ ^ gcc -c -Iindex -Iagrep -Ilibtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o get_filename.o get_filename.c get_filename.c:43:1: warning: return type defaults to 'int' [-Wimplicit-int] read_filenames() ^~~~~~~~~~~~~~ get_filename.c: In function 'read_filenames': get_filename.c:63:9: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] fgets(buffer, MAX_NAME_SIZE, fp); ^~~~~~ In file included from /usr/include/stdio.h:873, from index/glimpse.h:8, from get_filename.c:5: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ get_filename.c:64:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] first_line_len = strlen(buffer); ^~~~~~ In file included from index/glimpse.h:10, from get_filename.c:5: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ get_filename.c:66:10: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(buffer, "%d", &file_num); ^~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from get_filename.c:2: /usr/include/stdio.h:414:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^~~~~~~~~~~~~~ get_filename.c:77:3: warning: implicit declaration of function 'initialize_data_structures' [-Wimplicit-function-declaration] initialize_data_structures(file_num); ^~~~~~~~~~~~~~~~~~~~~~~~~~ get_filename.c: In function 'mask_filenames': get_filename.c:126:103: warning: implicit declaration of function 'slow_mask_filenames'; did you mean 'mask_filenames'? [-Wimplicit-function-declaration] if ((num_blocks*100/num_files > DEF_MAX_INDEX_PERCENT/2) && (num_blocks > MaxNum8bPartition)) return slow_mask_filenames(index_vect, infile); ^~~~~~~~~~~~~~~~~~~ mask_filenames get_filename.c:173:15: warning: implicit declaration of function 'memagrep'; did you mean 'setpgrp'? [-Wimplicit-function-declaration] if ((((ret = memagrep(5, argv, name_list_size, name_list_buffer, outputbuffer_len, outputbuffer)) <= 0) || (agrep_outpointer <= 0)) && (errno != ERANGE)) { ^~~~~~~~ setpgrp get_filename.c: At top level: get_filename.c:484:1: warning: return type defaults to 'int' [-Wimplicit-int] get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) ^~~~~~~~~~~~~ get_filename.c: In function 'get_filenames': get_filename.c:539:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ get_filename.c:484:1: note: declared here get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) ^~~~~~~~~~~~~ get_filename.c:581:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ get_filename.c:484:1: note: declared here get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) ^~~~~~~~~~~~~ get_filename.c:598:22: warning: implicit declaration of function 'memagrep_init' [-Wimplicit-function-declaration] if ((dummylen = memagrep_init(argc, argv, MAX_PAT, dummypat)) <= 0) goto end_files; ^~~~~~~~~~~~~ get_filename.c:600:12: warning: implicit declaration of function 'memagrep_search' [-Wimplicit-function-declaration] ret = memagrep_search(dummylen, dummypat, dummylen*2, beginptr, outputbuffer_len, outputbuffer); ^~~~~~~~~~~~~~~ get_filename.c:673:7: warning: 'return' with no value, in function returning non-void return; ^~~~~~ get_filename.c:484:1: note: declared here get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) ^~~~~~~~~~~~~ get_filename.c:752:7: warning: 'return' with no value, in function returning non-void return; ^~~~~~ get_filename.c:484:1: note: declared here get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) ^~~~~~~~~~~~~ get_filename.c:596:37: warning: variable 'myWORDBOUND' set but not used [-Wunused-but-set-variable] int myREGEX, myFASTREGEX, myD, myWORDBOUND; ^~~~~~~~~~~ get_filename.c:596:32: warning: variable 'myD' set but not used [-Wunused-but-set-variable] int myREGEX, myFASTREGEX, myD, myWORDBOUND; ^~~ get_filename.c:596:19: warning: variable 'myFASTREGEX' set but not used [-Wunused-but-set-variable] int myREGEX, myFASTREGEX, myD, myWORDBOUND; ^~~~~~~~~~~ get_filename.c:596:10: warning: variable 'myREGEX' set but not used [-Wunused-but-set-variable] int myREGEX, myFASTREGEX, myD, myWORDBOUND; ^~~~~~~ get_filename.c:778:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ get_filename.c:484:1: note: declared here get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) ^~~~~~~~~~~~~ get_filename.c: In function 'read_filenames': get_filename.c:63:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, MAX_NAME_SIZE, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -Iindex -Iagrep -Ilibtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o get_index.o get_index.c get_index.c:43:1: warning: return type defaults to 'int' [-Wimplicit-int] free_list(p1) ^~~~~~~~~ get_index.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int] sorted_union(list1, list2, f, pf, cf) ^~~~~~~~~~~~ get_index.c: In function 'sorted_union': get_index.c:66:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ get_index.c:56:1: note: declared here sorted_union(list1, list2, f, pf, cf) ^~~~~~~~~~~~ get_index.c:97:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ get_index.c:56:1: note: declared here sorted_union(list1, list2, f, pf, cf) ^~~~~~~~~~~~ get_index.c: At top level: get_index.c:118:1: warning: return type defaults to 'int' [-Wimplicit-int] sorted_intersection(filenum, list1, list2, f) ^~~~~~~~~~~~~~~~~~~ get_index.c: In function 'sorted_intersection': get_index.c:118:1: warning: type of 'filenum' defaults to 'int' [-Wimplicit-int] get_index.c:129:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ get_index.c:118:1: note: declared here sorted_intersection(filenum, list1, list2, f) ^~~~~~~~~~~~~~~~~~~ get_index.c:124:18: warning: unused variable 'tp' [-Wunused-variable] struct offsets *tp; ^~ get_index.c: At top level: get_index.c:225:1: warning: return type defaults to 'int' [-Wimplicit-int] purge_offsets(p1) ^~~~~~~~~~~~~ get_index.c:241:1: warning: return type defaults to 'int' [-Wimplicit-int] get_set(buffer, set, offset_table, patlen, pattern, patattr, outfile, partfp, frequency, prevfreq) ^~~~~~~ get_index.c: In function 'get_set': get_index.c:257:14: warning: implicit declaration of function 'encode8b' [-Wimplicit-function-declaration] int delim = encode8b(0); ^~~~~~~~ get_index.c:269:16: warning: implicit declaration of function 'decode8b' [-Wimplicit-function-declaration] indexattr = decode8b(buffer[bdx2+1]); ^~~~~~~~ get_index.c:272:16: warning: implicit declaration of function 'decode16b' [-Wimplicit-function-declaration] indexattr = decode16b((buffer[bdx2+1] << 8) | (buffer[bdx2 + 2])); ^~~~~~~~~ get_index.c:318:14: warning: implicit declaration of function 'memagrep_search' [-Wimplicit-function-declaration] if ((ret = memagrep_search(patlen, pattern, bdx2+1, buffer, 0, outfile)) <= 0) return 0; ^~~~~~~~~~~~~~~ get_index.c:328:6: warning: implicit declaration of function 'get_block_numbers' [-Wimplicit-function-declaration] get_block_numbers(&buffer[bdx2], &buffer[bdx2], partfp); ^~~~~~~~~~~~~~~~~ get_index.c:344:8: warning: implicit declaration of function 'decode24b' [-Wimplicit-function-declaration] x = decode24b(x); ^~~~~~~~~ get_index.c:355:8: warning: implicit declaration of function 'decode12b' [-Wimplicit-function-declaration] x = decode12b(x); ^~~~~~~~~ get_index.c: At top level: get_index.c:489:1: warning: return type defaults to 'int' [-Wimplicit-int] get_index(infile, index_tab, offset_tab, pattern, patlen, patattr, index_argv, index_argc, outfile, partfp, parse, first_time) ^~~~~~~~~ get_index.c: In function 'get_index': get_index.c:524:28: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while(fgets(dest_index_buf+1, REAL_INDEX_BUF-1, f_in)) { ~~~~~~~~~~~~~~^~ In file included from /usr/include/stdio.h:873, from index/glimpse.h:8, from get_index.c:2: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ get_index.c:597:3: warning: label 'both_are_1' defined but not used [-Wunused-label] both_are_1: ^~~~~~~~~~ get_index.c:562:3: warning: label 'ret_is_1' defined but not used [-Wunused-label] ret_is_1: ^~~~~~~~ get_index.c: At top level: get_index.c:697:1: warning: return type defaults to 'int' [-Wimplicit-int] mgrep_get_index(infile, index_tab, offset_tab, pat_list, pat_lens, pat_attr, mgrep_pat_index, num_mgrep_pat, patbufpos, index_argv, index_argc, outfile, partfp, parse, first_time) ^~~~~~~~~~~~~~~ get_index.c: In function 'mgrep_get_index': get_index.c:734:13: warning: implicit declaration of function 'fileagrep' [-Wimplicit-function-declaration] if ((ret = fileagrep(index_argc, index_argv, 0, f_in)) < 0) { ^~~~~~~~~ get_index.c:746:18: warning: implicit declaration of function 'memagrep_init' [-Wimplicit-function-declaration] if ((dummylen = memagrep_init(index_argc, index_argv, MAX_PAT, dummypat)) <= 0) { ^~~~~~~~~~~~~ get_index.c:779:28: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while(fgets(dest_index_buf+1, REAL_INDEX_BUF, f_in)) { ~~~~~~~~~~~~~~^~ In file included from /usr/include/stdio.h:873, from index/glimpse.h:8, from get_index.c:2: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ get_index.c:781:10: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(&dest_index_buf[1], "%d-", &patnum); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from index/glimpse.h:8, from get_index.c:2: /usr/include/stdio.h:414:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^~~~~~~~~~~~~~ get_index.c:891:4: warning: label 'both_are_1' defined but not used [-Wunused-label] both_are_1: ^~~~~~~~~~ get_index.c:852:4: warning: label 'ret_is_1' defined but not used [-Wunused-label] ret_is_1: ^~~~~~~~ get_index.c:717:16: warning: unused variable 'even_words' [-Wunused-variable] int x=0, y=0, even_words=1; ^~~~~~~~~~ get_index.c:717:11: warning: unused variable 'y' [-Wunused-variable] int x=0, y=0, even_words=1; ^ get_index.c:717:6: warning: unused variable 'x' [-Wunused-variable] int x=0, y=0, even_words=1; ^ get_index.c: In function 'mini_agrep': get_index.c:1063:12: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (stat(s, &st) == -1) { ^ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from index/glimpse.h:8, from get_index.c:2: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (stat (const char *__path, struct stat *__statbuf)) ^~~~~ get_index.c:1084:7: warning: implicit declaration of function 'get_mini'; did you mean 'getline'? [-Wimplicit-function-declaration] if (!get_mini(word, len, &beginoffset, &endoffset, 0, mini_array_len, minifp)) return 0; ^~~~~~~~ getline get_index.c:1091:44: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while ((curroffset < endoffset) && (fgets(s, MAX_LINE_LEN, indexfp) != NULL)) { ^ In file included from /usr/include/stdio.h:873, from index/glimpse.h:8, from get_index.c:2: /usr/include/bits/stdio2.h:257:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ get_index.c:1101:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] cmp = strcmp(word, s); ^~~~ In file included from index/glimpse.h:10, from get_index.c:2: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ get_index.c:1101:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] cmp = strcmp(word, s); ^ In file included from index/glimpse.h:10, from get_index.c:2: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ get_index.c:1112:9: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(s, outfp); ^ In file included from index/glimpse.h:8, from get_index.c:2: /usr/include/stdio.h:632:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ get_index.c: At top level: get_index.c:1120:1: warning: return type defaults to 'int' [-Wimplicit-int] fillup_target(result_index_set, result_offset_table, parse) ^~~~~~~~~~~~~ get_index.c: In function 'fillup_target': get_index.c:1141:40: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(index_argv[patindex], pat_list[i]); /* i-th pattern in its right position */ ~~~~~~~~^~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from index/glimpse.h:8, from get_index.c:2: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ get_index.c: In function 'search_index': get_index.c:1239:8: warning: implicit declaration of function 'split_terminal' [-Wimplicit-function-declaration] if (split_terminal(tree->terminalindex, tree->terminalindex+1) <= 0) return -1; ^~~~~~~~~~~~~~ get_index.c:1329:5: warning: label 'both_are_1' defined but not used [-Wunused-label] both_are_1: ^~~~~~~~~~ get_index.c:1295:5: warning: label 'ret_is_1' defined but not used [-Wunused-label] ret_is_1: ^~~~~~~~ get_index.c: In function 'free_list': get_index.c:53:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ get_index.c: In function 'purge_offsets': get_index.c:238:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ get_index.c: In function 'mini_agrep': get_index.c:1062:25: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf((char*)s, "%s/%s", INDEX_DIR, INDEX_FILE); ^~ In file included from /usr/include/stdio.h:873, from index/glimpse.h:8, from get_index.c:2: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ gcc -c -Iindex -Iagrep -Ilibtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o split.o split.c split.c: In function 'split_pattern_flat': split.c:106:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (buffer_pat = parse_flat(buffer, buffer_end, *pGParse, pGParse)) { ^~~~~~~~~~ split.c:168:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (foundattr || WHOLEFILESCOPE) /* then search must always be OR since scope is over whole files */ ^ split.c: In function 'get_attribute_value': split.c:180:1: warning: type of 'num_attr' defaults to 'int' [-Wimplicit-int] get_attribute_value(pattr, pval, tokenbuf, tokenlen, num_attr) ^~~~~~~~~~~~~~~~~~~ split.c: At top level: split.c:225:8: warning: type defaults to 'int' in declaration of 'destroy_tree' [-Wimplicit-int] extern destroy_tree(); /* use the one in agrep/asplit.c */ ^~~~~~~~~~~~ split.c: In function 'parse_tree': split.c:311:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(&apattern[*apatptr], n->data.leaf.value); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from index/glimpse.h:8, from split.c:3: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ split.c:311:44: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(&apattern[*apatptr], n->data.leaf.value); ~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from index/glimpse.h:8, from split.c:3: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ split.c:312:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] *apatptr += strlen(n->data.leaf.value); ~~~~~~~~~~~~^~~~~~ In file included from index/glimpse.h:10, from split.c:3: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ split.c:387:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(&apattern[*apatptr], n->data.leaf.value); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from index/glimpse.h:8, from split.c:3: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ split.c:387:44: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(&apattern[*apatptr], n->data.leaf.value); ~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from index/glimpse.h:8, from split.c:3: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ split.c:388:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] *apatptr += strlen(n->data.leaf.value); ~~~~~~~~~~~~^~~~~~ In file included from index/glimpse.h:10, from split.c:3: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ split.c: At top level: split.c:496:1: warning: return type defaults to 'int' [-Wimplicit-int] split_terminal(first, last) ^~~~~~~~~~~~~~ split.c: In function 'split_terminal': split.c:516:58: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] buffer_end = buffer + strlen(terminals[first].data.leaf.value); ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from index/glimpse.h:10, from split.c:3: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ split.c:520:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] word_length = strlen(word); ^~~~ In file included from index/glimpse.h:10, from split.c:3: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ split.c:586:40: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(pat_list[num_pat], word); ~~~~~~~~^~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from index/glimpse.h:8, from split.c:3: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ split.c:586:51: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(pat_list[num_pat], word); ^~~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from index/glimpse.h:8, from split.c:3: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ split.c:600:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(&pat_buf[pat_ptr], pat_list[i]); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from index/glimpse.h:8, from split.c:3: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ split.c:600:37: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(&pat_buf[pat_ptr], pat_list[i]); ~~~~~~~~^~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from index/glimpse.h:8, from split.c:3: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ split.c:507:8: warning: unused variable 'substring' [-Wunused-variable] char *substring; /* used with strstr(superstring, substring) */ ^~~~~~~~~ split.c:506:12: warning: unused variable 'k' [-Wunused-variable] int i, j, k, attribute; ^ split.c:506:9: warning: unused variable 'j' [-Wunused-variable] int i, j, k, attribute; ^ gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Llib -o bin/glimpse main.o get_filename.o get_index.o split.o index/region.o index/getword.o index/filetype.o index/simpletest.o index/memlook.o index/lib.o index/io.o -lagrep -lm -ldl cp main.c main_server.c gcc -c -Iindex -Iagrep -Ilibtemplate/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DISSERVER=1 -o main_server.o main_server.c main_server.c:204:8: warning: type defaults to 'int' in declaration of 'free_list' [-Wimplicit-int] extern free_list(); ^~~~~~~~~ main_server.c: In function 'glimpse_search': main_server.c:292:48: warning: "/*" within comment [-Wcomment] /* beginregionptr = curtextend - GD_length; /* prevent next curtextbegin to go behind previous curtextend (!) */ main_server.c:373:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~~~ In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:140:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ main_server.c:373:29: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~ In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:140:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ main_server.c:400:15: warning: implicit declaration of function 'memagrep_search'; did you mean 'glimpse_search'? [-Wimplicit-function-declaration] if ((ret = memagrep_search(AM, APattern, curtextend-curtextbegin, curtextbegin, 0, outfp)) > 0) ^~~~~~~~~~~~~~~ glimpse_search main_server.c:417:15: warning: implicit declaration of function 'exec'; did you mean 'rexec'? [-Wimplicit-function-declaration] if ((ret = exec(-1, NULL)) > 0) ^~~~ rexec main_server.c:438:4: warning: implicit declaration of function 'file_out'; did you mean 'fileno'? [-Wimplicit-function-declaration] file_out(realfilename); ^~~~~~~~ fileno main_server.c:237:13: warning: variable 'MAXTIMES' set but not used [-Wunused-but-set-variable] static int MAXTIMES, MAXPGTIMES, pagesize; ^~~~~~~~ main_server.c:231:43: warning: unused variable 'c' [-Wunused-variable] CHAR *text, *curtextend, *curtextbegin, c; ^ main_server.c:229:8: warning: unused variable 'sig' [-Wunused-variable] char sig[SIGNATURE_LEN]; ^~~ main_server.c: At top level: main_server.c:466:1: warning: return type defaults to 'int' [-Wimplicit-int] read_index(indexdir) ^~~~~~~~~~ main_server.c: In function 'read_index': main_server.c:536:20: warning: implicit declaration of function 'get_table'; did you mean 'setstate'? [-Wimplicit-function-declaration] GNumpartitions = get_table(P_TABLE, p_table, MAX_PARTITION, 0); ^~~~~~~~~ setstate main_server.c:562:63: warning: implicit declaration of function 'read_mini'; did you mean 'readline'? [-Wimplicit-function-declaration] if (OneFilePerBlock && glimpse_isserver && (minifp != NULL)) read_mini(indexfp, minifp); ^~~~~~~~~ readline main_server.c:563:2: warning: implicit declaration of function 'read_filenames'; did you mean 'read_index'? [-Wimplicit-function-declaration] read_filenames(); ^~~~~~~~~~~~~~ read_index main_server.c:566:2: warning: implicit declaration of function 'set_indexable_char' [-Wimplicit-function-declaration] set_indexable_char(indexable_char); ^~~~~~~~~~~~~~~~~~ main_server.c:568:2: warning: implicit declaration of function 'set_special_char' [-Wimplicit-function-declaration] set_special_char(indexable_char); ^~~~~~~~~~~~~~~~ main_server.c: At top level: main_server.c:600:1: warning: return type defaults to 'int' [-Wimplicit-int] reinitialize_server(argc, argv) ^~~~~~~~~~~~~~~~~~~ main_server.c: In function 'reinitialize_server': main_server.c:593:3: warning: implicit declaration of function 'attr_free_table'; did you mean 'attr_name_to_id'? [-Wimplicit-function-declaration] attr_free_table();\ ^~~~~~~~~~~~~~~ main_server.c:605:2: note: in expansion of macro 'CLEANUP' CLEANUP; ^~~~~~~ main_server.c:595:2: warning: implicit declaration of function 'destroy_filename_hashtable' [-Wimplicit-function-declaration] destroy_filename_hashtable();\ ^~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c:605:2: note: in expansion of macro 'CLEANUP' CLEANUP; ^~~~~~~ main_server.c:604:9: warning: unused variable 'fd' [-Wunused-variable] int i, fd; ^~ main_server.c:604:6: warning: unused variable 'i' [-Wunused-variable] int i, fd; ^ main_server.c: At top level: main_server.c:693:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ main_server.c: In function 'main': main_server.c:743:2: warning: implicit declaration of function 'init_filename_hashtable' [-Wimplicit-function-declaration] init_filename_hashtable(); ^~~~~~~~~~~~~~~~~~~~~~~ main_server.c:747:14: warning: pointer targets in passing argument 1 of 'gethostname' differ in signedness [-Wpointer-sign] gethostname(SERV_HOST, MAXNAME - 2); ^~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/unistd.h:272:1: note: expected 'char *' but argument is of type 'unsigned char *' __NTH (gethostname (char *__buf, size_t __buflen)) ^~~~~ main_server.c:751:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(&GProgname[0], argv[0]); ^~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:753:2: warning: implicit declaration of function 'region_initialize'; did you mean 'reinitialize'? [-Wimplicit-function-declaration] region_initialize(); ^~~~~~~~~~~~~~~~~ reinitialize main_server.c:800:18: warning: implicit declaration of function 'usageS'; did you mean 'usleep'? [-Wimplicit-function-declaration] RETURNMAIN(usageS()); ^~~~~~ main_server.c:735:13: note: in definition of macro 'RETURNMAIN' if (val < 0) exit (2);\ ^~~ main_server.c:824:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(SERV_HOST, argv[0]); ^~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:828:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(SERV_HOST, p+1); ^~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:1035:26: warning: pointer targets in passing argument 1 of 'gethostbyname' differ in signedness [-Wpointer-sign] if ((hp = gethostbyname(SERV_HOST)) == NULL) { ^~~~~~~~~ In file included from communicate.c:18, from main_server.c:33: /usr/include/netdb.h:142:24: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct hostent *gethostbyname (const char *__name); ^~~~~~~~~~~~~ main_server.c:1066:14: warning: implicit declaration of function 'do_select'; did you mean 'pselect'? [-Wimplicit-function-declaration] if ((ret = do_select(sockfd, 15)) == 0) { ^~~~~~~~~ pselect main_server.c:1083:65: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] if ((newsockfd = accept(sockfd, (struct sockaddr *)&cli_addr, &cli_len)) < 0) continue; ^~~~~~~~ In file included from communicate.c:14, from main_server.c:33: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ main_server.c:1135:10: warning: implicit declaration of function 'process_query'; did you mean 'process_Y_option'? [-Wimplicit-function-declaration] ret = process_query(clargc, clargv, newsockfd); ^~~~~~~~~~~~~ process_Y_option main_server.c:715:7: warning: unused variable 'array' [-Wunused-variable] char array[4]; ^~~~~ main_server.c:702:25: warning: unused variable 'clilen' [-Wunused-variable] int sockfd, newsockfd, clilen, len, clpid; ^~~~~~ main_server.c:697:15: warning: unused variable 'tried' [-Wunused-variable] int ret = 0, tried = 0; ^~~~~ main_server.c: At top level: main_server.c:1289:1: warning: return type defaults to 'int' [-Wimplicit-int] process_query(argc, argv, newsockfd) ^~~~~~~~~~~~~ main_server.c: In function 'process_query': main_server.c:1387:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(&GProgname[0], argv[0]); ^~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:1388:24: warning: implicit declaration of function 'usage'; did you mean 'usleep'? [-Wimplicit-function-declaration] if (argc <= 1) return(usage()); ^~~~~ usleep main_server.c:1434:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(GD_pattern, "\n"); ^~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:1435:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] GD_length = strlen(GD_pattern); ^~~~~~~~~~ In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ main_server.c:1462:7: warning: implicit declaration of function 'fileagrep' [-Wimplicit-function-declaration] i = fileagrep(oldargc, oldargv, 0, stdout); ^~~~~~~~~ main_server.c:1375:22: warning: implicit declaration of function 'destroy_tree' [-Wimplicit-function-declaration] if (ComplexBoolean) destroy_tree(&GParse);\ ^~~~~~~~~~~~ main_server.c:1463:3: note: in expansion of macro 'RETURN' RETURN(i); ^~~~~~ main_server.c:1572:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(FileOpt, argv[0]); ^~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:1579:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(FileOpt, p+1); ^~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:2091:3: warning: implicit declaration of function 'read_filters'; did you mean 'read_index'? [-Wimplicit-function-declaration] read_filters(INDEX_DIR, UseFilters); ^~~~~~~~~~~~ read_index main_server.c:2095:13: warning: implicit declaration of function 'fileagrep_init' [-Wimplicit-function-declaration] if ((GM = fileagrep_init(agrep_argc, agrep_argv, MAXPAT, GPattern)) <= 0) { ^~~~~~~~~~~~~~ main_server.c:2119:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(APattern, GPattern); ^~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:2119:21: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(APattern, GPattern); ^~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:2127:33: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(terminals[0].data.leaf.value, GPattern); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:2127:41: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(terminals[0].data.leaf.value, GPattern); ^~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:2130:12: warning: implicit declaration of function 'split_pattern' [-Wimplicit-function-declaration] else if (split_pattern(GPattern, GM, APattern, terminals, &num_terminals, &GParse, StructuredIndex) <= 0) RETURN(-1); ^~~~~~~~~~~~~ main_server.c:2150:13: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] AM=strlen(APattern); ^~~~~~~~ In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ main_server.c:2152:32: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(agrep_argv[patindex], APattern); ^~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:2165:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(dest_index_buf, "BEGIN", strlen("BEGIN"))) break; ^~~~~~~~~~~~~~ In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:140:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ main_server.c:2167:11: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(&dest_index_buf[strlen("BEGIN")], "%d%d%d", &bestmatcherrors, &NOBYTELEVEL, &OPTIMIZEBYTELEVEL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/stdio.h:414:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^~~~~~~~~~~~~~ main_server.c:2172:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(dest_index_buf, "END", strlen("END"))) break; ^~~~~~~~~~~~~~ In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:140:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ main_server.c:2181:61: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] GTextfiles[GNumfiles++] = (CHAR *)strdup(GTextfilenames[x]); ~~~~~~~~~~~~~~^~~ In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:167:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strdup (const char *__s) ^~~~~~ main_server.c:2186:61: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] GTextfiles[GNumfiles++] = (CHAR *)strdup(GTextfilenames[x]); ~~~~~~~~~~~~~~^~~ In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:167:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strdup (const char *__s) ^~~~~~ main_server.c:2273:9: warning: implicit declaration of function 'search_index'; did you mean 'read_index'? [-Wimplicit-function-declaration] ret = search_index(GParse); ^~~~~~~~~~~~ read_index main_server.c:2299:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (src_index_set[iii] & mask_int[jjj]) ^ main_server.c:2328:11: warning: unused variable 'len' [-Wunused-variable] int i, len = -1, nextchar; ^~~ main_server.c:2429:24: warning: implicit declaration of function 'mask_filenames' [-Wimplicit-function-declaration] if (FILENAMESINFILE) mask_filenames(src_index_set, filenames_file, file_num, num_blocks); /* keep only those files that are in filenames_file */ ^~~~~~~~~~~~~~ main_server.c:2436:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (src_index_set[iii] & mask_int[jjj]) ^ main_server.c:2457:4: warning: implicit declaration of function 'get_filenames'; did you mean 'get_file_time'? [-Wimplicit-function-declaration] get_filenames(src_index_set, 0, NULL, dummylen, dummypat, file_num); ^~~~~~~~~~~~~ get_file_time main_server.c:2532:26: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(index_argv[0], GProgname); ^~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:2565:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] fileopt_length = strlen(FileOpt); ^~~~~~~ In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ main_server.c:2566:42: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(index_argv[index_argc],FileOpt+j,fileopt_length-j); ~~~~~~~^~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:107:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ main_server.c:2692:37: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/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, ...)) ^~~~~ main_server.c:2693:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:2693:46: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ~~~~~~~~~~^~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:2698:18: warning: implicit declaration of function 'fileagrep_search'; did you mean 'glimpse_search'? [-Wimplicit-function-declaration] if ((ret = fileagrep_search(AM, APattern, 1, >extfiles[i], 0, stdout)) > 0) { ^~~~~~~~~~~~~~~~ glimpse_search main_server.c:2721:37: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/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, ...)) ^~~~~ main_server.c:2722:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:2722:46: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ~~~~~~~~~~^~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:2764:10: warning: implicit declaration of function 'apply_filter' [-Wimplicit-function-declaration] if (apply_filter(GTextfiles[i], outname[0]) == 1) { ^~~~~~~~~~~~ main_server.c:2767:37: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/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, ...)) ^~~~~ main_server.c:2768:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:2768:46: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ~~~~~~~~~~^~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:2812:38: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/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, ...)) ^~~~~ main_server.c:2813:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:2813:47: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ~~~~~~~~~~^~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:2883:36: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/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, ...)) ^~~~~ main_server.c:2884:18: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:2884:45: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ~~~~~~~~~~^~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:2928:54: warning: implicit declaration of function 'filter_output' [-Wimplicit-function-declaration] ret = filter_output(GTextfiles[i], tempfile, GParse, GD_pattern, GD_length, GOUTTAIL, nullfp, StructuredIndex); ^~~~~~~~~~~~~ main_server.c:2970:36: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/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, ...)) ^~~~~ main_server.c:2971:18: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:2971:45: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] else strcpy(CurrentFileName, GTextfiles[i]); ~~~~~~~~~~^~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main_server.c:1317:6: warning: variable 'gprev_num_of_matched' set but not used [-Wunused-but-set-variable] int gprev_num_of_matched = 0; ^~~~~~~~~~~~~~~~~~~~ main_server.c:1309:7: warning: unused variable 'temp_file' [-Wunused-variable] char temp_file[MAX_LINE_LEN]; ^~~~~~~~~ main_server.c:1308:7: warning: unused variable 'TEMP_FILE' [-Wunused-variable] char TEMP_FILE[MAX_LINE_LEN]; ^~~~~~~~~ main_server.c:1305:7: warning: variable 'indexdir' set but not used [-Wunused-but-set-variable] char indexdir[MAX_LINE_LEN]; ^~~~~~~~ main_server.c:1303:6: warning: unused variable 'jj' [-Wunused-variable] int jj; ^~ main_server.c:1296:6: warning: unused variable 'num_read' [-Wunused-variable] int num_read; ^~~~~~~~ main_server.c:1294:6: warning: variable 'searchpercent' set but not used [-Wunused-but-set-variable] int searchpercent; ^~~~~~~~~~~~~ main_server.c: In function 'getbyteoff': main_server.c:3128:19: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] *pbyteoff = atoi(temp); ^~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^~~~~ main_server.c: In function 'filter_output': main_server.c:3182:32: warning: implicit declaration of function 'region_create'; did you mean 'timer_create'? [-Wimplicit-function-declaration] if (StructuredIndex && (-1 == region_create(infile))) { ^~~~~~~~~~~~~ timer_create main_server.c:3189:25: warning: implicit declaration of function 'region_destroy' [-Wimplicit-function-declaration] if (StructuredIndex) region_destroy(); ^~~~~~~~~~~~~~ main_server.c:3262:48: warning: implicit declaration of function 'region_identify' [-Wimplicit-function-declaration] else if ( (num_attr <= 0) || (((attribute = region_identify(byteoff, 0)) < num_attr) && (attribute >= 0)) ) { ^~~~~~~~~~~~~~~ main_server.c:3286:57: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (memagrep_search( strlen(terminals[i].data.leaf.value), terminals[i].data.leaf.value, ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ main_server.c:3341:17: warning: implicit declaration of function 'eval_tree' [-Wimplicit-function-declaration] success = eval_tree(GParse, matched_terminals); ^~~~~~~~~ main_server.c:3171:6: warning: unused variable 'count' [-Wunused-variable] int count = 0; ^~~~~ main_server.c: At top level: main_server.c:3481:1: warning: return type defaults to 'int' [-Wimplicit-int] usage() ^~~~~ main_server.c:3561:1: warning: return type defaults to 'int' [-Wimplicit-int] usageS() ^~~~~~ main_server.c: In function 'glimpse_search': main_server.c:338:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(beginregionptr, 1, num, infp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c: In function 'process_Y_option': main_server.c:457:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(arrayend, 1, 4, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c: In function 'read_index': main_server.c:475:4: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(indexdir, MAXNAME-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c:527:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(indexnumberbuf, 256, indexfp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c:530:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(indexfp, "%%%d\n", &OneFilePerBlock); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c:538:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(indexfp, "%%%d%s\n", &StructuredIndex, old_rdelim); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c: In function 'cleanup': main_server.c:646:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(svstderr); ^~~~~~~~~~~~~ main_server.c: In function 'quitrequest': main_server.c:678:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(svstderr, QUITREQUESTMSG, strlen(QUITREQUESTMSG)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c: In function 'main': main_server.c:1117:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(clstdout); ^~~~~~~~~~~~~ main_server.c:1118:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(clstderr); ^~~~~~~~~~~~~ main_server.c:1155:4: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(clout); ^~~~~~~~~~ main_server.c:1162:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(svstdout); ^~~~~~~~~~~~~ main_server.c:1166:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(svstderr); ^~~~~~~~~~~~~ main_server.c: In function 'process_query': main_server.c:1822:6: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(temp_bitfield_file, MAX_LINE_LEN-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c:1846:6: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(temp_filenames_file, MAX_LINE_LEN-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c: In function 'filter_output': main_server.c:3255:7: warning: 'skiplen' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((skiplen < 0) || (byteoff < 0)) { /* output the whole line as it is: there is nothing to strip (e.g., -l) */ ^ gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Llib -o bin/glimpseserver main_server.o get_filename.o get_index.o split.o index/region.o index/getword.o index/filetype.o index/simpletest.o index/memlook.o index/lib.o index/io.o -lagrep -lm -ldl + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XLYsvw + umask 022 + cd /builddir/build/BUILD + '[' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64' '!=' / ']' + rm -rf '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64' ++ dirname '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64' + mkdir -p /builddir/build/BUILDROOT + mkdir '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64' + cd glimpse-49457116bb0796636fd1bc84f39006fb102bfafc + make install 'prefix=/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr' 'exec_prefix=/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr' 'manprefix=/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/share/man' [ -d bin ] || mkdir bin [ -d lib ] || mkdir lib for d in compress agrep libtemplate index dynfilters ; do \ ( cd $d; make ); \ done make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/compress' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/compress' make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/agrep' gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o agrep follow.o asearch.o asearch1.o agrep.o bitap.o checkfile.o compat.o maskgen.o parse.o checksg.o preprocess.o delim.o asplit.o recursive.o sgrep.o newmgrep.o utilities.o dummyfilters.o main.o make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/agrep' make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate' Making all in util make[2]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/util' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/util' Making all in template make[2]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/template' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/template' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/lib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/lib' make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate' make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/index' gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L../lib -o ../bin/buildcast buildcast.o region.o dir.o io.o build_in.o filetype.o simpletest.o getword.o memlook.o lib.o partition.o -lagrep -lm -ldl gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L../lib -o ../bin/glimpseindex glimpse.o region.o dir.o io.o build_in.o filetype.o simpletest.o getword.o memlook.o lib.o partition.o -lagrep -lm -ldl gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L../lib -o ../bin/wgconvert convert.o io.o simpletest.o filetype.o region.o memlook.o getword.o -lagrep -lm -ldl make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/index' make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/dynfilters' make[1]: 'htuml2txt' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/dynfilters' gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Llib -o bin/glimpse main.o get_filename.o get_index.o split.o index/region.o index/getword.o index/filetype.o index/simpletest.o index/memlook.o index/lib.o index/io.o -lagrep -lm -ldl gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Llib -o bin/glimpseserver main_server.o get_filename.o get_index.o split.o index/region.o index/getword.o index/filetype.o index/simpletest.o index/memlook.o index/lib.o index/io.o -lagrep -lm -ldl ./mkinstalldirs /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/bin /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr mkdir /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/bin mkdir /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/share mkdir /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/share/man mkdir /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/share/man/man1 for d in glimpse.1 glimpseindex.1 glimpseserver.1 ; do \ /usr/bin/install -c -m 444 $d /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/share/man/man1 ; \ done for d in compress agrep libtemplate index dynfilters ; do \ ( cd $d; make install ); \ done make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/compress' for i in tbuild cast uncast ; do \ /usr/bin/install -c $i /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/bin ; \ done make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/compress' make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/agrep' gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o agrep follow.o asearch.o asearch1.o agrep.o bitap.o checkfile.o compat.o maskgen.o parse.o checksg.o preprocess.o delim.o asplit.o recursive.o sgrep.o newmgrep.o utilities.o dummyfilters.o main.o /usr/bin/install -c -m 444 agrep.1 /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/share/man/man1 /usr/bin/install -c agrep /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/bin make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/agrep' make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate' Making install in util make[2]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/util' make[2]: Nothing to be done for 'install'. make[2]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/util' Making install in template make[2]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/template' make[2]: Nothing to be done for 'install'. make[2]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/template' Making install in lib make[2]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/lib' make[2]: Nothing to be done for 'install'. make[2]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/lib' make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate' make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/index' gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L../lib -o ../bin/buildcast buildcast.o region.o dir.o io.o build_in.o filetype.o simpletest.o getword.o memlook.o lib.o partition.o -lagrep -lm -ldl gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L../lib -o ../bin/glimpseindex glimpse.o region.o dir.o io.o build_in.o filetype.o simpletest.o getword.o memlook.o lib.o partition.o -lagrep -lm -ldl gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L../lib -o ../bin/wgconvert convert.o io.o simpletest.o filetype.o region.o memlook.o getword.o -lagrep -lm -ldl for i in ../bin/buildcast ../bin/glimpseindex ../bin/wgconvert ; do \ /usr/bin/install -c $i /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/bin ; \ done make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/index' make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/dynfilters' gcc -O3 -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DSHARED_OBJECT -c lex.yy.c lex.yy.c:4319:16: warning: 'input' defined but not used [-Wunused-function] static int input (void) ^~~~~ lex.yy.c:4276:17: warning: 'yyunput' defined but not used [-Wunused-function] static void yyunput (int c, char * yy_bp ) ^~~~~~~ gcc -shared -o htuml2txt.so lex.yy.o -lfl make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/dynfilters' for d in bin/glimpse bin/glimpseserver ; do \ /usr/bin/install -c $d /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/bin ; \ done + mkdir -p '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/libexec/glimpse' + mv '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/bin/buildcast' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/bin/cast' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/bin/uncast' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/bin/tbuild' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/bin/wgconvert' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/libexec/glimpse' + rm -v '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/bin/agrep' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/share/man/man1/agrep.1' removed '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/bin/agrep' removed '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/share/man/man1/agrep.1' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed '4.12.6^git20161025.4945711-4.el8' --unique-debug-suffix '-4.12.6^git20161025.4945711-4.el8.aarch64' --unique-debug-src-base 'glimpse-4.12.6^git20161025.4945711-4.el8.aarch64' --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/bin/glimpse extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/bin/glimpseindex extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/libexec/glimpse/buildcast extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/bin/glimpseserver extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/libexec/glimpse/cast extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/libexec/glimpse/tbuild extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/libexec/glimpse/wgconvert extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/libexec/glimpse/uncast /usr/lib/rpm/sepdebugcrcfix: Updated 8 CRC32s, 0 CRC32s did match. 2456 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: glimpse-4.12.6^git20161025.4945711-4.el8.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EXsB6R + umask 022 + cd /builddir/build/BUILD + cd glimpse-49457116bb0796636fd1bc84f39006fb102bfafc + DOCDIR='/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/share/doc/glimpse' + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/share/doc/glimpse' + cp -pr README '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/share/doc/glimpse' + cp -pr KNOWN_BUGS '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/share/doc/glimpse' + cp -pr ChangeLog '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/share/doc/glimpse' + cp -pr CHANGES '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/share/doc/glimpse' + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vJvTbp + umask 022 + cd /builddir/build/BUILD + cd glimpse-49457116bb0796636fd1bc84f39006fb102bfafc + LICENSEDIR='/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/share/licenses/glimpse' + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/share/licenses/glimpse' + cp -pr LICENSE '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64/usr/share/licenses/glimpse' + exit 0 Provides: glimpse = 4.12.6^git20161025.4945711-4.el8 glimpse(aarch-64) = 4.12.6^git20161025.4945711-4.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.17)(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: glimpse-debugsource-4.12.6^git20161025.4945711-4.el8.aarch64 Provides: glimpse-debugsource = 4.12.6^git20161025.4945711-4.el8 glimpse-debugsource(aarch-64) = 4.12.6^git20161025.4945711-4.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: glimpse-debuginfo-4.12.6^git20161025.4945711-4.el8.aarch64 Provides: debuginfo(build-id) = 2624e99e0a8134082487f98571078f5b645cd692 debuginfo(build-id) = 37bd532bb92c596d5699e5b33f659ec63bf724de debuginfo(build-id) = 4f8ab9e57ebc8b61cf793b2afd31a5b9a563a53e debuginfo(build-id) = 653dd2f58e9d028d7dc8670f8428002dc33bda25 debuginfo(build-id) = 71e259ff8acb295c8a988a5303199d410e9c0216 debuginfo(build-id) = 791a732f0cfeb3e27bc9aa3f2e1585e917711b65 debuginfo(build-id) = 959c90b7de11a752e4655f056006e69b2c946335 debuginfo(build-id) = c2f15b2b9f365e1bf25ceb61fef21946f83e7ac9 glimpse-debuginfo = 4.12.6^git20161025.4945711-4.el8 glimpse-debuginfo(aarch-64) = 4.12.6^git20161025.4945711-4.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: glimpse-debugsource(aarch-64) = 4.12.6^git20161025.4945711-4.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64 Wrote: /builddir/build/RPMS/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64.rpm Wrote: /builddir/build/RPMS/glimpse-debugsource-4.12.6^git20161025.4945711-4.el8.aarch64.rpm Wrote: /builddir/build/RPMS/glimpse-debuginfo-4.12.6^git20161025.4945711-4.el8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tGWMpG + umask 022 + cd /builddir/build/BUILD + cd glimpse-49457116bb0796636fd1bc84f39006fb102bfafc + /usr/bin/rm -rf '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.aarch64' + exit 0 Finish: rpmbuild glimpse-4.12.6^git20161025.4945711-4.el8.src.rpm Finish: build phase for glimpse-4.12.6^git20161025.4945711-4.el8.src.rpm INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/rhel+epel-8-aarch64-1721270564.735570/root/var/log/dnf.rpm.log /var/lib/mock/rhel+epel-8-aarch64-1721270564.735570/root/var/log/dnf.librepo.log /var/lib/mock/rhel+epel-8-aarch64-1721270564.735570/root/var/log/dnf.log INFO: Done(/var/lib/copr-rpmbuild/results/glimpse-4.12.6^git20161025.4945711-4.el8.src.rpm) Config(child) 0 minutes 36 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run Running RPMResults tool Package info: { "packages": [ { "name": "glimpse", "epoch": null, "version": "4.12.6^git20161025.4945711", "release": "4.el8", "arch": "src" }, { "name": "glimpse", "epoch": null, "version": "4.12.6^git20161025.4945711", "release": "4.el8", "arch": "aarch64" }, { "name": "glimpse-debuginfo", "epoch": null, "version": "4.12.6^git20161025.4945711", "release": "4.el8", "arch": "aarch64" }, { "name": "glimpse-debugsource", "epoch": null, "version": "4.12.6^git20161025.4945711", "release": "4.el8", "arch": "aarch64" } ] } RPMResults finished