Warning: Permanently added '44.204.92.43' (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/8078967-epel-8-x86_64 --chroot epel-8-x86_64 Version: 0.73 PID: 7395 Logging PID: 7396 Task: {'allow_user_ssh': False, 'appstream': False, 'background': False, 'build_id': 8078967, 'buildroot_pkgs': [], 'chroot': 'epel-8-x86_64', 'enable_net': False, 'fedora_review': False, 'git_hash': '4438c51426e6d90f35edccd1a786f68551fafe2e', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/mattatobin/el8-updates/glimpse', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'glimpse', 'package_version': '4.12.6^git20161025.4945711-4', 'project_dirname': 'el8-updates', 'project_name': 'el8-updates', 'project_owner': 'mattatobin', 'repo_priority': 1, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/mattatobin/el8-updates/epel-8-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': 1}, {'baseurl': 'https://download.copr.fedorainfracloud.org/results/mattatobin/el8-updates/epel-8-$basearch/', 'id': 'https_download_copr_fedorainfracloud_org_results_mattatobin_el8_updates_epel_8_basearch', 'name': 'Additional repo ' 'https_download_copr_fedorainfracloud_org_results_mattatobin_el8_updates_epel_8_basearch'}], 'sandbox': 'mattatobin/el8-updates--mattatobin', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'submitter': 'mattatobin', 'tags': [], 'task_id': '8078967-epel-8-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/mattatobin/el8-updates/glimpse /var/lib/copr-rpmbuild/workspace/workdir-4etgww6e/glimpse --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/mattatobin/el8-updates/glimpse', '/var/lib/copr-rpmbuild/workspace/workdir-4etgww6e/glimpse', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-4etgww6e/glimpse'... Running: git checkout 4438c51426e6d90f35edccd1a786f68551fafe2e -- cmd: ['git', 'checkout', '4438c51426e6d90f35edccd1a786f68551fafe2e', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-4etgww6e/glimpse rc: 0 stdout: stderr: Note: switching to '4438c51426e6d90f35edccd1a786f68551fafe2e'. 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 4438c51 automatic import of glimpse Running: copr-distgit-client sources cmd: ['copr-distgit-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-4etgww6e/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 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/mattatobin/el8-updates/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 100 502k 100 502k 0 0 24.5M 0 --:--:-- --:--:-- --:--:-- 25.8M INFO: Reading stdout from command: md5sum glimpse-49457116bb0796636fd1bc84f39006fb102bfafc.tar.gz /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-4etgww6e/glimpse/package.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-4etgww6e/glimpse --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1727400967.337085 -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-4etgww6e/glimpse/package.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-4etgww6e/glimpse --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1727400967.337085 -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-4etgww6e/glimpse/package.spec) Config(rhel+epel-8-x86_64) 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-x86_64-bootstrap-1727400967.337085/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-x86_64-bootstrap-1727400967.337085/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/4493ee5cf8cfa18acc3fc80e5f0fdd98bd3c6bdbf3807320b2b87cc9730b7023/merged INFO: umounting image registry.access.redhat.com/ubi8/ubi (/var/lib/containers/storage/overlay/4493ee5cf8cfa18acc3fc80e5f0fdd98bd3c6bdbf3807320b2b87cc9730b7023/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-x86_64-1727400967.337085/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.x86_64 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 112 kB/s | 14 kB 00:00 Additional repo https_download_copr_fedorainfra 72 kB/s | 14 kB 00:00 Red Hat Enterprise Linux - BaseOS 181 MB/s | 74 MB 00:00 Red Hat Enterprise Linux - AppStream 125 MB/s | 67 MB 00:00 Red Hat Enterprise Linux - CodeReady Linux Buil 37 MB/s | 10 MB 00:00 Extra Packages for Enterprise Linux 8 - x86_64 24 MB/s | 14 MB 00:00 Dependencies resolved. =========================================================================================== Package Arch Version Repository Size =========================================================================================== Installing: bash x86_64 5.1.8-9.el8 copr_base 1.7 M bzip2 x86_64 1.0.6-26.el8 rhel-baseos 60 k coreutils x86_64 8.30-15.el8 rhel-baseos 1.2 M cpio x86_64 2.12-11.el8 rhel-baseos 266 k diffutils x86_64 3.6-6.el8 rhel-baseos 359 k epel-rpm-macros noarch 8-41 epel 27 k findutils x86_64 1:4.6.0-23.el8_10 rhel-baseos 528 k gawk x86_64 4.2.1-4.el8 rhel-baseos 1.1 M gcc x86_64 8.5.0-22.el8_10 rhel-appstream 23 M gcc-c++ x86_64 8.5.0-22.el8_10 rhel-appstream 12 M grep x86_64 3.1-6.el8 rhel-baseos 274 k gzip x86_64 1.9-13.el8_5 rhel-baseos 167 k info x86_64 6.5-7.el8 rhel-baseos 198 k make x86_64 1:4.2.1-11.el8 rhel-baseos 498 k patch x86_64 2.7.6-11.el8 rhel-baseos 138 k redhat-release x86_64 8.10-0.3.el8 rhel-baseos 45 k redhat-rpm-config noarch 131-1.el8 rhel-appstream 91 k rpm-build x86_64 4.14.3-31.el8 rhel-appstream 175 k sed x86_64 4.5-5.el8 rhel-baseos 298 k tar x86_64 2:1.30-9.el8 rhel-baseos 839 k unzip x86_64 6.0-46.el8 rhel-baseos 196 k util-linux x86_64 2.32.1-46.el8 rhel-baseos 2.5 M which x86_64 2.21-20.el8 rhel-baseos 50 k xz x86_64 5.2.4-4.el8_6 rhel-baseos 153 k Installing dependencies: annobin x86_64 11.13-2.el8 rhel-appstream 972 k ansible-srpm-macros noarch 1-12.el8 epel 21 k audit-libs x86_64 3.1.2-1.el8 rhel-baseos 125 k basesystem noarch 11-5.el8 rhel-baseos 11 k binutils x86_64 2.30-123.el8 rhel-baseos 5.8 M brotli x86_64 1.0.6-3.el8 rhel-baseos 323 k bzip2-libs x86_64 1.0.6-26.el8 rhel-baseos 48 k ca-certificates noarch 2024.2.69_v8.0.303-80.0.el8_10 rhel-baseos 983 k chkconfig x86_64 1.19.2-1.el8 rhel-baseos 199 k coreutils-common x86_64 8.30-15.el8 rhel-baseos 2.0 M cpp x86_64 8.5.0-22.el8_10 rhel-appstream 10 M cracklib x86_64 2.9.6-15.el8 rhel-baseos 93 k cracklib-dicts x86_64 2.9.6-15.el8 rhel-baseos 4.0 M crypto-policies noarch 20230731-1.git3177e06.el8 rhel-baseos 64 k curl x86_64 7.61.1-34.el8_10.2 rhel-baseos 354 k cyrus-sasl-lib x86_64 2.1.27-6.el8_5 rhel-baseos 123 k dwz x86_64 0.12-10.el8 rhel-appstream 109 k efi-srpm-macros noarch 3-3.el8 rhel-appstream 22 k elfutils x86_64 0.190-2.el8 rhel-baseos 571 k elfutils-default-yama-scope noarch 0.190-2.el8 rhel-baseos 53 k elfutils-libelf x86_64 0.190-2.el8 rhel-baseos 233 k elfutils-libs x86_64 0.190-2.el8 rhel-baseos 305 k expat x86_64 2.2.5-15.el8_10 rhel-baseos 114 k file x86_64 5.33-26.el8 rhel-baseos 77 k file-libs x86_64 5.33-26.el8 rhel-baseos 544 k filesystem x86_64 3.8-6.el8 rhel-baseos 1.1 M fpc-srpm-macros noarch 1.3-1.el8 epel 8.2 k gc x86_64 7.6.4-3.el8 rhel-appstream 109 k gcc-plugin-annobin x86_64 8.5.0-22.el8_10 rhel-appstream 36 k gdb-headless x86_64 8.2-20.el8 rhel-appstream 3.7 M gdbm x86_64 1:1.18-2.el8 rhel-baseos 130 k gdbm-libs x86_64 1:1.18-2.el8 rhel-baseos 60 k ghc-srpm-macros noarch 1.4.2-7.el8 rhel-appstream 9.4 k glib2 x86_64 2.56.4-162.el8 rhel-baseos 2.5 M glibc x86_64 2.28-251.el8_10.5 rhel-baseos 2.2 M glibc-all-langpacks x86_64 2.28-251.el8_10.5 rhel-baseos 26 M glibc-common x86_64 2.28-251.el8_10.5 rhel-baseos 1.0 M glibc-devel x86_64 2.28-251.el8_10.5 rhel-baseos 88 k glibc-gconv-extra x86_64 2.28-251.el8_10.5 rhel-baseos 1.6 M glibc-headers x86_64 2.28-251.el8_10.5 rhel-baseos 493 k gmp x86_64 1:6.1.2-11.el8 rhel-baseos 318 k gnupg2 x86_64 2.2.20-3.el8_6 rhel-baseos 2.4 M gnutls x86_64 3.6.16-8.el8_9.3 rhel-baseos 1.0 M go-srpm-macros noarch 2-17.el8 rhel-appstream 13 k guile x86_64 5:2.0.14-7.el8 rhel-appstream 3.5 M ima-evm-utils x86_64 1.3.2-12.el8 rhel-baseos 64 k isl x86_64 0.16.1-6.el8 rhel-appstream 841 k kernel-headers x86_64 4.18.0-553.22.1.el8_10 rhel-baseos 12 M keyutils-libs x86_64 1.5.10-9.el8 rhel-baseos 34 k krb5-libs x86_64 1.18.2-29.el8_10 rhel-baseos 844 k libacl x86_64 2.2.53-3.el8 rhel-baseos 35 k libarchive x86_64 3.3.3-5.el8 rhel-baseos 360 k libassuan x86_64 2.5.1-3.el8 rhel-baseos 83 k libatomic_ops x86_64 7.6.2-3.el8 rhel-appstream 38 k libattr x86_64 2.4.48-3.el8 rhel-baseos 27 k libbabeltrace x86_64 1.5.4-4.el8 rhel-baseos 200 k libblkid x86_64 2.32.1-46.el8 rhel-baseos 221 k libcap x86_64 2.48-6.el8_9 rhel-baseos 74 k libcap-ng x86_64 0.7.11-1.el8 rhel-baseos 33 k libcom_err x86_64 1.45.6-5.el8 rhel-baseos 49 k libcurl x86_64 7.61.1-34.el8_10.2 rhel-baseos 304 k libdb x86_64 5.3.28-42.el8_4 rhel-baseos 751 k libdb-utils x86_64 5.3.28-42.el8_4 rhel-baseos 150 k libfdisk x86_64 2.32.1-46.el8 rhel-baseos 254 k libffi x86_64 3.1-24.el8 rhel-baseos 38 k libgcc x86_64 8.5.0-22.el8_10 rhel-baseos 82 k libgcrypt x86_64 1.8.5-7.el8_6 rhel-baseos 463 k libgomp x86_64 8.5.0-22.el8_10 rhel-baseos 208 k libgpg-error x86_64 1.31-1.el8 rhel-baseos 242 k libidn2 x86_64 2.2.0-1.el8 rhel-baseos 94 k libipt x86_64 1.6.1-8.el8 rhel-appstream 50 k libksba x86_64 1.3.5-9.el8_7 rhel-baseos 134 k libmount x86_64 2.32.1-46.el8 rhel-baseos 237 k libmpc x86_64 1.1.0-9.1.el8 rhel-appstream 61 k libnghttp2 x86_64 1.33.0-6.el8_10.1 rhel-baseos 78 k libnsl2 x86_64 1.2.0-2.20180605git4a062cf.el8 rhel-baseos 58 k libpkgconf x86_64 1.4.2-1.el8 rhel-baseos 35 k libpsl x86_64 0.20.2-6.el8 rhel-baseos 61 k libpwquality x86_64 1.4.4-6.el8 rhel-baseos 107 k libselinux x86_64 2.9-8.el8 rhel-baseos 166 k libsemanage x86_64 2.9-9.el8_6 rhel-baseos 168 k libsepol x86_64 2.9-3.el8 rhel-baseos 340 k libsigsegv x86_64 2.11-5.el8 rhel-baseos 30 k libsmartcols x86_64 2.32.1-46.el8 rhel-baseos 180 k libssh x86_64 0.9.6-14.el8 rhel-baseos 220 k libssh-config noarch 0.9.6-14.el8 rhel-baseos 21 k libstdc++ x86_64 8.5.0-22.el8_10 rhel-baseos 455 k libstdc++-devel x86_64 8.5.0-22.el8_10 rhel-appstream 2.1 M libtasn1 x86_64 4.13-4.el8_7 rhel-baseos 76 k libtirpc x86_64 1.1.4-12.el8_10 rhel-baseos 114 k libtool-ltdl x86_64 2.4.6-25.el8 rhel-baseos 58 k libunistring x86_64 0.9.9-3.el8 rhel-baseos 422 k libusbx x86_64 1.0.23-4.el8 rhel-baseos 74 k libutempter x86_64 1.1.6-14.el8 rhel-baseos 32 k libuuid x86_64 2.32.1-46.el8 rhel-baseos 99 k libverto x86_64 0.3.2-2.el8 rhel-baseos 24 k libxcrypt x86_64 4.1.1-6.el8 rhel-baseos 73 k libxcrypt-devel x86_64 4.1.1-6.el8 rhel-baseos 25 k libxml2 x86_64 2.9.7-18.el8_10.1 rhel-baseos 697 k libzstd x86_64 1.4.4-1.el8 rhel-baseos 266 k lua-libs x86_64 5.3.4-12.el8 rhel-baseos 118 k lua-srpm-macros noarch 1-13.el8 epel 9.2 k lz4-libs x86_64 1.8.3-3.el8_4 rhel-baseos 66 k mpfr x86_64 3.1.6-1.el8 rhel-baseos 221 k ncurses x86_64 6.1-10.20180224.el8 rhel-baseos 387 k ncurses-base noarch 6.1-10.20180224.el8 rhel-baseos 81 k ncurses-libs x86_64 6.1-10.20180224.el8 rhel-baseos 334 k nettle x86_64 3.4.1-7.el8 rhel-baseos 301 k npth x86_64 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 x86_64 2.4.46-19.el8_10 rhel-baseos 353 k openssl-libs x86_64 1:1.1.1k-12.el8_9 rhel-baseos 1.5 M p11-kit x86_64 0.23.22-2.el8 rhel-baseos 327 k p11-kit-trust x86_64 0.23.22-2.el8 rhel-baseos 138 k pam x86_64 1.3.1-34.el8_10 rhel-baseos 747 k pcre x86_64 8.42-6.el8 rhel-baseos 211 k pcre2 x86_64 10.32-3.el8_6 rhel-baseos 247 k perl-srpm-macros noarch 1-25.el8 rhel-appstream 11 k pkgconf x86_64 1.4.2-1.el8 rhel-baseos 38 k pkgconf-m4 noarch 1.4.2-1.el8 rhel-baseos 17 k pkgconf-pkg-config x86_64 1.4.2-1.el8 rhel-baseos 15 k platform-python x86_64 3.6.8-67.el8_10 rhel-baseos 88 k platform-python-setuptools noarch 39.2.0-8.el8_10 rhel-baseos 632 k popt x86_64 1.18-1.el8 rhel-baseos 61 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 x86_64 3.6.8-67.el8_10 rhel-baseos 7.9 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-8.el8_10 rhel-baseos 289 k qt5-srpm-macros noarch 5.15.3-1.el8 rhel-appstream 11 k readline x86_64 7.0-10.el8 rhel-baseos 199 k rpm x86_64 4.14.3-31.el8 rhel-baseos 544 k rpm-build-libs x86_64 4.14.3-31.el8 rhel-baseos 157 k rpm-libs x86_64 4.14.3-31.el8 rhel-baseos 348 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 x86_64 2:4.6-22.el8 rhel-baseos 1.2 M sqlite-libs x86_64 3.26.0-19.el8_9 rhel-baseos 581 k systemd-libs x86_64 239-82.el8_10.2 rhel-baseos 1.1 M tpm2-tss x86_64 2.3.2-6.el8 rhel-baseos 275 k tzdata noarch 2024a-1.el8 rhel-baseos 475 k xz-libs x86_64 5.2.4-4.el8_6 rhel-baseos 94 k zip x86_64 3.0-23.el8 rhel-baseos 270 k zlib x86_64 1.2.11-25.el8 rhel-baseos 103 k zstd x86_64 1.4.4-1.el8 rhel-appstream 393 k Transaction Summary =========================================================================================== Install 172 Packages Total download size: 164 M Installed size: 814 M Downloading Packages: (1/172): bash-5.1.8-9.el8.x86_64.rpm 53 MB/s | 1.7 MB 00:00 (2/172): bzip2-libs-1.0.6-26.el8.x86_64.rpm 565 kB/s | 48 kB 00:00 (3/172): bzip2-1.0.6-26.el8.x86_64.rpm 458 kB/s | 60 kB 00:00 (4/172): cracklib-2.9.6-15.el8.x86_64.rpm 815 kB/s | 93 kB 00:00 (5/172): cracklib-dicts-2.9.6-15.el8.x86_64.rpm 50 MB/s | 4.0 MB 00:00 (6/172): libassuan-2.5.1-3.el8.x86_64.rpm 1.2 MB/s | 83 kB 00:00 (7/172): grep-3.1-6.el8.x86_64.rpm 3.1 MB/s | 274 kB 00:00 (8/172): libattr-2.4.48-3.el8.x86_64.rpm 338 kB/s | 27 kB 00:00 (9/172): libunistring-0.9.9-3.el8.x86_64.rpm 5.1 MB/s | 422 kB 00:00 (10/172): libsigsegv-2.11-5.el8.x86_64.rpm 292 kB/s | 30 kB 00:00 (11/172): libutempter-1.1.6-14.el8.x86_64.rpm 365 kB/s | 32 kB 00:00 (12/172): pkgconf-1.4.2-1.el8.x86_64.rpm 816 kB/s | 38 kB 00:00 (13/172): mpfr-3.1.6-1.el8.x86_64.rpm 2.7 MB/s | 221 kB 00:00 (14/172): npth-1.5-4.el8.x86_64.rpm 226 kB/s | 26 kB 00:00 (15/172): readline-7.0-10.el8.x86_64.rpm 2.4 MB/s | 199 kB 00:00 (16/172): pkgconf-pkg-config-1.4.2-1.el8.x86_64 176 kB/s | 15 kB 00:00 (17/172): zip-3.0-23.el8.x86_64.rpm 3.2 MB/s | 270 kB 00:00 (18/172): basesystem-11-5.el8.noarch.rpm 176 kB/s | 11 kB 00:00 (19/172): libgpg-error-1.31-1.el8.x86_64.rpm 4.2 MB/s | 242 kB 00:00 (20/172): libpkgconf-1.4.2-1.el8.x86_64.rpm 777 kB/s | 35 kB 00:00 (21/172): libnsl2-1.2.0-2.20180605git4a062cf.el 1.1 MB/s | 58 kB 00:00 (22/172): libtool-ltdl-2.4.6-25.el8.x86_64.rpm 711 kB/s | 58 kB 00:00 (23/172): pkgconf-m4-1.4.2-1.el8.noarch.rpm 337 kB/s | 17 kB 00:00 (24/172): publicsuffix-list-dafsa-20180723-1.el 757 kB/s | 56 kB 00:00 (25/172): diffutils-3.6-6.el8.x86_64.rpm 5.6 MB/s | 359 kB 00:00 (26/172): libidn2-2.2.0-1.el8.x86_64.rpm 1.2 MB/s | 94 kB 00:00 (27/172): patch-2.7.6-11.el8.x86_64.rpm 2.4 MB/s | 138 kB 00:00 (28/172): libusbx-1.0.23-4.el8.x86_64.rpm 1.0 MB/s | 74 kB 00:00 (29/172): libzstd-1.4.4-1.el8.x86_64.rpm 4.2 MB/s | 266 kB 00:00 (30/172): libpsl-0.20.2-6.el8.x86_64.rpm 824 kB/s | 61 kB 00:00 (31/172): popt-1.18-1.el8.x86_64.rpm 1.1 MB/s | 61 kB 00:00 (32/172): brotli-1.0.6-3.el8.x86_64.rpm 5.1 MB/s | 323 kB 00:00 (33/172): filesystem-3.8-6.el8.x86_64.rpm 21 MB/s | 1.1 MB 00:00 (34/172): lz4-libs-1.8.3-3.el8_4.x86_64.rpm 775 kB/s | 66 kB 00:00 (35/172): ima-evm-utils-1.3.2-12.el8.x86_64.rpm 577 kB/s | 64 kB 00:00 (36/172): libcap-ng-0.7.11-1.el8.x86_64.rpm 498 kB/s | 33 kB 00:00 (37/172): libdb-5.3.28-42.el8_4.x86_64.rpm 9.7 MB/s | 751 kB 00:00 (38/172): libdb-utils-5.3.28-42.el8_4.x86_64.rp 2.0 MB/s | 150 kB 00:00 (39/172): libxcrypt-4.1.1-6.el8.x86_64.rpm 1.4 MB/s | 73 kB 00:00 (40/172): libxcrypt-devel-4.1.1-6.el8.x86_64.rp 409 kB/s | 25 kB 00:00 (41/172): nettle-3.4.1-7.el8.x86_64.rpm 5.0 MB/s | 301 kB 00:00 (42/172): pcre-8.42-6.el8.x86_64.rpm 3.2 MB/s | 211 kB 00:00 (43/172): gzip-1.9-13.el8_5.x86_64.rpm 3.2 MB/s | 167 kB 00:00 (44/172): cyrus-sasl-lib-2.1.27-6.el8_5.x86_64. 2.3 MB/s | 123 kB 00:00 (45/172): libsepol-2.9-3.el8.x86_64.rpm 6.2 MB/s | 340 kB 00:00 (46/172): keyutils-libs-1.5.10-9.el8.x86_64.rpm 444 kB/s | 34 kB 00:00 (47/172): lua-libs-5.3.4-12.el8.x86_64.rpm 2.0 MB/s | 118 kB 00:00 (48/172): cpio-2.12-11.el8.x86_64.rpm 5.1 MB/s | 266 kB 00:00 (49/172): info-6.5-7.el8.x86_64.rpm 3.4 MB/s | 198 kB 00:00 (50/172): gawk-4.2.1-4.el8.x86_64.rpm 18 MB/s | 1.1 MB 00:00 (51/172): make-4.2.1-11.el8.x86_64.rpm 8.3 MB/s | 498 kB 00:00 (52/172): sed-4.5-5.el8.x86_64.rpm 5.4 MB/s | 298 kB 00:00 (53/172): unzip-6.0-46.el8.x86_64.rpm 3.3 MB/s | 196 kB 00:00 (54/172): xz-libs-5.2.4-4.el8_6.x86_64.rpm 2.0 MB/s | 94 kB 00:00 (55/172): gdbm-libs-1.18-2.el8.x86_64.rpm 1.3 MB/s | 60 kB 00:00 (56/172): xz-5.2.4-4.el8_6.x86_64.rpm 2.1 MB/s | 153 kB 00:00 (57/172): gnupg2-2.2.20-3.el8_6.x86_64.rpm 33 MB/s | 2.4 MB 00:00 (58/172): libbabeltrace-1.5.4-4.el8.x86_64.rpm 2.7 MB/s | 200 kB 00:00 (59/172): libcom_err-1.45.6-5.el8.x86_64.rpm 765 kB/s | 49 kB 00:00 (60/172): libsemanage-2.9-9.el8_6.x86_64.rpm 3.2 MB/s | 168 kB 00:00 (61/172): libverto-0.3.2-2.el8.x86_64.rpm 478 kB/s | 24 kB 00:00 (62/172): libgcrypt-1.8.5-7.el8_6.x86_64.rpm 6.5 MB/s | 463 kB 00:00 (63/172): pcre2-10.32-3.el8_6.x86_64.rpm 4.7 MB/s | 247 kB 00:00 (64/172): gdbm-1.18-2.el8.x86_64.rpm 1.7 MB/s | 130 kB 00:00 (65/172): libksba-1.3.5-9.el8_7.x86_64.rpm 1.8 MB/s | 134 kB 00:00 (66/172): libtasn1-4.13-4.el8_7.x86_64.rpm 1.5 MB/s | 76 kB 00:00 (67/172): coreutils-8.30-15.el8.x86_64.rpm 15 MB/s | 1.2 MB 00:00 (68/172): libarchive-3.3.3-5.el8.x86_64.rpm 4.3 MB/s | 360 kB 00:00 (69/172): coreutils-common-8.30-15.el8.x86_64.r 19 MB/s | 2.0 MB 00:00 (70/172): libffi-3.1-24.el8.x86_64.rpm 346 kB/s | 38 kB 00:00 (71/172): libpwquality-1.4.4-6.el8.x86_64.rpm 963 kB/s | 107 kB 00:00 (72/172): libselinux-2.9-8.el8.x86_64.rpm 1.0 MB/s | 166 kB 00:00 (73/172): setup-2.12.2-9.el8.noarch.rpm 1.5 MB/s | 181 kB 00:00 (74/172): tar-1.30-9.el8.x86_64.rpm 6.3 MB/s | 839 kB 00:00 (75/172): chkconfig-1.19.2-1.el8.x86_64.rpm 2.5 MB/s | 199 kB 00:00 (76/172): binutils-2.30-123.el8.x86_64.rpm 47 MB/s | 5.8 MB 00:00 (77/172): which-2.21-20.el8.x86_64.rpm 1.0 MB/s | 50 kB 00:00 (78/172): ncurses-libs-6.1-10.20180224.el8.x86_ 5.1 MB/s | 334 kB 00:00 (79/172): crypto-policies-20230731-1.git3177e06 547 kB/s | 64 kB 00:00 (80/172): libcap-2.48-6.el8_9.x86_64.rpm 1.2 MB/s | 74 kB 00:00 (81/172): gnutls-3.6.16-8.el8_9.3.x86_64.rpm 15 MB/s | 1.0 MB 00:00 (82/172): ncurses-6.1-10.20180224.el8.x86_64.rp 7.2 MB/s | 387 kB 00:00 (83/172): sqlite-libs-3.26.0-19.el8_9.x86_64.rp 11 MB/s | 581 kB 00:00 (84/172): openssl-libs-1.1.1k-12.el8_9.x86_64.r 23 MB/s | 1.5 MB 00:00 (85/172): ncurses-base-6.1-10.20180224.el8.noar 1.0 MB/s | 81 kB 00:00 (86/172): zlib-1.2.11-25.el8.x86_64.rpm 2.2 MB/s | 103 kB 00:00 (87/172): tzdata-2024a-1.el8.noarch.rpm 6.6 MB/s | 475 kB 00:00 (88/172): audit-libs-3.1.2-1.el8.x86_64.rpm 1.7 MB/s | 125 kB 00:00 (89/172): elfutils-0.190-2.el8.x86_64.rpm 8.3 MB/s | 571 kB 00:00 (90/172): elfutils-libelf-0.190-2.el8.x86_64.rp 4.8 MB/s | 233 kB 00:00 (91/172): elfutils-default-yama-scope-0.190-2.e 646 kB/s | 53 kB 00:00 (92/172): file-5.33-26.el8.x86_64.rpm 1.3 MB/s | 77 kB 00:00 (93/172): elfutils-libs-0.190-2.el8.x86_64.rpm 3.1 MB/s | 305 kB 00:00 (94/172): glib2-2.56.4-162.el8.x86_64.rpm 40 MB/s | 2.5 MB 00:00 (95/172): gmp-6.1.2-11.el8.x86_64.rpm 6.0 MB/s | 318 kB 00:00 (96/172): file-libs-5.33-26.el8.x86_64.rpm 4.3 MB/s | 544 kB 00:00 (97/172): libblkid-2.32.1-46.el8.x86_64.rpm 3.9 MB/s | 221 kB 00:00 (98/172): libacl-2.2.53-3.el8.x86_64.rpm 370 kB/s | 35 kB 00:00 (99/172): libmount-2.32.1-46.el8.x86_64.rpm 3.7 MB/s | 237 kB 00:00 (100/172): libfdisk-2.32.1-46.el8.x86_64.rpm 2.1 MB/s | 254 kB 00:00 (101/172): libsmartcols-2.32.1-46.el8.x86_64.rp 3.2 MB/s | 180 kB 00:00 (102/172): libssh-0.9.6-14.el8.x86_64.rpm 3.4 MB/s | 220 kB 00:00 (103/172): libssh-config-0.9.6-14.el8.noarch.rp 322 kB/s | 21 kB 00:00 (104/172): libuuid-2.32.1-46.el8.x86_64.rpm 1.2 MB/s | 99 kB 00:00 (105/172): p11-kit-0.23.22-2.el8.x86_64.rpm 5.9 MB/s | 327 kB 00:00 (106/172): p11-kit-trust-0.23.22-2.el8.x86_64.r 2.9 MB/s | 138 kB 00:00 (107/172): python3-pip-wheel-9.0.3-24.el8.noarc 17 MB/s | 866 kB 00:00 (108/172): rpm-build-libs-4.14.3-31.el8.x86_64. 3.4 MB/s | 157 kB 00:00 (109/172): rpm-libs-4.14.3-31.el8.x86_64.rpm 5.9 MB/s | 348 kB 00:00 (110/172): rpm-4.14.3-31.el8.x86_64.rpm 6.1 MB/s | 544 kB 00:00 (111/172): shadow-utils-4.6-22.el8.x86_64.rpm 14 MB/s | 1.2 MB 00:00 (112/172): util-linux-2.32.1-46.el8.x86_64.rpm 43 MB/s | 2.5 MB 00:00 (113/172): tpm2-tss-2.3.2-6.el8.x86_64.rpm 4.5 MB/s | 275 kB 00:00 (114/172): libstdc++-8.5.0-22.el8_10.x86_64.rpm 8.8 MB/s | 455 kB 00:00 (115/172): libgomp-8.5.0-22.el8_10.x86_64.rpm 3.5 MB/s | 208 kB 00:00 (116/172): libgcc-8.5.0-22.el8_10.x86_64.rpm 1.2 MB/s | 82 kB 00:00 (117/172): libtirpc-1.1.4-12.el8_10.x86_64.rpm 2.4 MB/s | 114 kB 00:00 (118/172): libnghttp2-1.33.0-6.el8_10.1.x86_64. 974 kB/s | 78 kB 00:00 (119/172): libxml2-2.9.7-18.el8_10.1.x86_64.rpm 5.6 MB/s | 697 kB 00:00 (120/172): pam-1.3.1-34.el8_10.x86_64.rpm 13 MB/s | 747 kB 00:00 (121/172): openldap-2.4.46-19.el8_10.x86_64.rpm 2.7 MB/s | 353 kB 00:00 (122/172): redhat-release-8.10-0.3.el8.x86_64.r 437 kB/s | 45 kB 00:00 (123/172): krb5-libs-1.18.2-29.el8_10.x86_64.rp 7.9 MB/s | 844 kB 00:00 (124/172): platform-python-setuptools-39.2.0-8. 7.0 MB/s | 632 kB 00:00 (125/172): curl-7.61.1-34.el8_10.2.x86_64.rpm 6.7 MB/s | 354 kB 00:00 (126/172): python3-setuptools-wheel-39.2.0-8.el 2.6 MB/s | 289 kB 00:00 (127/172): ca-certificates-2024.2.69_v8.0.303-8 19 MB/s | 983 kB 00:00 (128/172): findutils-4.6.0-23.el8_10.x86_64.rpm 9.6 MB/s | 528 kB 00:00 (129/172): expat-2.2.5-15.el8_10.x86_64.rpm 981 kB/s | 114 kB 00:00 (130/172): platform-python-3.6.8-67.el8_10.x86_ 1.6 MB/s | 88 kB 00:00 (131/172): libcurl-7.61.1-34.el8_10.2.x86_64.rp 1.3 MB/s | 304 kB 00:00 (132/172): systemd-libs-239-82.el8_10.2.x86_64. 22 MB/s | 1.1 MB 00:00 (133/172): python3-libs-3.6.8-67.el8_10.x86_64. 104 MB/s | 7.9 MB 00:00 (134/172): glibc-2.28-251.el8_10.5.x86_64.rpm 22 MB/s | 2.2 MB 00:00 (135/172): glibc-all-langpacks-2.28-251.el8_10. 153 MB/s | 26 MB 00:00 (136/172): glibc-common-2.28-251.el8_10.5.x86_6 9.8 MB/s | 1.0 MB 00:00 (137/172): glibc-devel-2.28-251.el8_10.5.x86_64 1.3 MB/s | 88 kB 00:00 (138/172): glibc-gconv-extra-2.28-251.el8_10.5. 24 MB/s | 1.6 MB 00:00 (139/172): kernel-headers-4.18.0-553.22.1.el8_1 40 MB/s | 12 MB 00:00 (140/172): ghc-srpm-macros-1.4.2-7.el8.noarch.r 162 kB/s | 9.4 kB 00:00 (141/172): glibc-headers-2.28-251.el8_10.5.x86_ 6.2 MB/s | 493 kB 00:00 (142/172): ocaml-srpm-macros-5-4.el8.noarch.rpm 109 kB/s | 9.5 kB 00:00 (143/172): openblas-srpm-macros-2-2.el8.noarch. 110 kB/s | 8.0 kB 00:00 (144/172): perl-srpm-macros-1-25.el8.noarch.rpm 110 kB/s | 11 kB 00:00 (145/172): rust-srpm-macros-5-2.el8.noarch.rpm 106 kB/s | 9.3 kB 00:00 (146/172): libatomic_ops-7.6.2-3.el8.x86_64.rpm 387 kB/s | 38 kB 00:00 (147/172): gc-7.6.4-3.el8.x86_64.rpm 1.1 MB/s | 109 kB 00:00 (148/172): guile-2.0.14-7.el8.x86_64.rpm 41 MB/s | 3.5 MB 00:00 (149/172): isl-0.16.1-6.el8.x86_64.rpm 11 MB/s | 841 kB 00:00 (150/172): libipt-1.6.1-8.el8.x86_64.rpm 980 kB/s | 50 kB 00:00 (151/172): libmpc-1.1.0-9.1.el8.x86_64.rpm 1.1 MB/s | 61 kB 00:00 (152/172): efi-srpm-macros-3-3.el8.noarch.rpm 298 kB/s | 22 kB 00:00 (153/172): zstd-1.4.4-1.el8.x86_64.rpm 2.9 MB/s | 393 kB 00:00 (154/172): dwz-0.12-10.el8.x86_64.rpm 1.8 MB/s | 109 kB 00:00 (155/172): go-srpm-macros-2-17.el8.noarch.rpm 133 kB/s | 13 kB 00:00 (156/172): qt5-srpm-macros-5.15.3-1.el8.noarch. 102 kB/s | 11 kB 00:00 (157/172): python-rpm-macros-3-45.el8.noarch.rp 234 kB/s | 16 kB 00:00 (158/172): python3-rpm-macros-3-45.el8.noarch.r 187 kB/s | 15 kB 00:00 (159/172): python-srpm-macros-3-45.el8.noarch.r 329 kB/s | 16 kB 00:00 (160/172): annobin-11.13-2.el8.x86_64.rpm 13 MB/s | 972 kB 00:00 (161/172): rpm-build-4.14.3-31.el8.x86_64.rpm 3.5 MB/s | 175 kB 00:00 (162/172): gdb-headless-8.2-20.el8.x86_64.rpm 38 MB/s | 3.7 MB 00:00 (163/172): redhat-rpm-config-131-1.el8.noarch.r 516 kB/s | 91 kB 00:00 (164/172): cpp-8.5.0-22.el8_10.x86_64.rpm 64 MB/s | 10 MB 00:00 (165/172): gcc-c++-8.5.0-22.el8_10.x86_64.rpm 78 MB/s | 12 MB 00:00 (166/172): gcc-8.5.0-22.el8_10.x86_64.rpm 100 MB/s | 23 MB 00:00 (167/172): gcc-plugin-annobin-8.5.0-22.el8_10.x 448 kB/s | 36 kB 00:00 (168/172): libstdc++-devel-8.5.0-22.el8_10.x86_ 35 MB/s | 2.1 MB 00:00 (169/172): fpc-srpm-macros-1.3-1.el8.noarch.rpm 36 kB/s | 8.2 kB 00:00 (170/172): ansible-srpm-macros-1-12.el8.noarch. 74 kB/s | 21 kB 00:00 (171/172): epel-rpm-macros-8-41.noarch.rpm 83 kB/s | 27 kB 00:00 (172/172): lua-srpm-macros-1-13.el8.noarch.rpm 109 kB/s | 9.2 kB 00:00 -------------------------------------------------------------------------------- Total 34 MB/s | 164 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 - x86_64 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.x86_64 1/1 Preparing : 1/1 Installing : libgcc-8.5.0-22.el8_10.x86_64 1/172 Running scriptlet: libgcc-8.5.0-22.el8_10.x86_64 1/172 Installing : python-srpm-macros-3-45.el8.noarch 2/172 Installing : crypto-policies-20230731-1.git3177e06.el8.noarch 3/172 Running scriptlet: crypto-policies-20230731-1.git3177e06.el8.noarch 3/172 Installing : python-rpm-macros-3-45.el8.noarch 4/172 Installing : python3-setuptools-wheel-39.2.0-8.el8_10.noarch 5/172 Installing : redhat-release-8.10-0.3.el8.x86_64 6/172 Installing : setup-2.12.2-9.el8.noarch 7/172 warning: /etc/hosts created as /etc/hosts.rpmnew Running scriptlet: setup-2.12.2-9.el8.noarch 7/172 Installing : filesystem-3.8-6.el8.x86_64 8/172 Installing : python3-pip-wheel-9.0.3-24.el8.noarch 9/172 Installing : basesystem-11-5.el8.noarch 10/172 Installing : python3-rpm-macros-3-45.el8.noarch 11/172 Installing : fpc-srpm-macros-1.3-1.el8.noarch 12/172 Installing : ansible-srpm-macros-1-12.el8.noarch 13/172 Installing : qt5-srpm-macros-5.15.3-1.el8.noarch 14/172 Installing : go-srpm-macros-2-17.el8.noarch 15/172 Installing : rust-srpm-macros-5-2.el8.noarch 16/172 Installing : perl-srpm-macros-1-25.el8.noarch 17/172 Installing : openblas-srpm-macros-2-2.el8.noarch 18/172 Installing : ocaml-srpm-macros-5-4.el8.noarch 19/172 Installing : ghc-srpm-macros-1.4.2-7.el8.noarch 20/172 Installing : kernel-headers-4.18.0-553.22.1.el8_10.x86_64 21/172 Installing : libssh-config-0.9.6-14.el8.noarch 22/172 Installing : tzdata-2024a-1.el8.noarch 23/172 Installing : ncurses-base-6.1-10.20180224.el8.noarch 24/172 Installing : pcre2-10.32-3.el8_6.x86_64 25/172 Installing : libselinux-2.9-8.el8.x86_64 26/172 Installing : ncurses-libs-6.1-10.20180224.el8.x86_64 27/172 Installing : glibc-all-langpacks-2.28-251.el8_10.5.x86_64 28/172 Installing : glibc-gconv-extra-2.28-251.el8_10.5.x86_64 29/172 Running scriptlet: glibc-gconv-extra-2.28-251.el8_10.5.x86_64 29/172 Installing : glibc-common-2.28-251.el8_10.5.x86_64 30/172 Running scriptlet: glibc-2.28-251.el8_10.5.x86_64 31/172 Installing : glibc-2.28-251.el8_10.5.x86_64 31/172 Running scriptlet: glibc-2.28-251.el8_10.5.x86_64 31/172 Installing : bash-5.1.8-9.el8.x86_64 32/172 Running scriptlet: bash-5.1.8-9.el8.x86_64 32/172 Installing : libsepol-2.9-3.el8.x86_64 33/172 Running scriptlet: libsepol-2.9-3.el8.x86_64 33/172 Installing : zlib-1.2.11-25.el8.x86_64 34/172 Installing : info-6.5-7.el8.x86_64 35/172 Installing : bzip2-libs-1.0.6-26.el8.x86_64 36/172 Installing : xz-libs-5.2.4-4.el8_6.x86_64 37/172 Installing : gmp-1:6.1.2-11.el8.x86_64 38/172 Running scriptlet: gmp-1:6.1.2-11.el8.x86_64 38/172 Installing : libstdc++-8.5.0-22.el8_10.x86_64 39/172 Running scriptlet: libstdc++-8.5.0-22.el8_10.x86_64 39/172 Installing : libzstd-1.4.4-1.el8.x86_64 40/172 Installing : elfutils-libelf-0.190-2.el8.x86_64 41/172 Installing : libxcrypt-4.1.1-6.el8.x86_64 42/172 Installing : mpfr-3.1.6-1.el8.x86_64 43/172 Running scriptlet: mpfr-3.1.6-1.el8.x86_64 43/172 Installing : readline-7.0-10.el8.x86_64 44/172 Running scriptlet: readline-7.0-10.el8.x86_64 44/172 Installing : sqlite-libs-3.26.0-19.el8_9.x86_64 45/172 Installing : popt-1.18-1.el8.x86_64 46/172 Installing : libcap-2.48-6.el8_9.x86_64 47/172 Installing : libcom_err-1.45.6-5.el8.x86_64 48/172 Running scriptlet: libcom_err-1.45.6-5.el8.x86_64 48/172 Installing : libuuid-2.32.1-46.el8.x86_64 49/172 Running scriptlet: libuuid-2.32.1-46.el8.x86_64 49/172 Installing : chkconfig-1.19.2-1.el8.x86_64 50/172 Installing : libunistring-0.9.9-3.el8.x86_64 51/172 Installing : libattr-2.4.48-3.el8.x86_64 52/172 Installing : libacl-2.2.53-3.el8.x86_64 53/172 Installing : sed-4.5-5.el8.x86_64 54/172 Running scriptlet: sed-4.5-5.el8.x86_64 54/172 Installing : libgpg-error-1.31-1.el8.x86_64 55/172 Installing : lua-libs-5.3.4-12.el8.x86_64 56/172 Installing : libffi-3.1-24.el8.x86_64 57/172 Installing : p11-kit-0.23.22-2.el8.x86_64 58/172 Installing : libidn2-2.2.0-1.el8.x86_64 59/172 Installing : libmpc-1.1.0-9.1.el8.x86_64 60/172 Installing : file-libs-5.33-26.el8.x86_64 61/172 Installing : file-5.33-26.el8.x86_64 62/172 Installing : libgcrypt-1.8.5-7.el8_6.x86_64 63/172 Running scriptlet: libgcrypt-1.8.5-7.el8_6.x86_64 63/172 Installing : unzip-6.0-46.el8.x86_64 64/172 Installing : findutils-1:4.6.0-23.el8_10.x86_64 65/172 Running scriptlet: findutils-1:4.6.0-23.el8_10.x86_64 65/172 Installing : elfutils-default-yama-scope-0.190-2.el8.noarch 66/172 Running scriptlet: elfutils-default-yama-scope-0.190-2.el8.noarch 66/172 Installing : elfutils-libs-0.190-2.el8.x86_64 67/172 Running scriptlet: glibc-headers-2.28-251.el8_10.5.x86_64 68/172 Installing : glibc-headers-2.28-251.el8_10.5.x86_64 68/172 Installing : lz4-libs-1.8.3-3.el8_4.x86_64 69/172 Installing : libcap-ng-0.7.11-1.el8.x86_64 70/172 Installing : audit-libs-3.1.2-1.el8.x86_64 71/172 Installing : pcre-8.42-6.el8.x86_64 72/172 Installing : grep-3.1-6.el8.x86_64 73/172 Running scriptlet: grep-3.1-6.el8.x86_64 73/172 Installing : keyutils-libs-1.5.10-9.el8.x86_64 74/172 Installing : gdbm-libs-1:1.18-2.el8.x86_64 75/172 Installing : libtasn1-4.13-4.el8_7.x86_64 76/172 Running scriptlet: libtasn1-4.13-4.el8_7.x86_64 76/172 Installing : p11-kit-trust-0.23.22-2.el8.x86_64 77/172 Running scriptlet: p11-kit-trust-0.23.22-2.el8.x86_64 77/172 Installing : expat-2.2.5-15.el8_10.x86_64 78/172 Installing : gdbm-1:1.18-2.el8.x86_64 79/172 Installing : xz-5.2.4-4.el8_6.x86_64 80/172 Installing : libsemanage-2.9-9.el8_6.x86_64 81/172 Installing : elfutils-0.190-2.el8.x86_64 82/172 Installing : zip-3.0-23.el8.x86_64 83/172 Installing : cpp-8.5.0-22.el8_10.x86_64 84/172 Running scriptlet: cpp-8.5.0-22.el8_10.x86_64 84/172 Installing : libassuan-2.5.1-3.el8.x86_64 85/172 Installing : libksba-1.3.5-9.el8_7.x86_64 86/172 Installing : tar-2:1.30-9.el8.x86_64 87/172 Running scriptlet: tar-2:1.30-9.el8.x86_64 87/172 Installing : patch-2.7.6-11.el8.x86_64 88/172 Installing : dwz-0.12-10.el8.x86_64 89/172 Installing : zstd-1.4.4-1.el8.x86_64 90/172 Installing : libstdc++-devel-8.5.0-22.el8_10.x86_64 91/172 Installing : nettle-3.4.1-7.el8.x86_64 92/172 Running scriptlet: nettle-3.4.1-7.el8.x86_64 92/172 Installing : gnutls-3.6.16-8.el8_9.3.x86_64 93/172 Installing : isl-0.16.1-6.el8.x86_64 94/172 Running scriptlet: isl-0.16.1-6.el8.x86_64 94/172 Installing : libxml2-2.9.7-18.el8_10.1.x86_64 95/172 Installing : bzip2-1.0.6-26.el8.x86_64 96/172 Installing : diffutils-3.6-6.el8.x86_64 97/172 Running scriptlet: diffutils-3.6-6.el8.x86_64 97/172 Installing : coreutils-common-8.30-15.el8.x86_64 98/172 Running scriptlet: coreutils-common-8.30-15.el8.x86_64 98/172 Installing : libgomp-8.5.0-22.el8_10.x86_64 99/172 Running scriptlet: libgomp-8.5.0-22.el8_10.x86_64 99/172 Installing : libsigsegv-2.11-5.el8.x86_64 100/172 Installing : gawk-4.2.1-4.el8.x86_64 101/172 Installing : npth-1.5-4.el8.x86_64 102/172 Installing : libpkgconf-1.4.2-1.el8.x86_64 103/172 Installing : pkgconf-1.4.2-1.el8.x86_64 104/172 Installing : libtool-ltdl-2.4.6-25.el8.x86_64 105/172 Running scriptlet: libtool-ltdl-2.4.6-25.el8.x86_64 105/172 Installing : brotli-1.0.6-3.el8.x86_64 106/172 Installing : cpio-2.12-11.el8.x86_64 107/172 Installing : libverto-0.3.2-2.el8.x86_64 108/172 Installing : ncurses-6.1-10.20180224.el8.x86_64 109/172 Installing : openssl-libs-1:1.1.1k-12.el8_9.x86_64 110/172 Running scriptlet: openssl-libs-1:1.1.1k-12.el8_9.x86_64 110/172 Installing : coreutils-8.30-15.el8.x86_64 111/172 Running scriptlet: ca-certificates-2024.2.69_v8.0.303-80.0.el8_10.n 112/172 Installing : ca-certificates-2024.2.69_v8.0.303-80.0.el8_10.n 112/172 Running scriptlet: ca-certificates-2024.2.69_v8.0.303-80.0.el8_10.n 112/172 Installing : libdb-5.3.28-42.el8_4.x86_64 113/172 Running scriptlet: libdb-5.3.28-42.el8_4.x86_64 113/172 Installing : krb5-libs-1.18.2-29.el8_10.x86_64 114/172 Installing : libtirpc-1.1.4-12.el8_10.x86_64 115/172 Running scriptlet: libtirpc-1.1.4-12.el8_10.x86_64 115/172 Installing : libblkid-2.32.1-46.el8.x86_64 116/172 Running scriptlet: libblkid-2.32.1-46.el8.x86_64 116/172 Installing : libmount-2.32.1-46.el8.x86_64 117/172 Running scriptlet: libmount-2.32.1-46.el8.x86_64 117/172 Installing : systemd-libs-239-82.el8_10.2.x86_64 118/172 Running scriptlet: systemd-libs-239-82.el8_10.2.x86_64 118/172 Installing : libnsl2-1.2.0-2.20180605git4a062cf.el8.x86_64 119/172 Running scriptlet: libnsl2-1.2.0-2.20180605git4a062cf.el8.x86_64 119/172 Installing : platform-python-setuptools-39.2.0-8.el8_10.noarc 120/172 Installing : platform-python-3.6.8-67.el8_10.x86_64 121/172 Running scriptlet: platform-python-3.6.8-67.el8_10.x86_64 121/172 Installing : python3-libs-3.6.8-67.el8_10.x86_64 122/172 Installing : gzip-1.9-13.el8_5.x86_64 123/172 Running scriptlet: gzip-1.9-13.el8_5.x86_64 123/172 Installing : cracklib-2.9.6-15.el8.x86_64 124/172 Installing : cracklib-dicts-2.9.6-15.el8.x86_64 125/172 Installing : binutils-2.30-123.el8.x86_64 126/172 Running scriptlet: binutils-2.30-123.el8.x86_64 126/172 Installing : shadow-utils-2:4.6-22.el8.x86_64 127/172 Running scriptlet: libutempter-1.1.6-14.el8.x86_64 128/172 Installing : libutempter-1.1.6-14.el8.x86_64 128/172 Running scriptlet: tpm2-tss-2.3.2-6.el8.x86_64 129/172 Installing : tpm2-tss-2.3.2-6.el8.x86_64 129/172 Running scriptlet: tpm2-tss-2.3.2-6.el8.x86_64 129/172 Installing : ima-evm-utils-1.3.2-12.el8.x86_64 130/172 Installing : libpwquality-1.4.4-6.el8.x86_64 131/172 Installing : pam-1.3.1-34.el8_10.x86_64 132/172 Running scriptlet: pam-1.3.1-34.el8_10.x86_64 132/172 Installing : libusbx-1.0.23-4.el8.x86_64 133/172 Installing : glib2-2.56.4-162.el8.x86_64 134/172 Installing : libbabeltrace-1.5.4-4.el8.x86_64 135/172 Running scriptlet: libbabeltrace-1.5.4-4.el8.x86_64 135/172 Installing : libfdisk-2.32.1-46.el8.x86_64 136/172 Running scriptlet: libfdisk-2.32.1-46.el8.x86_64 136/172 Installing : cyrus-sasl-lib-2.1.27-6.el8_5.x86_64 137/172 Running scriptlet: cyrus-sasl-lib-2.1.27-6.el8_5.x86_64 137/172 Installing : openldap-2.4.46-19.el8_10.x86_64 138/172 Installing : gnupg2-2.2.20-3.el8_6.x86_64 139/172 Installing : libssh-0.9.6-14.el8.x86_64 140/172 Installing : libdb-utils-5.3.28-42.el8_4.x86_64 141/172 Installing : libarchive-3.3.3-5.el8.x86_64 142/172 Installing : libsmartcols-2.32.1-46.el8.x86_64 143/172 Running scriptlet: libsmartcols-2.32.1-46.el8.x86_64 143/172 Installing : libnghttp2-1.33.0-6.el8_10.1.x86_64 144/172 Installing : libatomic_ops-7.6.2-3.el8.x86_64 145/172 Installing : gc-7.6.4-3.el8.x86_64 146/172 Installing : guile-5:2.0.14-7.el8.x86_64 147/172 Running scriptlet: guile-5:2.0.14-7.el8.x86_64 147/172 Installing : libipt-1.6.1-8.el8.x86_64 148/172 Installing : publicsuffix-list-dafsa-20180723-1.el8.noarch 149/172 Installing : libpsl-0.20.2-6.el8.x86_64 150/172 Installing : libcurl-7.61.1-34.el8_10.2.x86_64 151/172 Installing : curl-7.61.1-34.el8_10.2.x86_64 152/172 Installing : rpm-libs-4.14.3-31.el8.x86_64 153/172 Running scriptlet: rpm-libs-4.14.3-31.el8.x86_64 153/172 Installing : rpm-4.14.3-31.el8.x86_64 154/172 Installing : efi-srpm-macros-3-3.el8.noarch 155/172 Installing : lua-srpm-macros-1-13.el8.noarch 156/172 Installing : rpm-build-libs-4.14.3-31.el8.x86_64 157/172 Running scriptlet: rpm-build-libs-4.14.3-31.el8.x86_64 157/172 Installing : gdb-headless-8.2-20.el8.x86_64 158/172 Installing : pkgconf-m4-1.4.2-1.el8.noarch 159/172 Installing : pkgconf-pkg-config-1.4.2-1.el8.x86_64 160/172 Installing : libxcrypt-devel-4.1.1-6.el8.x86_64 161/172 Installing : glibc-devel-2.28-251.el8_10.5.x86_64 162/172 Running scriptlet: glibc-devel-2.28-251.el8_10.5.x86_64 162/172 Installing : gcc-8.5.0-22.el8_10.x86_64 163/172 Running scriptlet: gcc-8.5.0-22.el8_10.x86_64 163/172 Installing : annobin-11.13-2.el8.x86_64 164/172 Installing : gcc-plugin-annobin-8.5.0-22.el8_10.x86_64 165/172 Installing : redhat-rpm-config-131-1.el8.noarch 166/172 Running scriptlet: redhat-rpm-config-131-1.el8.noarch 166/172 Installing : rpm-build-4.14.3-31.el8.x86_64 167/172 Installing : gcc-c++-8.5.0-22.el8_10.x86_64 168/172 Installing : epel-rpm-macros-8-41.noarch 169/172 Installing : util-linux-2.32.1-46.el8.x86_64 170/172 Running scriptlet: util-linux-2.32.1-46.el8.x86_64 170/172 Installing : which-2.21-20.el8.x86_64 171/172 Installing : make-1:4.2.1-11.el8.x86_64 172/172 Running scriptlet: make-1:4.2.1-11.el8.x86_64 172/172 Running scriptlet: filesystem-3.8-6.el8.x86_64 172/172 Running scriptlet: glibc-all-langpacks-2.28-251.el8_10.5.x86_64 172/172 Running scriptlet: ca-certificates-2024.2.69_v8.0.303-80.0.el8_10.n 172/172 Running scriptlet: guile-5:2.0.14-7.el8.x86_64 172/172 Running scriptlet: glibc-common-2.28-251.el8_10.5.x86_64 172/172 Running scriptlet: info-6.5-7.el8.x86_64 172/172 Running scriptlet: glib2-2.56.4-162.el8.x86_64 172/172 Verifying : bash-5.1.8-9.el8.x86_64 1/172 Verifying : bzip2-1.0.6-26.el8.x86_64 2/172 Verifying : bzip2-libs-1.0.6-26.el8.x86_64 3/172 Verifying : cracklib-2.9.6-15.el8.x86_64 4/172 Verifying : cracklib-dicts-2.9.6-15.el8.x86_64 5/172 Verifying : grep-3.1-6.el8.x86_64 6/172 Verifying : libassuan-2.5.1-3.el8.x86_64 7/172 Verifying : libattr-2.4.48-3.el8.x86_64 8/172 Verifying : libsigsegv-2.11-5.el8.x86_64 9/172 Verifying : libunistring-0.9.9-3.el8.x86_64 10/172 Verifying : libutempter-1.1.6-14.el8.x86_64 11/172 Verifying : mpfr-3.1.6-1.el8.x86_64 12/172 Verifying : npth-1.5-4.el8.x86_64 13/172 Verifying : pkgconf-1.4.2-1.el8.x86_64 14/172 Verifying : pkgconf-pkg-config-1.4.2-1.el8.x86_64 15/172 Verifying : readline-7.0-10.el8.x86_64 16/172 Verifying : zip-3.0-23.el8.x86_64 17/172 Verifying : basesystem-11-5.el8.noarch 18/172 Verifying : libgpg-error-1.31-1.el8.x86_64 19/172 Verifying : libnsl2-1.2.0-2.20180605git4a062cf.el8.x86_64 20/172 Verifying : libpkgconf-1.4.2-1.el8.x86_64 21/172 Verifying : libtool-ltdl-2.4.6-25.el8.x86_64 22/172 Verifying : pkgconf-m4-1.4.2-1.el8.noarch 23/172 Verifying : publicsuffix-list-dafsa-20180723-1.el8.noarch 24/172 Verifying : diffutils-3.6-6.el8.x86_64 25/172 Verifying : libidn2-2.2.0-1.el8.x86_64 26/172 Verifying : patch-2.7.6-11.el8.x86_64 27/172 Verifying : libusbx-1.0.23-4.el8.x86_64 28/172 Verifying : libzstd-1.4.4-1.el8.x86_64 29/172 Verifying : libpsl-0.20.2-6.el8.x86_64 30/172 Verifying : popt-1.18-1.el8.x86_64 31/172 Verifying : brotli-1.0.6-3.el8.x86_64 32/172 Verifying : ima-evm-utils-1.3.2-12.el8.x86_64 33/172 Verifying : lz4-libs-1.8.3-3.el8_4.x86_64 34/172 Verifying : filesystem-3.8-6.el8.x86_64 35/172 Verifying : libcap-ng-0.7.11-1.el8.x86_64 36/172 Verifying : libdb-5.3.28-42.el8_4.x86_64 37/172 Verifying : libdb-utils-5.3.28-42.el8_4.x86_64 38/172 Verifying : libxcrypt-4.1.1-6.el8.x86_64 39/172 Verifying : libxcrypt-devel-4.1.1-6.el8.x86_64 40/172 Verifying : nettle-3.4.1-7.el8.x86_64 41/172 Verifying : pcre-8.42-6.el8.x86_64 42/172 Verifying : cyrus-sasl-lib-2.1.27-6.el8_5.x86_64 43/172 Verifying : gzip-1.9-13.el8_5.x86_64 44/172 Verifying : keyutils-libs-1.5.10-9.el8.x86_64 45/172 Verifying : libsepol-2.9-3.el8.x86_64 46/172 Verifying : lua-libs-5.3.4-12.el8.x86_64 47/172 Verifying : cpio-2.12-11.el8.x86_64 48/172 Verifying : gawk-4.2.1-4.el8.x86_64 49/172 Verifying : info-6.5-7.el8.x86_64 50/172 Verifying : make-1:4.2.1-11.el8.x86_64 51/172 Verifying : sed-4.5-5.el8.x86_64 52/172 Verifying : unzip-6.0-46.el8.x86_64 53/172 Verifying : xz-5.2.4-4.el8_6.x86_64 54/172 Verifying : xz-libs-5.2.4-4.el8_6.x86_64 55/172 Verifying : gdbm-libs-1:1.18-2.el8.x86_64 56/172 Verifying : gnupg2-2.2.20-3.el8_6.x86_64 57/172 Verifying : libbabeltrace-1.5.4-4.el8.x86_64 58/172 Verifying : libcom_err-1.45.6-5.el8.x86_64 59/172 Verifying : libgcrypt-1.8.5-7.el8_6.x86_64 60/172 Verifying : libsemanage-2.9-9.el8_6.x86_64 61/172 Verifying : libverto-0.3.2-2.el8.x86_64 62/172 Verifying : pcre2-10.32-3.el8_6.x86_64 63/172 Verifying : gdbm-1:1.18-2.el8.x86_64 64/172 Verifying : libksba-1.3.5-9.el8_7.x86_64 65/172 Verifying : libtasn1-4.13-4.el8_7.x86_64 66/172 Verifying : coreutils-8.30-15.el8.x86_64 67/172 Verifying : coreutils-common-8.30-15.el8.x86_64 68/172 Verifying : libarchive-3.3.3-5.el8.x86_64 69/172 Verifying : libffi-3.1-24.el8.x86_64 70/172 Verifying : libpwquality-1.4.4-6.el8.x86_64 71/172 Verifying : libselinux-2.9-8.el8.x86_64 72/172 Verifying : setup-2.12.2-9.el8.noarch 73/172 Verifying : tar-2:1.30-9.el8.x86_64 74/172 Verifying : binutils-2.30-123.el8.x86_64 75/172 Verifying : chkconfig-1.19.2-1.el8.x86_64 76/172 Verifying : crypto-policies-20230731-1.git3177e06.el8.noarch 77/172 Verifying : ncurses-libs-6.1-10.20180224.el8.x86_64 78/172 Verifying : which-2.21-20.el8.x86_64 79/172 Verifying : gnutls-3.6.16-8.el8_9.3.x86_64 80/172 Verifying : libcap-2.48-6.el8_9.x86_64 81/172 Verifying : ncurses-6.1-10.20180224.el8.x86_64 82/172 Verifying : ncurses-base-6.1-10.20180224.el8.noarch 83/172 Verifying : openssl-libs-1:1.1.1k-12.el8_9.x86_64 84/172 Verifying : sqlite-libs-3.26.0-19.el8_9.x86_64 85/172 Verifying : tzdata-2024a-1.el8.noarch 86/172 Verifying : zlib-1.2.11-25.el8.x86_64 87/172 Verifying : audit-libs-3.1.2-1.el8.x86_64 88/172 Verifying : elfutils-0.190-2.el8.x86_64 89/172 Verifying : elfutils-default-yama-scope-0.190-2.el8.noarch 90/172 Verifying : elfutils-libelf-0.190-2.el8.x86_64 91/172 Verifying : elfutils-libs-0.190-2.el8.x86_64 92/172 Verifying : file-5.33-26.el8.x86_64 93/172 Verifying : file-libs-5.33-26.el8.x86_64 94/172 Verifying : glib2-2.56.4-162.el8.x86_64 95/172 Verifying : gmp-1:6.1.2-11.el8.x86_64 96/172 Verifying : libacl-2.2.53-3.el8.x86_64 97/172 Verifying : libblkid-2.32.1-46.el8.x86_64 98/172 Verifying : libfdisk-2.32.1-46.el8.x86_64 99/172 Verifying : libmount-2.32.1-46.el8.x86_64 100/172 Verifying : libsmartcols-2.32.1-46.el8.x86_64 101/172 Verifying : libssh-0.9.6-14.el8.x86_64 102/172 Verifying : libssh-config-0.9.6-14.el8.noarch 103/172 Verifying : libuuid-2.32.1-46.el8.x86_64 104/172 Verifying : p11-kit-0.23.22-2.el8.x86_64 105/172 Verifying : p11-kit-trust-0.23.22-2.el8.x86_64 106/172 Verifying : python3-pip-wheel-9.0.3-24.el8.noarch 107/172 Verifying : rpm-4.14.3-31.el8.x86_64 108/172 Verifying : rpm-build-libs-4.14.3-31.el8.x86_64 109/172 Verifying : rpm-libs-4.14.3-31.el8.x86_64 110/172 Verifying : shadow-utils-2:4.6-22.el8.x86_64 111/172 Verifying : tpm2-tss-2.3.2-6.el8.x86_64 112/172 Verifying : util-linux-2.32.1-46.el8.x86_64 113/172 Verifying : libgcc-8.5.0-22.el8_10.x86_64 114/172 Verifying : libgomp-8.5.0-22.el8_10.x86_64 115/172 Verifying : libstdc++-8.5.0-22.el8_10.x86_64 116/172 Verifying : libxml2-2.9.7-18.el8_10.1.x86_64 117/172 Verifying : libnghttp2-1.33.0-6.el8_10.1.x86_64 118/172 Verifying : libtirpc-1.1.4-12.el8_10.x86_64 119/172 Verifying : openldap-2.4.46-19.el8_10.x86_64 120/172 Verifying : pam-1.3.1-34.el8_10.x86_64 121/172 Verifying : redhat-release-8.10-0.3.el8.x86_64 122/172 Verifying : krb5-libs-1.18.2-29.el8_10.x86_64 123/172 Verifying : platform-python-setuptools-39.2.0-8.el8_10.noarc 124/172 Verifying : python3-setuptools-wheel-39.2.0-8.el8_10.noarch 125/172 Verifying : curl-7.61.1-34.el8_10.2.x86_64 126/172 Verifying : libcurl-7.61.1-34.el8_10.2.x86_64 127/172 Verifying : ca-certificates-2024.2.69_v8.0.303-80.0.el8_10.n 128/172 Verifying : expat-2.2.5-15.el8_10.x86_64 129/172 Verifying : findutils-1:4.6.0-23.el8_10.x86_64 130/172 Verifying : platform-python-3.6.8-67.el8_10.x86_64 131/172 Verifying : systemd-libs-239-82.el8_10.2.x86_64 132/172 Verifying : python3-libs-3.6.8-67.el8_10.x86_64 133/172 Verifying : kernel-headers-4.18.0-553.22.1.el8_10.x86_64 134/172 Verifying : glibc-2.28-251.el8_10.5.x86_64 135/172 Verifying : glibc-all-langpacks-2.28-251.el8_10.5.x86_64 136/172 Verifying : glibc-common-2.28-251.el8_10.5.x86_64 137/172 Verifying : glibc-devel-2.28-251.el8_10.5.x86_64 138/172 Verifying : glibc-gconv-extra-2.28-251.el8_10.5.x86_64 139/172 Verifying : glibc-headers-2.28-251.el8_10.5.x86_64 140/172 Verifying : ghc-srpm-macros-1.4.2-7.el8.noarch 141/172 Verifying : ocaml-srpm-macros-5-4.el8.noarch 142/172 Verifying : openblas-srpm-macros-2-2.el8.noarch 143/172 Verifying : perl-srpm-macros-1-25.el8.noarch 144/172 Verifying : rust-srpm-macros-5-2.el8.noarch 145/172 Verifying : libatomic_ops-7.6.2-3.el8.x86_64 146/172 Verifying : gc-7.6.4-3.el8.x86_64 147/172 Verifying : guile-5:2.0.14-7.el8.x86_64 148/172 Verifying : isl-0.16.1-6.el8.x86_64 149/172 Verifying : libipt-1.6.1-8.el8.x86_64 150/172 Verifying : zstd-1.4.4-1.el8.x86_64 151/172 Verifying : libmpc-1.1.0-9.1.el8.x86_64 152/172 Verifying : efi-srpm-macros-3-3.el8.noarch 153/172 Verifying : go-srpm-macros-2-17.el8.noarch 154/172 Verifying : dwz-0.12-10.el8.x86_64 155/172 Verifying : qt5-srpm-macros-5.15.3-1.el8.noarch 156/172 Verifying : python-rpm-macros-3-45.el8.noarch 157/172 Verifying : python3-rpm-macros-3-45.el8.noarch 158/172 Verifying : redhat-rpm-config-131-1.el8.noarch 159/172 Verifying : python-srpm-macros-3-45.el8.noarch 160/172 Verifying : annobin-11.13-2.el8.x86_64 161/172 Verifying : gdb-headless-8.2-20.el8.x86_64 162/172 Verifying : rpm-build-4.14.3-31.el8.x86_64 163/172 Verifying : cpp-8.5.0-22.el8_10.x86_64 164/172 Verifying : gcc-8.5.0-22.el8_10.x86_64 165/172 Verifying : gcc-c++-8.5.0-22.el8_10.x86_64 166/172 Verifying : gcc-plugin-annobin-8.5.0-22.el8_10.x86_64 167/172 Verifying : libstdc++-devel-8.5.0-22.el8_10.x86_64 168/172 Verifying : ansible-srpm-macros-1-12.el8.noarch 169/172 Verifying : epel-rpm-macros-8-41.noarch 170/172 Verifying : fpc-srpm-macros-1.3-1.el8.noarch 171/172 Verifying : lua-srpm-macros-1-13.el8.noarch 172/172 Installed products updated. Installed: annobin-11.13-2.el8.x86_64 ansible-srpm-macros-1-12.el8.noarch audit-libs-3.1.2-1.el8.x86_64 basesystem-11-5.el8.noarch bash-5.1.8-9.el8.x86_64 binutils-2.30-123.el8.x86_64 brotli-1.0.6-3.el8.x86_64 bzip2-1.0.6-26.el8.x86_64 bzip2-libs-1.0.6-26.el8.x86_64 ca-certificates-2024.2.69_v8.0.303-80.0.el8_10.noarch chkconfig-1.19.2-1.el8.x86_64 coreutils-8.30-15.el8.x86_64 coreutils-common-8.30-15.el8.x86_64 cpio-2.12-11.el8.x86_64 cpp-8.5.0-22.el8_10.x86_64 cracklib-2.9.6-15.el8.x86_64 cracklib-dicts-2.9.6-15.el8.x86_64 crypto-policies-20230731-1.git3177e06.el8.noarch curl-7.61.1-34.el8_10.2.x86_64 cyrus-sasl-lib-2.1.27-6.el8_5.x86_64 diffutils-3.6-6.el8.x86_64 dwz-0.12-10.el8.x86_64 efi-srpm-macros-3-3.el8.noarch elfutils-0.190-2.el8.x86_64 elfutils-default-yama-scope-0.190-2.el8.noarch elfutils-libelf-0.190-2.el8.x86_64 elfutils-libs-0.190-2.el8.x86_64 epel-rpm-macros-8-41.noarch expat-2.2.5-15.el8_10.x86_64 file-5.33-26.el8.x86_64 file-libs-5.33-26.el8.x86_64 filesystem-3.8-6.el8.x86_64 findutils-1:4.6.0-23.el8_10.x86_64 fpc-srpm-macros-1.3-1.el8.noarch gawk-4.2.1-4.el8.x86_64 gc-7.6.4-3.el8.x86_64 gcc-8.5.0-22.el8_10.x86_64 gcc-c++-8.5.0-22.el8_10.x86_64 gcc-plugin-annobin-8.5.0-22.el8_10.x86_64 gdb-headless-8.2-20.el8.x86_64 gdbm-1:1.18-2.el8.x86_64 gdbm-libs-1:1.18-2.el8.x86_64 ghc-srpm-macros-1.4.2-7.el8.noarch glib2-2.56.4-162.el8.x86_64 glibc-2.28-251.el8_10.5.x86_64 glibc-all-langpacks-2.28-251.el8_10.5.x86_64 glibc-common-2.28-251.el8_10.5.x86_64 glibc-devel-2.28-251.el8_10.5.x86_64 glibc-gconv-extra-2.28-251.el8_10.5.x86_64 glibc-headers-2.28-251.el8_10.5.x86_64 gmp-1:6.1.2-11.el8.x86_64 gnupg2-2.2.20-3.el8_6.x86_64 gnutls-3.6.16-8.el8_9.3.x86_64 go-srpm-macros-2-17.el8.noarch grep-3.1-6.el8.x86_64 guile-5:2.0.14-7.el8.x86_64 gzip-1.9-13.el8_5.x86_64 ima-evm-utils-1.3.2-12.el8.x86_64 info-6.5-7.el8.x86_64 isl-0.16.1-6.el8.x86_64 kernel-headers-4.18.0-553.22.1.el8_10.x86_64 keyutils-libs-1.5.10-9.el8.x86_64 krb5-libs-1.18.2-29.el8_10.x86_64 libacl-2.2.53-3.el8.x86_64 libarchive-3.3.3-5.el8.x86_64 libassuan-2.5.1-3.el8.x86_64 libatomic_ops-7.6.2-3.el8.x86_64 libattr-2.4.48-3.el8.x86_64 libbabeltrace-1.5.4-4.el8.x86_64 libblkid-2.32.1-46.el8.x86_64 libcap-2.48-6.el8_9.x86_64 libcap-ng-0.7.11-1.el8.x86_64 libcom_err-1.45.6-5.el8.x86_64 libcurl-7.61.1-34.el8_10.2.x86_64 libdb-5.3.28-42.el8_4.x86_64 libdb-utils-5.3.28-42.el8_4.x86_64 libfdisk-2.32.1-46.el8.x86_64 libffi-3.1-24.el8.x86_64 libgcc-8.5.0-22.el8_10.x86_64 libgcrypt-1.8.5-7.el8_6.x86_64 libgomp-8.5.0-22.el8_10.x86_64 libgpg-error-1.31-1.el8.x86_64 libidn2-2.2.0-1.el8.x86_64 libipt-1.6.1-8.el8.x86_64 libksba-1.3.5-9.el8_7.x86_64 libmount-2.32.1-46.el8.x86_64 libmpc-1.1.0-9.1.el8.x86_64 libnghttp2-1.33.0-6.el8_10.1.x86_64 libnsl2-1.2.0-2.20180605git4a062cf.el8.x86_64 libpkgconf-1.4.2-1.el8.x86_64 libpsl-0.20.2-6.el8.x86_64 libpwquality-1.4.4-6.el8.x86_64 libselinux-2.9-8.el8.x86_64 libsemanage-2.9-9.el8_6.x86_64 libsepol-2.9-3.el8.x86_64 libsigsegv-2.11-5.el8.x86_64 libsmartcols-2.32.1-46.el8.x86_64 libssh-0.9.6-14.el8.x86_64 libssh-config-0.9.6-14.el8.noarch libstdc++-8.5.0-22.el8_10.x86_64 libstdc++-devel-8.5.0-22.el8_10.x86_64 libtasn1-4.13-4.el8_7.x86_64 libtirpc-1.1.4-12.el8_10.x86_64 libtool-ltdl-2.4.6-25.el8.x86_64 libunistring-0.9.9-3.el8.x86_64 libusbx-1.0.23-4.el8.x86_64 libutempter-1.1.6-14.el8.x86_64 libuuid-2.32.1-46.el8.x86_64 libverto-0.3.2-2.el8.x86_64 libxcrypt-4.1.1-6.el8.x86_64 libxcrypt-devel-4.1.1-6.el8.x86_64 libxml2-2.9.7-18.el8_10.1.x86_64 libzstd-1.4.4-1.el8.x86_64 lua-libs-5.3.4-12.el8.x86_64 lua-srpm-macros-1-13.el8.noarch lz4-libs-1.8.3-3.el8_4.x86_64 make-1:4.2.1-11.el8.x86_64 mpfr-3.1.6-1.el8.x86_64 ncurses-6.1-10.20180224.el8.x86_64 ncurses-base-6.1-10.20180224.el8.noarch ncurses-libs-6.1-10.20180224.el8.x86_64 nettle-3.4.1-7.el8.x86_64 npth-1.5-4.el8.x86_64 ocaml-srpm-macros-5-4.el8.noarch openblas-srpm-macros-2-2.el8.noarch openldap-2.4.46-19.el8_10.x86_64 openssl-libs-1:1.1.1k-12.el8_9.x86_64 p11-kit-0.23.22-2.el8.x86_64 p11-kit-trust-0.23.22-2.el8.x86_64 pam-1.3.1-34.el8_10.x86_64 patch-2.7.6-11.el8.x86_64 pcre-8.42-6.el8.x86_64 pcre2-10.32-3.el8_6.x86_64 perl-srpm-macros-1-25.el8.noarch pkgconf-1.4.2-1.el8.x86_64 pkgconf-m4-1.4.2-1.el8.noarch pkgconf-pkg-config-1.4.2-1.el8.x86_64 platform-python-3.6.8-67.el8_10.x86_64 platform-python-setuptools-39.2.0-8.el8_10.noarch popt-1.18-1.el8.x86_64 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-67.el8_10.x86_64 python3-pip-wheel-9.0.3-24.el8.noarch python3-rpm-macros-3-45.el8.noarch python3-setuptools-wheel-39.2.0-8.el8_10.noarch qt5-srpm-macros-5.15.3-1.el8.noarch readline-7.0-10.el8.x86_64 redhat-release-8.10-0.3.el8.x86_64 redhat-rpm-config-131-1.el8.noarch rpm-4.14.3-31.el8.x86_64 rpm-build-4.14.3-31.el8.x86_64 rpm-build-libs-4.14.3-31.el8.x86_64 rpm-libs-4.14.3-31.el8.x86_64 rust-srpm-macros-5-2.el8.noarch sed-4.5-5.el8.x86_64 setup-2.12.2-9.el8.noarch shadow-utils-2:4.6-22.el8.x86_64 sqlite-libs-3.26.0-19.el8_9.x86_64 systemd-libs-239-82.el8_10.2.x86_64 tar-2:1.30-9.el8.x86_64 tpm2-tss-2.3.2-6.el8.x86_64 tzdata-2024a-1.el8.noarch unzip-6.0-46.el8.x86_64 util-linux-2.32.1-46.el8.x86_64 which-2.21-20.el8.x86_64 xz-5.2.4-4.el8_6.x86_64 xz-libs-5.2.4-4.el8_6.x86_64 zip-3.0-23.el8.x86_64 zlib-1.2.11-25.el8.x86_64 zstd-1.4.4-1.el8.x86_64 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.x86_64 ansible-srpm-macros-1-12.el8.noarch audit-libs-3.1.2-1.el8.x86_64 basesystem-11-5.el8.noarch bash-5.1.8-9.el8.x86_64 binutils-2.30-123.el8.x86_64 brotli-1.0.6-3.el8.x86_64 bzip2-1.0.6-26.el8.x86_64 bzip2-libs-1.0.6-26.el8.x86_64 ca-certificates-2024.2.69_v8.0.303-80.0.el8_10.noarch chkconfig-1.19.2-1.el8.x86_64 coreutils-8.30-15.el8.x86_64 coreutils-common-8.30-15.el8.x86_64 cpio-2.12-11.el8.x86_64 cpp-8.5.0-22.el8_10.x86_64 cracklib-2.9.6-15.el8.x86_64 cracklib-dicts-2.9.6-15.el8.x86_64 crypto-policies-20230731-1.git3177e06.el8.noarch curl-7.61.1-34.el8_10.2.x86_64 cyrus-sasl-lib-2.1.27-6.el8_5.x86_64 diffutils-3.6-6.el8.x86_64 dwz-0.12-10.el8.x86_64 efi-srpm-macros-3-3.el8.noarch elfutils-0.190-2.el8.x86_64 elfutils-default-yama-scope-0.190-2.el8.noarch elfutils-libelf-0.190-2.el8.x86_64 elfutils-libs-0.190-2.el8.x86_64 epel-rpm-macros-8-41.noarch expat-2.2.5-15.el8_10.x86_64 file-5.33-26.el8.x86_64 file-libs-5.33-26.el8.x86_64 filesystem-3.8-6.el8.x86_64 findutils-4.6.0-23.el8_10.x86_64 fpc-srpm-macros-1.3-1.el8.noarch gawk-4.2.1-4.el8.x86_64 gc-7.6.4-3.el8.x86_64 gcc-8.5.0-22.el8_10.x86_64 gcc-c++-8.5.0-22.el8_10.x86_64 gcc-plugin-annobin-8.5.0-22.el8_10.x86_64 gdb-headless-8.2-20.el8.x86_64 gdbm-1.18-2.el8.x86_64 gdbm-libs-1.18-2.el8.x86_64 ghc-srpm-macros-1.4.2-7.el8.noarch glib2-2.56.4-162.el8.x86_64 glibc-2.28-251.el8_10.5.x86_64 glibc-all-langpacks-2.28-251.el8_10.5.x86_64 glibc-common-2.28-251.el8_10.5.x86_64 glibc-devel-2.28-251.el8_10.5.x86_64 glibc-gconv-extra-2.28-251.el8_10.5.x86_64 glibc-headers-2.28-251.el8_10.5.x86_64 gmp-6.1.2-11.el8.x86_64 gnupg2-2.2.20-3.el8_6.x86_64 gnutls-3.6.16-8.el8_9.3.x86_64 go-srpm-macros-2-17.el8.noarch gpg-pubkey-2f86d6a1-5cf7cefb gpg-pubkey-2fa658e0-45700c69 gpg-pubkey-fd431d51-4ae0493b grep-3.1-6.el8.x86_64 guile-2.0.14-7.el8.x86_64 gzip-1.9-13.el8_5.x86_64 ima-evm-utils-1.3.2-12.el8.x86_64 info-6.5-7.el8.x86_64 isl-0.16.1-6.el8.x86_64 kernel-headers-4.18.0-553.22.1.el8_10.x86_64 keyutils-libs-1.5.10-9.el8.x86_64 krb5-libs-1.18.2-29.el8_10.x86_64 libacl-2.2.53-3.el8.x86_64 libarchive-3.3.3-5.el8.x86_64 libassuan-2.5.1-3.el8.x86_64 libatomic_ops-7.6.2-3.el8.x86_64 libattr-2.4.48-3.el8.x86_64 libbabeltrace-1.5.4-4.el8.x86_64 libblkid-2.32.1-46.el8.x86_64 libcap-2.48-6.el8_9.x86_64 libcap-ng-0.7.11-1.el8.x86_64 libcom_err-1.45.6-5.el8.x86_64 libcurl-7.61.1-34.el8_10.2.x86_64 libdb-5.3.28-42.el8_4.x86_64 libdb-utils-5.3.28-42.el8_4.x86_64 libfdisk-2.32.1-46.el8.x86_64 libffi-3.1-24.el8.x86_64 libgcc-8.5.0-22.el8_10.x86_64 libgcrypt-1.8.5-7.el8_6.x86_64 libgomp-8.5.0-22.el8_10.x86_64 libgpg-error-1.31-1.el8.x86_64 libidn2-2.2.0-1.el8.x86_64 libipt-1.6.1-8.el8.x86_64 libksba-1.3.5-9.el8_7.x86_64 libmount-2.32.1-46.el8.x86_64 libmpc-1.1.0-9.1.el8.x86_64 libnghttp2-1.33.0-6.el8_10.1.x86_64 libnsl2-1.2.0-2.20180605git4a062cf.el8.x86_64 libpkgconf-1.4.2-1.el8.x86_64 libpsl-0.20.2-6.el8.x86_64 libpwquality-1.4.4-6.el8.x86_64 libselinux-2.9-8.el8.x86_64 libsemanage-2.9-9.el8_6.x86_64 libsepol-2.9-3.el8.x86_64 libsigsegv-2.11-5.el8.x86_64 libsmartcols-2.32.1-46.el8.x86_64 libssh-0.9.6-14.el8.x86_64 libssh-config-0.9.6-14.el8.noarch libstdc++-8.5.0-22.el8_10.x86_64 libstdc++-devel-8.5.0-22.el8_10.x86_64 libtasn1-4.13-4.el8_7.x86_64 libtirpc-1.1.4-12.el8_10.x86_64 libtool-ltdl-2.4.6-25.el8.x86_64 libunistring-0.9.9-3.el8.x86_64 libusbx-1.0.23-4.el8.x86_64 libutempter-1.1.6-14.el8.x86_64 libuuid-2.32.1-46.el8.x86_64 libverto-0.3.2-2.el8.x86_64 libxcrypt-4.1.1-6.el8.x86_64 libxcrypt-devel-4.1.1-6.el8.x86_64 libxml2-2.9.7-18.el8_10.1.x86_64 libzstd-1.4.4-1.el8.x86_64 lua-libs-5.3.4-12.el8.x86_64 lua-srpm-macros-1-13.el8.noarch lz4-libs-1.8.3-3.el8_4.x86_64 make-4.2.1-11.el8.x86_64 mpfr-3.1.6-1.el8.x86_64 ncurses-6.1-10.20180224.el8.x86_64 ncurses-base-6.1-10.20180224.el8.noarch ncurses-libs-6.1-10.20180224.el8.x86_64 nettle-3.4.1-7.el8.x86_64 npth-1.5-4.el8.x86_64 ocaml-srpm-macros-5-4.el8.noarch openblas-srpm-macros-2-2.el8.noarch openldap-2.4.46-19.el8_10.x86_64 openssl-libs-1.1.1k-12.el8_9.x86_64 p11-kit-0.23.22-2.el8.x86_64 p11-kit-trust-0.23.22-2.el8.x86_64 pam-1.3.1-34.el8_10.x86_64 patch-2.7.6-11.el8.x86_64 pcre-8.42-6.el8.x86_64 pcre2-10.32-3.el8_6.x86_64 perl-srpm-macros-1-25.el8.noarch pkgconf-1.4.2-1.el8.x86_64 pkgconf-m4-1.4.2-1.el8.noarch pkgconf-pkg-config-1.4.2-1.el8.x86_64 platform-python-3.6.8-67.el8_10.x86_64 platform-python-setuptools-39.2.0-8.el8_10.noarch popt-1.18-1.el8.x86_64 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-67.el8_10.x86_64 python3-pip-wheel-9.0.3-24.el8.noarch python3-rpm-macros-3-45.el8.noarch python3-setuptools-wheel-39.2.0-8.el8_10.noarch qt5-srpm-macros-5.15.3-1.el8.noarch readline-7.0-10.el8.x86_64 redhat-release-8.10-0.3.el8.x86_64 redhat-rpm-config-131-1.el8.noarch rpm-4.14.3-31.el8.x86_64 rpm-build-4.14.3-31.el8.x86_64 rpm-build-libs-4.14.3-31.el8.x86_64 rpm-libs-4.14.3-31.el8.x86_64 rust-srpm-macros-5-2.el8.noarch sed-4.5-5.el8.x86_64 setup-2.12.2-9.el8.noarch shadow-utils-4.6-22.el8.x86_64 sqlite-libs-3.26.0-19.el8_9.x86_64 systemd-libs-239-82.el8_10.2.x86_64 tar-1.30-9.el8.x86_64 tpm2-tss-2.3.2-6.el8.x86_64 tzdata-2024a-1.el8.noarch unzip-6.0-46.el8.x86_64 util-linux-2.32.1-46.el8.x86_64 which-2.21-20.el8.x86_64 xz-5.2.4-4.el8_6.x86_64 xz-libs-5.2.4-4.el8_6.x86_64 zip-3.0-23.el8.x86_64 zlib-1.2.11-25.el8.x86_64 zstd-1.4.4-1.el8.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 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-x86_64-1727400967.337085/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-x86_64-1727400967.337085/root/var/log/dnf.rpm.log /var/lib/mock/rhel+epel-8-x86_64-1727400967.337085/root/var/log/dnf.librepo.log /var/lib/mock/rhel+epel-8-x86_64-1727400967.337085/root/var/log/dnf.log Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-4etgww6e/glimpse/package.spec) Config(child) 1 minutes 19 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-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/rhel+epel-8-x86_64-bootstrap-1727400967.337085/root. INFO: reusing tmpfs at /var/lib/mock/rhel+epel-8-x86_64-bootstrap-1727400967.337085/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-x86_64-1727400967.337085/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.x86_64 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: x86_64 Building for target x86_64 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 100 kB/s | 1.5 kB 00:00 Additional repo https_download_copr_fedorainfra 23 kB/s | 1.5 kB 00:00 Red Hat Enterprise Linux - BaseOS 19 kB/s | 4.1 kB 00:00 Red Hat Enterprise Linux - AppStream 24 kB/s | 4.5 kB 00:00 Red Hat Enterprise Linux - CodeReady Linux Buil 21 kB/s | 4.5 kB 00:00 Extra Packages for Enterprise Linux 8 - x86_64 187 kB/s | 33 kB 00:00 Package gcc-8.5.0-22.el8_10.x86_64 is already installed. Package make-1:4.2.1-11.el8.x86_64 is already installed. Dependencies resolved. ================================================================================================== Package Arch Version Repository Size ================================================================================================== Installing: autoconf noarch 2.69-29.el8_10.1 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 x86_64 2.6.1-9.el8 copr_base 319 k flex-devel x86_64 2.6.1-9.el8 copr_base 22 k Installing dependencies: emacs-filesystem noarch 1:26.1-12.el8_10 rhel-baseos 70 k groff-base x86_64 1.22.3-18.el8 rhel-baseos 1.0 M m4 x86_64 1.4.18-7.el8 rhel-baseos 223 k openssl x86_64 1:1.1.1k-12.el8_9 rhel-baseos 711 k perl-Carp noarch 1.42-396.el8 rhel-baseos 30 k perl-Data-Dumper x86_64 2.167-399.el8 rhel-baseos 58 k perl-Digest noarch 1.17-395.el8 rhel-baseos 27 k perl-Digest-MD5 x86_64 2.55-396.el8 rhel-baseos 37 k perl-Encode x86_64 4:2.97-3.el8 rhel-baseos 1.5 M perl-Errno x86_64 1.28-422.el8 rhel-baseos 77 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 x86_64 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 x86_64 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 x86_64 1.88-2.module+el8.6.0+13392+f0897f98 rhel-appstream 379 k perl-PathTools x86_64 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 x86_64 3:1.49-2.el8 rhel-baseos 68 k perl-Socket x86_64 4:2.027-3.el8 rhel-baseos 59 k perl-Storable x86_64 1:3.11-3.el8 rhel-baseos 98 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 x86_64 1.25-396.el8 rhel-baseos 82 k perl-constant noarch 1.33-396.el8 rhel-baseos 25 k perl-interpreter x86_64 4:5.26.3-422.el8 rhel-baseos 6.3 M perl-libnet noarch 3.11-3.el8 rhel-baseos 121 k perl-libs x86_64 4:5.26.3-422.el8 rhel-baseos 1.6 M perl-macros x86_64 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 x86_64 1:2.21-2.el8 rhel-baseos 61 k perl-threads-shared x86_64 1.58-2.el8 rhel-baseos 48 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: 17 M Installed size: 48 M Downloading Packages: (1/51): flex-devel-2.6.1-9.el8.x86_64.rpm 345 kB/s | 22 kB 00:00 (2/51): flex-2.6.1-9.el8.x86_64.rpm 3.0 MB/s | 319 kB 00:00 (3/51): groff-base-1.22.3-18.el8.x86_64.rpm 8.2 MB/s | 1.0 MB 00:00 (4/51): perl-Encode-2.97-3.el8.x86_64.rpm 14 MB/s | 1.5 MB 00:00 (5/51): perl-MIME-Base64-3.15-396.el8.x86_64.rp 330 kB/s | 31 kB 00:00 (6/51): perl-Data-Dumper-2.167-399.el8.x86_64.r 377 kB/s | 58 kB 00:00 (7/51): perl-PathTools-3.74-1.el8.x86_64.rpm 1.1 MB/s | 90 kB 00:00 (8/51): perl-Scalar-List-Utils-1.49-2.el8.x86_6 852 kB/s | 68 kB 00:00 (9/51): perl-Unicode-Normalize-1.25-396.el8.x86 989 kB/s | 82 kB 00:00 (10/51): perl-threads-shared-1.58-2.el8.x86_64. 583 kB/s | 48 kB 00:00 (11/51): perl-Carp-1.42-396.el8.noarch.rpm 360 kB/s | 30 kB 00:00 (12/51): m4-1.4.18-7.el8.x86_64.rpm 2.2 MB/s | 223 kB 00:00 (13/51): perl-Exporter-5.72-396.el8.noarch.rpm 452 kB/s | 34 kB 00:00 (14/51): perl-File-Temp-0.230.600-1.el8.noarch. 521 kB/s | 63 kB 00:00 (15/51): perl-Getopt-Long-2.50-4.el8.noarch.rpm 643 kB/s | 63 kB 00:00 (16/51): perl-File-Path-2.15-2.el8.noarch.rpm 222 kB/s | 38 kB 00:00 (17/51): perl-Pod-Escapes-1.07-395.el8.noarch.r 264 kB/s | 20 kB 00:00 (18/51): perl-Pod-Perldoc-3.28-396.el8.noarch.r 1.1 MB/s | 88 kB 00:00 (19/51): perl-Pod-Simple-3.35-395.el8.noarch.rp 1.8 MB/s | 213 kB 00:00 (20/51): perl-Pod-Usage-1.69-395.el8.noarch.rpm 402 kB/s | 34 kB 00:00 (21/51): perl-Storable-3.11-3.el8.x86_64.rpm 1.0 MB/s | 98 kB 00:00 (22/51): perl-Term-Cap-1.17-395.el8.noarch.rpm 302 kB/s | 23 kB 00:00 (23/51): perl-Term-ANSIColor-4.06-396.el8.noarc 551 kB/s | 46 kB 00:00 (24/51): perl-Text-ParseWords-3.30-395.el8.noar 156 kB/s | 18 kB 00:00 (25/51): perl-Time-Local-1.280-1.el8.noarch.rpm 358 kB/s | 34 kB 00:00 (26/51): perl-Text-Tabs+Wrap-2013.0523-395.el8. 207 kB/s | 24 kB 00:00 (27/51): perl-constant-1.33-396.el8.noarch.rpm 296 kB/s | 25 kB 00:00 (28/51): perl-parent-0.237-1.el8.noarch.rpm 202 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-threads-2.21-2.el8.x86_64.rpm 792 kB/s | 61 kB 00:00 (31/51): perl-Errno-1.28-422.el8.x86_64.rpm 784 kB/s | 77 kB 00:00 (32/51): perl-Socket-2.027-3.el8.x86_64.rpm 353 kB/s | 59 kB 00:00 (33/51): perl-IO-1.38-422.el8.x86_64.rpm 1.1 MB/s | 142 kB 00:00 (34/51): perl-libs-5.26.3-422.el8.x86_64.rpm 17 MB/s | 1.6 MB 00:00 (35/51): perl-interpreter-5.26.3-422.el8.x86_64 42 MB/s | 6.3 MB 00:00 (36/51): perl-macros-5.26.3-422.el8.x86_64.rpm 595 kB/s | 73 kB 00:00 (37/51): perl-Digest-MD5-2.55-396.el8.x86_64.rp 416 kB/s | 37 kB 00:00 (38/51): perl-libnet-3.11-3.el8.noarch.rpm 1.5 MB/s | 121 kB 00:00 (39/51): perl-URI-1.73-3.el8.noarch.rpm 848 kB/s | 116 kB 00:00 (40/51): perl-Digest-1.17-395.el8.noarch.rpm 359 kB/s | 27 kB 00:00 (41/51): perl-IO-Socket-IP-0.39-5.el8.noarch.rp 509 kB/s | 47 kB 00:00 (42/51): openssl-1.1.1k-12.el8_9.x86_64.rpm 3.6 MB/s | 711 kB 00:00 (43/51): emacs-filesystem-26.1-12.el8_10.noarch 846 kB/s | 70 kB 00:00 (44/51): perl-HTTP-Tiny-0.074-3.el8.noarch.rpm 423 kB/s | 59 kB 00:00 (45/51): perl-IO-Socket-SSL-2.066-4.module+el8. 2.4 MB/s | 298 kB 00:00 (46/51): perl-Mozilla-CA-20160104-7.module+el8. 142 kB/s | 15 kB 00:00 (47/51): perl-Thread-Queue-3.13-1.el8.noarch.rp 147 kB/s | 24 kB 00:00 (48/51): automake-1.16.1-8.el8.noarch.rpm 8.6 MB/s | 714 kB 00:00 (49/51): perl-Net-SSLeay-1.88-2.module+el8.6.0+ 4.3 MB/s | 379 kB 00:00 (50/51): autoconf-2.69-29.el8_10.1.noarch.rpm 5.9 MB/s | 711 kB 00:00 (51/51): autoconf-archive-2018.03.13-1.el8.noar 7.7 MB/s | 622 kB 00:00 -------------------------------------------------------------------------------- Total 9.1 MB/s | 17 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : m4-1.4.18-7.el8.x86_64 1/51 Running scriptlet: m4-1.4.18-7.el8.x86_64 1/51 Installing : emacs-filesystem-1:26.1-12.el8_10.noarch 2/51 Installing : openssl-1:1.1.1k-12.el8_9.x86_64 3/51 Installing : groff-base-1.22.3-18.el8.x86_64 4/51 Installing : perl-Digest-1.17-395.el8.noarch 5/51 Installing : perl-Digest-MD5-2.55-396.el8.x86_64 6/51 Installing : perl-Data-Dumper-2.167-399.el8.x86_64 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.x86_64 25/51 Installing : perl-Storable-1:3.11-3.el8.x86_64 26/51 Installing : perl-Getopt-Long-1:2.50-4.el8.noarch 27/51 Installing : perl-Socket-4:2.027-3.el8.x86_64 28/51 Installing : perl-Errno-1.28-422.el8.x86_64 29/51 Installing : perl-Encode-4:2.97-3.el8.x86_64 30/51 Installing : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64 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.x86_64 34/51 Installing : perl-parent-1:0.237-1.el8.noarch 35/51 Installing : perl-macros-4:5.26.3-422.el8.x86_64 36/51 Installing : perl-Unicode-Normalize-1.25-396.el8.x86_64 37/51 Installing : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch 38/51 Installing : perl-constant-1.33-396.el8.noarch 39/51 Installing : perl-PathTools-3.74-1.el8.x86_64 40/51 Installing : perl-threads-shared-1.58-2.el8.x86_64 41/51 Installing : perl-threads-1:2.21-2.el8.x86_64 42/51 Installing : perl-File-Path-2.15-2.el8.noarch 43/51 Installing : perl-IO-1.38-422.el8.x86_64 44/51 Installing : perl-interpreter-4:5.26.3-422.el8.x86_64 45/51 Installing : autoconf-2.69-29.el8_10.1.noarch 46/51 Running scriptlet: autoconf-2.69-29.el8_10.1.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.x86_64 50/51 Running scriptlet: flex-2.6.1-9.el8.x86_64 50/51 Installing : flex-devel-2.6.1-9.el8.x86_64 51/51 Running scriptlet: flex-devel-2.6.1-9.el8.x86_64 51/51 Verifying : flex-2.6.1-9.el8.x86_64 1/51 Verifying : flex-devel-2.6.1-9.el8.x86_64 2/51 Verifying : groff-base-1.22.3-18.el8.x86_64 3/51 Verifying : perl-Data-Dumper-2.167-399.el8.x86_64 4/51 Verifying : perl-Encode-4:2.97-3.el8.x86_64 5/51 Verifying : perl-MIME-Base64-3.15-396.el8.x86_64 6/51 Verifying : perl-PathTools-3.74-1.el8.x86_64 7/51 Verifying : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64 8/51 Verifying : perl-Unicode-Normalize-1.25-396.el8.x86_64 9/51 Verifying : perl-threads-shared-1.58-2.el8.x86_64 10/51 Verifying : m4-1.4.18-7.el8.x86_64 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-Storable-1:3.11-3.el8.x86_64 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-threads-1:2.21-2.el8.x86_64 30/51 Verifying : perl-Socket-4:2.027-3.el8.x86_64 31/51 Verifying : perl-Errno-1.28-422.el8.x86_64 32/51 Verifying : perl-IO-1.38-422.el8.x86_64 33/51 Verifying : perl-interpreter-4:5.26.3-422.el8.x86_64 34/51 Verifying : perl-libs-4:5.26.3-422.el8.x86_64 35/51 Verifying : perl-macros-4:5.26.3-422.el8.x86_64 36/51 Verifying : perl-Digest-MD5-2.55-396.el8.x86_64 37/51 Verifying : perl-URI-1.73-3.el8.noarch 38/51 Verifying : perl-libnet-3.11-3.el8.noarch 39/51 Verifying : openssl-1:1.1.1k-12.el8_9.x86_64 40/51 Verifying : perl-Digest-1.17-395.el8.noarch 41/51 Verifying : perl-IO-Socket-IP-0.39-5.el8.noarch 42/51 Verifying : perl-HTTP-Tiny-0.074-3.el8.noarch 43/51 Verifying : emacs-filesystem-1:26.1-12.el8_10.noarch 44/51 Verifying : perl-Thread-Queue-3.13-1.el8.noarch 45/51 Verifying : perl-IO-Socket-SSL-2.066-4.module+el8.3.0+6446+594 46/51 Verifying : perl-Mozilla-CA-20160104-7.module+el8.3.0+6498+9ee 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-2.69-29.el8_10.1.noarch 50/51 Verifying : autoconf-archive-2018.03.13-1.el8.noarch 51/51 Installed products updated. Installed: autoconf-2.69-29.el8_10.1.noarch autoconf-archive-2018.03.13-1.el8.noarch automake-1.16.1-8.el8.noarch emacs-filesystem-1:26.1-12.el8_10.noarch flex-2.6.1-9.el8.x86_64 flex-devel-2.6.1-9.el8.x86_64 groff-base-1.22.3-18.el8.x86_64 m4-1.4.18-7.el8.x86_64 openssl-1:1.1.1k-12.el8_9.x86_64 perl-Carp-1.42-396.el8.noarch perl-Data-Dumper-2.167-399.el8.x86_64 perl-Digest-1.17-395.el8.noarch perl-Digest-MD5-2.55-396.el8.x86_64 perl-Encode-4:2.97-3.el8.x86_64 perl-Errno-1.28-422.el8.x86_64 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.x86_64 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.x86_64 perl-Mozilla-CA-20160104-7.module+el8.3.0+6498+9eecfe51.noarch perl-Net-SSLeay-1.88-2.module+el8.6.0+13392+f0897f98.x86_64 perl-PathTools-3.74-1.el8.x86_64 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.x86_64 perl-Socket-4:2.027-3.el8.x86_64 perl-Storable-1:3.11-3.el8.x86_64 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.x86_64 perl-constant-1.33-396.el8.noarch perl-interpreter-4:5.26.3-422.el8.x86_64 perl-libnet-3.11-3.el8.noarch perl-libs-4:5.26.3-422.el8.x86_64 perl-macros-4:5.26.3-422.el8.x86_64 perl-parent-1:0.237-1.el8.noarch perl-podlators-4.11-1.el8.noarch perl-threads-1:2.21-2.el8.x86_64 perl-threads-shared-1.58-2.el8.x86_64 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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7kCoSF + 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.7lXzfK + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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=x86_64-redhat-linux-gnu --host=x86_64-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 x86_64-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 x86_64-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.LtVzhd + umask 022 + cd /builddir/build/BUILD + '[' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64' '!=' / ']' + rm -rf '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64' ++ dirname '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64' + mkdir -p /builddir/build/BUILDROOT + mkdir '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64' + cd glimpse-49457116bb0796636fd1bc84f39006fb102bfafc + make install 'prefix=/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr' 'exec_prefix=/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr' 'manprefix=/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/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.x86_64/usr/bin /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr mkdir /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/bin mkdir /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/share mkdir /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/share/man mkdir /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/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.x86_64/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.x86_64/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.x86_64/usr/share/man/man1 /usr/bin/install -c agrep /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/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.x86_64/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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.x86_64/usr/bin ; \ done + mkdir -p '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/libexec/glimpse' + mv '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/bin/buildcast' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/bin/cast' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/bin/uncast' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/bin/tbuild' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/bin/wgconvert' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/libexec/glimpse' + rm -v '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/bin/agrep' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/share/man/man1/agrep.1' removed '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/bin/agrep' removed '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/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.x86_64' --unique-debug-src-base 'glimpse-4.12.6^git20161025.4945711-4.el8.x86_64' --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/bin/glimpse extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/libexec/glimpse/buildcast extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/bin/glimpseindex extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/bin/glimpseserver extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/libexec/glimpse/cast extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/libexec/glimpse/tbuild extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/libexec/glimpse/uncast extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/libexec/glimpse/wgconvert /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.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NY6B2C + umask 022 + cd /builddir/build/BUILD + cd glimpse-49457116bb0796636fd1bc84f39006fb102bfafc + DOCDIR='/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/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.x86_64/usr/share/doc/glimpse' + cp -pr README '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/share/doc/glimpse' + cp -pr KNOWN_BUGS '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/share/doc/glimpse' + cp -pr ChangeLog '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/share/doc/glimpse' + cp -pr CHANGES '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/share/doc/glimpse' + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.SehpxU + umask 022 + cd /builddir/build/BUILD + cd glimpse-49457116bb0796636fd1bc84f39006fb102bfafc + LICENSEDIR='/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/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.x86_64/usr/share/licenses/glimpse' + cp -pr LICENSE '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64/usr/share/licenses/glimpse' + exit 0 Provides: glimpse = 4.12.6^git20161025.4945711-4.el8 glimpse(x86-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: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: glimpse-debugsource-4.12.6^git20161025.4945711-4.el8.x86_64 Provides: glimpse-debugsource = 4.12.6^git20161025.4945711-4.el8 glimpse-debugsource(x86-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.x86_64 Provides: debuginfo(build-id) = 19d2f21e0211a1a8ecd1b775ff6391fe92463cf1 debuginfo(build-id) = 1a562f079552aa1bdd35bedca8d7dad6b3dec980 debuginfo(build-id) = 20906d40312ea3ccf26b8ae7a0c7c9983ba3e620 debuginfo(build-id) = 20e04285ed25d3141445f575645154e363169773 debuginfo(build-id) = 481f22e0ed6d4b90d7d9915e63cbafb887b90acf debuginfo(build-id) = 98f1e869ecd2ca63c73d8ac9f09b3c7cab63e495 debuginfo(build-id) = 995f775cd2a0ba9706f06d1eb255a30e79c892c8 debuginfo(build-id) = b7d92f47732bf79e74cbf6531eab64d6a28ad9fe glimpse-debuginfo = 4.12.6^git20161025.4945711-4.el8 glimpse-debuginfo(x86-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(x86-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.x86_64 Wrote: /builddir/build/RPMS/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64.rpm Wrote: /builddir/build/RPMS/glimpse-debugsource-4.12.6^git20161025.4945711-4.el8.x86_64.rpm Wrote: /builddir/build/RPMS/glimpse-debuginfo-4.12.6^git20161025.4945711-4.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oDhqOL + umask 022 + cd /builddir/build/BUILD + cd glimpse-49457116bb0796636fd1bc84f39006fb102bfafc + /usr/bin/rm -rf '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-4.el8.x86_64' + 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-x86_64-1727400967.337085/root/var/log/dnf.rpm.log /var/lib/mock/rhel+epel-8-x86_64-1727400967.337085/root/var/log/dnf.librepo.log /var/lib/mock/rhel+epel-8-x86_64-1727400967.337085/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 29 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-debugsource", "epoch": null, "version": "4.12.6^git20161025.4945711", "release": "4.el8", "arch": "x86_64" }, { "name": "glimpse", "epoch": null, "version": "4.12.6^git20161025.4945711", "release": "4.el8", "arch": "src" }, { "name": "glimpse-debuginfo", "epoch": null, "version": "4.12.6^git20161025.4945711", "release": "4.el8", "arch": "x86_64" }, { "name": "glimpse", "epoch": null, "version": "4.12.6^git20161025.4945711", "release": "4.el8", "arch": "x86_64" } ] } RPMResults finished